/* Gloat Pass: the VIP pill on locked games and avatars, and the unlock card */
.vip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px 2px 5px; border-radius: 999px; background: linear-gradient(#FFE27A, #F2A516); color: #5A3300; font: 800 0.68rem var(--head, sans-serif); letter-spacing: 0.5px; box-shadow: 0 2px 0 #B86A00; }
.vip svg { width: 12px; height: 12px; }
.gamecard.vipgame, .gbox.vipgame { position: relative; }
.gamecard.vipgame .vip, .gbox.vipgame .vip { position: absolute; top: 5px; right: 5px; z-index: 3; width: auto; height: auto; min-height: 0; margin: 0; padding: 2px 6px 2px 4px; font-size: 0.6rem; opacity: 1; line-height: 1.2; }
.gamecard.vipgame .vip svg, .gbox.vipgame .vip svg { width: 10px; height: 10px; }
.gamecard.vipgame > span:not(.vip), .gamecard.vipgame > b, .gamecard.vipgame > small { opacity: 0.85; }
.avpick.viplock { position: relative; }
.avpick.viplock .av { filter: saturate(0.6); opacity: 0.85; }
.avpick.viplock::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 24px; height: 24px; border-radius: 50%; background: #FFD25A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 11V8a5 5 0 0 1 10 0v3' fill='none' stroke='%235A3300' stroke-width='2.6' stroke-linecap='round'/%3E%3Crect x='4.5' y='10.5' width='15' height='11' rx='3' fill='%235A3300'/%3E%3C/svg%3E") center/62% no-repeat; box-shadow: 0 0 0 2px #fff, 0 2px 0 2px #B86A00; }

/* Pop-up that holds the unlock card, and the Gloat Pass section and link on the front page */
.gsheetback { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 25, 70, 0.55); }
.gsheetbox { position: relative; width: min(440px, 100%); max-height: 92vh; overflow: auto; padding: 22px 18px 18px; border-radius: 24px; background: linear-gradient(#FFFFFF, #FFF7E8); box-shadow: 0 0 0 4px #fff, 0 0 0 8px #F2C25A, 0 18px 30px rgba(0, 0, 0, 0.3); }
.gsheetx { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: #10357E; font-size: 1rem; cursor: pointer; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15); }
.gloatlinkrow { margin: 12px 0 0; }
.gloatlink { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px 9px 14px; border-radius: 999px; background: linear-gradient(#FFE27A, #F2A516); color: #5A3300; font: 800 0.95rem var(--head, sans-serif); text-decoration: none; box-shadow: 0 4px 0 #B86A00, 0 8px 14px rgba(0, 0, 0, 0.18); }
.gloatlink svg { width: 16px; height: 16px; }
.gloatlink[hidden] { display: none; }

.gctahave { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #5A3300; font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
/* VIP badges: shut padlock normally, open padlock once this device has the Gloat Pass */
.vip .lk-open { display: none; }
html.gloat-on .vip .lk-shut { display: none; }
html.gloat-on .vip .lk-open { display: inline; }
/* Profile panel: "you have the pass" row with the manage / cancel button */
.gpass { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 12px 0 4px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(#FFF6C8, #FFE7A0); color: #5A3300; font-weight: 800; }
.gpass span:not(.vip) { flex: 1; min-width: 160px; }
.passmanage { white-space: nowrap; margin-bottom: 12px; } /* its raised edge was sitting on the line of small print under it */
/* "Remove from this device" (front page profile + Gloat Pass section) */
.passdev { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-top: 10px; padding-top: 10px;
  border-top: 2px dashed rgba(150, 100, 20, 0.25); font-size: 0.9rem; font-weight: 700; color: #5A3300; text-align: center; }
.passdev b { font-family: var(--head); letter-spacing: 0.04em; user-select: all; }
.passdev .passdevnote { flex-basis: 100%; font-size: 0.8rem; opacity: 0.8; }

/* ---------- THE GLOAT PASS, premium (owner 24 Oct: "crowded and not polished"; polished = looks like a big game company
   made it). A dark royal membership card with a gold foil edge and a crown crest, six perk tiles, two plan cards, quiet
   small print. .gp is used on the front page, in the pop-up sheet, the host's phone and Play by yourself. ---------- */
.gp { position: relative; max-width: 460px; margin: 34px auto 0; padding: 46px 20px 20px; border-radius: 28px; text-align: center; color: #F3EEFF; isolation: isolate;
  background: radial-gradient(120% 70% at 50% 0%, #4B2FB0 0%, #2A1777 45%, #170C4A 100%);
  box-shadow: 0 0 0 1.5px rgba(255, 226, 140, 0.9), 0 0 0 5px #2A1777, 0 0 0 6.5px rgba(255, 210, 110, 0.55), 0 24px 48px rgba(25, 10, 80, 0.35); }
.gp::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(1px 1px at 82% 12%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 70% 30%, rgba(255, 240, 200, 0.7), transparent), radial-gradient(1px 1px at 30% 34%, rgba(255, 255, 255, 0.6), transparent),
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.08) 45%, transparent 55%) 0 0 / 300% 100%; animation: gpSheen 7s ease-in-out infinite; }
@keyframes gpSheen { 0%, 60% { background-position: 0 0, 0 0, 0 0, 0 0, 100% 0; } 100% { background-position: 0 0, 0 0, 0 0, 0 0, -50% 0; } }
.gp-crest { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); }
.gp-crest span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF6CF, #FFD45E 45%, #D9900F 100%); box-shadow: 0 0 0 4px #2A1777, 0 0 0 5.5px rgba(255, 220, 130, 0.9), 0 8px 18px rgba(0, 0, 0, 0.35); }
.gp-crest .ic { width: 34px; height: 34px; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6)); }
.gp-kicker { margin: 0; font: 700 0.72rem/1 var(--head, sans-serif); letter-spacing: 0.16em; text-transform: uppercase; color: #FFD97A; }
.gp-title { margin: 8px 0 0; font: 400 2.1rem/1.05 var(--title, sans-serif); letter-spacing: 0.01em; text-shadow: none !important;
  background: linear-gradient(180deg, #FFF8DC 0%, #FFE08A 45%, #E9A92A 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; }
.gp-lead { margin: 10px auto 0; max-width: 340px; font: 500 0.95rem/1.45 var(--body, sans-serif); color: #D9D1FF; }
.gp-perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; text-align: left; }
.gp-perks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 0 0 1px rgba(255, 220, 140, 0.18); }
.gp-perks .ic { grid-row: 1 / span 2; width: 34px; height: 34px; padding: 6px; border-radius: 11px; background-color: rgba(255, 213, 110, 0.14); background-origin: content-box; box-sizing: border-box; filter: none; }
.gp-perks b { align-self: end; font: 700 0.92rem/1.2 var(--head, sans-serif); color: #fff; }
.gp-perks span { align-self: start; font: 500 0.78rem/1.3 var(--body, sans-serif); color: #BDB3EA; }
.gp-perks li.on span { color: #8FE8C4; font-weight: 700; }
.gp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.gp-plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 10px 12px; border-radius: 20px; text-decoration: none; color: #1C1150;
  background: linear-gradient(#FFFFFF, #F1EDFF); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.6), 0 10px 22px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
.gp-plan:active { transform: translateY(2px) scale(0.99); }
.gp-plan.year { background: linear-gradient(#FFFBEA, #FFEFC2); box-shadow: 0 0 0 2.5px #FFC83D, 0 10px 22px rgba(0, 0, 0, 0.25); }
.gp-plan.off { opacity: 0.6; }
.gp-ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 12px 4px; border-radius: 999px; white-space: nowrap; font: 800 0.66rem/1.2 var(--head, sans-serif); font-style: normal;
  letter-spacing: 0.08em; text-transform: uppercase; color: #4A2A00; background: linear-gradient(#FFE58A, #F5B11E); box-shadow: 0 3px 8px rgba(120, 70, 0, 0.35); }
.gp-pname { font: 700 0.72rem/1 var(--head, sans-serif); letter-spacing: 0.12em; text-transform: uppercase; color: #6C5FA8; }
.gp-price { margin-top: 6px; white-space: nowrap; font: 400 1.4rem/1.05 var(--title, sans-serif); color: #1C1150; }
.gp-then { min-height: 2.6em; margin-bottom: 12px; font: 600 0.76rem/1.3 var(--body, sans-serif); color: #5C5290; }
.gp-cta { display: block; align-self: stretch; margin-top: auto; padding-top: 10px; padding: 10px 6px; border-radius: 999px; font: 800 0.88rem/1 var(--head, sans-serif); color: #fff;
  background: linear-gradient(#8E63FF, #5B2FD9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 0 #3A1A9A; }
.gp-plan.year .gp-cta { color: #4A2A00; background: linear-gradient(#FFE58A, #F2A516); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 3px 0 #B06C00; }
.gp-soon { margin: 14px 0 0; font: 800 0.9rem var(--head, sans-serif); color: #FFD97A; }
.gp-fine { margin: 16px auto 0; max-width: 360px; font: 500 0.76rem/1.5 var(--body, sans-serif); color: #A99FD8; }
.gp-code { margin-top: 12px; }
.gp-code summary { display: inline-block; cursor: pointer; font: 700 0.85rem var(--head, sans-serif); color: #FFE08A; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.gp-code summary::-webkit-details-marker { display: none; }
.gp-coderow { display: flex; gap: 8px; margin-top: 10px; }
.gp-coderow .txt { flex: 1; min-width: 0; }
.gp-msg { margin: 6px 0 0; font: 600 0.8rem var(--body, sans-serif); color: #D9D1FF; }
.gp-manage { margin-top: 16px; }
.gp-manage .btn { background: #fff; color: #2A1777; }
.gp .passdev { color: #E6E0FF; border-top-color: rgba(255, 220, 140, 0.25); }
@media (min-width: 560px) { .gp-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gp { padding: 50px 30px 26px; } .gp-title { font-size: 2.4rem; } .gp-perks b { font-size: 0.95rem; } .gp-perks span { font-size: 0.8rem; } }
@media (prefers-reduced-motion: reduce) { .gp::before { animation: none; } }
/* In pop-ups the card is the whole sheet. */
.gsheetbox.gp-sheet { padding: 34px 0 0; background: none; box-shadow: none; overflow: visible; }
.gsheetbox.gp-sheet .gsheetx { top: 44px; right: 10px; z-index: 2; background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; }
.gsheetbox.gp-sheet .gp { margin-top: 0; }
:is(.modalbody, .sheetbody, .socard) > .gp { margin-top: 36px; }

/* Front page banner, same family: a compact dark strip with the crest, one line and both prices. */
.gloatcta { margin: 18px auto 0; max-width: 560px; padding: 0 4px; }
.gpb { position: relative; padding: 16px 16px 14px; border-radius: 22px; text-align: left; color: #F3EEFF;
  background: radial-gradient(120% 100% at 0% 0%, #4B2FB0, #23136A 60%, #170C4A); box-shadow: 0 0 0 1.5px rgba(255, 226, 140, 0.9), 0 14px 30px rgba(25, 10, 80, 0.3); }
.gpb-top { display: flex; align-items: center; gap: 12px; }
.gpb-crest { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6CF, #FFD45E 45%, #D9900F 100%); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.gpb-crest .ic { width: 28px; height: 28px; }
.gpb-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gpb-words b { font: 400 1.35rem/1.1 var(--title, sans-serif); background: linear-gradient(#FFF8DC, #FFD45E 60%, #E9A92A); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.gpb-words span { font: 500 0.85rem/1.35 var(--body, sans-serif); color: #D9D1FF; }
.gpb-buys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.gpb-buy { display: block; padding: 11px 8px; border-radius: 999px; text-align: center; text-decoration: none; font: 800 0.92rem/1 var(--head, sans-serif); color: #fff;
  background: linear-gradient(#8E63FF, #5B2FD9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 0 #3A1A9A; }
.gpb-buy.year { color: #4A2A00; background: linear-gradient(#FFE58A, #F2A516); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 3px 0 #B06C00; }
.gpb-buy.off { opacity: 0.6; }
.gpb-note { margin: 10px 0 0; font: 500 0.76rem/1.45 var(--body, sans-serif); color: #A99FD8; text-align: center; }
.gpb-more { display: block; margin-top: 8px; text-align: center; font: 700 0.82rem var(--head, sans-serif); color: #FFE08A; text-underline-offset: 3px; }
/* Gold title: beats the page-section heading rule (html[data-theme] .block h2) that clears backgrounds. */
html .gp .gp-title { background: linear-gradient(180deg, #FFF8DC 0%, #FFE08A 45%, #E9A92A 100%) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 rgba(20, 8, 60, 0.6)); }
/* The Gloat Pass card in each look: same layout, the look's own colours (Game Show ruby and gold, Nature forest green,
   Arcade midnight with a neon edge). */
html[data-skin="gameshow"] :is(.gp, .gpb) { background: radial-gradient(120% 70% at 50% 0%, #B3245A 0%, #6E0C35 50%, #34051B 100%); }
html[data-skin="gameshow"] .gp-crest span { box-shadow: 0 0 0 4px #6E0C35, 0 0 0 5.5px rgba(255, 220, 130, 0.9), 0 8px 18px rgba(0, 0, 0, 0.35); }
html[data-skin="gameshow"] .gp { box-shadow: 0 0 0 1.5px rgba(255, 226, 140, 0.95), 0 0 0 5px #6E0C35, 0 0 0 6.5px rgba(255, 210, 110, 0.6), 0 24px 48px rgba(60, 5, 30, 0.4); }
html[data-skin="gameshow"] :is(.gp-lead, .gpb-words span) { color: #FFDDE6; } html[data-skin="gameshow"] :is(.gp-perks span, .gp-fine, .gpb-note) { color: #F1B8C8; }
html[data-skin="gameshow"] .gp-perks .ic { background-color: rgba(255, 213, 110, 0.18); }
html[data-skin="nature"] :is(.gp, .gpb) { background: radial-gradient(120% 70% at 50% 0%, #3F8F4E 0%, #22602F 50%, #0F361A 100%); }
html[data-skin="nature"] .gp-crest span { box-shadow: 0 0 0 4px #22602F, 0 0 0 5.5px rgba(255, 220, 130, 0.9), 0 8px 18px rgba(0, 0, 0, 0.35); }
html[data-skin="nature"] .gp { box-shadow: 0 0 0 1.5px rgba(255, 226, 140, 0.9), 0 0 0 5px #22602F, 0 0 0 6.5px #9A6A3A, 0 24px 48px rgba(10, 40, 15, 0.35); }
html[data-skin="nature"] :is(.gp-lead, .gpb-words span) { color: #DDF2D4; } html[data-skin="nature"] :is(.gp-perks span, .gp-fine, .gpb-note) { color: #B4D8A8; }
html[data-skin="nature"] .gp-cta, html[data-skin="nature"] .gpb-buy.month { background: linear-gradient(#6CC24A, #3E9A2E); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 0 #23702F; }
html[data-skin="arcade"] :is(.gp, .gpb) { background: radial-gradient(120% 70% at 50% 0%, #2A1670 0%, #140B36 55%, #0A0620 100%); }
html[data-skin="arcade"] .gp { box-shadow: 0 0 0 2px #FF3DC8, 0 0 22px rgba(255, 61, 200, 0.55), 0 0 0 6px #0A0620, 0 0 0 8px rgba(51, 240, 255, 0.6); }
html[data-skin="arcade"] .gpb { box-shadow: 0 0 0 2px #FF3DC8, 0 0 18px rgba(255, 61, 200, 0.5); }
html[data-skin="arcade"] .gp-crest span { box-shadow: 0 0 0 4px #140B36, 0 0 0 6px #33F0FF, 0 0 18px rgba(51, 240, 255, 0.7); }
html[data-skin="arcade"] .gp-perks li { box-shadow: inset 0 0 0 1px rgba(51, 240, 255, 0.35); }

/* ---------- pass.html (owner 25 Oct, "premium-fy"): the page Stripe sends buyers to and where codes are typed in. A starry
   royal night with the Gloat Pass membership card in the middle. ---------- */
html:has(body.passpage), html[data-theme]:has(body.passpage) body.passpage { min-height: 100vh; min-height: 100dvh; margin: 0; color: #F3EEFF;
  background: radial-gradient(1px 1px at 8% 14%, rgba(255, 255, 255, 0.7), transparent), radial-gradient(1.5px 1.5px at 22% 70%, rgba(255, 240, 200, 0.6), transparent),
    radial-gradient(1px 1px at 63% 22%, rgba(255, 255, 255, 0.6), transparent), radial-gradient(1.5px 1.5px at 86% 58%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 44% 90%, rgba(255, 255, 255, 0.5), transparent), radial-gradient(120% 70% at 50% 0%, #3B23A0 0%, #1E1063 50%, #0F0838 100%); }
.ppwrap { max-width: 520px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 18px 40px; }
.ppback { display: inline-block; padding: 8px 16px; border-radius: 999px; color: #FFE08A; font: 700 0.95rem var(--head); text-decoration: none; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 220, 140, 0.35); }
.gp.pp { max-width: none; margin-top: 52px; padding: 52px 22px 24px; }
.gp.pp .gp-title { font-size: 2.3rem; }
.pp-code { margin: 22px 0 0; text-align: left; }
.pp-label { display: block; margin: 0 0 6px 4px; font: 700 0.8rem var(--head); letter-spacing: 0.08em; text-transform: uppercase; color: #FFD97A; }
.pp-coderow { display: flex; gap: 10px; }
.pp-input { flex: 1; min-width: 0; padding: 14px 14px; border: 0; border-radius: 16px; outline: none; font: 700 1.05rem var(--head); letter-spacing: 0.04em; text-transform: uppercase; color: #1C1150;
  background: linear-gradient(#FFFFFF, #F1EDFF); box-shadow: inset 0 2px 4px rgba(30, 10, 90, 0.18), 0 0 0 2px rgba(255, 220, 140, 0.55); }
.pp-input::placeholder { color: #A79FCC; letter-spacing: 0.02em; }
.pp-input:focus { box-shadow: inset 0 2px 4px rgba(30, 10, 90, 0.18), 0 0 0 3px #FFC83D; }
.pp-go, .pp-copy, .pp-play { flex: none; border: 0; cursor: pointer; border-radius: 999px; font: 800 1rem/1 var(--head); text-decoration: none; color: #4A2A00;
  background: linear-gradient(#FFE58A, #F2A516); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 0 #B06C00, 0 10px 18px rgba(0, 0, 0, 0.25); }
.pp-go { padding: 0 20px; }
.pp-go:disabled { opacity: 0.6; }
.pp-go:active, .pp-copy:active, .pp-play:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 0 #B06C00; }
.gp.pp .gp-msg { min-height: 1.2em; margin: 8px 0 0 4px; font-size: 0.9rem; }
.pp-alt { margin: 18px 0 0; font: 600 0.9rem var(--body); color: #D9D1FF; }
.pp-alt a, .pp-help a, .gp.pp .gp-fine a:not(.btn) { color: #FFE08A; font-weight: 700; }
.pp-steps { margin-top: 22px; }
.pp-play { display: inline-block; padding: 16px 34px; font-size: 1.15rem; }
/* After paying: a gold ticket with the code */
.pp-ticket { position: relative; margin: 22px auto 0; max-width: 360px; padding: 16px 18px 18px; border-radius: 18px; color: #4A2A00;
  background: linear-gradient(135deg, #FFF6CF, #FFD45E 55%, #F2A516); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), 0 12px 26px rgba(0, 0, 0, 0.35); }
.pp-ticket::before, .pp-ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #23136A; }
.pp-ticket::before { left: -11px; } .pp-ticket::after { right: -11px; }
.pp-tlabel { display: block; font: 800 0.72rem var(--head); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.pp-tcode { display: block; margin: 6px 0 12px; font: 400 clamp(1.35rem, 7vw, 2rem)/1.1 var(--title); letter-spacing: 0.03em; white-space: nowrap; user-select: all; }
.pp-copy { padding: 10px 20px; font-size: 0.9rem; color: #fff; background: linear-gradient(#8E63FF, #5B2FD9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 0 #3A1A9A; }
.pp-list { margin: 20px auto 0; max-width: 380px; padding: 0; list-style: none; counter-reset: pp; text-align: left; display: grid; gap: 10px; }
.pp-list li { position: relative; padding: 10px 14px 10px 50px; border-radius: 16px; font: 500 0.92rem/1.4 var(--body); color: #D9D1FF;
  background: linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 0 0 1px rgba(255, 220, 140, 0.18); counter-increment: pp; }
.pp-list li::before { content: counter(pp); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font: 800 0.95rem var(--head); color: #4A2A00; background: radial-gradient(circle at 35% 30%, #FFF6CF, #FFD45E 50%, #D9900F); }
.pp-list b { color: #fff; }
/* Checking: three bouncing gold dots */
.pp-spin { display: flex; justify-content: center; gap: 10px; margin: 26px 0 6px; }
.pp-spin i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6CF, #FFD45E 50%, #D9900F); animation: ppDot 0.9s ease-in-out infinite; }
.pp-spin i:nth-child(2) { animation-delay: 0.15s; } .pp-spin i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ppDot { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(-10px); opacity: 1; } }
/* Confetti on "You're in!" */
.pp-confetti { position: absolute; inset: -40px 0 auto 0; height: 0; pointer-events: none; }
.pp-confetti i { position: absolute; top: 0; width: 8px; height: 14px; border-radius: 2px; opacity: 0; animation: ppFall 2.4s cubic-bezier(0.2, 0.6, 0.4, 1) forwards; }
.pp-confetti i:nth-child(6n+1) { background: #FFD45E; } .pp-confetti i:nth-child(6n+2) { background: #FF7AB8; } .pp-confetti i:nth-child(6n+3) { background: #7FE3BE; }
.pp-confetti i:nth-child(6n+4) { background: #8CC8FF; } .pp-confetti i:nth-child(6n+5) { background: #fff; } .pp-confetti i:nth-child(6n) { background: #C9A6FF; }
.pp-confetti i:nth-child(1) { left: 4.0%; --dx: -60px; animation-delay: 0.00s; }
.pp-confetti i:nth-child(2) { left: 9.3%; --dx: -23px; animation-delay: 0.08s; }
.pp-confetti i:nth-child(3) { left: 14.6%; --dx: 14px; animation-delay: 0.16s; }
.pp-confetti i:nth-child(4) { left: 19.9%; --dx: 51px; animation-delay: 0.24s; }
.pp-confetti i:nth-child(5) { left: 25.2%; --dx: -32px; animation-delay: 0.32s; }
.pp-confetti i:nth-child(6) { left: 30.5%; --dx: 5px; animation-delay: 0.40s; }
.pp-confetti i:nth-child(7) { left: 35.8%; --dx: 42px; animation-delay: 0.00s; }
.pp-confetti i:nth-child(8) { left: 41.1%; --dx: -41px; animation-delay: 0.08s; }
.pp-confetti i:nth-child(9) { left: 46.4%; --dx: -4px; animation-delay: 0.16s; }
.pp-confetti i:nth-child(10) { left: 51.7%; --dx: 33px; animation-delay: 0.24s; }
.pp-confetti i:nth-child(11) { left: 57.0%; --dx: -50px; animation-delay: 0.32s; }
.pp-confetti i:nth-child(12) { left: 62.3%; --dx: -13px; animation-delay: 0.40s; }
.pp-confetti i:nth-child(13) { left: 67.6%; --dx: 24px; animation-delay: 0.00s; }
.pp-confetti i:nth-child(14) { left: 72.9%; --dx: -59px; animation-delay: 0.08s; }
.pp-confetti i:nth-child(15) { left: 78.2%; --dx: -22px; animation-delay: 0.16s; }
.pp-confetti i:nth-child(16) { left: 83.5%; --dx: 15px; animation-delay: 0.24s; }
.pp-confetti i:nth-child(17) { left: 88.8%; --dx: 52px; animation-delay: 0.32s; }
.pp-confetti i:nth-child(18) { left: 94.1%; --dx: -31px; animation-delay: 0.40s; }
@keyframes ppFall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx, 20px), 420px) rotate(540deg); } }
.gp.pp .gp-manage { margin-top: 20px; }
html .gp.pp .btn.passmanage { margin: 6px 0; background: #fff; color: #2A1777; box-shadow: 0 4px 0 #B9A8F0, 0 8px 16px rgba(0, 0, 0, 0.25); }
html .gp.pp .gp-fine .btn.passmanage { display: inline-block; margin: 8px 0 10px; }
.pplinks { display: flex; justify-content: center; gap: 16px; margin-top: 26px; }
.pplinks a { color: #CFC6FF; font: 700 0.9rem var(--head); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .pp-spin i, .pp-confetti i { animation: none; } .pp-confetti { display: none; } }
/* Gold glitter slowly falling behind the card (owner 25 Oct). Positions/speeds are inline on each <i> in pass.html
   (--x across, --d fall time, --t start offset so the screen is already full, --s size, --sw sideways drift, --tw twinkle).
   Every 4th piece is a four-point sparkle (.st), the rest tiny gold flecks. */
.ppglitter { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ppglitter i { position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF8D6, #FFD45E 45%, #D9900F); box-shadow: 0 0 6px rgba(255, 212, 94, 0.7);
  animation: ppFallG calc(var(--d) * 1.4) linear var(--t) infinite, ppTwinkle var(--tw) ease-in-out infinite alternate; }
.ppglitter i.st { width: calc(var(--s) * 2.4); height: calc(var(--s) * 2.4); border-radius: 0; box-shadow: none;
  background: linear-gradient(135deg, #FFFBE6, #FFD45E 50%, #F2A516); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px rgba(255, 212, 94, 0.8)); }
@keyframes ppFallG { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(var(--sw), 55vh) rotate(180deg); } 100% { transform: translate(0, calc(100vh + 24px)) rotate(360deg); } }
@keyframes ppTwinkle { from { opacity: 0.35; } to { opacity: 1; } }
body.passpage .ppwrap { position: relative; z-index: 1; }
/* Reduced motion: no twinkle or sway, just a much slower straight drift (like the front page's avatar rain) */
@media (prefers-reduced-motion: reduce) {
  .ppglitter i { animation: ppFallCalm calc(var(--d) * 2.5) linear var(--t) infinite; opacity: 0.7; }
  @keyframes ppFallCalm { to { transform: translateY(calc(100vh + 24px)); } }
}
/* gloat.html (owner 26 Oct): the full Gloat Pass card on its own page, same starry page + falling glitter as pass.html */
body.gloatpage .ppwrap { max-width: 640px; }
body.gloatpage #gloatbox .gp { max-width: none; margin: 52px 0 0; }
