/* ── Passion Pass (js/passpanel.js) ─────────────────────────────────────────────────────────────────────────────
   One dark surface with glass cards on it: the seasons as pill tabs, the season's hero card (emblem, name, short
   text, level progress, time left, Premium), a segmented switch, then the two reward tracks along a level rail,
   the tasks, the season's gifts and the past seasons. The season's colour (--pp) tints the hero and the active
   pieces; gold is kept for Premium. */
.pp { --pp: #7c5cff; --gold: #ffc93c; --card: rgba(255, 255, 255, .06); --line: rgba(255, 255, 255, .09); --dim: #b9acd9;
  min-height: 100%; color: #fff; background: radial-gradient(120% 60% at 50% 0, color-mix(in srgb, var(--pp) 28%, #1e1240) 0, #1e1240 70%); }
.pp-loading { padding: 48px 16px; text-align: center; color: var(--dim); }

/* seasons as pills */
.pp-tabs { display: flex; gap: 6px; padding: 10px 12px 4px; overflow-x: auto; scrollbar-width: none; }
.pp-tabs::-webkit-scrollbar { display: none; }
.pp-tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--card); color: #fff; font: inherit; font-weight: 800; font-size: .82rem; cursor: pointer; justify-content: center; }
.pp-tab.on { background: linear-gradient(135deg, var(--pp), color-mix(in srgb, var(--pp) 55%, #2a1760)); border-color: transparent;
  box-shadow: 0 4px 14px -6px var(--pp); }
.pp-tab.hist { margin-inline-start: auto; }
.pp-tab.ph-scheduled, .pp-tab.ph-ended, .pp-tab.ph-paused { opacity: .65; }
.pp-tab-ico { font-size: 20px; line-height: 1; }
.pp-tab-img { width: 24px; height: 24px; object-fit: contain; }
.pp-tab-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-tab .pp-dot { top: 3px; inset-inline-end: 3px; box-shadow: 0 0 0 2px #1e1240; }

/* the season's hero card */
.pp-head { margin: 8px 12px 0; padding: 14px 14px 12px; border-radius: 20px; text-align: center; background-size: cover; background-position: center;
  background-color: var(--pp); background-image: linear-gradient(160deg, color-mix(in srgb, var(--pp) 85%, #fff 15%), color-mix(in srgb, var(--pp) 70%, #2a1760));
  box-shadow: 0 10px 26px -14px var(--pp), inset 0 0 0 1px rgba(255, 255, 255, .15); }
.pp-name { font-weight: 900; font-size: 1.15rem; line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.pp-desc { margin-top: 4px; font-size: .8rem; line-height: 1.35; color: #fff; opacity: .92; }
.pp-bar { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.pp-track { position: relative; flex: 1; height: 18px; border-radius: 999px; background: rgba(0, 0, 0, .3); overflow: hidden; display: grid; place-items: center; }
.pp-fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, #ffe17a, var(--gold)); transition: width .4s; }
[dir="rtl"] .pp-fill { inset: 0 0 0 auto; }
.pp-track span { position: relative; font-size: .72rem; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); font-variant-numeric: tabular-nums; }
.pp-lv { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .85rem;
  background: linear-gradient(180deg, #ffe17a, var(--gold)); color: #4a2c00; border: 2px solid #fff; }
.pp-lv.next { background: #fff; color: color-mix(in srgb, var(--pp) 70%, #2a1760); }
.pp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }
.pp-time small { display: none; }
.pp-time b { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .28); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-buy { display: flex; gap: 6px; justify-content: flex-end; align-items: center; margin-inline-start: auto; }
.pp-open { padding: 9px 18px; border: 0; border-radius: 12px; font: inherit; font-weight: 900; font-size: .88rem; color: #4a2c00; cursor: pointer; white-space: nowrap;
  background: linear-gradient(180deg, #ffe17a, var(--gold)); box-shadow: 0 3px 0 #c98a00; }
.pp-open.coins { padding: 9px 14px; }
.pp-owned { margin-inline-start: auto; padding: 6px 12px; border-radius: 999px; background: rgba(81, 207, 102, .16); color: #8ef0a0; font-weight: 800; font-size: .78rem; }
.pp-state, .pp-boost, .pp-head .pp-locked, .pp-cap { margin-top: 10px; padding: 7px 10px; border-radius: 12px; font-weight: 700; font-size: .78rem; background: rgba(0, 0, 0, .28); }
.pp-state.paused { background: rgba(245, 159, 0, .2); color: #ffd27a; }
.pp-boost { background: rgba(255, 107, 61, .18); color: #ffb08a; }
.pp-cap { background: transparent; padding: 0; color: var(--dim); font-weight: 600; }

/* Rewards · Tasks · Gifts */
.pp-switch { position: sticky; top: 0; z-index: 3; display: flex; gap: 4px; margin: 12px 12px 8px; padding: 4px; border-radius: 14px; background: rgba(10, 4, 28, .6);
  backdrop-filter: blur(8px); border: 1px solid var(--line); }
.pp-switch button { position: relative; flex: 1; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--dim); font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; }
.pp-switch button.on { background: #fff; color: #2b1a55; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.pp-switch .pp-dot { top: 6px; inset-inline-end: 8px; }

/* the two tracks along the level rail */
.pp-levels { position: relative; padding: 0 12px 16px; }
.pp-cols { position: sticky; top: 52px; z-index: 2; display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; margin-bottom: 4px; padding: 4px 0; pointer-events: none;
}
.pp-col { justify-self: center; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 900; letter-spacing: .02em; }
.pp-col.free { background: #34226a; color: #d8ccff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.pp-col.paid { background: #4a3a2a; color: var(--gold); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.pp-level { position: relative; display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; padding: 6px 0; }
/* the owner (2026-11-12): the pass buyer's track on the RIGHT, the free one on the LEFT, in every language — the two
   columns never mirror in RTL (the texts inside them still read right to left) */
.pp-cols, .pp-level { direction: ltr; }
[dir=rtl] .pp-cols > *, [dir=rtl] .pp-level > * { direction: rtl; }
/* a season's art (2026-11-12): its top — the Girvoo logo — stays clear above the name */
.pp-head.art { padding-top: 92px; background-position: center top; }
/* a season's milestone levels (10, 20 … 60) */
.pp-level.mile .pp-node { width: 40px; height: 40px; border-color: var(--gold); box-shadow: 0 0 12px -2px rgba(255, 201, 60, .7); }
.pp-tile .rw-plus { font-style: normal; font-weight: 900; color: var(--gold); }
/* a season's own Premium gift (level 60): its picture big, its name small enough for two words on a phone */
.pp-tile .rw-big.rw-giftItem > i .rw-img { width: 52px; height: 52px; }
.pp-tile .rw-big.rw-giftItem > b { line-height: 1.15; }

.pp-level::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: rgba(255, 255, 255, .1); }
.pp-level.on::before { background: linear-gradient(var(--gold), #ffb000); }
.pp-node { position: relative; z-index: 1; justify-self: center; width: 34px; height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; background: #2c1b5c; border: 2px solid rgba(255, 255, 255, .2); font-weight: 900; font-size: .8rem; line-height: 1; }
.pp-node small { font-size: .5rem; font-weight: 700; opacity: .7; margin-top: 1px; }
.pp-level.on .pp-node { background: linear-gradient(180deg, #ffe17a, var(--gold)); border-color: #fff3c4; color: #4a2c00; }
.pp-tile { position: relative; height: 88px; margin: 0 6px; padding: 8px 6px; border-radius: 16px; display: grid; place-items: center; min-width: 0; font: inherit; color: #fff; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); transition: transform .15s; }
.pp-tile:active { transform: scale(.97); }
.pp-tile.paid { border-color: rgba(255, 201, 60, .35); background: linear-gradient(160deg, rgba(255, 201, 60, .16), rgba(255, 201, 60, .04)); }
.pp-tile .rw-big i { font-size: 30px; }
.pp-tile .rw-big b { font-size: .82rem; font-weight: 900; }
.pp-tile .rw-big.rw-sgift > i .rw-img { width: 46px; height: 46px; }
.pp-tile .rw-more { font-size: .66rem; opacity: .85; }
.pp-tile.st-claimed { opacity: .5; }
.pp-tile.st-locked, .pp-tile.st-capped, .pp-tile.st-premium { filter: saturate(.7); }
.pp-tile.st-expired, .pp-tile.st-not_retro { filter: grayscale(1); opacity: .45; }
.pp-tile.ready { border-color: #8ef0a0; box-shadow: 0 0 0 1px #8ef0a0, 0 0 22px -6px #51cf66; animation: ppReady 1.8s ease-in-out infinite; }
@keyframes ppReady { 50% { box-shadow: 0 0 0 1px #8ef0a0, 0 0 28px -2px #51cf66; } }
.pp-lock, .pp-check { position: absolute; top: 6px; inset-inline-end: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem;
  background: rgba(0, 0, 0, .35); color: #fff; }
.pp-check { background: #2f9e44; }
.pp-claim { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: linear-gradient(180deg, #69db7c, #2f9e44);
  color: #fff; font-size: .68rem; font-weight: 900; white-space: nowrap; box-shadow: 0 3px 10px -4px #2f9e44; }
.pp-tile.ready .rw-big { transform: translateY(-8px); }
/* a season level's tile, the owner's design B (2026-11-13, rewards.js rewardTile): the picture at the side, the amount
   big next to it, the other parts on a line under it; the state a small round mark on the corner, «استلم» on the lower
   edge — a short tile, more levels on the screen */
.pp-tile.tp { height: 78px; padding: 6px 8px; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; justify-items: start; overflow: visible; }
.pp-tile.tp .tp-pic { grid-row: 1 / span 2; width: 54px; height: 54px; display: grid; place-items: center; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.pp-tile.tp .tp-pic i { font-style: normal; font-size: 36px; display: grid; place-items: center; width: 100%; height: 100%; }
.pp-tile.tp .tp-pic img, .pp-tile.tp .tp-pic svg { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pp-tile.tp .tp-pic .rw-img { width: 100%; height: 100%; object-fit: contain; }
.pp-tile.tp[data-rare] .tp-pic { border-radius: 50%; background: radial-gradient(circle, rgba(255, 105, 180, .45), transparent 70%); }
.pp-tile.tp .tp-text { display: flex; flex-direction: column; align-items: flex-start; align-self: end; line-height: 1.05; min-width: 0; }
.pp-tile.tp:not(:has(.tp-extras)) .tp-text { grid-row: 1 / span 2; align-self: center; }
.pp-tile.tp .tp-amt { font-size: 1.12rem; font-weight: 900; }
.pp-tile.tp .tp-sub { font-size: .56rem; font-weight: 700; line-height: 1.1; opacity: .8; }
.pp-tile.tp .tp-extras { align-self: start; display: flex; flex-wrap: wrap; gap: 2px 6px; margin-top: 2px; max-height: 32px; overflow: hidden; }
.pp-tile.tp .tp-x { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-size: .6rem; font-weight: 800; opacity: .9; }
.pp-tile.tp .tp-x i { font-style: normal; display: inline-grid; place-items: center; width: 15px; height: 15px; font-size: 12px; }
.pp-tile.tp .tp-x i img, .pp-tile.tp .tp-x i .rw-img { width: 15px; height: 15px; object-fit: contain; }
.pp-tile.tp .tp-plus { font-style: normal; font-weight: 900; color: var(--gold); font-size: .62rem; }
.pp-tile.tp .pp-lock, .pp-tile.tp .pp-check { top: 4px; inset-inline-end: auto; inset-inline-start: 4px; width: 18px; height: 18px; font-size: .56rem; background: rgba(0, 0, 0, .45); }
.pp-tile.tp .pp-check { background: #2f9e44; }
.pp-tile.tp.st-claimed { opacity: 1; background: rgba(255, 255, 255, .03); }
.pp-tile.tp.st-claimed > :is(.tp-pic, .tp-text, .tp-extras) { opacity: .5; }
.pp-tile.tp .pp-claim { top: auto; bottom: -10px; left: 50%; transform: translateX(-50%); padding: 3px 14px; font-size: .66rem; z-index: 2; }
.pp-tile.tp.paid { background: linear-gradient(100deg, rgba(255, 201, 60, .18), rgba(255, 201, 60, .04)); }
.pp-level:has(.pp-tile.tp) { padding: 5px 0; }
.pp-level:has(.pp-tile.tp.ready) { padding-bottom: 11px; }
.pp-maxlv, .pp-buylv { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.pp-maxlv p { margin: 0; font-size: .82rem; color: var(--dim); }
.pp-buylv.off { opacity: .7; }
.pp-buylv small { color: var(--dim); }

/* tasks */
.pp-tasks { padding: 0 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.pp-tasks .pp-group { margin: 8px 2px 0; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.pp-task { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: #fff; }
.pp-task.taken, .pp-task.expired { opacity: .5; }
.pp-task.locked { opacity: .75; }
.pp-task-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; background: color-mix(in srgb, var(--pp) 30%, transparent); }
.pp-task-main b { display: block; font-size: .84rem; line-height: 1.3; }
.pp-task-bar { position: relative; margin-top: 6px; height: 16px; border-radius: 999px; background: rgba(0, 0, 0, .35); overflow: hidden; text-align: center; font-size: .64rem; font-weight: 800; line-height: 16px; }
.pp-task-bar div { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--pp) 60%, #fff), var(--pp)); }
[dir="rtl"] .pp-task-bar div { inset: 0 0 0 auto; }
.pp-task-bar span { position: relative; }
.pp-obj { display: block; margin: 0 0 3px; font-size: .72rem; color: #e2d9ff; }
.pp-task-goal { margin-top: 6px; }
.pp-task-goal .pp-task-bar { margin-top: 0; }
.pp-task-why, .pp-task-until { display: block; margin-top: 4px; font-size: .7rem; color: var(--dim); }
.pp-task-pts { min-width: 46px; padding: 6px 8px; border-radius: 12px; background: rgba(255, 201, 60, .14); color: var(--gold); font-weight: 900; text-align: center; font-size: .82rem; }
.pp-task-pts.done { background: rgba(81, 207, 102, .16); color: #8ef0a0; }
.pp-task-claim { display: flex; flex-direction: column; align-items: center; padding: 6px 12px; border: 0; border-radius: 12px; font: inherit; font-weight: 900; font-size: .8rem; color: #fff; cursor: pointer;
  background: linear-gradient(180deg, #69db7c, #2f9e44); box-shadow: 0 4px 12px -6px #2f9e44; }
.pp-task-claim small { font-size: .64rem; opacity: .9; }
.pp-task .rw-chips.small .rw-chip { background: rgba(255, 255, 255, .08); color: #fff; }
.pp-note { margin: 4px 0 0; font-size: .74rem; color: var(--dim); text-align: center; }

/* the season's gifts */
.pp-gifts { padding: 0 12px 16px; }
.pp-gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.pp-gift { position: relative; padding: 12px 6px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 150px; }
.pp-gift-buy { margin-top: auto; }
.pp-gift.gone { filter: grayscale(1); opacity: .5; }
.pp-gift-pic { position: relative; width: 56px; height: 56px; display: grid; place-items: center; }
.pp-gift-img { width: 52px; height: 52px; object-fit: contain; font-size: 40px; line-height: 52px; }
.pp-gift-qty { position: absolute; bottom: -4px; inset-inline-end: -8px; padding: 0 6px; border-radius: 999px; background: #2f9e44; color: #fff; font-size: .7rem; }
.pp-gift-prem { position: absolute; top: -6px; inset-inline-start: -6px; font-style: normal; }
.pp-gift-name { font-weight: 800; font-size: .78rem; }
.pp-gift-state, .pp-gift-sent, .pp-gift-kept { font-size: .68rem; color: var(--dim); }

/* past seasons */
.pp-history { padding: 4px 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.pp-badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.pp-badge { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 28px; min-width: 64px; }
.pp-badge img { width: 34px; height: 34px; }
.pp-badge small { font-size: .62rem; color: var(--dim); }
.pp-hist-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.pp-hist-emoji { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 24px; background: rgba(255, 255, 255, .08); }
.pp-hist-main { min-width: 0; }
.pp-hist-main b { display: block; font-size: .9rem; line-height: 1.25; }
.pp-hist-main small { display: block; margin-top: 2px; font-size: .72rem; color: var(--dim); }
.pp-hist-lv { margin-inline-start: auto; flex: none; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 800; font-size: .74rem; white-space: nowrap; }
.pp-hist-prem { flex: none; }

/* nothing running */
.pp-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 24px; text-align: center; color: #fff; }
.pp-empty-ico { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; font-size: 40px; margin-bottom: 6px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .04)); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px #ff5ca8; }
.pp-empty b { font-size: 1.05rem; }
.pp-empty p { margin: 0 0 8px; font-size: .84rem; color: var(--dim); }
.pp-ghost { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: #fff; font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; }

/* a seasonal gift tapped in the gift screen: the window opens where it is earned (the hint, the place highlighted) */
.pp-hint { display: flex; align-items: center; gap: 10px; margin: 0 12px 8px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--pp) 18%, transparent);
  border: 1px solid var(--pp); font-size: .8rem; }
.pp-hint .pp-hint-pic { width: 36px; height: 36px; object-fit: contain; flex: none; }
.pp-focus { animation: pp-focus 1s ease-in-out 4; outline: 3px solid var(--gold); outline-offset: 2px; }
@keyframes pp-focus { 50% { transform: scale(1.05); box-shadow: 0 0 18px var(--gold); } }

/* "Choose your reward" */
.pp-choose-box { width: min(360px, 92vw); padding: 18px 16px 16px; border-radius: 22px; background: linear-gradient(180deg, #3a2478, #24154a); color: #fff; text-align: center;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 50px -20px #000; }
.pp-choose-title { margin-bottom: 6px; font-weight: 900; font-size: 1.1rem; }
.pp-choose-box p { margin: 0 0 4px; color: #e2d9ff; font-size: .86rem; }
.pp-choose-box small { color: #b9acd9; }
.pp-choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.pp-choice { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.pp-choice span { font-size: 38px; }
.pp-choice.on { border-color: #8ef0a0; box-shadow: 0 0 0 1px #8ef0a0, 0 0 18px -6px #51cf66; }
.pp-choice .btn { background: rgba(255, 255, 255, .12); color: #fff; }
.pp-choice.on .btn { background: linear-gradient(180deg, #69db7c, #2f9e44); }

/* ── Daily rewards (js/progresspanels.js calendarPanel): the week's progress, a card per day, the last day wide ── */
.cal7-panel .pnl > .panel-body, .cal7-panel .panel-body { background: #f6f2ff; }
.cal7 { display: flex; flex-direction: column; gap: 12px; color: #2b1d4a; }
.cal7-head { padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #7b2ff7, #ff3d8b); color: #fff; box-shadow: 0 10px 24px -14px #7b2ff7; }
.cal7-head p { margin: 0 0 10px; font-weight: 700; font-size: .86rem; line-height: 1.4; }
.cal7-prog { display: flex; align-items: center; gap: 10px; }
.cal7-prog b { flex: none; font-size: .78rem; }
.cal7-track { position: relative; flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.cal7-track i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: #fff; }
[dir="rtl"] .cal7-track i { inset: 0 0 0 auto; }
.cal7-track.small { height: 6px; background: #e6def7; }
.cal7-track.small i { background: linear-gradient(90deg, #b18cff, #7b2ff7); }
.cal7-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cal7-cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 132px; padding: 10px 8px; border-radius: 16px;
  background: #fff; box-shadow: 0 0 0 1px #ece6f7, 0 4px 12px -10px rgba(60, 30, 120, .5); text-align: center; }
.cal7-cell.big { grid-column: 1 / -1; min-height: 120px; flex-direction: row; justify-content: space-between; padding: 12px 16px; text-align: start;
  background: linear-gradient(135deg, #fff7e0, #ffe9b8); box-shadow: 0 0 0 1px #ffd67a, 0 8px 20px -14px #f5a400; }
.cal7-cell.big .cal7-top { flex-direction: column; align-items: flex-start; gap: 6px; }
.cal7-cell.big .cal7-reward { flex: 1; }
.cal7-cell.big .rw-big i { font-size: 40px; }
.cal7-top { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.cal7-day { font-weight: 800; font-size: .76rem; color: #8a7fa3; }
.cal7-tag { padding: 2px 8px; border-radius: 999px; background: #7b2ff7; color: #fff; font-size: .62rem; font-weight: 800; white-space: nowrap; }
.cal7-cell.big .cal7-tag { background: #f5a400; }
.cal7-reward { flex: 1; display: grid; place-items: center; min-width: 0; }
.cal7-reward .rw-big i { font-size: 30px; }
.cal7-reward .rw-big b { font-size: .82rem; font-weight: 900; color: #2b1d4a; white-space: normal; text-align: center; }
.cal7-reward .rw-more { font-size: .66rem; color: #6a5f85; }
.cal7-claim { padding: 6px 16px; border: 0; border-radius: 999px; font: inherit; font-weight: 900; font-size: .8rem; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #ff3d8b, #7b2ff7); box-shadow: 0 6px 14px -8px #ff3d8b; }
.cal7-cell.st-open { box-shadow: 0 0 0 2px #ff3d8b, 0 10px 20px -12px #ff3d8b; animation: cal7Ready 1.8s ease-in-out infinite; }
@keyframes cal7Ready { 50% { box-shadow: 0 0 0 2px #ff3d8b, 0 10px 26px -6px #ff3d8b; } }
.cal7-cell.st-claimed { background: #f3fbf4; box-shadow: 0 0 0 1px #c9ecd0; }
.cal7-cell.st-claimed .cal7-reward { opacity: .55; }
.cal7-done { font-size: .72rem; font-weight: 800; color: #2f9e44; }
.cal7-lock { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #f1ecfa; font-size: .7rem; }
.cal7-cell.st-locked .cal7-reward { filter: saturate(.7); opacity: .8; }
.cal7-cell.st-missed { box-shadow: 0 0 0 1px #ffd0d8; }
.cal7-task { width: 100%; display: grid; gap: 3px; font-size: .64rem; color: #6a5f85; line-height: 1.25; }
.cal7-note { margin: 0; text-align: center; font-size: .74rem; color: #6a5f85; }
.pp-task .rw-chips { justify-content: flex-start; margin-top: 6px; }

/* ── the yearly calendar (progresspanels.js calendarPanel, 2026-11-13): month tabs, week tabs, 6 days + the week's frame.
   Short labels only; explanations sit behind the ⓘ (tip bubble) so long languages never break the layout. ── */
.ycal-panel .panel-body { padding: 0 !important; }
.ycal { display: flex; flex-direction: column; color: #2b1d4a; }
.ycal-head { position: sticky; top: 0; z-index: 3; }
.ycal-months { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; background: #3a2766; scrollbar-width: none; }
.ycal-months::-webkit-scrollbar, .ycal-weeks::-webkit-scrollbar { display: none; }
.ycal-mt { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 56px; padding: 5px 8px 4px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .06); color: #8f84b0; font: inherit; font-size: .66rem; font-weight: 800; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.ycal-mt i { font-style: normal; font-size: .95rem; line-height: 1.15; }
.ycal-mt.done { background: rgba(255, 255, 255, .1); color: #9fe3b0; }
.ycal-mt.cur { color: #fff; box-shadow: inset 0 0 0 1.5px #ff7ab0; }
.ycal-mt.on { background: linear-gradient(135deg, #7b2ff7, #ff3d8b); color: #fff; box-shadow: 0 4px 12px -4px #ff3d8b; }
.ycal-weeks { display: flex; gap: 6px; overflow-x: auto; padding: 7px 10px; background: #ece5fb; scrollbar-width: none; }
.ycal-wt { flex: none; display: flex; align-items: center; gap: 5px; padding: 3px 10px 3px 6px; border: 0; border-radius: 999px; background: #fff; color: #5b4f78;
  font: inherit; font-size: .72rem; font-weight: 800; white-space: nowrap; box-shadow: 0 1px 0 #d9cff3; cursor: pointer; }
.ycal-wt img { width: 20px; height: 26px; object-fit: contain; }
.ycal-wt.on { background: #7b2ff7; color: #fff; }
.ycal-wt.done::after { content: '✓'; color: #2f9e44; font-size: .7rem; }
.ycal-wt.on.done::after { color: #b9f5c8; }
.ycal-body { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.ycal-hero { padding: 11px 14px 8px; border-radius: 16px; background: linear-gradient(135deg, #7b2ff7, #ff3d8b); color: #fff; box-shadow: 0 10px 24px -14px #7b2ff7; }
.ycal-row { display: flex; align-items: center; gap: 8px; }
.ycal-row b { flex: 1; font-size: .95rem; font-weight: 900; }
.ycal-yr { padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: .7rem; font-weight: 800; }
.ycal-i { flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .25); color: inherit; font: inherit; font-size: .8rem; line-height: 1; cursor: help; }
.ycal-back .ycal-i, .ycal-had .ycal-i { background: rgba(0, 0, 0, .07); }
.ycal-track { position: relative; height: 8px; margin: 9px 0 4px; border-radius: 999px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ycal-track i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: #fff; }
[dir="rtl"] .ycal-track i { inset: 0 0 0 auto; }
.ycal-ticks { position: relative; height: 14px; font-size: .62rem; }
.ycal-ticks span { position: absolute; top: 0; inset-inline-start: var(--at); transform: translateX(-100%); }
[dir="rtl"] .ycal-ticks span { transform: translateX(100%); }
.ycal-back { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: #fff4e5; box-shadow: 0 0 0 1px #ffd8a8; color: #8a4b00; font-size: .76rem; font-weight: 700; }
.ycal-back b { color: #d9480f; white-space: nowrap; }
.ycal-back span { flex: 1; min-width: 0; }
.ycal-wk { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ycal-wk b { font-size: .88rem; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ycal-wk span { flex: none; font-size: .7rem; color: #8a7fa3; font-weight: 700; }
.ycal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ycal-cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 112px; padding: 9px 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e6def7; }
.ycal-d { font-size: .72rem; font-weight: 800; color: #8a7fa3; white-space: nowrap; }
.ycal-rw { flex: 1; display: grid; place-items: center; min-width: 0; }
.ycal-rw .rw-big { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ycal-rw .rw-big i { font-size: 30px; font-style: normal; }
.ycal-rw .rw-big .rw-img { width: 36px; height: 36px; object-fit: contain; }
.ycal-rw .rw-big b { font-size: .8rem; font-weight: 900; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ycal-rw .rw-more { display: none; }
/* (amounts read left to right in every language: «×3», never «3×») */
.ycal-rw .rw-big b { direction: ltr; unicode-bidi: isolate; }
.ycal-cell.st-claimed { background: #f3fbf4; box-shadow: 0 0 0 1px #c9ecd0; }
.ycal-cell.st-claimed .ycal-rw { opacity: .55; }
.ycal-cell.st-open { box-shadow: 0 0 0 2px #ff3d8b, 0 10px 22px -10px #ff3d8b; animation: cal7Ready 1.8s ease-in-out infinite; }
.ycal-ok { color: #2f9e44; font-weight: 900; }
.ycal-lock { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f1ecfa; font-size: .66rem; }
.ycal-claim { padding: 5px 16px; border: 0; border-radius: 999px; font: inherit; font-weight: 900; font-size: .78rem; color: #fff; background: linear-gradient(135deg, #ff3d8b, #7b2ff7); cursor: pointer; }
.ycal-tag { position: absolute; top: -8px; padding: 1px 8px; border-radius: 999px; background: #7b2ff7; color: #fff; font-size: .6rem; font-weight: 800; white-space: nowrap; }
.ycal-cell.big { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; min-height: 140px; padding: 12px 14px; background: linear-gradient(180deg, #fff, #fbf5ff); box-shadow: 0 0 0 1.5px #e0c6ff; }
.ycal-cell.big.st-claimed { background: #f3fbf4; }
.ycal-seat { flex: none; position: relative; width: 92px; height: 119px; }
.ycal-ph { position: absolute; left: 16.43%; top: 16.02%; width: 66.43%; height: 66.85%; border-radius: 8px; overflow: hidden; background: #ddd; }
.ycal-ph img { width: 100%; height: 100%; object-fit: cover; }
.ycal-fr { position: absolute; inset: 0; width: 100%; height: 100%; }
.ycal-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.ycal-fname { font-size: .98rem; font-weight: 900; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ycal-extra { display: flex; flex-wrap: wrap; gap: 5px; }
.ycal-chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 8px; border-radius: 999px; background: #f1e8ff; font-size: .72rem; font-weight: 800; color: #5b2bb5; }
.ycal-chip img { width: 22px; height: 22px; object-fit: contain; }
.ycal-chip.prem { background: linear-gradient(135deg, #ffd76a, #f59f00); color: #5a3200; }
.ycal-had { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 800; color: #2f9e44; }
.ycal-note { text-align: center; color: #6a5f85; }
/* a frame won at a level: its own picture fills the tile (the owner, 2026-11-13) */
.pp-tile.tp .tp-pic-frame .rw-img { width: 100%; height: 100%; object-fit: contain; }
.pp-tile.tp .tp-pic-frame { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
