/* Zeltrix accounts: header slot, sign-in page, member card (Player Card, XP bar, achievements, ranks, weekly goals, season
   pass), toasts, the sign-in nudge and the level-up celebration. Loaded only when accounts are switched on.
   Tokens come from styles.css. CSP: no inline styles; dynamic values arrive as CSS custom properties set from JS. */
:root {
  --r-common: #5b667c; --r-common-bg: #eef1f7;
  --r-rare: #2f52d6; --r-rare-bg: #e7edff;
  --r-epic: #7b3fe4; --r-epic-bg: #f1e9ff;
  --r-legendary: #a86a00; --r-legendary-bg: #fff3cf;
  --xp-a: #5fd3ff; --xp-b: #c6f432;
  --rank-rookie: #9fb3d9; --rank-regular: #5fd3ff; --rank-contender: #6ee7a8; --rank-veteran: #b99cff; --rank-champion: #ffc94d; --rank-legend: #c6f432;
}

/* ---------- Header slot ---------- */
.header-link.account-link { position: relative; }
.account-avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #e6ebf8; }
.account-avatar svg { width: 22px; height: 22px; }
.account-link.is-member .account-avatar { background: var(--lime); color: var(--navy); font-size: 13px; font-weight: 800; box-shadow: 0 0 0 2px rgba(198, 244, 50, .35); }
.account-link.is-member .account-link-label { font-weight: 700; color: #fff; }
.account-level-pip { position: absolute; top: 0; right: 6px; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--cyan); color: var(--navy); font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
@media (max-width: 980px) {
  .header-actions .header-link.account-link { display: inline-flex; padding: 6px 8px; }
  .header-actions .account-link .account-link-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .account-avatar { width: 30px; height: 30px; }
  .account-level-pip { right: 0; }
}
/* Phones: the one 56 px header row (styles.css, 2026-10-22 "answer first") keeps the search box wide enough. */
@media (max-width: 700px) {
  .header-actions .header-link.account-link { padding: 4px; }
  .account-avatar { width: 28px; height: 28px; }
}

/* ---------- Member HUD in the header (scripts/sections/accounts.mjs hudHtml; accounts.js renderHeader) ---------- */
/* One of the two shows from the first paint: html.is-member (member-flag.js, in <head>) picks the HUD; accounts.js then
   keeps it in step with the session through data-state on the slot ("in" or "out"). The chip is never taller than the
   "Sign in" link it replaces, so the header keeps its height (84 px desktop, one 56 px row on phones). */
.acc-slot { position: relative; display: inline-flex; align-items: center; }
.hud { display: none; position: relative; }
html.is-member .acc-slot:not([data-state="out"]) .hud, .acc-slot[data-state="in"] .hud { display: block; }
html.is-member .acc-slot:not([data-state="out"]) .account-link, .acc-slot[data-state="in"] .account-link { display: none !important; }
.hud-chip { display: inline-grid; grid-template-columns: 24px auto; grid-template-rows: auto 3px; column-gap: 7px; row-gap: 4px; align-items: center; min-height: 40px; margin: 0 4px; padding: 5px 10px 5px 7px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); color: #fff; font: inherit; line-height: 1; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.hud-chip:hover, .hud-chip[aria-expanded="true"] { border-color: var(--lime); background: rgba(198, 244, 50, .08); }
.hud-emblem { grid-row: 1 / span 2; width: 24px; height: 24px; }
.hud-emblem .emblem { display: block; width: 24px; height: 24px; }
.hud-lv { font-size: 14px; font-weight: 800; color: #fff; }
.hud-bar { grid-column: 2; width: 100%; min-width: 30px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hud-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--xp-a), var(--xp-b)); transform-origin: left center; transform: scaleX(var(--xp, 0)); }
.hud-panel { position: absolute; z-index: 70; top: calc(100% + 8px); right: 0; width: min(300px, calc(100vw - 32px)); padding: 14px 16px 12px; border-radius: 14px; background: var(--navy); color: #d4dcf1; border: 1px solid rgba(198, 244, 50, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); text-align: left; white-space: normal; }
.hud-panel[hidden] { display: none; }
.hud-p-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #b6c2e8; }
.hud-p-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin: 2px 0 8px; }
.hud-p-title > span:first-child { font-size: 18px; font-weight: 800; color: #fff; }
.hud-p-lv { font-size: 13px; color: #c3cdea; }
.hud-p-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.hud-p-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--xp-a), var(--xp-b)); transform-origin: left center; transform: scaleX(var(--xp, 0)); }
.hud-p-next { margin: 6px 0 0; font-size: 13px; color: #c3cdea; font-variant-numeric: tabular-nums; }
.hud-p-unlock { margin: 10px 0 0; font-size: 14px; }
.hud-p-unlock span { color: #b6c2e8; }
.hud-p-unlock b { color: #fff; }
.hud-p-rows { list-style: none; display: grid; gap: 4px; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.hud-p-rows li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.hud-p-rows b { color: #fff; text-align: right; }
.hud-p-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; }
.hud-p-links a { color: #fff; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(198, 244, 50, .7); text-underline-offset: 3px; }
.hud-p-links a:hover { color: var(--lime); }
@media (prefers-reduced-motion: no-preference) {
  .hud-fill, .hud-p-fill { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
}
/* Phones: a smaller chip in the one 56 px row (menu, logo, search, HUD, cart). */
@media (max-width: 700px) {
  .hud-chip { grid-template-columns: 22px auto; column-gap: 5px; min-height: 36px; margin: 0; padding: 4px 7px 4px 5px; border-radius: 10px; }
  .hud-emblem, .hud-emblem .emblem { width: 22px; height: 22px; }
  .hud-lv { font-size: 13px; }
  .hud-bar { min-width: 26px; }
  .hud-panel { position: fixed; top: 58px; right: 16px; }
}

/* ---------- Shared bits ---------- */
.link-button { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.account-status { margin: 10px 0 0; min-height: 1.4em; font-size: 14px; color: var(--muted); }
.account-status.is-error { color: var(--error-text); }
.account-status.is-ok { color: var(--ok-text); }
.button-danger { background: var(--error-text); color: #fff; }
.button-danger:hover:not(:disabled) { background: #7d2018; }
/* The 13+ box (SHELL-A4, 2026-10-30): the whole label is the tap target, at least 44 px tall, not just the small box. */
.account-check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; margin: 14px 0; padding: 10px 0; font-size: 14px; line-height: 1.5; color: var(--text); cursor: pointer; touch-action: manipulation; }
.account-check input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--navy); cursor: pointer; }

/* ---------- /account/: a game-style hero with the sign-in card, then "what you get" ---------- */
.page-account .inner-page { padding-top: 0; }
.acc-hero { position: relative; isolation: isolate; overflow: hidden; background: #060c22; color: #dfe6f7; padding: 24px 0 64px; }
.acc-hero-art { position: absolute; inset: 0; z-index: -2; }
.acc-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 30%; }
.acc-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 12, 34, .98) 0%, rgba(6, 12, 34, .92) 36%, rgba(6, 12, 34, .5) 60%, rgba(6, 12, 34, .2) 100%), linear-gradient(0deg, #060c22 0%, transparent 30%); }
.acc-hero-inner { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: center; }
.acc-hero .breadcrumb, .acc-hero .breadcrumb a { color: #b9c3de; }
.acc-pill { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 12px; padding: 6px 12px; border-radius: 999px; background: rgba(198, 244, 50, .12); border: 1px solid rgba(198, 244, 50, .45); color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.acc-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: acc-pulse 1.8s ease-out infinite; }
.acc-title { margin: 0 0 12px; color: #fff; font-size: clamp(36px, 5.4vw, 60px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; }
.acc-title span { display: block; }
.acc-title-glow { background: linear-gradient(90deg, var(--lime), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.acc-lead { max-width: 520px; margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: #dfe6f7; }
.acc-card { position: relative; background: #fff; color: var(--text); border-radius: 20px; padding: 24px; box-shadow: 0 0 0 1px rgba(198, 244, 50, .4), 0 0 46px rgba(198, 244, 50, .16), 0 26px 60px rgba(0, 0, 0, .45); }
.account-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--ink); }
.account-input { width: 100%; height: 52px; padding: 0 16px; border: 2px solid var(--border-strong); border-radius: 12px; font-size: 17px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.account-input:focus { border-color: var(--blue); }
.account-input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.acc-email-row { position: relative; }
.acc-email-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.acc-email-icon svg { width: 22px; height: 22px; }
.acc-email-row .account-input { height: 58px; padding-left: 48px; font-size: 18px; }
.account-submit { width: 100%; min-height: 58px; margin-top: 12px; font-size: 17px; font-weight: 800; box-shadow: 0 10px 24px rgba(198, 244, 50, .35); }
.account-submit .acc-btn-icon { width: 20px; height: 20px; }
.account-submit:hover:not(:disabled) .acc-btn-icon { animation: acc-zap .5s ease; }
.acc-card .account-check { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.account-fine { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--subtle); }
.account-fine a { color: var(--blue); text-decoration: underline; }
.account-step-title { font-size: 26px; margin: 0 0 8px; }
.account-step-title:focus { outline: none; } /* not a control: focused by script so screen readers start here */
.account-code-row { display: flex; gap: 10px; }
.account-code-input { font-size: 24px; font-weight: 800; letter-spacing: .22em; text-align: center; font-variant-numeric: tabular-nums; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-working { display: flex; align-items: center; gap: 16px; min-height: 120px; }
.account-working .account-step-title { margin: 0; }
.account-spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--bg-soft); border-top-color: var(--blue); animation: acc-spin .8s linear infinite; }
.account-note { margin: 0; color: var(--muted); }
/* "Check your email" */
.acc-sent { text-align: center; }
.acc-envelope { position: relative; width: 140px; height: 112px; margin: 0 auto 6px; }
.env { width: 140px; height: 116px; overflow: visible; animation: acc-float 3s ease-in-out infinite; }
.env-back { fill: #13204a; }
.env-flap { fill: #1f3170; }
.env-letter { animation: env-rise 2.6s cubic-bezier(.3, .7, .3, 1) infinite; }
.env-letter rect { fill: #fff; stroke: #cfd5e1; stroke-width: 2; }
.env-letter path { stroke: #c4cbe0; stroke-width: 4; stroke-linecap: round; }
.env-seal { fill: var(--lime); }
.env-front { fill: var(--navy); }
.env-edge { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linejoin: round; opacity: .9; }
.spark { position: absolute; width: 12px; height: 12px; background: var(--lime); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: acc-twinkle 1.8s ease-in-out infinite; }
.spark.s1 { left: 4px; top: 18px; } .spark.s2 { right: 0; top: 4px; animation-delay: .6s; background: var(--cyan); } .spark.s3 { right: 12px; bottom: 18px; width: 9px; height: 9px; animation-delay: 1.1s; }
.acc-sent-to { margin: 6px 0 4px; color: var(--text); }
.acc-sent-to strong { display: inline-block; margin-top: 4px; padding: 6px 12px; border-radius: 10px; background: var(--bg-soft); color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.acc-sent-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.acc-sent-actions { display: grid; justify-items: center; gap: 10px; margin: 18px 0 4px; }
.acc-resend { min-width: 220px; font-variant-numeric: tabular-nums; }
.acc-resend:disabled { opacity: .75; }
.account-code { margin: 14px 0 0; padding: 16px; border-radius: 14px; background: var(--bg-tint); text-align: left; }
/* The installed app (account.js appCodeFirst): the code field comes right under the address, so the envelope steps aside. */
.acc-card.is-app .acc-envelope { display: none; }
.acc-card.is-app .acc-sent-actions { margin-top: 14px; }
/* Signed in */
.acc-done { text-align: center; }
.acc-done-badge { position: relative; display: grid; place-items: center; width: 120px; height: 120px; margin: 0 auto 8px; }
.acc-done-rays { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(198, 244, 50, .35) 0deg 8deg, transparent 8deg 24deg); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); animation: acc-turn 10s linear infinite; }
.acc-done-badge .emblem { position: relative; width: 84px; height: 84px; animation: acc-pop .7s cubic-bezier(.2, 1.4, .4, 1) both; filter: drop-shadow(0 8px 18px rgba(11, 20, 48, .35)); }
.acc-done-xp { display: grid; gap: 6px; max-width: 360px; margin: 14px auto 16px; }
.acc-done-xp .xp-bar { background: var(--bg-soft); box-shadow: inset 0 1px 2px rgba(11, 20, 48, .12); }
.acc-done-xp-text { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.acc-done .account-actions { justify-content: center; }
/* Example Player Card next to the form */
/* Before account.js shows a step, the card keeps the room of the step it will show (the email form, or "You're signed in"
   for a member: html.is-member, member-flag.js), so the sample card under it on phones does not jump down. */
.acc-card:not(:has(> .account-step:not([hidden]))) { min-height: 340px; }
html.is-member .acc-card:not(:has(> .account-step:not([hidden]))) { min-height: 190px; }
/* The join pitch right under the sign-in form (owner review 2026-10-26): what a member can do today, then real numbers. */
.acc-why { margin: 22px 0 0; }
.acc-why-title { margin: 0 0 12px; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.acc-why-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.acc-why-list li { display: flex; gap: 12px; align-items: flex-start; }
.acc-why-icon { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: rgba(198, 244, 50, .12); border: 1px solid rgba(198, 244, 50, .35); color: var(--lime); }
.acc-why-icon svg { width: 20px; height: 20px; }
.acc-why-text { font-size: 15px; line-height: 1.5; color: #c9d3ea; }
.acc-why-text b { color: #fff; font-weight: 800; }
.acc-why-free { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #b9c4e0; }
.acc-proof { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(6, 12, 34, .6); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; line-height: 1.5; color: #dfe6f7; }
.acc-proof b { color: var(--lime); font-variant-numeric: tabular-nums; }
/* Straight, never tilted (owner, 2026-10-23), and big enough to fill the right column, centred on the sign-in card. */
.acc-preview { justify-self: center; align-self: center; width: min(500px, 100%); }
.acc-sample { animation: acc-hover 6s ease-in-out infinite; }
@media (min-width: 901px) {
  /* The card sits level with the sign-in form: the left column's parts become grid rows (breadcrumb, pill, title, lead,
     form) and the card sits in the form's row, both centred on it. */
  .acc-hero-inner { row-gap: 0; align-items: start; }
  .acc-hero-main { display: contents; }
  .acc-hero-main > * { grid-column: 1; }
  .acc-hero-main > .acc-pill { justify-self: start; margin-top: 0; } /* grid rows do not collapse margins: the breadcrumb already leaves 16px */
  .acc-hero-main > .acc-card { align-self: center; }
  .acc-preview { grid-column: 2; grid-row: 5; align-self: center; }
  .acc-sample { padding: 32px; border-radius: 24px; }
  .acc-sample .pc-avatar { width: 72px; height: 72px; font-size: 34px; border-radius: 18px; }
  .acc-sample .pc-name { font-size: 28px; }
  .acc-sample .pc-title { font-size: 14px; }
  .acc-sample .pc-emblem .emblem { width: 76px; height: 76px; }
  .acc-sample .pc-level { margin: 28px 0 14px; }
  .acc-sample .pc-level-num { font-size: 58px; }
  .acc-sample .pc-rank { font-size: 22px; }
  .acc-sample .xp-bar { height: 20px; }
  .acc-sample .xp-text { font-size: 16px; }
  .acc-sample .xp-text b { font-size: 18px; }
  .acc-sample .pc-badges { gap: 10px; margin-top: 20px; }
  .acc-sample .pc-badge { padding: 7px 14px 7px 8px; font-size: 14px; }
  .acc-sample .pc-badge svg { width: 22px; height: 22px; }
}
.acc-sample .xp-fill { --xp: .375; }
.acc-preview-cap { margin: 18px auto 0; max-width: 360px; padding: 8px 14px; border-radius: 12px; background: rgba(6, 12, 34, .72); font-size: 14px; line-height: 1.5; color: #dfe6f7; text-align: center; }
/* What you get */
.acc-gets { padding: 56px 0 72px; }
.acc-gets .kicker { margin-bottom: 6px; }
.acc-gets h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -.02em; margin: 0 0 24px; }
.acc-gets-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.acc-get { grid-column: span 2; position: relative; overflow: hidden; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.acc-get h3 { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.acc-get p { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.acc-get-ranks { grid-column: span 4; background: radial-gradient(90% 120% at 100% 0%, rgba(95, 211, 255, .18), transparent 55%), linear-gradient(150deg, #13204a, #0b1430); border-color: #0b1430; color: #dfe6f7; }
.acc-get-ranks h3 { color: #fff; }
.acc-get-ranks p { color: #c9d3ea; }
.acc-get-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 14px; background: var(--navy); color: var(--lime); }
.acc-get-icon svg { width: 26px; height: 26px; }
.acc-get-sync { grid-column: 1 / -1; }
.rank-road { list-style: none; margin: 22px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; position: relative; }
.rank-road::before { content: ''; position: absolute; left: 8%; right: 8%; top: 25px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--rank-rookie), var(--rank-regular), var(--rank-contender), var(--rank-veteran), var(--rank-champion), var(--rank-legend)); opacity: .55; }
.road-step { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; }
.road-step .emblem { width: 54px; height: 54px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.road-step.is-here .emblem { filter: drop-shadow(0 0 14px rgba(198, 244, 50, .55)); animation: acc-bounce 2.2s ease-in-out infinite; }
.road-name { font-weight: 800; font-size: 13px; color: #fff; }
.road-xp { font-size: 11px; color: #9fb0d4; font-variant-numeric: tabular-nums; }
.first-levels-title { margin: 22px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.first-levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.first-levels li { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; background: rgba(255, 255, 255, .07); text-align: center; }
.fl-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--navy); font-size: 14px; font-weight: 900; }
.fl-name { font-size: 13px; font-weight: 800; color: #fff; }
.fl-xp { font-size: 11px; color: #9fb0d4; }
.road-step.is-here .road-xp::after { content: ' · start'; color: var(--lime); font-weight: 800; }
.badge-sampler { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sample-badge { --rc: var(--r-common); --rbg: var(--r-common-bg); --rglow: rgba(91, 102, 124, .25); position: relative; overflow: hidden; display: grid; justify-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 14px; background: var(--rbg); text-align: center; box-shadow: inset 0 0 0 1px var(--rc), 0 8px 20px var(--rglow); }
.sample-badge.rarity-rare { --rc: var(--r-rare); --rbg: var(--r-rare-bg); --rglow: rgba(47, 82, 214, .25); }
.sample-badge.rarity-epic { --rc: var(--r-epic); --rbg: var(--r-epic-bg); --rglow: rgba(123, 63, 228, .3); }
.sample-badge.rarity-legendary { --rc: #c98a00; --rbg: linear-gradient(160deg, #fffaf0, #ffe9a8); --rglow: rgba(201, 138, 0, .38); background: var(--rbg); }
.sample-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rc); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 0 18px var(--rglow); }
.sample-icon svg { width: 24px; height: 24px; }
/* Fixed dark ink: the tiles stay pale in the app's dark theme, where var(--ink) turns white (1.16:1, A11Y-06). A token, so
   the generated dark twin (scripts/lib/app-shell-dark.mjs) leaves it alone. */
.sample-badge { --sample-ink: #16203a; }
.sample-badge b { font-size: 13px; color: var(--sample-ink); line-height: 1.2; }
.sample-rarity { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rc); }
.sample-badge.rarity-legendary::after, .sample-badge.rarity-epic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .75) 48%, transparent 64%); background-size: 250% 100%; animation: acc-shine 3s ease-in-out infinite; pointer-events: none; }
.sample-badge.rarity-epic::after { animation-delay: 1.4s; }

/* ---------- Rank emblems: painted art (src/assets/achievements); sizes per context ---------- */
.emblem { display: block; width: 44px; height: auto; }

/* ---------- Member card on /my-zeltrix/ ---------- */
.member { margin: 8px 0 36px; }
.member-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px; border-radius: var(--radius); background: var(--navy); color: #dfe6f7; }
.member-out .kicker { color: var(--cyan); }
.member-out-title { margin: 0 0 6px; font-size: 26px; font-weight: 800; color: #fff; }
.member-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: start; }
.player-card { position: relative; overflow: hidden; border-radius: 20px; padding: 24px; color: #e8edfa; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, rgba(95, 211, 255, .22), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(198, 244, 50, .16), transparent 60%), linear-gradient(160deg, #13204a, #0b1430 60%, #060c22);
  border: 2px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px rgba(6, 12, 34, .35); }
.player-card.back-midnight { background: radial-gradient(100% 80% at 100% 0%, rgba(123, 63, 228, .35), transparent 60%), linear-gradient(160deg, #0d1233, #050818); }
.player-card.back-aurora { background: radial-gradient(120% 90% at 0% 0%, rgba(110, 231, 168, .3), transparent 55%), radial-gradient(100% 80% at 100% 100%, rgba(95, 211, 255, .3), transparent 60%), linear-gradient(160deg, #0b2a3a, #0b1430); }
.player-card.frame-founder { border-color: transparent; background-origin: border-box; box-shadow: 0 0 0 2px #e6b800, 0 20px 50px rgba(168, 106, 0, .35); }
.player-card.frame-legend { box-shadow: 0 0 0 2px var(--lime), 0 0 30px rgba(198, 244, 50, .35), 0 20px 50px rgba(6, 12, 34, .35); border-color: transparent; }
.player-card.frame-s1 { box-shadow: 0 0 0 2px var(--cyan), 0 20px 50px rgba(6, 12, 34, .35); border-color: transparent; }
/* Cosmetic unlocks per level (infra/accounts/rules.mjs LEVEL_COSMETICS; only offered while cosmeticUnlocks is on). The
   accent recolours the avatar, title and rank; banners are Zeltrix's own colour strips (no game art or logos). */
.player-card.frame-starter { box-shadow: 0 0 0 2px #b9814f, 0 20px 50px rgba(6, 12, 34, .35); border-color: transparent; }
.player-card.frame-silver { box-shadow: 0 0 0 2px #c9d2e3, 0 0 18px rgba(201, 210, 227, .3), 0 20px 50px rgba(6, 12, 34, .35); border-color: transparent; }
.player-card.frame-gold { box-shadow: 0 0 0 2px #f2c94c, 0 0 22px rgba(242, 201, 76, .35), 0 20px 50px rgba(6, 12, 34, .35); border-color: transparent; }
.player-card.frame-platinum { box-shadow: 0 0 0 3px #dfe7f2, 0 0 0 5px #8fa3bf, 0 20px 50px rgba(6, 12, 34, .35); border-color: transparent; }
.player-card.frame-crystal { box-shadow: 0 0 0 2px #9be7ff, 0 0 0 4px rgba(155, 231, 255, .35), 0 0 30px rgba(155, 231, 255, .4), 0 20px 50px rgba(6, 12, 34, .35); border-color: transparent; }
.player-card.back-crystal { background: conic-gradient(from 210deg at 70% 20%, rgba(155, 231, 255, .25), rgba(123, 63, 228, .2), rgba(95, 211, 255, .25), rgba(155, 231, 255, .25)), linear-gradient(160deg, #102347, #071028); }
.player-card.back-holo { background: linear-gradient(115deg, rgba(255, 120, 200, .22), rgba(120, 220, 255, .22) 35%, rgba(198, 244, 50, .2) 65%, rgba(255, 200, 90, .22)), linear-gradient(160deg, #141a3d, #070c22); }
.player-card.back-animated { background: linear-gradient(120deg, rgba(95, 211, 255, .28), rgba(198, 244, 50, .2), rgba(123, 63, 228, .28), rgba(95, 211, 255, .28)), linear-gradient(160deg, #13204a, #060c22); background-size: 300% 300%, 100% 100%; animation: pc-back-flow 12s ease-in-out infinite alternate; }
@keyframes pc-back-flow { from { background-position: 0% 50%, 0 0; } to { background-position: 100% 50%, 0 0; } }
@media (prefers-reduced-motion: reduce) { .player-card.back-animated { animation: none; } }
.player-card { --pc-accent: var(--lime); --pc-accent-2: #8fdc1f; }
.player-card.accent-default { --pc-accent: #c6f432; --pc-accent-2: #8fdc1f; }
.player-card.accent-sky { --pc-accent: #5fd3ff; --pc-accent-2: #2a9fd6; }
.player-card.accent-violet { --pc-accent: #b48cff; --pc-accent-2: #7b3fe4; }
.player-card.accent-amber { --pc-accent: #ffc35a; --pc-accent-2: #e09a1a; }
.player-card.accent-rose { --pc-accent: #ff8fb8; --pc-accent-2: #e2457f; }
.player-card.accent-teal { --pc-accent: #6ee7c8; --pc-accent-2: #1fae8c; }
.player-card[class*="accent-"] .pc-avatar { background: linear-gradient(135deg, var(--pc-accent), var(--pc-accent-2)); }
.player-card[class*="accent-"] .pc-rank, .player-card[class*="accent-"]:not(.accent-default) .pc-title { color: var(--pc-accent); }
.pc-banner { margin: -24px -24px 16px; padding: 8px 24px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--bn-a, #2a3f7a), var(--bn-b, #13204a)); }
.pc-banner.banner-pokemon { --bn-a: #d9a400; --bn-b: #b8322f; }
.pc-banner.banner-onepiece { --bn-a: #c0392b; --bn-b: #1d3c78; }
.pc-banner.banner-mtg { --bn-a: #6b4e2e; --bn-b: #2b1d12; }
.pc-banner.banner-yugioh { --bn-a: #7a3fb8; --bn-b: #2a1a4a; }
.pc-banner.banner-lorcana { --bn-a: #3c6fd8; --bn-b: #1b2d6b; }
.pc-banner.banner-riftbound { --bn-a: #1fae8c; --bn-b: #0d3b4a; }
.mz-look-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .mz-look-grid { grid-template-columns: 1fr 1fr; } }
.pc-glow { position: absolute; right: -25%; top: -45%; width: 80%; height: 130%; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 244, 50, .16), transparent); z-index: -1; animation: acc-drift 9s ease-in-out infinite alternate; }
.pc-head { display: flex; align-items: center; gap: 14px; }
.pc-avatar { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border-radius: 16px; background: linear-gradient(135deg, var(--lime), #8fdc1f); color: var(--navy); font-size: 28px; font-weight: 900; box-shadow: 0 6px 18px rgba(198, 244, 50, .35); }
.pc-id { min-width: 0; flex: 1; }
.pc-name { margin: 0; font-size: 22px; font-weight: 800; color: #fff; line-height: 1.2; overflow-wrap: anywhere; }
.pc-title { margin: 2px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.pc-emblem .emblem { width: 56px; height: 56px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.pc-level { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 10px; }
.pc-level-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fb0d4; }
.pc-level-num { font-size: 44px; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.pc-rank { font-size: 18px; font-weight: 800; color: var(--lime); }
.xp-bar { position: relative; height: 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); }
.xp-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--xp-a), var(--xp-b)); transform-origin: left center; transform: scaleX(var(--xp, 0)); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.xp-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55) 45%, transparent 70%); background-size: 220% 100%; animation: acc-shine 2.6s ease-in-out infinite; }
.xp-text { margin: 10px 0 0; font-size: 14px; color: #c9d3ea; font-variant-numeric: tabular-nums; }
.xp-text b { color: #fff; font-size: 16px; }
.xp-next::before { content: ' · '; }
.xp-next:empty::before { content: ''; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; font-size: 13px; }
.pc-meta > span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.pc-streak svg { width: 16px; height: 16px; color: #ff9f43; }
.pc-streak.is-hot svg { animation: acc-flicker 1.2s ease-in-out infinite; }
.pc-streak b { color: #fff; }
.pc-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.pc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .1); color: #fff; }
.pc-badge svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--rc); color: #fff; }
.pc-badge.rarity-common { --rc: #5b667c; } .pc-badge.rarity-rare { --rc: #2f52d6; } .pc-badge.rarity-epic { --rc: #7b3fe4; } .pc-badge.rarity-legendary { --rc: #c98a00; }
.member-side { display: grid; gap: 14px; align-content: start; }
.wallet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wallet-tile { display: grid; gap: 2px; align-content: start; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(11, 20, 48, .05); }
.wallet-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wallet-value { font-size: 18px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.wallet-tile.is-xp { background: var(--navy); border-color: var(--navy); }
.wallet-tile.is-xp .wallet-label { color: var(--cyan); }
.wallet-tile.is-xp .wallet-value { color: var(--lime); font-size: 24px; }
.wallet-tile.is-xp .wallet-note { color: #b9c3de; }
.wallet-tile.is-soon { background: var(--bg-tint); border-style: dashed; }
.wallet-tile.is-soon .wallet-value { color: var(--muted); font-size: 15px; }
.wallet-note { font-size: 11px; line-height: 1.4; color: var(--muted); }
.next-unlock { border-radius: 16px; padding: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.next-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.next-title { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--ink); }
.next-text { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.ach-bar { display: inline-block; position: relative; width: 56px; height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; vertical-align: middle; }
.ach-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--rc, var(--blue)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .9s ease; }
.next-ach .ach-bar { width: 100%; height: 8px; margin-top: 6px; }
.member-streak-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--muted); }
.member-streak-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: #ff9f43; }
.member-block { margin: 28px 0 0; }
.member-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.member-block h2 { font-size: 22px; font-weight: 800; margin: 0; }
.member-count { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.member-note { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.stub-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--pending-text); font-size: 12px; font-weight: 700; }
.member-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.member-stub { padding: 20px; border-radius: var(--radius); border: 1px dashed var(--border-strong); background: var(--bg-tint); margin-top: 28px; }


/* XP rules */
.earn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.earn-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.earn-xp { font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.earn-row.is-live .earn-xp { color: var(--ok-text); }
.earn-row.is-soon, .earn-row.is-planned { background: var(--bg-tint); }
.earn-row.is-soon .earn-xp, .earn-row.is-planned .earn-xp { color: var(--muted); }
.earn-planned { margin-top: 12px; }
.earn-planned > summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 8px 0; }
.earn-planned > .member-note { margin: 4px 0 10px; }
.earn-label { font-size: 15px; color: var(--ink); }
.earn-when { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }

/* Weekly goals and season pass stubs */
.goal-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.goal { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.goal-name { font-weight: 700; color: var(--ink); }
.goal-bar { height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.goal-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--xp-a), var(--xp-b)); }
.goal-meta { font-size: 12px; font-weight: 700; color: var(--muted); }
.season-track { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.season-step { display: grid; gap: 4px; justify-items: center; padding: 10px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--border); text-align: center; font-size: 12px; }
.season-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); font-weight: 800; }
.season-step.has-reward .season-dot { background: var(--navy); color: var(--lime); }
.season-xp { color: var(--muted); font-weight: 700; }
.season-reward { display: grid; justify-items: center; gap: 2px; color: var(--ink); font-weight: 600; }
.season-reward svg { width: 18px; height: 18px; color: var(--blue); }

/* Rewards, profile, history, account */
.member-rewards { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, #0b1430, #182552); color: #dfe6f7; }
.member-rewards h2 { color: #fff; margin-bottom: 6px; }
.member-rewards strong { color: var(--lime); }
.member-rewards p { margin: 0; }
.rewards-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 auto; border-radius: 16px; background: rgba(198, 244, 50, .15); color: var(--lime); }
.rewards-icon svg { width: 30px; height: 30px; }
.member-form { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.member-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member-form .subscribe-field input { text-transform: none; }
.member-form-actions { margin: 6px 0 0; }
.member-history summary { cursor: pointer; list-style: none; }
.member-history summary::-webkit-details-marker { display: none; }
.member-history summary h2 { display: inline; }
.member-history summary::after { content: '+'; margin-left: 10px; font-size: 22px; font-weight: 800; color: var(--blue); }
.member-history[open] summary::after { content: '−'; }
.history-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.history-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--border); font-size: 14px; }
.history-xp { font-weight: 800; color: var(--ok-text); }
.history-xp.is-negative { color: var(--error-text); }
.history-when { color: var(--muted); font-size: 13px; }
.member-account { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-tint); }
.member-delete { margin-top: 14px; }
.member-delete summary { cursor: pointer; color: var(--error-text); font-weight: 600; }

/* ---------- Toasts and nudge (the level-up card and toast are in game.css, loaded with levelup.js) ---------- */
.acc-toasts { position: fixed; z-index: 310; right: 16px; top: 16px; display: grid; gap: 8px; max-width: min(340px, calc(100vw - 32px)); pointer-events: none; }
.acc-toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid var(--lime); font-size: 14px; animation: acc-slide .35s ease both; }
.acc-toast b { color: var(--lime); font-size: 16px; white-space: nowrap; }
.acc-toast.is-leaving { animation: acc-fade .3s ease both; }
.acc-nudge { position: fixed; z-index: 85; left: 16px; bottom: 16px; display: flex; gap: 12px; align-items: flex-start; max-width: min(380px, calc(100vw - 32px)); padding: 16px 44px 16px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: acc-slide .35s ease both; }
/* The nudge steps aside while an Added / Undo message shows (accounts.js sets hidden): also on pages without the app frame. */
.acc-nudge[hidden] { display: none; }
.acc-nudge-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; background: var(--navy); color: var(--lime); }
.acc-nudge-icon svg { width: 22px; height: 22px; }
.acc-nudge p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.acc-nudge a { font-weight: 700; color: var(--blue); text-decoration: underline; }
.acc-nudge-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; }
.acc-nudge-close:hover { background: var(--bg-soft); }

@keyframes acc-spin { to { transform: rotate(360deg); } }
@keyframes acc-turn { to { transform: rotate(360deg); } }
@keyframes acc-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-18%, 22%) scale(1.15); } }
@keyframes acc-shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
@keyframes acc-pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes acc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes acc-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes acc-flicker { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18) rotate(-4deg); } }
@keyframes acc-slide { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes acc-fade { to { opacity: 0; transform: translateY(8px); } }
@keyframes acc-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .xp-fill, .ach-fill { transition: none; }
  .xp-fill::after, .pc-glow, .account-envelope, .pc-streak.is-hot svg { display: none; }
  .account-burst, .ach.is-new, .acc-toast, .acc-nudge, .account-spinner { animation: none; }
}

@media (max-width: 980px) {
  .member-grid, .member-out, .member-two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .player-card { padding: 18px; border-radius: 18px; }
  .pc-avatar { width: 50px; height: 50px; font-size: 24px; }
  .pc-name { font-size: 19px; }
  .pc-level-num { font-size: 38px; }
  .earn-row { grid-template-columns: 1fr auto; }
  .earn-row .earn-label { grid-column: 1 / -1; grid-row: 2; }
  .member-fields { grid-template-columns: 1fr; }
  .season-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .account-code-row { flex-direction: column; }
  .account-code-input { max-width: none; }
  .history-list li { grid-template-columns: 60px minmax(0, 1fr); }
  .history-when { grid-column: 2; }
  .acc-nudge { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- Design pass: next unlock, legendary shine, celebration ---------- */
.next-unlock.is-feature { display: flex; gap: 16px; align-items: center; background: radial-gradient(120% 120% at 0% 0%, rgba(198, 244, 50, .2), transparent 55%), linear-gradient(150deg, #182552, #0b1430); color: #dfe6f7; border: 1px solid rgba(198, 244, 50, .35); box-shadow: 0 14px 36px rgba(11, 20, 48, .25); }
.next-emblem { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 20px; background: rgba(255, 255, 255, .06); }
.next-emblem::before { content: ''; position: absolute; inset: -6px; border-radius: 24px; background: repeating-conic-gradient(from 0deg, rgba(198, 244, 50, .22) 0deg 10deg, transparent 10deg 30deg); -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%); mask-image: radial-gradient(circle, #000 35%, transparent 72%); opacity: 0; transition: opacity .3s; }
.next-unlock.is-new-rank .next-emblem::before { opacity: 1; animation: acc-turn 12s linear infinite; }
.next-emblem .emblem { position: relative; width: 60px; height: 60px; filter: drop-shadow(0 0 14px rgba(198, 244, 50, .35)); animation: acc-breathe 2.8s ease-in-out infinite; }
.next-lock { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--navy); box-shadow: 0 0 0 3px #0f1a3d; }
.next-lock svg { width: 15px; height: 15px; }
.next-unlock.is-max .next-lock { display: none; }
.next-body { min-width: 0; flex: 1; }
.next-unlock.is-feature .next-kicker { color: var(--lime); }
.next-unlock.is-feature .next-title { color: #fff; font-size: 22px; }
.next-unlock.is-feature .next-text { margin: 0; color: #c9d3ea; font-variant-numeric: tabular-nums; }
.next-bar { display: block; height: 8px; margin: 8px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.next-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--xp-a), var(--xp-b)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.next-reward { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: var(--lime); }
.next-cta { display: inline-flex; margin-top: 10px; padding: 8px 14px; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: 13px; font-weight: 800; box-shadow: 0 6px 16px rgba(198, 244, 50, .3); }
.next-cta:hover { background: var(--lime-hover); }
.pc-badge { position: relative; overflow: hidden; }
.pc-badge.rarity-legendary { background: linear-gradient(135deg, rgba(255, 201, 77, .3), rgba(255, 255, 255, .08)); box-shadow: inset 0 0 0 1px rgba(255, 201, 77, .6), 0 0 16px rgba(255, 201, 77, .25); }
.pc-badge.rarity-epic { box-shadow: inset 0 0 0 1px rgba(185, 156, 255, .55); }
.pc-badge.rarity-legendary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .55) 50%, transparent 68%); background-size: 260% 100%; animation: acc-shine 3.4s ease-in-out infinite; pointer-events: none; }
@keyframes acc-pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, .6); } 100% { box-shadow: 0 0 0 10px rgba(198, 244, 50, 0); } }
@keyframes acc-zap { 0%, 100% { transform: none; } 40% { transform: translateY(-2px) rotate(-12deg) scale(1.2); } }
@keyframes acc-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes acc-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes acc-rise { from { opacity: 0; transform: translateY(40px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes acc-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes env-rise { 0%, 15% { transform: translateY(20px); } 45%, 75% { transform: translateY(-6px); } 100% { transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) {
  .acc-pill-dot, .account-submit:hover:not(:disabled) .acc-btn-icon, .env, .env-letter, .spark, .acc-done-rays, .acc-done-badge .emblem, .acc-sample,
  .road-step.is-here .emblem, .sample-badge.rarity-legendary::after, .sample-badge.rarity-epic::after, .next-unlock.is-new-rank .next-emblem::before,
  .next-emblem .emblem, .pc-badge.rarity-legendary::after { animation: none; }
  .env-letter { transform: translateY(-6px); }
  .spark { opacity: .8; }
  .next-fill { transition: none; }
}
@media (max-width: 900px) {
  .acc-hero { padding: 14px 0 40px; }
  .acc-hero-art { inset: 0 0 auto 0; height: 330px; }
  .acc-hero-art img { object-position: 60% 18%; }
  .acc-hero::before { background: linear-gradient(180deg, rgba(6, 12, 34, .45) 0%, rgba(6, 12, 34, .55) 70px, rgba(6, 12, 34, .92) 230px, #060c22 330px); }
  .acc-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .acc-hero-main { padding-top: 44px; } /* the email field on the first screen (sign-up push 2026-11-13) */
  .acc-lead { font-size: 16px; margin-bottom: 18px; }
  .acc-card { padding: 20px; border-radius: 18px; }
  .acc-preview { justify-self: stretch; width: 100%; }
  .acc-gets-grid { grid-template-columns: 1fr 1fr; }
  .acc-get, .acc-get-ranks { grid-column: span 2; }
  .acc-get-badges { grid-column: span 2; }
  .acc-get-sync { grid-column: span 2; }
}
@media (max-width: 600px) {
  .acc-title { font-size: 38px; }
  .acc-get-sync { grid-column: span 2; }
  .rank-road { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .rank-road::before { display: none; }
  .badge-sampler { grid-template-columns: 1fr 1fr; }
  .first-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-sent-to strong { font-size: 15px; }
  .next-unlock.is-feature { align-items: flex-start; }
  .next-emblem { width: 64px; height: 64px; }
  .next-emblem .emblem { width: 50px; height: 50px; }
}

/* My Zeltrix parts (scripts/sections/accounts.mjs memberParts, 2026-10-22): a short sign-in pitch on top for signed-out
   visitors (members never see it: html.is-member is set in <head> by member-flag.js), the Player Card after the dashboard. */
.member-pitch { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 20px; margin: 0 0 8px; }
.member-pitch .member-out-title { font-size: 19px; margin-bottom: 4px; }
.member-pitch .member-out-copy p { margin: 0; }
.member-pitch-cta { margin: 0; }
html.is-member .member-pitch { display: none; }
/* Two places for the pitch, one shown: on top for a first visit; after "Your upcoming events" when this device already
   has lists (html.has-*, member-flag.js), so a returning visitor sees their own events first. */
.member-pitch.is-after { display: none; margin: 28px 0 0; }
html:not(.is-member):is(.has-stores, .has-games, .has-saved) .member-pitch.is-top { display: none; }
html:not(.is-member):is(.has-stores, .has-games, .has-saved) .member-pitch.is-after { display: grid; }
/* "Your sign-in ended" (member.js), where the Player Card goes: same look as the pitch. */
.member-ended { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 20px; margin: 36px 0; }
.member-ended .member-out-title { font-size: 19px; margin-bottom: 4px; }
.member-ended .member-out-copy p { margin: 0; }
.member-card { margin: 36px 0; }
.member-card > h2 { font-size: 22px; font-weight: 800; margin: 0 0 14px; }
.member-block h3 { font-size: 20px; font-weight: 800; margin: 0; }
.member-settings { margin: 36px 0 0; }
.my-how .member-block:first-of-type, .my-how .mini-road { margin-top: 16px; }
@media (max-width: 700px) {
  .member-pitch, .member-ended { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px; }
  .member-pitch.is-top { margin-top: 16px; } /* a gap below the page header */
  .member-pitch .member-out-title { font-size: 17px; }
  .member-pitch .member-out-copy p:not(.member-out-title) { font-size: 14px; }
  .member-pitch-cta .button { width: 100%; justify-content: center; }
  .member-ended .member-out-title { font-size: 17px; }
}

/* "Your points" on top of My Zeltrix (owner, 2026-10-23; accounts.mjs pointsStrip, member.js points()): XP, League points
   and Zeltrix Credits in one row for members. Hidden in the HTML; html.is-member (member-flag.js, in <head>) shows it from
   the first paint. Every value and detail is one line (cut with "…"), so filling it in never moves the page. */
html.is-member .mz-points[hidden] { display: block !important; } /* beats the global [hidden] rule */
.mz-points { position: relative; margin: 24px 0 0; padding: 14px 18px; border-radius: var(--radius); background: linear-gradient(150deg, #13204a, #0b1430); color: #d4dcf1; border-bottom: 3px solid var(--lime); }
.mz-points-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px 24px; margin: 0; padding: 0; }
.mz-pt { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; min-width: 0; }
.mz-pt.is-xp { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
.mz-pt.is-xp > :not(.mz-pt-emblem) { grid-column: 2; }
.mz-pt-emblem { grid-row: 1 / span 4; align-self: center; width: 44px; height: 44px; }
.mz-pt-emblem .emblem { width: 44px; height: 44px; }
.mz-pt-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #b6c2e8; line-height: 1.4; }
.mz-pt-v, .mz-pt-meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mz-pt-v { font-size: 17px; font-weight: 800; line-height: 1.4; color: #fff; }
.mz-pt-meta { font-size: 13px; line-height: 1.45; color: #c3cdea; font-variant-numeric: tabular-nums; }
.mz-pt-meta a, .mz-points-goals a { color: #fff; text-decoration: underline; text-decoration-color: rgba(198, 244, 50, .7); text-underline-offset: 3px; }
.mz-pt-meta a:hover, .mz-points-goals a:hover, .mz-pt-v a:hover { color: var(--lime); }
.mz-pt-v a { color: inherit; text-decoration: underline; text-decoration-color: rgba(198, 244, 50, .7); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mz-pt-bar { height: 8px; margin: 4px 0 3px; }
.mz-pt.is-lp .mz-pt-v, .mz-pt.is-credits .mz-pt-v { color: var(--lime); }
.mz-points-goals { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mz-points-goals span { font-weight: 700; color: #fff; }
/* The session ended on a page laid out for a member: the strip keeps its place and says so. */
.mz-points-ended { display: none; }
.mz-points.is-ended > :not(.mz-points-ended) { visibility: hidden; }
.mz-points.is-ended .mz-points-ended { display: flex; align-items: center; position: absolute; inset: 0; margin: 0; padding: 0 18px; font-size: 15px; color: #fff; }
.mz-points.is-ended .mz-points-ended a { margin: 0 4px; color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  /* Phones: the level and XP across the top, League points and Credits side by side under it. */
  .mz-points { margin-top: 16px; padding: 12px 14px; }
  .mz-points-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; }
  .mz-pt.is-xp { grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .mz-pt-v { font-size: 16px; }
}

/* "Want Zeltrix updates by email?": the email step after sign-in (accounts.js A.emailAsk). A bottom sheet on phones, a
   centred card from 640 px; inline (.is-inline) in the /account/ "You're in" card. Fixed dark colours like the level-up
   card, so it reads the same on every page and in the app frame. */
.zx-ask { position: fixed; inset: 0; z-index: 305; display: flex; align-items: flex-end; justify-content: center; background: rgba(6, 12, 34, .7); }
.zx-ask-card { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 24px); overflow: auto; padding: 24px 20px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; color: #fff; background: linear-gradient(165deg, #182552, #0b1430 70%); border: 1px solid rgba(198, 244, 50, .45); border-bottom: 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .4); text-align: left; }
.zx-ask-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--navy); background: var(--lime); }
.zx-ask-icon svg { width: 24px; height: 24px; }
.zx-ask-title { margin: 12px 0 6px; font-size: 22px; font-weight: 800; line-height: 1.25; color: #fff; }
.zx-ask-title:focus { outline: none; } /* not a control: focused by script so screen readers start here */
.zx-ask-line { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: #dbe3f5; }
.zx-ask-line:focus { outline: none; } /* not a control: focused by script so screen readers start here */
.zx-ask-line a, .zx-ask-fine a { color: var(--lime); text-underline-offset: 3px; }
.zx-ask-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.zx-ask-actions .button { flex: 1 1 180px; min-height: 48px; justify-content: center; }
.zx-ask-change { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #c9d3ea; }
.zx-ask-status { margin: 8px 0 0; min-height: 1em; font-size: 14px; font-weight: 600; color: var(--lime); }
.zx-ask-status:empty { display: none; }
.zx-ask-status.is-error { color: #ffb4a8; }
.zx-ask-fine { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; line-height: 1.5; color: #aab6d3; }
.zx-ask-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #c9d3ea; font: 400 28px/1 var(--font); cursor: pointer; }
.zx-ask-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.zx-ask :focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (min-width: 640px) {
  .zx-ask { align-items: center; padding: 24px; }
  .zx-ask-card { border-radius: 18px; border-bottom: 1px solid rgba(198, 244, 50, .45); padding: 28px 28px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
}
@media (prefers-reduced-motion: no-preference) {
  .zx-ask { animation: acc-fade-in .2s ease both; }
  .zx-ask-card:not(.is-inline) { animation: acc-slide .3s ease both; }
}
/* Inline in the /account/ "You're in" card: the same words on the page's own light card. */
.acc-done-email { max-width: 460px; margin: 16px auto 4px; }
.zx-ask-card.is-inline { max-height: none; overflow: visible; padding: 18px 16px 14px; border-radius: 14px; border: 1px solid var(--border-strong); color: var(--text); background: var(--bg-tint); box-shadow: none; }
.zx-ask-card.is-inline .zx-ask-icon { width: 36px; height: 36px; border-radius: 10px; }
.zx-ask-card.is-inline .zx-ask-title { margin-top: 10px; font-size: 19px; color: var(--ink); }
.zx-ask-card.is-inline .zx-ask-line, .acc-done-email > .zx-ask-line { color: var(--text); }
.zx-ask-card.is-inline .zx-ask-change { color: var(--muted); }
.zx-ask-card.is-inline .zx-ask-status { color: var(--ok-text); }
.zx-ask-card.is-inline .zx-ask-status.is-error { color: var(--error-text); }
.zx-ask-card.is-inline .zx-ask-fine { border-top-color: var(--border); color: var(--subtle); }
.zx-ask-card.is-inline a { color: var(--blue); }
.acc-optin-opt { color: var(--subtle); }

/* ---- Makeover 2026-11-13: the account-created screen as a game-like welcome. The badge, title and line sit on an arena
   band in the game colours with a holo edge (white on navy, the same in Light and dark), then one clear button, then three
   big tiles in colour for a new account (account.js shows them). The rays and the badge pop already stop under reduced
   motion (above). ---- */
.acc-done-hero { position: relative; isolation: isolate; overflow: hidden; margin: -24px -24px 16px; padding: 22px 20px 20px; border-radius: 20px 20px 0 0; color: #fff;
  background: radial-gradient(260px 160px at 0% 0%, rgba(255, 203, 5, .28), transparent 70%), radial-gradient(260px 180px at 100% 0%, rgba(167, 139, 250, .34), transparent 70%),
    radial-gradient(320px 160px at 50% 120%, rgba(52, 195, 201, .26), transparent 70%), linear-gradient(160deg, #101c52, #070d26 70%); }
.acc-done-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: -1; background: linear-gradient(90deg, #FFCB05, #F2994A, #F0565C, #A78BFA, #4F8DF7, #34C3C9, #c6f432); }
.acc-done-hero .account-step-title { color: #fff; font-size: 28px; }
.acc-done-hero p { margin: 0; color: #dfe6f7; }
.acc-done .account-actions .button-primary { min-height: 52px; padding: 0 28px; font-size: 17px; }
.acc-done-tiles { margin: 18px 0 0; }
.acc-done-tiles ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.acc-done-tile { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 84px; padding: 12px 14px; border-radius: 16px; font-size: 17px; font-weight: 800; line-height: 1.2; text-align: left; text-decoration: none;
  box-shadow: 0 8px 20px rgba(2, 8, 28, .22), inset 0 1px 0 rgba(255, 255, 255, .4); }
.acc-done-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .3) 48%, transparent 62%); }
.acc-done-tile:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.acc-done-tile.is-value { background-color: #FFCB05; background-image: linear-gradient(135deg, #FFE066, #FFCB05 50%, #F2994A); color: #0b1430; }
.acc-done-tile.is-scan { background-color: #c6f432; background-image: linear-gradient(135deg, #e4ff8a, #c6f432 50%, #34C3C9); color: #0b1430; }
.acc-done-tile.is-events { background-color: #5b3fd0; background-image: linear-gradient(135deg, #6f52e0, #5b3fd0 50%, #2f52d6); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .acc-done-tile { transition: transform .15s ease; } .acc-done-tile:hover { transform: translateY(-2px); } }
@media (max-width: 900px) { .acc-done-hero { margin: -20px -20px 14px; border-radius: 18px 18px 0 0; } }
@media (max-width: 520px) { .acc-done-tiles ul { grid-template-columns: 1fr 1fr; } .acc-done-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Sign-up push (owner 2026-11-13): the slim join bar and the "Save it to your free account" line ----------
   The bar (scripts/giveaways/lib/render-account.mjs joinBar, accounts.js joinBar) sits in the page under the page header:
   it never covers the app's tab bar, the Scan button, toasts or a page's own bottom bar. Members and devices that closed
   it never see it, from the first paint (member-flag.js). No motion. */
.zx-joinbar { margin: 12px 0; }
html.is-member .zx-joinbar, html.zx-joinbar-x .zx-joinbar { display: none; }
.zx-joinbar-in { display: flex; align-items: center; gap: 8px 12px; padding: 8px 8px 8px 14px; border: 1px solid rgba(255, 203, 5, .5); border-radius: 14px; background: linear-gradient(120deg, rgba(255, 203, 5, .12), rgba(198, 244, 50, .05) 60%, transparent), var(--zx-d-surface, #fff); box-sizing: border-box; }
.zx-joinbar-text { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink); }
.zx-joinbar-text strong { font-weight: 800; }
.zx-joinbar-rules { white-space: nowrap; color: var(--muted); font-size: 13px; text-decoration: underline; }
.zx-joinbar-go.button { flex: 0 0 auto; min-height: 44px; padding: 8px 16px; font-size: 15px; }
.zx-joinbar-x { flex: 0 0 auto; width: 44px; height: 44px; margin-left: -4px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.zx-joinbar-x:hover { background: var(--bg-soft); }
.zx-joinbar-x:focus-visible, .zx-joinbar-go:focus-visible, .zx-joinbar-rules:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.zx-joinbar-x[hidden] { display: none; }
@media (max-width: 520px) {
  .zx-joinbar { margin-top: 10px; }
  .zx-joinbar-in { padding: 8px 4px 8px 12px; gap: 6px 8px; }
  .zx-joinbar-text { font-size: 13.5px; }
  .zx-joinbar-go.button { padding: 8px 12px; font-size: 14px; }
}
html.zx-dark .zx-joinbar-text { color: #fff; }
html.zx-dark .zx-joinbar-rules, html.zx-dark .zx-joinbar-x { color: #c3cce0; }
html.zx-dark .zx-joinbar-x:hover { background: rgba(255, 255, 255, .08); }
/* "Save it to your free account" in a card's "+ My Collection" row (card pages, /card-value/ results). */
.zx-save-line { display: block; flex: 1 0 100%; margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--text); }
.zx-save-line a { font-weight: 700; color: var(--blue); text-decoration: underline; }
html.is-member .zx-save-line { display: none; }
html.zx-dark .zx-save-line { color: #c3cce0; }
html.zx-dark .zx-save-line a { color: var(--lime); }
/* The sign-up page (sign-up push 2026-11-13, site plan B3): the email form first, then one line on why, then the giveaway
   as a chip with its one-line disclosure (word for word) and the short rules folded. */
.acc-hero-main > .acc-lead { margin: 16px 0 0; font-size: 15px; line-height: 1.5; color: #c8d1e8; }
.acc-giveaway.is-chip { display: block; max-width: 560px; margin: 12px 0 0; padding: 10px 12px; }
.acc-giveaway.is-chip .gw-kick { display: inline-block; margin: 0; padding: 2px 10px; border-radius: 999px; background: rgba(198, 244, 50, .12); font-size: 12px; letter-spacing: .04em; }
.acc-giveaway.is-chip .acc-gw-main { margin-top: 6px; font-size: 14px; }
.acc-giveaway.is-chip .gw-legal { margin-top: 4px; font-size: 12.5px; line-height: 1.45; }
/* In an app tab screen the bar sits inside the screen's own padding (accounts.js joinBar intoScreen). */
.zx-scr .zx-joinbar-in { width: auto; max-width: none; margin: 0; }
/* /account/ in giveaway mode (marketing review 2026-11-14): html.acc-gw (account-link.js, a giveaway from= tag) on a page
   that carries the open giveaway's step (.has-gw): "Enter the giveaway: step 1 of 2", the prize boxes, one line, and next
   to the 13+ box the giveaway's age of majority. Nothing of it shows otherwise. */
.acc-t-gw, .acc-gw-step-wrap, .acc-gw-age, .acc-gw-sent { display: none; }
/* Beats ".acc-title span { display: block; }" (Codex on #647): the giveaway title stays hidden on a normal visit. */
.acc-title .acc-t-gw { display: none; }
html.acc-gw .has-gw .acc-gw-step-wrap { display: block; max-width: 560px; margin: 0 0 16px; color: #dfe6f7; }
html.acc-gw .has-gw .acc-gw-sent { display: block; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(198, 244, 50, .10); border: 1px solid rgba(198, 244, 50, .45); font-size: 14px; line-height: 1.5; }
.acc-gw-sent p { margin: 0 0 6px; }
.acc-gw-sent p:last-child { margin: 0; }
.acc-gw-steps { margin: 0; padding: 0 0 0 22px; font-size: 15px; line-height: 1.45; }
.acc-gw-steps li { margin: 0 0 4px; }
.acc-gw-steps li::marker { color: var(--lime); font-weight: 800; }
.acc-gw-steps strong { color: #fff; }
.acc-gw-step-note { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--lime); }
html.acc-gw .has-gw .acc-t-std { display: none; }
html.acc-gw .has-gw .acc-t-gw { display: block; }
html.acc-gw .has-gw .acc-gw-step { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 0 10px; }
html.acc-gw .has-gw .acc-gw-age { display: block; margin: 8px 0 0; font-size: 13px; line-height: 1.5; font-weight: 700; color: var(--ink); }
html.acc-gw .has-gw .acc-lead, html.acc-gw .has-gw .acc-giveaway .acc-gw-main { display: none; }
/* Our shop's rail (scripts/commerce/in-stock.mjs LANDINGS) stays out of the giveaway's sign-up: contest steps never sit beside
   shop products (main session decision on #672, 2026-11-15). */
html.acc-gw .has-gw .in-stock-rail { display: none; }
.acc-gw-step-art { width: 132px; height: 112px; }
.acc-gw-step p { margin: 0; line-height: 1.45; }
.acc-gw-step-prize { font-size: 15px; }
.acc-gw-step-prize strong { display: block; color: #fff; font-size: 18px; line-height: 1.25; }
.acc-gw-step-line { margin-top: 8px !important; font-weight: 700; color: var(--lime); }
.acc-on-desk { display: none; }
@media (min-width: 900px) and (pointer: fine) { .acc-on-phone { display: none; } .acc-on-desk { display: inline; } }
@media (min-width: 720px) { html.acc-gw .has-gw .acc-gw-step { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; } .acc-gw-step-art { width: 200px; height: 160px; } .acc-gw-step-prize strong { font-size: 22px; } }
/* Giveaway mode at phone width: the step stays short so the email field and button keep to the first screen. */
.acc-gw-step-line { grid-column: 1 / -1; }
@media (max-width: 700px) {
  html.acc-gw .has-gw .acc-hero-main { padding-top: 8px; }
  html.acc-gw .has-gw .acc-title { font-size: 32px; margin-bottom: 8px; }
  html.acc-gw .has-gw .acc-gw-step { grid-template-columns: 84px minmax(0, 1fr); gap: 4px 12px; margin-bottom: 8px; }
  html.acc-gw .has-gw .acc-gw-step-wrap { margin-bottom: 12px; }
  .acc-gw-steps { font-size: 14px; }
  .acc-gw-step-note { font-size: 13px; }
  .acc-gw-step-art { width: 84px; height: 70px; }
  .acc-gw-step-prize { font-size: 14px; }
  .acc-gw-step-prize strong { font-size: 16px; }
  .acc-gw-step-line { margin-top: 4px !important; font-size: 15px; }
}
