@import url('./assets/paxplay/fonts/fonts.css');
.paxplay-host{margin:0!important}.pp-standalone{margin:0;background:#080910;color:#f7f7fc}.pp-public-head{max-width:1280px;margin:auto;padding:24px 32px;display:flex;justify-content:space-between;align-items:center;font:700 20px Outfit,Arial,sans-serif}.pp-public-head a{color:#fff;text-decoration:none}.pp-public-head span{color:#64ebcf}.pp-public-head>div{display:flex;align-items:center;gap:20px;font-size:13px}.pp-public-head select{background:#171823;color:white;border:1px solid #343442;border-radius:8px;padding:8px}.pp-standalone #paxplay-root{max-width:1280px;margin:auto;padding:0 32px 60px}#paxplay-root,.pp-dialog{--pp-mint:#5aefd1;--pp-purple:#8619f5;--pp-text:#f6f7fb;--pp-muted:#a6a8bd;--pp-border:#ffffff16;font-family:Outfit,'Noto Sans KR',system-ui,sans-serif;color:var(--pp-text);line-height:1.5;color-scheme:dark}#paxplay-root *,.pp-dialog *{box-sizing:border-box}#paxplay-root button,.pp-dialog button,#paxplay-root input{font:inherit}#paxplay-root button,.pp-dialog button{cursor:pointer}#paxplay-root button:focus-visible,.pp-dialog button:focus-visible,#paxplay-root input:focus-visible{outline:3px solid #5aefd1;outline-offset:4px}#paxplay-root button:disabled,.pp-dialog button:disabled{cursor:not-allowed;opacity:.55}#paxplay-root{background:#080910;border-radius:24px;padding:28px;overflow:hidden;min-width:0}#paxplay-root h1,#paxplay-root h2,#paxplay-root h3,#paxplay-root p,.pp-dialog h2,.pp-dialog p{margin:0;color:inherit}#paxplay-root .pp-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:16px}.pp-wordmark{font-size:22px;font-weight:800;letter-spacing:-.5px}.pp-wordmark span{color:var(--pp-mint)}.pp-build{font-size:11px;letter-spacing:1px;color:var(--pp-muted);display:flex;align-items:center;gap:8px}.pp-build i{width:6px;height:6px;border-radius:50%;background:var(--pp-mint);box-shadow:0 0 12px #5aefd17a}.pp-hero{position:relative;min-height:326px;isolation:isolate;border:1px solid var(--pp-border);border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 85% 40%,#5826a0,transparent 70%),#101019;display:flex;align-items:center}.pp-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.pp-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#080910f2 0%,#080910b5 36%,#08091008 85%);z-index:-1}.pp-hero-copy{padding:34px;width:65%;max-width:650px}.pp-eyebrow{font-size:11px;color:var(--pp-mint)!important;letter-spacing:2px;font-weight:700;margin-bottom:16px!important}.pp-hero h1{font-size:clamp(29px,3.7vw,49px);letter-spacing:-1.5px;line-height:1.18;font-weight:900}.pp-hero h1 span{color:var(--pp-mint);display:block;margin-top:5px}.pp-hero-copy>p:not(.pp-eyebrow){font-size:13px;line-height:1.9;color:#c0c2d1!important;margin-top:17px!important;max-width:350px}.pp-hero-actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}.pp-primary,.pp-secondary{border:0;border-radius:10px;padding:12px 20px;font-size:13px!important;font-weight:700!important;background:var(--pp-mint);color:#05251e}.pp-secondary{background:#ffffff0d;border:1px solid #ffffff29;color:#fff}.pp-primary:hover{background:#95ffe8}.pp-hero-caption{position:absolute;right:22px;bottom:18px;font-size:10px;letter-spacing:2px;color:#ffffff80}.pp-modes{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:12px;margin:18px 0 32px}.pp-mode{padding:17px 18px;background:#12131d;border:1px solid var(--pp-border);border-radius:12px;display:flex;gap:13px;align-items:center}.pp-mode-icon{color:var(--pp-mint);font-size:23px}.pp-mode strong{display:block;font-size:14px}.pp-mode small{display:block;font-size:11px;color:var(--pp-muted);margin-top:3px}.pp-mode-note{background:linear-gradient(120deg,#211137,#13121d)}.pp-mode-note strong{color:#d1b1ff}.pp-library-head{display:flex;gap:18px;justify-content:space-between;align-items:center;margin-bottom:20px}.pp-library-head h2{font-size:23px;letter-spacing:-.5px}.pp-library-head p{color:var(--pp-muted)!important;font-size:12px;margin-top:3px!important}.pp-search{display:flex;align-items:center;gap:9px;border:1px solid #ffffff20;border-radius:10px;background:#12131b;padding:9px 13px;width:240px;color:var(--pp-muted)}.pp-search input{border:0!important;padding:0!important;outline:none;background:transparent!important;color:#fff!important;min-width:0;width:100%;font-size:12px!important;box-shadow:none!important}.pp-controls{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:20px}.pp-tabs{display:flex;gap:7px;overflow:auto;padding:4px;scrollbar-width:thin}.pp-tab{white-space:nowrap;background:transparent;color:#adafc2;border:1px solid transparent;border-radius:9px;padding:9px 13px;font-size:12px!important;font-weight:600!important}.pp-tab[aria-pressed=true]{color:#071b17;background:var(--pp-mint)}.pp-tab:not([aria-pressed=true]):hover{background:#ffffff0b;color:#fff}.pp-favorites{flex-shrink:0;color:#c5c5d6;background:#191722;border:1px solid #ffffff1c;border-radius:9px;padding:9px 12px;font-size:12px!important}.pp-favorites[aria-pressed=true]{border-color:#bb88ff;color:#dabfff}.pp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.pp-card{position:relative;border:1px solid #ffffff13;border-radius:15px;overflow:hidden;background:#13131e;transition:transform .2s,border-color .2s,box-shadow .2s}.pp-card:hover{transform:translateY(-4px);border-color:#a86efb80;box-shadow:0 14px 28px #0005}.pp-cover{width:100%;height:auto;aspect-ratio:512/300;display:block;object-fit:cover;transition:transform .4s}.pp-card:hover .pp-cover{transform:scale(1.045)}.pp-cover-wrap{overflow:hidden;position:relative}.pp-status{position:absolute;top:11px;left:11px;font-size:9px;font-weight:700;letter-spacing:.4px;background:#080c19d9;color:#d0d1df;border:1px solid #ffffff21;border-radius:6px;padding:4px 7px;backdrop-filter:blur(8px)}.pp-status.is-live{color:var(--pp-mint)}.pp-save{position:absolute;top:10px;right:10px;border:1px solid #ffffff24;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;background:#090d1aca;color:#d5d6e4;padding:0}.pp-save[aria-pressed=true]{color:#ffe185}.pp-card-content{padding:15px}.pp-card-meta{font-size:9px;letter-spacing:1.2px;color:#b092db;display:flex;justify-content:space-between;margin-bottom:7px}.pp-card-meta span:last-child{color:#85889f;letter-spacing:.3px}.pp-card h3{font-size:16px;font-weight:700;letter-spacing:-.3px;line-height:1.4}.pp-card p{font-size:11px;color:#acafc2!important;line-height:1.7;margin:7px 0 15px!important;min-height:37px}.pp-select{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #ffffff17;background:#ffffff05;color:#e8e5f4;border-radius:8px;padding:8px 10px;font-size:11px!important;font-weight:600!important}.pp-card.is-live .pp-select{color:#80f6db;background:#5aefd108;border-color:#5aefd126}.pp-select:hover{background:#8619f53b!important}.pp-empty{text-align:center;padding:60px 15px;color:var(--pp-muted);grid-column:1/-1}.pp-bottom{margin-top:32px;border-top:1px solid #ffffff12;padding-top:20px;display:flex;justify-content:space-between;gap:16px;color:#85879d;font-size:11px}.pp-bottom b{color:#c1bdce;font-weight:600}.pp-dialog{width:min(760px,calc(100vw - 32px));max-height:90dvh;border:1px solid #68607966;border-radius:22px;background:#10111b;padding:0;box-shadow:0 30px 150px #000c;overflow:auto}.pp-dialog::backdrop{background:#030409cb;backdrop-filter:blur(8px)}.pp-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #ffffff14}.pp-dialog-head span{font-size:11px;letter-spacing:1.5px;color:var(--pp-mint)}.pp-close{background:#ffffff0a;color:#fff;border:1px solid #ffffff20;border-radius:50%;width:32px;height:32px;font-size:20px!important;line-height:1}.pp-detail{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px}.pp-detail>img{width:100%;border-radius:13px;align-self:center}.pp-detail h2{font-size:25px;line-height:1.3;margin:6px 0 12px}.pp-detail p{color:#b4b7ca;line-height:1.8;font-size:13px}.pp-detail-tag{font-size:10px;letter-spacing:1px;color:var(--pp-mint)}.pp-detail-note{padding:13px;background:#ffffff06;border:1px solid #ffffff13;border-radius:10px;margin:16px 0!important;font-size:11px!important}.pp-detail .pp-primary{width:100%}.pp-detail-selected{color:var(--pp-mint)!important;margin-top:10px!important;font-size:11px!important}.pp-game{padding:0 24px 24px}.pp-game-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px;color:#b6b8cd;font-size:12px}.pp-game-board{background:#070912;border:1px solid #ffffff12;border-radius:14px;padding:20px;min-height:240px;text-align:center}.pp-game-message{padding-top:15px;color:var(--pp-mint)!important;font-weight:600;min-height:40px;font-size:14px}.pp-memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:410px;margin:auto}.pp-memory-card{aspect-ratio:1.2;border:1px solid #bd8eff58;border-radius:10px;background:linear-gradient(140deg,#7025cc,#34145f);color:white;font-size:30px!important;transition:background .2s}.pp-memory-card.is-open{background:#5aefd1;color:#063027;border-color:#5aefd1}.pp-memory-card.is-match{background:#163b34;color:#5aefd1;border-color:#5aefd150;opacity:1!important}.pp-mole-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;max-width:380px;margin:auto}.pp-mole-hole{aspect-ratio:1.4;border:1px solid #262b41;background:#101423;border-radius:50%;font-size:37px!important;color:#5aefd1}.pp-mole-hole.is-up{background:#2d1748;box-shadow:0 0 20px #8619f550}.pp-clock{font:700 70px Outfit,Arial,sans-serif;margin:20px 0;color:#f3eeff;font-variant-numeric:tabular-nums}.pp-big-tap{width:100%;min-height:170px;display:flex;align-items:center;justify-content:center;background:#3a194f;color:#eee;border:1px solid #684384;border-radius:12px;font-size:20px!important;font-weight:700!important}.pp-big-tap.is-go{background:#5aefd1;color:#063b31}.pp-sequence-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:300px;margin:auto}.pp-sequence-key{height:100px;border-radius:14px;border:2px solid #ffffff30;opacity:.5;transition:opacity .1s,box-shadow .1s}.pp-sequence-key.is-flash{opacity:1;box-shadow:0 0 25px currentColor;transform:scale(.97)}.pp-maze-grid{display:grid;grid-template-columns:repeat(11,1fr);max-width:330px;margin:auto;border:2px solid #514073;touch-action:none}.pp-maze-cell{aspect-ratio:1;background:#121624;display:grid;place-items:center;font-size:13px}.pp-maze-cell.wall{background:#634199}.pp-maze-cell.player{background:#5aefd1;color:#052a25;font-weight:800}.pp-maze-cell.goal{background:#421d68;color:#fff}.pp-arrows{display:flex;justify-content:center;gap:10px;margin-top:16px}.pp-arrows button{border:1px solid #5aefd140;background:#15312e;color:#70f8d9;border-radius:10px;width:50px;height:42px;font-size:20px!important}.pp-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.pp-standalone #paxplay-root{border-radius:0}.pp-preview-badge{background:#231635;color:#d7b7ff;border:1px solid #624486;border-radius:6px;padding:4px 8px;font-size:10px;white-space:nowrap}
@media(min-width:1500px){.pp-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1120px){.pp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-modes{grid-template-columns:1fr 1fr}.pp-mode-note{grid-column:1/-1}.pp-hero-copy{width:73%}.pp-controls{align-items:flex-start;flex-direction:column}}@media(max-width:640px){#paxplay-root{padding:16px 12px;border-radius:14px}.pp-standalone #paxplay-root{padding:0 16px 32px}.pp-public-head{padding:20px 16px}.pp-public-head>div{gap:10px;font-size:10px}.pp-wordmark{font-size:20px}.pp-build{font-size:9px}.pp-hero{min-height:355px;align-items:flex-end}.pp-hero-img{object-position:65% center}.pp-hero:after{background:linear-gradient(0deg,#080910 0%,#080910c9 48%,#08091018 100%)}.pp-hero-copy{padding:25px 21px;width:100%}.pp-hero h1{font-size:31px}.pp-hero-copy>p:not(.pp-eyebrow){font-size:11px;max-width:245px}.pp-hero-caption{display:none}.pp-hero-actions{margin-top:17px}.pp-eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:10px!important}.pp-primary,.pp-secondary{padding:10px 14px;font-size:12px!important}.pp-modes{gap:8px;margin:12px 0 25px}.pp-mode{padding:12px 10px;gap:8px}.pp-mode strong{font-size:12px}.pp-mode small{font-size:9px}.pp-mode-icon{font-size:19px}.pp-library-head{align-items:flex-start;flex-direction:column;gap:13px}.pp-library-head h2{font-size:21px}.pp-library-head p{font-size:11px}.pp-search{width:100%}.pp-controls{gap:8px}.pp-tabs{max-width:100%;width:100%}.pp-tab{padding:8px 10px;font-size:11px!important}.pp-favorites{padding:7px 10px;font-size:11px!important}.pp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pp-card{border-radius:12px}.pp-card-content{padding:11px}.pp-card h3{font-size:13px}.pp-card p{font-size:10px;min-height:48px;margin:6px 0 10px!important}.pp-card-meta{font-size:8px;letter-spacing:.4px}.pp-status{font-size:8px;top:7px;left:7px;padding:3px 5px}.pp-save{width:26px;height:26px;top:6px;right:6px}.pp-select{font-size:10px!important;padding:8px}.pp-bottom{flex-direction:column;font-size:10px}.pp-detail{grid-template-columns:1fr;padding:18px;gap:16px}.pp-detail>img{max-height:165px;object-fit:cover}.pp-detail h2{font-size:23px}.pp-dialog-head{padding:14px 18px}.pp-game{padding:0 15px 18px}.pp-game-board{padding:13px}.pp-clock{font-size:58px}}
@media(prefers-reduced-motion:reduce){#paxplay-root *,.pp-dialog *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.pp-dialog-head{position:sticky;top:0;background:#10111bf5;z-index:5;backdrop-filter:blur(12px)}.pp-dialog.is-playing .pp-detail{display:block;padding:20px 24px 12px}.pp-dialog.is-playing .pp-detail>img,.pp-dialog.is-playing .pp-detail p,.pp-dialog.is-playing #pp-detail-action{display:none}.pp-dialog.is-playing .pp-detail h2{margin-bottom:0}.pp-dialog.is-playing .pp-detail-tag{font-size:9px}
/* PAX PLAY / White edition */
.pp-standalone{background:#fff;color:#181729}.pp-public-head a{color:#19152c}.pp-public-head span{color:#7a13ef}.pp-public-head select{background:#fff;color:#201536;border-color:#e1ddec}.pp-header-lounge{color:#8619f5;font:700 10px Outfit,sans-serif;letter-spacing:1.7px;padding-left:12px;border-left:1px solid #d8d4e2}.pp-header-lounge[hidden]{display:none}.paxplay-active main{background:#fff}#paxplay-root{--pp-text:#1c1831;--pp-muted:#6b677d;--pp-border:#e9e6f0;background:#fff;border-radius:0;padding:6px 0 28px;color-scheme:light}.pp-standalone #paxplay-root{padding-top:4px}.pp-hero{min-height:0;height:164px;border-radius:16px;box-shadow:0 9px 26px #57169712}.pp-hero-img{object-position:center 52%;filter:saturate(1.25)}.pp-hero-copy{padding:17px 26px;width:69%;max-width:700px}.pp-hero .pp-eyebrow{font-size:8px;margin-bottom:5px!important}.pp-hero h1{font-size:29px;letter-spacing:-.8px;line-height:1.08;color:white!important}.pp-hero h1 span{display:inline;color:#62ffdc;margin-left:8px}.pp-hero-copy>p:not(.pp-eyebrow){font-size:11px;line-height:1.5;margin-top:8px!important;max-width:none}.pp-hero-actions{margin-top:12px;gap:8px}.pp-hero .pp-primary,.pp-hero .pp-secondary{padding:7px 12px;font-size:11px!important;border-radius:7px}.pp-hero-caption{font-size:8px}.pp-primary{background:#8619f5;color:white}.pp-primary:hover{background:#6e0bd3}.pp-secondary{background:#f5f2fa;color:#452568;border:1px solid #e3d9ef}.pp-hero .pp-primary{background:#51f2cf;color:#082c23}.pp-hero .pp-secondary{background:#ffffff15;border-color:#ffffff35;color:#fff}.pp-modes{margin:14px 0 26px;gap:12px}.pp-mode{background:#f8f7fc;border-color:#eae6f1;padding:13px 16px}.pp-mode strong{color:#30213e}.pp-mode-icon{color:#8619f5}.pp-mode small{color:#716b80;font-size:10px}.pp-mode-note{background:#eafff8;border-color:#bdedde}.pp-mode-note strong{color:#08775c}.pp-mode-note .pp-mode-icon{color:#059b78}.pp-library-head h2{color:#1d172b;font-size:23px}.pp-search{background:#f7f6fa;border-color:#e6e2ef;color:#78658c}.pp-search input{color:#221b35!important}.pp-tab{color:#6c647a}.pp-tab[aria-pressed=true]{background:#8619f5;color:white;box-shadow:0 4px 12px #8619f522}.pp-tab:not([aria-pressed=true]):hover{background:#f2eaff;color:#6c15b9}.pp-favorites{background:#fff8e9;color:#76591a;border-color:#efe2bf}.pp-favorites[aria-pressed=true]{background:#fff0c3;color:#654008;border-color:#ddb459}.pp-grid{gap:18px}.pp-card{background:#fff;border-color:#e5e0ee;box-shadow:0 4px 18px #31203f06}.pp-card:hover{border-color:#ae60ff;box-shadow:0 12px 28px #7130b41c}.pp-cover{filter:saturate(1.28) contrast(1.04)}.pp-card-meta{color:#8b24d0}.pp-card-meta span:last-child{color:#817c90}.pp-card h3{color:#21152f!important}.pp-card p{color:#777084!important}.pp-select{background:#f8f5fd;color:#643496;border-color:#eaddf9}.pp-card.is-live .pp-select{background:#8619f5;color:#fff;border-color:#8619f5}.pp-select:hover{background:#ead6ff!important;color:#55138d!important}.pp-card.is-live .pp-select:hover{background:#6f08d7!important;color:#fff!important}.pp-status.is-live{background:#60f3d1;color:#062e25;border-color:#60f3d1}.pp-status{background:#ffffffed;color:#6b5d7a;border-color:#ffffff7d}.pp-save{background:#fff;color:#805c9e;border-color:#e2cff4}.pp-save[aria-pressed=true]{background:#fff3c3;color:#987000}.pp-bottom{border-color:#eee9f2;color:#8d8298}.pp-bottom b{color:#705982}.pp-dialog{--pp-text:#20182f;--pp-muted:#776987;background:white;border-color:#e2d7ed;color-scheme:light}.pp-dialog-head{background:#fffffff5;border-color:#ece5f3}.pp-dialog-head span,.pp-detail-tag{color:#8312e8}.pp-close{background:#f8f3fd;color:#692b97;border-color:#e5d3f5}.pp-detail h2{color:#241530}.pp-detail p{color:#71637e}.pp-detail-note{background:#f8f4fc;border-color:#e8dbf2}.pp-detail-selected{color:#147c61!important}.pp-game-bar{color:#62556e}.pp-game-board{background:#f9f6fe;border-color:#e5d7f4}.pp-game-message{color:#781bd1!important}.pp-clock{color:#7122ba}.pp-preview-badge{background:#e4fff5;color:#08785a;border-color:#b0ecd8;font-size:9px}.pp-memory-card{box-shadow:0 5px 14px #8619f526}.pp-mole-hole{background:#e9ddf5;border-color:#d2b5ed;color:#8e22d8}.pp-mole-hole.is-up{background:#a646ff;color:white}.pp-maze-cell{background:#f7edff}.pp-maze-cell.wall{background:#8b24df}.pp-maze-cell.player{background:#23dab2;color:#042e25}.pp-arrows button{background:#e0fcf4;color:#067b61;border-color:#96e7d1}.pp-walletbar{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:14px;margin:0 0 20px}.pp-stat{position:relative;min-width:0;border:1px solid #e6e0ed;border-radius:15px;padding:19px 20px;background:#fff;box-shadow:0 4px 20px #40305005;overflow:hidden}.pp-stat-reward{background:linear-gradient(115deg,#f6edff,#fcfaff);border-color:#e7d4fc}.pp-stat-rank{background:linear-gradient(115deg,#effcf8,#fff);border-color:#cceee2}.pp-stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;font-weight:600;color:#776285}.pp-stat-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f0e4fc;color:#8619f5;font-size:16px}.pp-stat-rank .pp-stat-icon{color:#029d79;background:#cef8eb}.pp-stat-value{display:flex;align-items:baseline;gap:7px;margin:9px 0 5px!important;font-size:30px;font-weight:800;letter-spacing:-.8px;line-height:1.25;font-variant-numeric:tabular-nums;color:#302041;overflow-wrap:anywhere}.pp-stat-value small{font-size:11px;font-weight:600;letter-spacing:0;color:#8b7a99}.pp-stat-reward .pp-stat-value{color:#8619f5}.pp-stat-rank .pp-stat-value{color:#038965}.pp-stat-foot{font-size:10px;color:#8e819b;display:flex;gap:8px;justify-content:space-between;align-items:center;min-height:20px}.pp-stat-action{font-size:10px!important;font-weight:700!important;color:#8316da;background:#f4e8ff;border:0;border-radius:6px;padding:5px 8px;white-space:nowrap}.pp-rank-delta{font-size:10px;font-weight:700;color:#03906b;background:#ddf9ee;padding:3px 6px;border-radius:5px}.pp-rank-delta.down{color:#bf465e;background:#ffe9ee}.pp-rank-list{border-top:1px solid #dceee6;margin-top:10px;padding-top:7px;display:grid;gap:4px}.pp-rank-row{display:flex;align-items:center;gap:8px;font-size:10px;color:#60776d;padding:3px;border-radius:5px}.pp-rank-row b{color:#0b8f68;width:16px}.pp-rank-row em{font-style:normal;margin-left:auto;font-variant-numeric:tabular-nums}.pp-rank-empty{height:5px;background:linear-gradient(90deg,#18c69922,#eee);border-radius:8px;margin:8px 0;width:85%}.pp-stat-state{font-size:10px;color:#0f9975;font-weight:600;white-space:nowrap}.pp-rank-rise{animation:ppRankRise .7s ease both}.pp-balance-change{animation:ppBalance .6s ease both}@keyframes ppRankRise{from{transform:translateY(14px);opacity:.2}to{transform:translateY(0);opacity:1}}@keyframes ppBalance{50%{color:#05ae85;transform:translateY(-3px)}}
@media(min-width:1121px){.pp-stat{min-height:145px}}@media(max-width:1120px){.pp-hero-copy{width:78%}.pp-hero h1{font-size:26px}.pp-walletbar{gap:10px}.pp-stat{padding:14px}.pp-stat-value{font-size:25px}.pp-stat-foot{flex-wrap:wrap}.pp-modes{grid-template-columns:1fr 1fr 1.3fr}.pp-mode-note{grid-column:auto}.pp-mode{padding:12px;gap:8px}}@media(max-width:640px){#paxplay-root{padding:0 0 22px}.pp-standalone #paxplay-root{padding:0 16px 25px}.pp-header-lounge{font-size:8px;letter-spacing:.6px;padding-left:7px}.pp-walletbar{grid-template-columns:1fr;gap:9px;margin-bottom:14px}.pp-stat{padding:13px 16px;min-height:0}.pp-stat-top{font-size:11px}.pp-stat-icon{width:22px;height:22px;font-size:13px}.pp-stat-value{font-size:25px;margin:2px 0!important}.pp-stat-foot{font-size:10px}.pp-rank-list{margin-top:7px}.pp-hero{height:178px;min-height:0;align-items:center}.pp-hero-copy{padding:15px 17px;width:100%}.pp-hero h1{font-size:25px;max-width:275px;line-height:1.17}.pp-hero h1 span{display:block;margin:2px 0 0}.pp-hero-copy>p:not(.pp-eyebrow){font-size:10px;max-width:245px;margin-top:6px!important}.pp-hero-actions{margin-top:10px}.pp-hero:after{background:linear-gradient(90deg,#080910ed,#080910a3 55%,#08091030)}.pp-modes{grid-template-columns:1fr 1fr;margin:12px 0 22px;gap:8px}.pp-mode{padding:10px;gap:7px}.pp-mode-note{grid-column:1/-1}.pp-mode-note small{font-size:10px}.pp-grid{gap:10px}.pp-library-head h2{font-size:21px}.pp-game-bar{flex-wrap:wrap}.pp-dialog.is-playing .pp-detail{padding:16px 18px 10px}}

body.paxplay-active{font-family:'Noto Sans KR',system-ui,sans-serif}
/* Vivid edition: compact summaries, black game surfaces */
#paxplay-root{--pp-text:#000;--pp-muted:#242424;--pp-purple:#8619ff}
.pp-walletbar{gap:12px;margin-bottom:14px;align-items:start}
.pp-stat{min-height:60px;padding:8px 12px;display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,1.3fr);align-items:center;gap:0 10px;border:0;border-radius:10px;box-shadow:none;background:#f1f1f5;overflow:visible}
.pp-stat-reward{background:#f1e7ff}.pp-stat-rank{background:#d4fff2}
.pp-stat-top{font-size:12px;font-weight:800;color:#000}.pp-stat-icon{display:none}
#paxplay-root .pp-stat-value{margin:0!important;font-size:28px;line-height:1.12;font-weight:900;color:#000;justify-content:flex-end;min-width:0;gap:4px;letter-spacing:-.7px}
#paxplay-root .pp-stat-reward .pp-stat-value{color:#7300dc}#paxplay-root .pp-stat-rank .pp-stat-value{color:#006846}
.pp-stat-value>span:first-child{min-width:0;overflow-wrap:anywhere}.pp-stat-value small{color:#000;font-size:11px;font-weight:800}
.pp-stat-foot{grid-column:1/-1;min-height:16px;color:#161616;font-size:10px;line-height:1.5;gap:5px;font-weight:700;flex-wrap:wrap}
.pp-stat-action{background:none;color:#6500cd;padding:0;font-size:10px!important}.pp-stat-state{color:#006345;font-weight:800;font-size:10px}
.pp-rank-details{position:relative;grid-column:1/-1;font-size:10px;color:#00583d;font-weight:800;line-height:15px}
.pp-rank-details summary{cursor:pointer;list-style:none}.pp-rank-details summary:after{content:' ▾'}.pp-rank-details[open] summary:after{content:' ▴'}
.pp-rank-list{position:absolute;top:17px;right:0;left:0;z-index:10;background:#fff;padding:12px;border:0;border-radius:10px;box-shadow:0 6px 30px #0003;margin:0;min-width:180px}.pp-rank-row{color:#000;font-size:12px}.pp-rank-row b{color:#006c49}
.pp-rank-delta{background:#007c53;color:#fff}.pp-rank-delta.down{background:#d6183c;color:#fff}
.pp-header-lounge{border:0}.pp-mode,.pp-search,.pp-card,.pp-select,.pp-hero,.pp-bottom{border:0}.pp-mode{background:#f2f2f5}.pp-mode strong,.pp-mode small{color:#000;font-weight:700}.pp-mode-note{background:#d4fff2}.pp-mode-note strong{color:#005d42}.pp-library-head p{color:#222!important;font-weight:600}.pp-tab{color:#000}.pp-favorites{color:#000;border:0}.pp-bottom,.pp-bottom b{color:#222}
.pp-card,.pp-card-content{background:#000}.pp-card{box-shadow:0 4px 15px #0002}.pp-card h3{color:#fff!important;font-weight:800}.pp-card p{color:#fff!important;font-weight:500}.pp-card-meta,.pp-card-meta span:last-child{color:#40ffd0;font-weight:800}.pp-cover{filter:saturate(1.6) contrast(1.12);opacity:1}.pp-card .pp-select{background:#262626;color:white}.pp-card.is-live .pp-select{background:#8619ff;color:#fff}.pp-card p{min-height:38px}.pp-select{font-weight:800!important}.pp-status{color:#000;backdrop-filter:none}.pp-status.is-live{background:#00efb1;color:#000}.pp-save{color:#6500cc}.pp-hero-copy>p:not(.pp-eyebrow){color:#fff!important;font-weight:600}
.pp-dialog{--pp-text:#fff;--pp-muted:#fff;background:#000;color:#fff;color-scheme:dark;border:0;box-shadow:0 30px 120px #000c}
.pp-dialog-head{background:#000;border:0;padding:16px 20px;gap:12px}.pp-dialog-head>span{display:flex;align-items:center;gap:14px;min-width:0;color:white;letter-spacing:0;white-space:nowrap;overflow:hidden}.pp-dialog-head b{font-size:18px;font-weight:800;flex-shrink:0}.pp-dialog-head small{font-size:12px;color:#fff;overflow:hidden;text-overflow:ellipsis}.pp-close{background:#242424;border:0;color:#fff;flex-shrink:0}.pp-dialog.is-playing .pp-detail{display:none}.pp-detail-tag{color:#00ffbf}.pp-detail-note{background:#171717;color:#fff;border:0}.pp-detail p{color:#fff}.pp-detail h2{color:#fff}
.pp-game{padding:0 20px 20px}.pp-game-bar{margin:0 0 14px;color:#fff;gap:10px;flex-wrap:wrap}.pp-game-bar #pp-game-stat{font-size:16px;font-weight:900;font-variant-numeric:tabular-nums;color:#fff}.pp-preview-badge{font-size:12px;font-weight:800;background:#00efb1;color:#000;border:0;padding:6px 10px}.pp-dialog .pp-secondary{background:#292929;border:0;color:#fff;font-weight:800!important}.pp-game-bar .pp-secondary{padding:8px 12px;font-size:12px!important}.pp-game-board{background:#000;border:0;padding:12px 0;min-height:260px}.pp-game-message{color:#00ffc3!important;font-size:17px;font-weight:800;min-height:32px;text-align:center}.pp-game-message:empty{padding:0;min-height:0}
.pp-memory-grid{max-width:480px;gap:12px}.pp-memory-card{background:#8619ff;border:0;box-shadow:0 5px 22px #8619ff44;font-weight:900;font-size:36px!important}.pp-memory-card.is-open{background:#00efb1;color:#000}.pp-memory-card.is-match{background:#00efb1;color:#000;opacity:1!important;box-shadow:none}.pp-mole-hole{background:#262626;border:0;color:#fff}.pp-mole-hole.is-up{background:#8619ff;color:#fff;box-shadow:0 0 25px #8619ff66}.pp-clock{color:#00ffbf}.pp-big-tap{background:#8619ff;color:#fff;border:0}.pp-big-tap.is-go{background:#00efb1;color:#000}.pp-maze-grid{border:0}.pp-maze-cell{background:#151515}.pp-maze-cell.wall{background:#8619ff}.pp-maze-cell.player{background:#00ffbf;color:#000}.pp-maze-cell.goal{background:#ffd000;color:#000}.pp-arrows button{background:#00efb1;color:#000;border:0}.pp-sequence-key{opacity:1;filter:brightness(.55);border:0}.pp-sequence-key.is-flash{filter:brightness(1.4);outline:4px solid white}
.pp-wheel-wrap{width:min(290px,80vw);aspect-ratio:1;position:relative;margin:6px auto 24px}.pp-wheel-pointer{position:absolute;top:-18px;left:50%;transform:translateX(-50%);z-index:2;font-size:35px;color:#fff;text-shadow:0 2px 7px #000}.pp-wheel{position:relative;width:100%;height:100%;border-radius:50%;background:conic-gradient(#ffd000 0 60deg,#8619ff 60deg 120deg,#ff286c 120deg 180deg,#00efb1 180deg 240deg,#007bff 240deg 300deg,#00a66b 300deg);box-shadow:0 0 0 8px #202020,0 0 40px #8619ff44;transition:transform 3.4s cubic-bezier(.15,.75,.12,1)}.pp-wheel>span{position:absolute;left:calc(50% - 32px);top:calc(50% - 24px);width:64px;height:48px;transform:rotate(var(--angle)) translateY(-100px) rotate(calc(-1 * var(--angle)));font-size:25px;font-weight:900;color:#fff;text-shadow:0 1px 3px #000}.pp-wheel>span:nth-child(1),.pp-wheel>span:nth-child(4){color:#000;text-shadow:none}.pp-wheel small{display:block;font-size:12px;line-height:1}.pp-wheel>b{position:absolute;inset:36%;display:grid;place-content:center;background:#000;border-radius:50%;font-size:16px;color:#fff;line-height:1.2}
.pp-lucky-choices{display:flex;justify-content:center;gap:18px;margin:25px auto;max-width:530px}.pp-lucky-choice{flex:1;min-width:0;aspect-ratio:.67;border:0;border-radius:16px;background:linear-gradient(150deg,#b100ff,#6200ee);color:#fff;box-shadow:0 6px 30px #8619ff55;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;transition:transform .3s,opacity .3s}.pp-lucky-choice>span{font-size:62px}.pp-lucky-choice>b{font-size:14px;letter-spacing:1px}.pp-lucky-choice.is-box{aspect-ratio:.9;background:linear-gradient(140deg,#8619ff,#ff237d)}.pp-lucky-choice:hover{transform:translateY(-8px)}.pp-dialog .pp-lucky-choice.is-revealed{opacity:1;background:#00efb1;color:#000;transform:translateY(-8px);box-shadow:0 0 35px #00efb144}.pp-dialog .pp-lucky-choice.is-not-chosen{opacity:.35}.pp-luck-result{display:block;font-size:18px;color:#fff}.pp-luck-amount{display:block;font-size:48px;line-height:1.2;color:#00ffbf;font-weight:900}.pp-luck-amount small{font-size:22px}.pp-luck-note{display:block;font-size:12px;color:#fff;margin-top:6px}.pp-scratch{position:relative;width:min(100%,500px);aspect-ratio:600/320;margin:15px auto 24px;border-radius:16px;overflow:hidden;background:#141414}.pp-scratch-result{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;color:#00ffbf}.pp-scratch-result strong{font-size:70px}.pp-scratch-result b{font-size:32px}.pp-scratch canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
@media(max-width:1120px){.pp-stat{padding:8px 10px;grid-template-columns:1fr 1fr}.pp-stat-top{font-size:11px}#paxplay-root .pp-stat-value{font-size:25px}.pp-stat-foot{font-size:9px}.pp-stat-state{font-size:9px}}
@media(max-width:640px){.pp-walletbar{gap:7px}.pp-stat{min-height:60px;padding:8px 12px;grid-template-columns:1fr 1.4fr}.pp-stat-top{font-size:12px}#paxplay-root .pp-stat-value{font-size:28px}.pp-stat-foot,.pp-stat-state{font-size:10px}.pp-rank-details{position:absolute;left:auto;right:12px;bottom:8px}.pp-stat-rank .pp-stat-foot>span:last-child{display:none}.pp-rank-list{left:auto;width:260px}.pp-card h3{font-size:15px}.pp-card p{font-size:11px;min-height:55px}.pp-card-meta{font-size:9px}.pp-card .pp-select{font-size:12px!important;padding:10px}.pp-dialog{width:calc(100vw - 20px);max-height:95dvh;border-radius:16px}.pp-dialog-head{padding:14px}.pp-dialog-head b{font-size:16px}.pp-dialog-head small{display:none}.pp-game{padding:0 14px 18px}.pp-game-bar{gap:8px}.pp-game-bar #pp-game-stat{font-size:15px;width:100%}.pp-preview-badge{font-size:11px}.pp-game-bar .pp-secondary{margin-left:auto}.pp-memory-grid{gap:9px}.pp-memory-card{font-size:28px!important}.pp-lucky-choices{gap:10px}.pp-lucky-choice>span{font-size:40px}.pp-lucky-choice>b{font-size:11px}.pp-lucky-choice{border-radius:10px;gap:12px}.pp-wheel-wrap{width:260px}.pp-wheel>span{transform:rotate(var(--angle)) translateY(-89px) rotate(calc(-1 * var(--angle)))}.pp-luck-amount{font-size:40px}}
.pp-reward-rule{font-size:11px;font-weight:700;color:#fff!important;text-align:center;padding:10px 0}.pp-skill-reward{margin-top:12px;display:flex;flex-direction:column;align-items:center;gap:4px}.pp-skill-reward strong{font-size:36px;font-weight:900;color:#00ffbf}.pp-skill-reward strong small{font-size:18px}.pp-skill-reward>span{font-size:12px;color:#fff}
/* Complete reward artwork, never cropped */
.pp-hero{background:#000;isolation:isolate}.pp-hero-img{inset:0 0 0 auto;width:48%;height:100%;object-fit:contain;object-position:center;filter:none;z-index:-1}.pp-hero:after{display:none}.pp-hero-copy{width:58%;max-width:none}.pp-hero h1{font-size:26px}.pp-hero h1 span{display:block;margin-left:0}.pp-hero-caption{display:none}
@media(max-width:640px){.pp-hero-copy{width:64%;padding:12px}.pp-hero h1{font-size:22px}.pp-hero-img{width:42%;object-position:center}.pp-hero-copy>p:not(.pp-eyebrow){font-size:10px}.pp-hero-actions{gap:6px}.pp-hero .pp-primary,.pp-hero .pp-secondary{padding:7px 8px;font-size:10px!important}}
.pp-token-symbol{width:20px;height:20px;object-fit:contain;border-radius:50%;vertical-align:middle;margin-right:4px;display:inline-block}.pp-stat-value small{white-space:nowrap}.pp-stat-value .pp-token-symbol{width:15px;height:15px;margin-right:3px}.pp-stat-rank .pp-stat-foot>span:last-child{display:none}.pp-rank-details{position:absolute;right:12px;bottom:8px;left:auto}.pp-rank-list{left:auto;width:240px}.pp-stat-rank .pp-stat-foot{padding-right:70px}
/* Mint controls; surfaces carry the hierarchy, outlines only on game cards. */
.pp-card{border:1px solid #00dca7;box-shadow:none}.pp-card:hover{border-color:#00ffbf;box-shadow:0 8px 24px #00dcaa22}.pp-card.is-live .pp-select,.pp-hero .pp-primary,.pp-dialog .pp-primary{background:#00efb1;color:#000;border:0}.pp-card.is-live .pp-select:hover,.pp-hero .pp-primary:hover,.pp-dialog .pp-primary:hover{background:#45ffce!important;color:#000!important}.pp-card.is-live .pp-select>span:last-child{font-size:15px;line-height:1}.pp-game-bar .pp-secondary{background:#00efb1;color:#000}.pp-mode,.pp-search,.pp-favorites,.pp-tab,.pp-stat,.pp-dialog,.pp-game-board,.pp-bottom,.pp-dialog-head{border:0}.pp-search{background:#f1f1f5}.pp-primary:disabled{background:#4f756b;color:#fff}
.pp-public-head select{font-family:'Noto Sans KR',system-ui,sans-serif}
@media(max-width:640px){.pp-hero-img{width:80%;right:-15%;left:auto}.pp-public-head>div{gap:8px}.pp-public-head select{max-width:84px}}
/* Mint hover/focus selection, without changing card dimensions. */
.pp-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.pp-card-content{transition:background-color .2s ease}.pp-card:hover,.pp-card:focus-within{transform:translateY(-4px);border-color:#00ffbf;box-shadow:0 0 0 2px #00efb1,0 10px 30px #00dca73d}.pp-card:hover .pp-card-content,.pp-card:focus-within .pp-card-content{background:#002b22}.pp-card:hover h3,.pp-card:focus-within h3{color:#40ffd0!important}.pp-card:hover .pp-select,.pp-card:focus-within .pp-select{background:#00efb1!important;color:#000!important}.pp-card:hover .pp-cover,.pp-card:focus-within .pp-cover{filter:saturate(1.6) contrast(1.1) brightness(1.12)}
@media(hover:none){.pp-card:hover{transform:none}}
/* Pure brand artwork: preserve exact SVG colors, no saturation shifts. */
.pp-cover,.pp-card:hover .pp-cover,.pp-card:focus-within .pp-cover{filter:none}.pp-cover-wrap{background:#000}.pp-cover-wrap:after{content:'';position:absolute;left:12%;bottom:9%;width:76%;height:18%;border-radius:50%;border:1px solid #00efb130;pointer-events:none;opacity:0;transform:scale(.85);transition:opacity .25s,transform .35s}.pp-card:hover .pp-cover-wrap:after,.pp-card:focus-within .pp-cover-wrap:after{opacity:1;transform:scale(1)}
/* Fixed play viewport: reserve the result slot before the first action. */
.pp-dialog.is-playing[open]{height:min(644px,calc(100dvh - 32px));max-height:none;overflow:hidden;display:flex;flex-direction:column}
.pp-dialog.is-playing .pp-dialog-head{flex:0 0 60px;position:relative}
.pp-dialog.is-playing #pp-game-mount{flex:1;min-height:0;overflow:hidden}
.pp-dialog.is-playing .pp-game{height:100%;min-height:0;display:grid;grid-template-rows:44px minmax(0,1fr) auto 108px;row-gap:6px;padding:0 20px 16px}
.pp-dialog.is-playing .pp-game-bar{grid-row:1;margin:0;min-height:0}
.pp-dialog.is-playing .pp-game-board{grid-row:2;min-height:0;overflow:auto;padding:10px 0;overscroll-behavior:contain;scrollbar-width:thin}
.pp-dialog.is-playing .pp-reward-rule{grid-row:3;padding:0;font-size:11px;line-height:1.5}
.pp-dialog.is-playing .pp-game-message,.pp-dialog.is-playing .pp-game-message:empty{grid-row:4;min-height:108px;height:108px;margin:0;padding:4px 0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center}
.pp-dialog.is-playing .pp-wheel-wrap{width:clamp(180px,31dvh,250px);margin:10px auto 20px}
.pp-dialog.is-playing .pp-wheel>span{transform:rotate(var(--angle)) translateY(clamp(-86px,-10.6dvh,-62px)) rotate(calc(-1 * var(--angle)))}
.pp-dialog.is-playing .pp-luck-amount{font-size:38px}.pp-dialog.is-playing .pp-skill-reward{margin-top:4px;gap:0}.pp-dialog.is-playing .pp-skill-reward strong{font-size:32px}
.pp-dialog.is-playing .pp-memory-grid{max-width:390px}.pp-dialog.is-playing .pp-mole-grid{max-width:310px}.pp-dialog.is-playing .pp-maze-grid{max-width:260px}.pp-dialog.is-playing .pp-lucky-choices{max-width:410px;margin:12px auto}.pp-dialog.is-playing .pp-scratch{max-width:440px;margin:10px auto 16px}
@media(max-width:640px){.pp-dialog.is-playing{height:min(644px,calc(100dvh - 20px))}.pp-dialog.is-playing .pp-dialog-head{flex-basis:54px}.pp-dialog.is-playing .pp-game{padding:0 14px 12px;grid-template-rows:74px minmax(0,1fr) auto 108px}.pp-dialog.is-playing .pp-game-bar{align-content:start}.pp-dialog.is-playing .pp-game-message{font-size:14px}.pp-dialog.is-playing .pp-luck-amount{font-size:34px}.pp-dialog.is-playing .pp-game-bar #pp-game-stat{line-height:20px}.pp-dialog.is-playing .pp-reward-rule{font-size:10px}}
/* Studio edition — soft material, readable type, balanced spacing. */
#paxplay-root{overflow:visible;padding-top:0}.paxplay-active .content{padding:0 24px 28px}.paxplay-active .top{z-index:30;background:#fff}.pp-public-head{position:sticky;top:0;z-index:30;background:#fff}.pp-standalone #paxplay-root{padding-left:24px;padding-right:24px}
.pp-walletbar{position:sticky;top:var(--pp-header-height,76px);z-index:20;background:#fff;padding:16px 0;margin:0;gap:12px;align-items:stretch}
.pp-stat,.pp-stat-reward,.pp-stat-rank{background:#edfaf6;border:0;min-height:72px;padding:10px 14px}.pp-stat-top{font-size:13px;font-weight:800}.pp-stat-foot,.pp-stat-state{font-size:11px}.pp-stat-action{font-size:11px!important}.pp-stat-state{color:#17634f}#paxplay-root .pp-stat-value{font-size:30px;line-height:1.2}.pp-rank-details{font-size:11px;bottom:10px}.pp-rank-list{background:#f5fffb;box-shadow:0 8px 26px #203f3329}
.pp-hero{height:164px;background:#241b38;display:flex;align-items:center;justify-content:center}.pp-hero-copy{width:100%;max-width:none;text-align:center;position:relative;z-index:1;padding:20px 25%}.pp-hero h1{font-size:28px;line-height:1.2!important;font-weight:850;letter-spacing:-.8px}.pp-hero h1 span{color:#b2eadb;display:inline;margin-left:7px}.pp-hero-actions{justify-content:center;margin-top:18px}.pp-hero .pp-primary,.pp-hero .pp-secondary{padding:10px 18px;font-size:13px!important}.pp-hero-img{right:0;left:auto;width:25%;height:100%;object-fit:contain;opacity:.85;mix-blend-mode:screen}.pp-hero:before{content:'';position:absolute;width:23%;height:160%;left:-8%;top:-20%;border-radius:50%;background:#bcacde12}
.pp-playline{display:flex;align-items:center;justify-content:center;gap:12px 24px;padding:14px 20px;margin:0 0 22px;color:#41404a;font-size:12px;line-height:1.6;flex-wrap:wrap}.pp-playline b{color:#4f316e}.pp-library-head{padding:0 4px}.pp-library-head h2{font-size:25px}.pp-library-head p{font-size:13px;color:#56535d!important}.pp-controls{padding:0 4px}.pp-tab{font-size:13px!important}.pp-tab[aria-pressed=true]{background:#75509f}.pp-favorites{background:#f1ecf8;color:#59456f}.pp-search{background:#f4f1f8;color:#514b5c}.pp-search input{font-size:13px!important}
.pp-real-art{aspect-ratio:300/175;background-image:url('./assets/paxplay/game-studio-pax-atlas.png');background-size:600% 500%;background-position:var(--art-x) var(--art-y);background-repeat:no-repeat;width:100%;height:auto;filter:none;transition:transform .4s ease;animation:none}.pp-card:hover .pp-cover,.pp-card:focus-within .pp-cover{transform:scale(1.025);filter:none}.pp-cover-wrap:after{display:none}.pp-card{background:#fff;border:1px solid #d7e9e2;box-shadow:0 4px 12px #30234408;border-radius:18px}.pp-card-content{background:#fff;padding:18px 20px}.pp-card:nth-child(3n+2) .pp-card-content{background:#faf8fd}.pp-card:nth-child(3n) .pp-card-content{background:#f6fbf9}.pp-card h3{color:#292232!important;font-size:18px;font-weight:800}.pp-card p{color:#514b58!important;font-size:13px;line-height:1.6;min-height:42px}.pp-card-meta,.pp-card-meta span:last-child{color:#6c5382;font-size:10px;font-weight:700}.pp-card:hover,.pp-card:focus-within{border-color:#6fceba;box-shadow:0 0 0 1px #84d8c6,0 10px 24px #315c4f12;transform:translateY(-3px)}.pp-card:hover .pp-card-content,.pp-card:focus-within .pp-card-content{background:#edf8f3}.pp-card:hover h3,.pp-card:focus-within h3{color:#155e4b!important}.pp-card.is-live .pp-select,.pp-primary,.pp-hero .pp-primary,.pp-dialog .pp-primary,.pp-game-bar .pp-secondary{background:#91dfca;color:#123d32;border-radius:999px!important}.pp-card .pp-select{font-size:13px!important;padding:10px 15px;background:#ece6f4;color:#554565;border-radius:999px}.pp-card.is-live .pp-select:hover,.pp-card:hover .pp-select,.pp-card:focus-within .pp-select,.pp-hero .pp-primary:hover,.pp-dialog .pp-primary:hover{background:#78d8be!important;color:#143e32!important}.pp-status,.pp-status.is-live{border-radius:999px;background:#dff6ee;color:#145743;box-shadow:0 2px 6px #0001;font-size:10px;padding:5px 10px;backdrop-filter:none}.pp-status:not(.is-live){background:#f1ebf7;color:#665476}.pp-save{background:#ffffffed;border:0;color:#6a4c85}.pp-save[aria-pressed=true]{background:#eaddf7;color:#7445a4}
.pp-dialog{background:#f7f4fb;color:#2d2338;--pp-text:#2d2338;--pp-muted:#5c5267;color-scheme:light}.pp-dialog-head{background:#f7f4fb}.pp-dialog-head>span,.pp-dialog-head small,.pp-dialog-head b{color:#30243c}.pp-dialog-head b{font-size:19px}.pp-dialog-head small{font-size:13px}.pp-close{background:#eae2f1;color:#513662}.pp-game-bar #pp-game-stat{color:#31243e!important;font-size:17px!important}.pp-preview-badge{background:#e0f5ee;color:#225a49;border-radius:999px;font-size:12px}.pp-game-board{background:#eee8f5;border-radius:16px}.pp-game-message,.pp-luck-result,.pp-luck-note,.pp-reward-rule{color:#463550!important}.pp-luck-amount,.pp-skill-reward strong{color:#087458!important}.pp-skill-reward>span{color:#564a60}.pp-memory-card{background:linear-gradient(145deg,#9974c3,#70469d);box-shadow:0 3px 7px #46295d20;border:1px solid #ffffff50}.pp-memory-card.is-open,.pp-memory-card.is-match{background:#abe3d3;color:#245f4e}.pp-big-tap{background:#8963b0;color:#fff}.pp-big-tap.is-go{background:#9adfc9;color:#143e32}.pp-clock{color:#704794}.pp-mole-hole{background:#ddd4e8;color:#654778}.pp-mole-hole.is-up{background:#9670be;box-shadow:0 3px 12px #62458233}.pp-maze-cell{background:#f3eff8}.pp-maze-cell.wall{background:#8c6eab}.pp-maze-cell.player{background:#9adeca}.pp-maze-cell.goal{background:#e0cef1;color:#463057}.pp-arrows button{background:#aedfcc;color:#1f5543}.pp-lucky-choice{background:linear-gradient(145deg,#b497d1,#79539f);box-shadow:0 5px 12px #56396924}.pp-lucky-choice.is-box{background:linear-gradient(145deg,#b3e3d5,#82b9a7);color:#214537}.pp-dialog .pp-lucky-choice.is-revealed{background:#caeadf;color:#1c5644;box-shadow:0 0 0 2px #8bcdb5}.pp-scratch{background:#e6dfef}.pp-scratch-result{color:#4d3167}.pp-sequence-key{filter:brightness(.9)}.pp-sequence-key.is-flash{filter:brightness(1.1);outline:3px solid #554366}.pp-detail-note{background:#ece6f2;color:#4b3a5c}.pp-detail p,.pp-detail h2{color:#362a43}
@media(max-width:1120px){.pp-hero-copy{padding:16px 20%}.pp-hero h1{font-size:25px}.pp-hero h1 span{display:block;margin:3px 0 0}.pp-card-content{padding:16px}.pp-stat-top{font-size:12px}.pp-stat-foot{font-size:10px}}
@media(max-width:640px){.paxplay-active .content{padding:0 16px 24px}.pp-standalone #paxplay-root{padding-left:16px;padding-right:16px}.pp-walletbar{padding:12px 0;gap:6px}.pp-stat{padding:8px 12px;min-height:62px}.pp-stat-top{font-size:12px}.pp-stat-foot,.pp-stat-state{font-size:10px}#paxplay-root .pp-stat-value{font-size:27px}.pp-hero{height:178px}.pp-hero-copy{padding:18px 24px;width:100%}.pp-hero h1{font-size:25px}.pp-hero h1 span{display:block;margin:4px 0 0}.pp-hero-img{width:100%;opacity:.12;right:0;left:0;mix-blend-mode:screen}.pp-hero-actions{gap:8px;margin-top:17px}.pp-hero .pp-primary,.pp-hero .pp-secondary{font-size:12px!important;padding:9px 14px}.pp-playline{font-size:11px;gap:5px 12px;padding:12px 4px;margin-bottom:18px;justify-content:flex-start}.pp-library-head h2{font-size:22px}.pp-card-content{padding:14px 12px}.pp-card h3{font-size:16px}.pp-card p{font-size:12px;min-height:57px}.pp-card .pp-select{font-size:12px!important;padding:9px 12px}.pp-card-meta,.pp-card-meta span:last-child{font-size:9px}.pp-status,.pp-status.is-live{font-size:9px;padding:4px 8px}.pp-save{width:25px;height:25px}.pp-dialog-head b{font-size:17px}.pp-game-bar #pp-game-stat{font-size:16px!important}}
/* Twelve alternating reward/miss slots, restrained brand palette. */
.pp-wheel{background:repeating-conic-gradient(#b5dfd1 0deg 30deg,#e9e0f2 30deg 60deg);box-shadow:0 0 0 8px #795a92,0 5px 20px #48265920}.pp-wheel>span,.pp-wheel>span:nth-child(1),.pp-wheel>span:nth-child(4){color:#392a48;text-shadow:none;font-size:15px;display:flex;align-items:center;justify-content:center}.pp-wheel small{font-size:13px;font-weight:850}.pp-wheel>b{background:#6f508a;color:#fff;box-shadow:0 0 0 4px #f5f0f8}.pp-wheel-pointer{color:#5c3e73;text-shadow:0 2px 3px #0002}.pp-lucky-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pp-dialog.is-playing .pp-lucky-choices{max-width:380px}.pp-lucky-choice{aspect-ratio:1.35;gap:6px;box-shadow:0 4px 10px #68448120}.pp-lucky-choice.is-box{aspect-ratio:1.35}.pp-lucky-choice>span{font-size:35px}.pp-lucky-choice>b{font-size:11px}.pp-lucky-choice.is-not-chosen{opacity:.45!important}.pp-dialog.is-playing .pp-wheel>span{transform:rotate(var(--angle)) translateY(clamp(-86px,-10.6dvh,-62px)) rotate(calc(-1 * var(--angle)))}
@media(max-width:640px){.pp-wheel small{font-size:12px}.pp-lucky-choices{gap:9px}.pp-lucky-choice>span{font-size:29px}.pp-lucky-choice>b{font-size:10px}}
.pp-access-message{padding:40px 24px;text-align:center;color:#463550;line-height:1.7}.pp-access-message p{margin:12px 0 24px}.pp-free-clock,#pp-free-clock{font-style:normal;color:#387663;font-weight:750;font-variant-numeric:tabular-nums}.pp-access-message .pp-secondary{border-radius:999px;background:#c9eadd;color:#275844}
.pp-playline-mobile{display:none}@media(max-width:640px){.pp-playline>span{display:none}.pp-playline>.pp-playline-mobile{display:block;font-size:11px;white-space:nowrap;color:#51445e}.pp-playline{justify-content:center;padding:12px 0}}
/* Fresh edition: clean mint/purple, shared spacing, a single hero action. */
#paxplay-root,.pp-dialog{--pp-mint:#3ceac6;--pp-purple:#8619ff;--pp-text:#191323;--pp-muted:#493757}
.pp-header-lounge{font-size:19px!important;font-weight:850!important;letter-spacing:1.3px;color:#7510e8!important}
.pp-walletbar{gap:16px;padding:16px 0}.pp-stat,.pp-stat-reward,.pp-stat-rank{background:#e5fff7;padding:12px 16px}.pp-stat-top,.pp-stat-foot{color:#123c32}.pp-stat-value{color:#14101c!important}
.pp-hero{min-height:0;height:190px;background:#23103e;justify-content:flex-start;border:0}.pp-hero-copy{width:66%;padding:24px;text-align:center}.pp-hero h1{font-size:clamp(27px,2.5vw,40px);line-height:1.25!important;color:#fff!important;letter-spacing:-.6px;text-wrap:balance}.pp-hero-actions{margin-top:20px;justify-content:center}.pp-hero .pp-primary{padding:12px 26px;font-size:15px!important}.pp-hero-img{inset:0 0 0 auto;width:34%;height:100%;max-width:none;opacity:1;object-fit:contain;transform:scaleX(-1);filter:saturate(1.28) contrast(1.08);mix-blend-mode:screen}.pp-hero:after{display:none}.pp-hero:before{background:#8619ff22}.pp-hero-caption{display:none}
.pp-playline{color:#251530;margin:0 0 16px;padding:16px 0;gap:8px 20px}.pp-playline b{color:#7810e9}.pp-library-head,.pp-controls{padding:0}.pp-library-head h2{color:#191020!important}.pp-grid{gap:16px}.pp-card{border-color:#66e6c7;box-shadow:0 4px 14px #3917630a}.pp-real-art{filter:saturate(1.38) contrast(1.09) brightness(1.04)}.pp-card:hover .pp-cover,.pp-card:focus-within .pp-cover{filter:saturate(1.44) contrast(1.1) brightness(1.04)}.pp-card-content{padding:20px;background:#fff}.pp-card:nth-child(3n+2) .pp-card-content{background:#f5ecff}.pp-card:nth-child(3n) .pp-card-content{background:#eafff7}.pp-card h3{color:#1d0c2e!important}.pp-card p{color:#392449!important}.pp-card-meta,.pp-card-meta span:last-child{color:#7311c9}.pp-card:hover,.pp-card:focus-within{border-color:#00cfa4;box-shadow:0 0 0 2px #37e6bd,0 8px 18px #00b58816}.pp-card:hover .pp-card-content,.pp-card:focus-within .pp-card-content{background:#d6fff1}.pp-card.is-live .pp-select,.pp-primary,.pp-hero .pp-primary,.pp-dialog .pp-primary,.pp-game-bar .pp-secondary{background:#3ceac6;color:#07392b}.pp-card:hover .pp-select,.pp-hero .pp-primary:hover,.pp-dialog .pp-primary:hover{background:#10dcb1!important;color:#07392b!important}.pp-status.is-live{background:#3ceac6;color:#063629}.pp-tab[aria-pressed=true]{background:#8619ff;color:#fff}.pp-save{color:#8214ed}.pp-favorites,.pp-search{background:#f1e6ff;color:#5c00b5}
.pp-dialog{background:#fff;color:#22112f}.pp-dialog-head{background:#fff;padding:20px!important;border:0}.pp-dialog-head b{color:#411078}.pp-close{background:#f0e1ff;color:#7310d9}.pp-dialog.is-playing .pp-game{padding:0 20px 20px;row-gap:16px;grid-template-rows:auto minmax(0,1fr) auto 80px}.pp-dialog.is-playing .pp-game-bar{min-height:40px}.pp-dialog.is-playing .pp-game-board{padding:20px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;background:#f1e6ff;width:100%}.pp-dialog.is-playing .pp-game-message,.pp-dialog.is-playing .pp-game-message:empty{height:80px;min-height:80px;padding:0;background:#e7fff7;border-radius:12px;line-height:1.35}.pp-dialog.is-playing .pp-game-message:empty{background:transparent}.pp-game-message strong,.pp-luck-amount,.pp-skill-reward strong{color:#087951!important}.pp-game-bar #pp-game-stat{color:#321147!important}.pp-preview-badge{background:#d8fff0;color:#075e44}.pp-dialog.is-playing .pp-wheel-wrap{width:clamp(180px,29dvh,246px);margin:8px auto}.pp-wheel{background:repeating-conic-gradient(#3ceac6 0deg 30deg,#e1c5ff 30deg 60deg);box-shadow:0 0 0 8px #8619ff,0 8px 18px #8619ff20}.pp-wheel>b{background:#8619ff}.pp-wheel-pointer{color:#6e05ce}.pp-wheel small{color:#251039}.pp-memory-card{background:linear-gradient(145deg,#a13cff,#7810df);box-shadow:none}.pp-memory-card.is-open,.pp-memory-card.is-match{background:#45edc9;color:#063b2d}.pp-lucky-choice{background:linear-gradient(145deg,#a544ff,#7610dd);box-shadow:0 5px 12px #7100cf22}.pp-lucky-choice.is-box{background:linear-gradient(145deg,#5dffd9,#0ed4a6);color:#043d2e}.pp-dialog .pp-lucky-choice.is-revealed{background:#4cf0c9;color:#123b2c}.pp-big-tap{background:#8619ff}.pp-big-tap.is-go{background:#3ceac6;color:#083e2d}.pp-maze-cell.wall{background:#8b28ea}.pp-maze-cell.player{background:#16dcb0}.pp-mole-hole{background:#dfc9f8}.pp-mole-hole.is-up{background:#8619ff}.pp-clock{color:#8213ed}.pp-sequence-key{filter:none}.pp-sequence-key.is-flash{filter:brightness(1.35);outline:4px solid #342142}.pp-dialog.is-playing .pp-reward-rule{font-size:11px;text-align:center;line-height:1.4}.pp-luck-note{font-size:12px;font-weight:750;padding:0 12px}.pp-luck-result{font-size:15px}.pp-dialog.is-playing .pp-luck-amount{font-size:30px;line-height:1.15}
@media(max-width:800px){.pp-hero-copy{width:65%;padding:18px}.pp-hero-img{width:35%}.pp-hero h1{font-size:27px}.pp-stat-foot{overflow-wrap:anywhere}}
@media(max-width:640px){.pp-header-lounge{font-size:14px!important;letter-spacing:.8px}.pp-walletbar{gap:8px;padding:12px 0}.pp-stat{padding:10px 12px}.pp-hero{height:190px}.pp-hero-copy{width:64%;padding:16px 12px}.pp-hero h1{font-size:22px;letter-spacing:-.4px}.pp-hero-img{width:36%;inset:0 0 0 auto;opacity:1}.pp-hero-actions{margin-top:16px}.pp-hero .pp-primary{font-size:13px!important;padding:10px 18px}.pp-playline>.pp-playline-mobile{white-space:normal;text-align:center;font-size:11px}.pp-grid{gap:12px}.pp-card-content{padding:16px 12px}.pp-dialog-head{padding:16px!important}.pp-dialog.is-playing .pp-game{padding:0 16px 16px;gap:12px;grid-template-rows:auto minmax(0,1fr) auto 80px}.pp-dialog.is-playing .pp-game-bar{min-height:64px}.pp-dialog.is-playing .pp-game-board{padding:16px;gap:12px}.pp-dialog-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pp-luck-note{font-size:11px}.pp-dialog.is-playing .pp-wheel-wrap{width:clamp(160px,27dvh,230px)}.pp-dialog.is-playing .pp-wheel>span{transform:rotate(var(--angle)) translateY(clamp(-79px,-9dvh,-53px)) rotate(calc(-1 * var(--angle)))}.pp-wheel small{font-size:11px}.pp-dialog.is-playing .pp-reward-rule{font-size:10px}}
.pp-dialog.is-checkout[open]{width:min(440px,calc(100vw - 32px));height:auto!important;max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 24px 90px #19073044}.pp-dialog.is-checkout .pp-detail{display:none!important}.pp-dialog.is-checkout .pp-dialog-head{padding:16px 20px!important;background:#fff}.pp-checkout{text-align:center;padding:4px 32px 28px;color:#211030}.pp-checkout-token{width:72px;height:72px;margin:0 auto 16px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(135deg,#dbfff3,#f0dfff)}.pp-checkout-token img{width:48px;height:48px;object-fit:contain}.pp-checkout-eyebrow{font-size:12px;letter-spacing:2px;color:#8619ff;font-weight:850}.pp-checkout h2{font-size:24px;margin:8px 0!important;color:#251237!important}.pp-checkout-price{font-size:64px;font-weight:900;line-height:1.15;letter-spacing:-2px;color:#8110eb}.pp-checkout-price span{font-size:25px;letter-spacing:0}.pp-checkout-game{font-size:14px;color:#654878!important;margin:10px 0 24px!important}.pp-checkout .pp-primary{width:100%;padding:15px 20px;display:flex;justify-content:center;gap:12px;font-size:16px!important;font-weight:850;background:#34ecc3}.pp-checkout-fee{margin-top:10px!important;font-size:11px;color:#6d5978!important}.pp-checkout-status{margin:20px 0 12px!important;border-radius:12px;background:#f6efff;padding:14px;font-size:13px;line-height:1.6;color:#503263!important}.pp-checkout-close{border:0;background:none;color:#715980;font-size:13px!important;padding:10px 20px}.pp-checkout .pp-primary:disabled{opacity:.55}
.pp-dialog.is-checkout[open]{height:fit-content!important;min-height:0!important;display:block!important;margin:auto!important}.pp-dialog.is-checkout #pp-game-mount{height:auto!important;min-height:0!important;display:block!important}.pp-dialog.is-checkout .pp-checkout{height:auto;min-height:0}
/* Inset artwork: equal edge spacing and clip atlas seam pixels. */
.pp-card .pp-cover-wrap{padding:16px;background:#fff;overflow:hidden}.pp-card:nth-child(3n+2) .pp-cover-wrap{background:#f5ecff}.pp-card:nth-child(3n) .pp-cover-wrap{background:#eafff7}.pp-art-frame{overflow:hidden;border-radius:12px;isolation:isolate;aspect-ratio:300/175}.pp-art-frame .pp-real-art{transform:scale(1.04);transform-origin:center}.pp-card:hover .pp-art-frame .pp-real-art,.pp-card:focus-within .pp-art-frame .pp-real-art{transform:scale(1.055)}.pp-card .pp-card-content{padding-top:4px}.pp-card .pp-status{top:22px;left:22px}.pp-card .pp-save{top:22px;right:22px}.pp-card:hover .pp-cover-wrap,.pp-card:focus-within .pp-cover-wrap{background:#d6fff1}.pp-cover-wrap,.pp-card-content{transition:background-color .2s ease}.pp-detail .pp-art-frame{align-self:center}
@media(max-width:640px){.pp-card .pp-cover-wrap{padding:12px}.pp-art-frame{border-radius:9px}.pp-card .pp-status{top:17px;left:17px}.pp-card .pp-save{top:17px;right:17px}.pp-card .pp-card-content{padding-top:4px}}

/* PAX branding belongs to game objects; preserve board geometry. */
.pp-wheel b{font-size:0!important;background:#121020 url('./assets/paxplay/pax-token-symbol.png') center/72% no-repeat!important}
.pp-memory-card:not(.is-open):not(.is-match){font-size:0!important;background:#351068 url('./assets/paxplay/pax-token-symbol.png') center 35%/42% auto no-repeat!important}
.pp-memory-card:not(.is-open):not(.is-match):after{content:'PAX';display:block;font:800 11px/1 sans-serif;letter-spacing:2px;color:#fff;position:absolute;bottom:12%;left:0;right:0}
.pp-memory-card{position:relative}
.pp-lucky-choice:not(.is-revealed)>span{font-size:0!important;width:60px;height:60px;display:block;margin:auto;background:url('./assets/paxplay/pax-token-symbol.png') center/contain no-repeat;filter:drop-shadow(0 4px 6px #0003)}
.pp-lucky-choice.is-box:not(.is-revealed)>span{width:90px;height:68px;background-image:url('./assets/paxplay/game-studio-pax-atlas.png');background-size:600% 500%;background-position:40% 0;border-radius:8px}
.pp-sequence-key:after{content:'PAX';display:block;padding-top:48px;background:url('./assets/paxplay/pax-token-symbol.png') center top/40px no-repeat;font:bold 12px/1 sans-serif;letter-spacing:2px;color:#181125;pointer-events:none}
.pp-maze-cell.goal{font-size:0!important;background:#caffef url('./assets/paxplay/pax-token-symbol.png') center/80% no-repeat}
.pp-clock:before{content:'PAX';display:block;font:800 14px/1.4 sans-serif;letter-spacing:3px;color:#3ceac6}

.pp-scratch-result strong{display:block;width:70px;height:70px;font-size:0!important;background:url('./assets/paxplay/pax-token-symbol.png') center/contain no-repeat;margin:0 auto 10px}

/* Access check: centered loading indicator within the fixed game area. */
.pp-access-loading{min-height:420px;display:flex;align-items:center;justify-content:center}.pp-access-spinner{display:block;width:40px;height:40px;border:4px solid #d9f7ef;border-top-color:#8618f5;border-right-color:#40dfc1;border-radius:50%;animation:pp-access-spin .85s linear infinite}@keyframes pp-access-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.pp-access-spinner{animation:none}}

/* Clear typography and unframed PAX symbol. */
.pp-checkout-token{background:transparent;border-radius:0}.pp-checkout-token img{width:64px;height:64px;border-radius:50%}.pp-checkout-game{font-size:16px;font-weight:700;color:#241132!important}.pp-checkout-fee{font-size:13px;font-weight:600;color:#35253f!important}.pp-checkout-status{font-size:15px;font-weight:650;color:#241132!important;overflow-wrap:anywhere}.pp-checkout-close{font-size:15px!important;font-weight:700;color:#35253f}.pp-checkout .pp-primary{color:#081e19!important}.pp-checkout .pp-primary:disabled{opacity:1;background:#d8e5e0;color:#3d5048!important;cursor:not-allowed}.pp-checkout-eyebrow{font-size:13px}.pp-access-error h2{margin-bottom:20px!important}

/* Each balance card has equal left and right halves. */
.pp-stat.pp-stat-asset{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;align-items:center}.pp-asset-left{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding-right:6px}.pp-asset-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:3px;color:#111}.pp-asset-copy strong{font-size:12px;line-height:1.4;font-weight:800;overflow-wrap:anywhere}.pp-asset-copy small{font-size:10px;line-height:1.4;color:#29483d;font-weight:650}.pp-asset-copy .pp-stat-action{font-size:10px!important;margin:0;padding:0;font-weight:700;line-height:1.4}.pp-stat-asset .pp-asset-label{display:flex;align-items:center;flex-shrink:0;font-size:13px;font-weight:850;gap:4px;color:#111;letter-spacing:0}.pp-stat-asset .pp-asset-label .pp-token-symbol{width:22px;height:22px;margin:0}#paxplay-root .pp-stat-asset .pp-asset-right{grid-column:2;justify-content:flex-end;align-items:baseline;padding-left:8px;gap:5px;font-size:clamp(20px,2vw,30px);text-align:right;font-variant-numeric:tabular-nums;min-width:0;overflow-wrap:anywhere}#paxplay-root .pp-stat-asset .pp-asset-right small{font-size:12px;color:#111;font-weight:800;letter-spacing:0}@media(max-width:640px){#paxplay-root .pp-stat-asset .pp-asset-right{font-size:26px}.pp-asset-copy strong{font-size:11px}.pp-asset-left{gap:5px}.pp-stat-asset .pp-asset-label{font-size:12px}.pp-stat-asset .pp-asset-label .pp-token-symbol{width:20px;height:20px}}

/* Loading has no card, header, text, or backdrop: only the centered spinner. */
.pp-dialog.is-loading[open]{width:112px!important;height:112px!important;min-height:0!important;max-height:none!important;padding:0!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important}.pp-dialog.is-loading::backdrop{background:transparent!important;backdrop-filter:none!important}.pp-dialog.is-loading .pp-dialog-head,.pp-dialog.is-loading .pp-detail{display:none!important}.pp-dialog.is-loading #pp-game-mount{padding:0!important;height:112px}.pp-dialog.is-loading .pp-access-loading{height:112px;min-height:0}.pp-dialog.is-loading .pp-access-spinner{width:80px;height:80px;border-width:6px}.pp-checkout-status{background:#fcfbff!important}

/* Portrait 2:3 play surface. Game objects scale to the available board. */
.pp-dialog.is-playing:not(.is-loading)[open]{width:min(640px,calc(100vw - 12px),calc((100dvh - 12px)*.6666667));height:auto;aspect-ratio:2/3;max-height:none;min-height:0;box-sizing:border-box;border-radius:20px;display:flex;flex-direction:column;overflow:hidden}
.pp-dialog.is-playing:not(.is-loading) .pp-dialog-head{flex:0 0 44px;min-height:44px;padding:6px 12px!important;gap:8px}.pp-dialog.is-playing .pp-dialog-head>span{min-width:0;overflow:hidden}.pp-dialog.is-playing .pp-dialog-head b{font-size:17px;white-space:nowrap}.pp-dialog.is-playing .pp-dialog-head small{display:none}.pp-dialog.is-playing .pp-close{flex-shrink:0}
.pp-dialog.is-playing:not(.is-loading) .pp-game{padding:0 10px 10px;gap:6px;grid-template-rows:44px minmax(0,1fr) auto 64px}.pp-dialog.is-playing .pp-game-bar{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:18px 22px;gap:2px 4px;align-items:center;align-content:center}.pp-dialog.is-playing .pp-game-bar #pp-game-stat{grid-column:1/-1;font-size:13px!important;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pp-dialog.is-playing .pp-preview-badge{font-size:10px;padding:2px 7px;line-height:16px;justify-self:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.pp-dialog.is-playing #pp-restart{font-size:10px!important;padding:2px 8px;line-height:18px;min-height:22px;margin:0}
.pp-dialog.is-playing:not(.is-loading) .pp-game-board{container-type:size;min-height:0;min-width:0;overflow:hidden;padding:8px;gap:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;border-radius:14px}.pp-dialog.is-playing .pp-game-board>button{flex-shrink:0;min-height:40px;padding:8px 18px;font-size:14px!important;max-width:100%}.pp-dialog.is-playing .pp-game-board[data-game="wheel"]>button{width:100%}
.pp-dialog.is-playing .pp-wheel-wrap{width:min(calc(100cqw - 20px),calc(100cqh - 70px));max-width:none;aspect-ratio:1;flex:0 0 auto;margin:10px auto 6px;container-type:inline-size}.pp-dialog.is-playing .pp-wheel{box-shadow:0 0 0 6px #8619ff,0 5px 12px #8619ff22}.pp-dialog.is-playing .pp-wheel-pointer{top:-19px;font-size:32px;line-height:1}.pp-dialog.is-playing .pp-wheel>span{inset:0;width:100%;height:100%;display:block;transform:rotate(var(--angle))!important;pointer-events:none}.pp-dialog.is-playing .pp-wheel>span small{position:absolute;top:12%;left:50%;transform:translate(-50%,-50%) rotate(calc(-1 * var(--angle)));font-size:clamp(10px,4cqw,20px);font-weight:900;white-space:nowrap}.pp-dialog.is-playing .pp-wheel>b{inset:38%;box-shadow:0 0 0 3px #fff}
.pp-dialog.is-playing .pp-memory-grid{width:min(100cqw,calc(100cqh * 1.333333));height:auto;max-width:none;aspect-ratio:4/3;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;margin:0}.pp-dialog.is-playing .pp-memory-card{min-height:0;height:100%;width:100%;aspect-ratio:auto;padding:0;font-size:28px!important}
.pp-dialog.is-playing .pp-mole-grid,.pp-dialog.is-playing .pp-sequence-grid{width:min(100cqw,100cqh);height:auto;max-width:none;aspect-ratio:1;gap:10px;margin:0}.pp-dialog.is-playing .pp-mole-grid{grid-template-rows:repeat(3,minmax(0,1fr))}.pp-dialog.is-playing .pp-sequence-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.pp-dialog.is-playing .pp-mole-hole,.pp-dialog.is-playing .pp-sequence-key{width:100%;height:100%;min-height:0;aspect-ratio:auto;padding:0}
.pp-dialog.is-playing .pp-maze-grid{width:min(100cqw,calc(100cqh - 54px));max-width:none;aspect-ratio:1;margin:0}.pp-dialog.is-playing .pp-arrows{margin:0;gap:10px;flex-shrink:0}.pp-dialog.is-playing .pp-arrows button{width:48px;height:44px}
.pp-dialog.is-playing .pp-lucky-choices{width:100cqw;height:min(100cqh,100cqw);max-width:none;margin:0;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.pp-dialog.is-playing .pp-lucky-choice,.pp-dialog.is-playing .pp-lucky-choice.is-box{aspect-ratio:auto;min-height:0;height:100%;padding:8px 4px;gap:8px}.pp-dialog.is-playing .pp-lucky-choice>span{max-width:90%;max-height:60%;flex-shrink:1}.pp-dialog.is-playing .pp-lucky-choice>b{font-size:13px}
.pp-dialog.is-playing .pp-scratch{width:min(100cqw,calc((100cqh - 50px)*1.875));max-width:none;aspect-ratio:600/320;flex-shrink:0;margin:0}.pp-dialog.is-playing .pp-big-tap{height:100cqh;min-height:0;width:100%;font-size:clamp(22px,7cqw,40px)!important;padding:16px}.pp-dialog.is-playing .pp-clock{width:100%;font-size:clamp(40px,18cqw,100px);line-height:1.1;margin:12px 0;text-align:center}
.pp-dialog.is-playing:not(.is-loading) .pp-game-message,.pp-dialog.is-playing:not(.is-loading) .pp-game-message:empty{height:64px;min-height:64px;padding:3px 6px;line-height:1.2;gap:1px}.pp-dialog.is-playing .pp-luck-result{font-size:12px}.pp-dialog.is-playing .pp-luck-amount{font-size:26px;line-height:1.1;display:flex;align-items:center;justify-content:center;gap:4px}.pp-dialog.is-playing .pp-luck-note{font-size:11px;padding:0 2px;line-height:1.3}.pp-dialog.is-playing .pp-reward-rule{font-size:9px;line-height:1.2}.pp-max-reward{color:#7212ce!important;background:#f8f3ff;font-weight:850;font-size:15px;line-height:1.5;padding:10px 12px;margin:-10px 0 16px!important;border-radius:12px}
@media(max-height:650px){.pp-dialog.is-playing:not(.is-loading) .pp-game{grid-template-rows:40px minmax(0,1fr) auto 58px;gap:4px;padding:0 8px 8px}.pp-dialog.is-playing:not(.is-loading) .pp-game-message,.pp-dialog.is-playing:not(.is-loading) .pp-game-message:empty{height:58px;min-height:58px}.pp-dialog.is-playing:not(.is-loading) .pp-dialog-head{flex-basis:38px;min-height:38px}.pp-dialog.is-playing .pp-game-bar #pp-game-stat{font-size:12px!important}.pp-dialog.is-playing .pp-wheel-wrap{width:min(calc(100cqw - 16px),calc(100cqh - 64px))}}
.pp-dialog.is-playing .pp-wheel{overflow:hidden}
.pp-dialog.is-playing:not(.is-loading)[open]{max-width:none}.pp-dialog.is-playing:not(.is-loading) .pp-dialog-head{flex-basis:40px;min-height:40px}.pp-dialog.is-playing:not(.is-loading) .pp-game{grid-template-rows:40px minmax(0,1fr) auto 58px;gap:4px;padding:0 8px 8px}.pp-dialog.is-playing:not(.is-loading) .pp-game-message,.pp-dialog.is-playing:not(.is-loading) .pp-game-message:empty{height:58px;min-height:58px}.pp-dialog.is-playing:not(.is-loading) .pp-game-board{padding:6px;gap:8px}

/* Clear artwork boundaries, readable copy and deliberate hover states. */
.pp-real-art{background-size:var(--art-size,600% 500%)}
.pp-hero h1{letter-spacing:0!important;word-spacing:.12em;word-break:keep-all;overflow-wrap:normal}
.pp-max-reward{background:#fdfaff!important}
.pp-stat-asset:first-child{position:relative;padding-bottom:25px}
.pp-stat-asset:first-child>.pp-stat-action{position:absolute;right:16px;bottom:7px;margin:0;padding:0;font-size:10px!important;line-height:1.4;font-weight:750}
.pp-description-row{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.pp-card .pp-description-row p{flex:1;margin:0;min-width:0}
.pp-card .pp-preview{flex:0 0 30px;width:30px;height:30px;border:0;border-radius:50%;background:#f3eaff;color:#7810df;font-size:21px;display:grid;place-items:center;cursor:pointer}
.pp-card .pp-preview:hover,.pp-card .pp-preview:focus-visible{background:#8619ff;color:#fff}
.pp-card .pp-select:hover,.pp-card .pp-select:focus-visible,.pp-hero .pp-primary:hover,.pp-hero .pp-primary:focus-visible,.pp-dialog .pp-primary:not(:disabled):hover,.pp-dialog .pp-primary:not(:disabled):focus-visible{background:#8619ff!important;color:#fff!important}
.pp-card .pp-select:hover span,.pp-card .pp-select:focus-visible span,.pp-hero .pp-primary:hover span,.pp-dialog .pp-primary:not(:disabled):hover span{color:inherit!important}
.pp-select,.pp-primary{transition:background-color .18s ease,color .18s ease}
.pp-card.is-live .pp-select:hover,.pp-card.is-live .pp-select:focus-visible{background:#8619ff!important;color:#fff!important}
/* Thirty playable games: one fixed portrait stage, large touch controls. */
.pp-dialog.is-playing .pp-extra-board{gap:8px;justify-content:center;background:#f8f5ff}
.pp-extra-stage{width:min(100cqw,calc(100cqh - 100px));aspect-ratio:1;flex:0 0 auto;max-width:100%;position:relative;border-radius:16px;overflow:hidden;background:#ece2fa;touch-action:none}
.pp-extra-stage canvas{display:block;width:100%;height:100%}
.pp-extra-grid{display:grid;grid-template-columns:repeat(var(--grid),minmax(0,1fr));grid-template-rows:repeat(var(--grid),minmax(0,1fr));gap:5px;padding:6px;box-sizing:border-box}
.pp-extra-grid .pp-extra-button,.pp-extra-cell{border:0;min-width:0;min-height:0;padding:0;display:grid;place-items:center;border-radius:8px;background:#8619ff;color:#fff;font-size:clamp(16px,7cqw,32px)!important;font-weight:850;box-shadow:0 2px 4px #2f0c5822;position:relative;cursor:pointer}
.pp-extra-grid .pp-extra-button:disabled{opacity:1;cursor:default}.pp-grid-sliding .pp-extra-button:disabled{background:transparent;box-shadow:none}
.pp-number-tile{background:var(--cell-color);color:#1c0e2c;font-size:clamp(14px,6cqw,30px)!important}
.pp-extra-controls{width:100%;min-height:68px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;color:#351249;font-size:12px;font-weight:750}
.pp-extra-controls .pp-extra-button{border:0;border-radius:999px;background:#35e9c2;color:#092c24;padding:10px 18px;font-size:14px!important;font-weight:850;min-height:40px;cursor:pointer;touch-action:none}
.pp-extra-controls .pp-extra-button:hover,.pp-extra-controls .pp-extra-button[aria-pressed=true]{background:#8619ff;color:#fff}.pp-extra-button[aria-pressed=true]{outline:3px solid #30e8bd;outline-offset:-3px}.pp-extra-controls .pp-extra-button:disabled{opacity:.45}
.pp-extra-directions{display:flex;justify-content:center;gap:7px}.pp-extra-directions .pp-extra-button{padding:8px 14px;font-size:21px!important}.pp-extra-sliders{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:1 0 100%}.pp-extra-sliders label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px;font-size:10px}.pp-extra-sliders input{min-width:0;width:100%;accent-color:#8619ff}.pp-extra-sliders output{font-variant-numeric:tabular-nums;min-width:22px}
.pp-grid-mines{gap:3px}.pp-grid-mines .pp-extra-button{font-size:clamp(12px,4cqw,22px)!important;border-radius:5px}
.pp-target-field{background:radial-gradient(ellipse at top,#e1cdff,#faf7ff)}.pp-target-field .pp-extra-button{position:absolute;transform:translate(-50%,-50%);width:16%;aspect-ratio:1;border-radius:50%;border:2px solid #ffffff;background:radial-gradient(circle at 30% 25%,#b9ffeb,#31e3b9 60%,#0aaf86);box-shadow:0 5px 14px #159e7933;color:#112c24;font-size:clamp(10px,3cqw,16px);font-weight:900;cursor:pointer;touch-action:manipulation}
@media(max-height:650px){.pp-extra-stage{width:min(100cqw,calc(100cqh - 90px))}.pp-extra-controls{min-height:60px;gap:4px}.pp-extra-controls .pp-extra-button{min-height:36px;padding:7px 12px}.pp-extra-sliders label{font-size:9px}}
/* A common center line for all three dashboard cards; utility links are independent. */
#paxplay-root .pp-walletbar>.pp-stat{min-height:84px;box-sizing:border-box;padding:18px 16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr;align-items:center;align-content:center}
#paxplay-root .pp-stat-asset:first-child{padding-bottom:18px}
#paxplay-root .pp-stat-value{align-self:center;margin:0!important}
.pp-rank-copy{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0}.pp-rank-copy strong{font-size:12px;font-weight:800;line-height:1.4;color:#111}.pp-rank-copy small{font-size:10px;font-weight:650;line-height:1.4;color:#29483d}
#paxplay-root .pp-stat-rank>.pp-stat-value{grid-column:2;grid-row:1;font-size:clamp(20px,2vw,30px)}
#paxplay-root .pp-stat-rank>.pp-stat-value small{font-size:12px;letter-spacing:0}
.pp-stat-asset:first-child>.pp-stat-action,.pp-stat-rank .pp-rank-details{right:16px;bottom:5px;font-size:10px!important;line-height:14px}
/* One horizontal status row, aligned through the centers of all three items. */
.pp-dialog.is-playing .pp-game-bar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap}
.pp-dialog.is-playing .pp-game-bar #pp-game-stat{flex:1;min-width:0;line-height:1.3;font-size:12px!important}
.pp-dialog.is-playing .pp-game-bar .pp-preview-badge{flex:0 1 auto;min-width:0;max-width:48%;font-size:10px;line-height:1.3;padding:4px 7px;margin:0}
.pp-dialog.is-playing .pp-game-bar #pp-restart{flex:0 0 auto;font-size:10px!important;line-height:1.3;padding:5px 9px;min-height:26px;white-space:nowrap}
/* Keep the board dimensions and center actions in the remaining lower space. */
.pp-dialog.is-playing .pp-game-board.has-actions{justify-content:flex-start;gap:0}
.pp-dialog.is-playing .pp-game-actions{display:flex;flex:1 0 48px;min-height:48px;width:100%;align-items:center;justify-content:center;position:relative;z-index:3;isolation:isolate}
.pp-dialog.is-playing .pp-game-actions>button{position:relative;z-index:1;pointer-events:auto;touch-action:manipulation;width:max-content!important;max-width:calc(100% - 16px);flex:0 0 auto;border-radius:999px;padding:10px 22px;font-size:14px!important;line-height:20px;min-height:40px}
.pp-dialog.is-playing .pp-game-board[data-game="wheel"] .pp-wheel-wrap{width:min(calc(100cqw - 20px),calc(100cqh - 78px));margin:12px auto 6px;flex:0 0 auto}
.pp-dialog.is-playing .pp-wheel-trigger{position:absolute;inset:38%;z-index:2;border:0;padding:0;border-radius:50%;background:#121020;box-shadow:0 0 0 3px #fff;display:grid;place-items:center;cursor:pointer;pointer-events:auto;touch-action:manipulation}
.pp-wheel-trigger img{width:72%;height:72%;object-fit:contain;pointer-events:none}.pp-wheel-trigger:focus-visible{outline:3px solid #fff;outline-offset:5px}
.pp-dialog.is-playing .pp-game-board[data-game="scratch"] .pp-scratch{margin:10px auto 0}.pp-dialog.is-playing .pp-game-board[data-game="timing"] .pp-clock{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0}
.pp-dialog.is-playing .pp-extra-controls{flex:1;align-content:center;justify-content:center}.pp-extra-controls>.pp-extra-button{flex:0 0 auto;width:max-content;max-width:100%}
/* Result stays on one line; only amount and PAX are prominent. */
.pp-dialog.is-playing:not(.is-loading) .pp-game-message{display:flex;flex-direction:row;align-items:center;justify-content:center;overflow:hidden;padding:3px 6px;box-sizing:border-box}
.pp-result-row{display:flex;flex:0 0 auto;width:max-content;align-items:center;justify-content:center;gap:9px;white-space:nowrap;transform-origin:center center}
.pp-dialog.is-playing .pp-result-row .pp-luck-result,.pp-payout-status,.pp-transaction-link{font-size:11px;line-height:1.3;font-weight:650;color:#293940}
.pp-dialog.is-playing .pp-result-row .pp-luck-amount{font-size:30px;line-height:1.2;font-weight:900;display:flex;align-items:center;gap:5px;white-space:nowrap;margin:0;color:#008873}
.pp-result-row .pp-token-symbol{width:19px;height:19px;flex:none;margin:0}.pp-transaction-link{color:#6320b9;text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.pp-dialog.is-playing .pp-game-bar{gap:5px}.pp-dialog.is-playing .pp-game-bar #pp-game-stat{font-size:10px!important}.pp-dialog.is-playing .pp-game-bar .pp-preview-badge,.pp-dialog.is-playing .pp-game-bar #pp-restart{font-size:9px!important}.pp-dialog.is-playing .pp-result-row .pp-luck-amount{font-size:24px}.pp-dialog.is-playing .pp-result-row .pp-luck-result,.pp-payout-status,.pp-transaction-link{font-size:9px}.pp-result-row{gap:5px}.pp-result-row .pp-token-symbol{width:16px;height:16px}#paxplay-root .pp-stat-rank>.pp-stat-value{font-size:26px}}
/* Roulette: square wheel area plus a compact action strip underneath. */
.pp-dialog.is-playing:not(.is-loading)[data-current-game="wheel"][open]{--pp-wheel-dialog-width:min(640px,calc(100vw - 12px),calc((100dvh - 170px)/1.14 + 16px));width:var(--pp-wheel-dialog-width);height:calc((var(--pp-wheel-dialog-width) - 16px)*1.14 + 158px);aspect-ratio:auto;max-height:calc(100dvh - 12px)}
.pp-dialog.is-playing .pp-wheel-trigger:disabled{opacity:1;cursor:default}

/* Shared game polish: inset playfields, restrained depth, centered status. */
.pp-dialog.is-playing .pp-game-bar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;padding:0 14px;position:relative;z-index:5}
.pp-game-instruction{display:flex;align-items:center;gap:5px;min-width:0}.pp-game-instruction #pp-game-stat{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-dialog.is-playing .pp-game-bar .pp-preview-badge{max-width:none;justify-self:center}.pp-dialog.is-playing .pp-game-bar #pp-restart{justify-self:end}
.pp-reward-info{flex:none;line-height:1}.pp-reward-info summary{cursor:pointer;list-style:none;font-weight:900;font-size:16px;color:#6712c7}.pp-reward-info summary::-webkit-details-marker{display:none}
.pp-odds-panel{position:absolute;top:100%;left:14px;width:210px;background:#fff;color:#231231;padding:14px;border-radius:14px;box-shadow:0 8px 32px #28104230;z-index:20;line-height:1.7;font-size:13px}.pp-odds-panel>div{display:flex;justify-content:space-between;gap:24px}
.pp-dialog.is-playing:not(.is-loading) .pp-game-board{padding:16px;box-shadow:inset 0 1px 0 #fff9;background:linear-gradient(145deg,#f5edff,#eee2ff)}
.pp-dialog.is-playing .pp-game-board[data-game="wheel"] .pp-wheel-wrap{width:min(calc((100cqw - 20px)*.9),calc((100cqh - 78px)*.9));margin:16px auto 6px}
.pp-dialog.is-playing .pp-wheel{box-shadow:0 0 0 2px #8a29e8,0 5px 0 #7130ad,0 12px 20px #48126b26;background:linear-gradient(145deg,#ffffff26,#ffffff00 45%,#36006012),repeating-conic-gradient(#3ceac6 0deg 30deg,#e1c5ff 30deg 60deg)}
.pp-dialog.is-playing .pp-wheel-pointer{font-size:0;top:-8px;width:25px;height:42px;background:linear-gradient(100deg,#a24fff,#710ee3);clip-path:polygon(0 0,100% 0,87% 38%,50% 100%,13% 38%);z-index:4;filter:drop-shadow(0 2px 2px #36115560)}
.pp-dialog.is-playing .pp-wheel-trigger{background:#000;box-shadow:0 2px 0 #000,0 5px 12px #0005,inset 0 1px 1px #ffffff32}
.pp-dialog.is-playing :is(.pp-memory-card,.pp-lucky-choice,.pp-sequence-key,.pp-big-tap,.pp-extra-grid button){box-shadow:inset 0 1px 2px #ffffff55,0 3px 0 #47147525,0 6px 10px #42115e18}
.pp-dialog.is-playing :is(.pp-scratch,.pp-extra-canvas,.pp-maze-grid){box-shadow:0 5px 15px #48126b20;border-radius:12px;overflow:hidden}
.pp-dialog.is-playing:not(.is-loading) .pp-game-message:not(.is-result){background:transparent;color:#29133e!important}
.pp-dialog.is-playing:not(.is-loading) .pp-game-message:empty{visibility:hidden}
.pp-dialog.is-playing .pp-result-row :is(.pp-luck-result,.pp-payout-status,.pp-transaction-link){font-size:12px;color:#073e30!important;font-weight:850}
.pp-result-row .pp-transaction-link{text-decoration:underline;text-underline-offset:3px}
.pp-dialog.is-paying{position:fixed;overflow:hidden}.pp-dialog.is-paying>:not(.pp-payment-overlay){opacity:.2;filter:blur(2px);pointer-events:none;user-select:none}
.pp-payment-overlay{position:absolute;inset:0;z-index:50;display:grid;place-items:center;background:#ffffff38;padding:24px;cursor:wait}
.pp-payment-progress{width:min(320px,100%);padding:24px;border-radius:18px;background:#fffffff5;box-shadow:0 12px 45px #30124520;text-align:center;color:#321047;font-size:15px;line-height:1.7}
.pp-payment-track{height:7px;background:#eee0ff;overflow:hidden;border-radius:99px;margin-top:18px}.pp-payment-track i{display:block;width:38%;height:100%;border-radius:99px;background:linear-gradient(90deg,#8619ff,#31dfbc);animation:pp-payment-slide 1.3s ease-in-out infinite alternate}
@keyframes pp-payment-slide{from{transform:translateX(-100%)}to{transform:translateX(265%)}}
@media(max-width:640px){.pp-dialog.is-playing .pp-game-bar{padding:0 9px;gap:6px}.pp-dialog.is-playing:not(.is-loading) .pp-game-board{padding:12px}.pp-dialog.is-playing .pp-result-row :is(.pp-luck-result,.pp-payout-status,.pp-transaction-link){font-size:10px}.pp-dialog.is-playing .pp-wheel-pointer{width:20px;height:34px}}
@media(prefers-reduced-motion:reduce){.pp-payment-track i{animation:none;width:100%;opacity:.75}}

.pp-dialog.is-playing .pp-game-bar{grid-template-rows:1fr;align-content:center}.pp-dialog.is-playing .pp-game-instruction #pp-game-stat{flex:0 1 auto}
.pp-dialog.is-playing .pp-extra-stage{box-shadow:inset 0 1px 1px #ffffff60,0 4px 0 #68379b18,0 9px 18px #42115e16}
.pp-dialog.is-playing .pp-extra-cell{box-shadow:inset 0 1px 2px #ffffff55,0 3px 0 #47147520}

/* Align roulette title to the status text; trim only the lower panel space. */
.pp-dialog.is-playing[data-current-game="wheel"] .pp-dialog-head{padding-left:22px!important}
.pp-dialog.is-playing:not(.is-loading)[data-current-game="wheel"][open]{height:calc((var(--pp-wheel-dialog-width) - 16px)*1.14 + 114px)}
.pp-dialog.is-playing .pp-game-board[data-game="wheel"] .pp-wheel-wrap{width:calc((100cqw - 20px)*.9);margin-bottom:0}
.pp-dialog.is-playing .pp-game-board[data-game="wheel"] .pp-game-actions{margin-bottom:-16px;min-height:48px}
.pp-dialog.is-playing .pp-wheel{box-shadow:0 0 0 4px #8a29e8,0 6px 0 2px #7130ad,0 13px 21px #48126b30}
.pp-dialog.is-playing .pp-result-row{gap:14px}.pp-dialog.is-playing .pp-result-row .pp-luck-amount{margin:0 6px}
@media(max-width:640px){.pp-dialog.is-playing[data-current-game="wheel"] .pp-dialog-head{padding-left:17px!important}.pp-dialog.is-playing .pp-game-board[data-game="wheel"] .pp-game-actions{margin-bottom:-12px}.pp-dialog.is-playing .pp-result-row{gap:10px}.pp-dialog.is-playing .pp-result-row .pp-luck-amount{margin:0 4px}}

/* Compact, non-sticky account summary on mobile; desktop layout is retained. */
.pp-summary-panel{display:contents}.pp-summary-toggle{display:none}
@media(max-width:900px){
 .pp-summary-panel{display:block;padding:10px 0 12px}
 .pp-summary-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:11px 14px;border:0;border-radius:14px;background:#e5fff8;color:#171127;font:inherit;font-size:13px;font-weight:800;cursor:pointer;text-align:left}
 .pp-summary-toggle svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5;transition:transform .2s}
 .pp-summary-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
 .pp-summary-panel #pp-walletbar{position:static!important;top:auto!important;padding:10px 0 0}
 .pp-summary-panel[data-expanded="false"] #pp-walletbar{display:none!important}
 .pp-summary-toggle:focus-visible{outline:2px solid #8514f5;outline-offset:2px}
}

/* V137: ten visible leaderboard rows, accessible hidden-scrollbar scrolling */
#paxplay-root .pp-rank-list{display:flex;flex-direction:column;gap:6px;box-sizing:border-box;left:auto;right:0;width:min(240px,calc(100vw - 32px));max-height:min(474px,60dvh);padding:10px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;touch-action:pan-y}
#paxplay-root .pp-rank-list::-webkit-scrollbar{display:none;width:0;height:0}
#paxplay-root .pp-rank-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;column-gap:12px;align-items:center;box-sizing:border-box;min-height:40px;padding:8px 10px;font-size:12px;color:#000;border:0;border-radius:12px;background:#e2f6ef}
#paxplay-root .pp-rank-row b{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:32px;min-height:24px;color:#000}
#paxplay-root .pp-rank-row>span{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
#paxplay-root .pp-rank-row em{min-width:60px;color:#000;font-weight:700;white-space:nowrap;text-align:right}
#paxplay-root .pp-rank-list:focus-visible{outline:2px solid #6ce8bf;outline-offset:2px}

/* V188 tickets and thirteen outcome slots */
.pp-ticket-balance,.pp-game-ticket-count{font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}
.pp-ticket-balance{margin:10px 0;padding:10px 14px;border-radius:12px;background:#f5f1fa;color:#34144d}
.pp-game-ticket-count{font-size:12px;flex:none}
.pp-ticket-offer{font-weight:850;margin:8px 0}
.pp-dialog.is-playing .pp-wheel{background:repeating-conic-gradient(#3ceac6 0deg 27.69230769deg,#e1c5ff 27.69230769deg 55.38461538deg)}

.pp-dialog.is-playing .pp-lucky-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pp-lucky-choice b{overflow-wrap:anywhere}
.pp-next-time{font-size:clamp(18px,5vw,28px)!important}
.pp-game-bar{flex-wrap:wrap}

/* V189: stable title, prominent balance, separate instruction/actions rows. */
.pp-dialog.is-playing:not(.is-loading) .pp-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:8px 16px!important;flex:0 0 44px;min-height:44px}
.pp-dialog.is-playing:not(.is-loading) .pp-game{grid-template-rows:auto minmax(0,1fr) 58px;gap:8px;padding:0 12px 12px}
.pp-dialog.is-playing .pp-game-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:7px 8px;padding:4px 4px 8px;min-height:0;align-content:start}
.pp-dialog.is-playing .pp-game-ticket-count{grid-column:1/-1;justify-self:start;display:flex;align-items:baseline;gap:10px;white-space:nowrap;font-size:14px;font-weight:800;line-height:1.2}
[data-pp-paid-plays]{display:flex;align-items:baseline;gap:10px;font-variant-numeric:tabular-nums}
.pp-game-ticket-count strong{font-size:28px;font-weight:900;line-height:1.1;min-width:2ch;text-align:right}
.pp-dialog.is-playing .pp-game-instruction{grid-column:1;min-width:0}
.pp-dialog.is-playing .pp-game-instruction #pp-game-stat{font-size:12px!important;line-height:1.5}
.pp-dialog.is-playing .pp-game-bar .pp-preview-badge{grid-column:2;justify-self:end;max-width:100%;font-size:10px}
.pp-session-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end}
.pp-dialog.is-playing .pp-session-actions button{font-size:12px!important;font-weight:850;line-height:1.25;padding:8px 12px!important;min-height:34px!important;margin:0;white-space:nowrap}
.pp-session-actions button:disabled{opacity:.45;cursor:default}
.pp-dialog.is-playing[data-current-game="wheel"]:not(.is-loading)[open]{height:min(900px,calc(100dvh - 12px));aspect-ratio:2/3}
.pp-dialog.is-playing .pp-game-board[data-game="wheel"] .pp-wheel-wrap{width:min(calc(100cqw - 20px),calc(100cqh - 72px));margin:12px auto 0}
.pp-dialog.is-playing .pp-game-board[data-game="wheel"] .pp-game-actions{margin:0;min-height:40px}
.pp-dialog.is-playing .pp-wheel{background:repeating-conic-gradient(#3ceac6 0deg 25.7142857143deg,#e1c5ff 25.7142857143deg 51.4285714286deg)}

.pp-dialog.is-playing .pp-lucky-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));width:100cqw;height:min(100cqh,100cqw);gap:7px}
.pp-dialog.is-playing .pp-lucky-choice:nth-child(13){grid-column:2}.pp-dialog.is-playing .pp-lucky-choice:nth-child(14){grid-column:3}
.pp-dialog.is-playing .pp-lucky-choice{gap:4px;padding:5px 2px}.pp-dialog.is-playing .pp-lucky-choice b{font-size:10px;white-space:normal;overflow-wrap:normal}
.pp-game-picker{display:flex;flex-direction:column;gap:16px;padding:10px 16px;height:100%;min-height:0}
.pp-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:auto;min-height:0;padding:2px 2px 12px}
.pp-picker-grid button{min-height:44px;font-weight:800;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:10px}
@media(max-width:400px){.pp-dialog.is-playing .pp-game-bar .pp-preview-badge{display:none}.pp-dialog.is-playing .pp-game-instruction{grid-column:1/-1}.pp-game-ticket-count strong{font-size:25px}.pp-session-actions{justify-content:stretch}.pp-session-actions button{flex:1}}

.pp-dialog.is-playing .pp-dialog-head b{display:block;overflow:hidden;text-overflow:ellipsis}
.pp-session-actions button{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media(max-height:500px) and (min-width:600px){
 .pp-dialog.is-playing:not(.is-loading)[open],.pp-dialog.is-playing:not(.is-loading)[data-current-game="wheel"][open]{width:min(720px,calc(100vw - 16px));height:calc(100dvh - 12px);aspect-ratio:auto}
 .pp-dialog.is-playing:not(.is-loading) .pp-game{grid-template-columns:minmax(160px,.7fr) minmax(0,1.3fr);grid-template-rows:minmax(0,1fr) 42px;gap:8px}
 .pp-dialog.is-playing .pp-game-bar{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;gap:12px;padding:6px}
 .pp-dialog.is-playing .pp-game-instruction{grid-column:1}.pp-dialog.is-playing .pp-preview-badge{display:none}
 .pp-dialog.is-playing .pp-session-actions{grid-column:1;flex-direction:column}
 .pp-dialog.is-playing .pp-game-board{grid-column:2;grid-row:1}
 .pp-dialog.is-playing:not(.is-loading) .pp-game-message,.pp-dialog.is-playing:not(.is-loading) .pp-game-message:empty{grid-column:1/-1;grid-row:2;height:42px;min-height:42px}
}

/* R31: crop the existing wide artwork's empty margins, enlarge the safe. */
.pp-header-lounge{display:none!important}
#paxplay-root .pp-hero-art{position:absolute;inset:0 0 0 auto;width:34%;height:100%;overflow:hidden;z-index:-2;mix-blend-mode:screen;pointer-events:none}
#paxplay-root .pp-hero-art>.pp-hero-img{position:absolute!important;inset:auto!important;top:50%!important;left:-72%!important;right:auto!important;bottom:auto!important;width:230%!important;height:auto!important;max-width:none!important;object-fit:contain!important;transform:translateY(-50%) scaleX(-1)!important;opacity:1!important;z-index:auto;mix-blend-mode:normal}
@media(max-width:800px){#paxplay-root .pp-hero-art{width:35%}}
@media(max-width:640px){#paxplay-root .pp-hero-art{width:36%}}

/* R34: swipeable categories without a scrollbar, aligned next arrow. */
#paxplay-root .pp-tabs-rail{display:flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0;max-width:100%}
#paxplay-root .pp-tabs-rail .pp-tabs{flex:1 1 auto;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}
#paxplay-root .pp-tabs-rail .pp-tabs::-webkit-scrollbar{display:none;width:0;height:0}
#paxplay-root .pp-tabs-next{display:grid;place-items:center;align-self:center;flex:0 0 36px;width:36px;height:44px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#000;cursor:pointer}
#paxplay-root .pp-tabs-next svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
#paxplay-root .pp-tabs-next.is-hidden{visibility:hidden;pointer-events:none}
@media(max-width:1120px){#paxplay-root .pp-tabs-rail{flex:none;width:100%}}

/* R49: fit the complete coin/chest artwork vertically inside the banner. */
#paxplay-root .pp-hero-art>.pp-hero-img{left:50%!important;top:50%!important;width:220%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:translate(-50%,-50%) scaleX(-1)!important}

/* R57.4.1: keep translated banner copy and its play action inside the banner. */
#paxplay-root .pp-hero{height:auto;min-height:190px;align-items:stretch}
#paxplay-root .pp-hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-width:0;min-height:190px;padding:20px 22px}
#paxplay-root .pp-hero h1{margin:0!important;font-size:clamp(24px,2.2vw,32px);line-height:1.2!important;font-weight:700;word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance}
#paxplay-root .pp-hero-actions{flex:none;width:100%;margin-top:0;justify-content:center}
#paxplay-root .pp-hero .pp-primary{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;min-height:42px;padding:9px 18px;font-size:13px!important;line-height:1.35!important;white-space:normal;overflow-wrap:anywhere}
@media(max-width:640px){
 #paxplay-root .pp-hero-copy{width:64%;min-height:190px;padding:14px 10px;gap:10px}
 #paxplay-root .pp-hero h1{font-size:18px;line-height:1.2!important;letter-spacing:0!important}
 #paxplay-root .pp-hero .pp-primary{min-height:40px;padding:9px 14px;font-size:12px!important}
}
@media(max-width:360px){#paxplay-root .pp-hero h1{font-size:17px}#paxplay-root .pp-hero-copy{padding:12px 8px}}
/* Play PAX: compact controls share the existing mint/purple button system. */
.pp-ticket-balance{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pp-ticket-balance>strong{font-size:28px;line-height:1.1;font-weight:700}.pp-ticket-balance>span{font-size:15px;font-weight:400}.pp-ppax-actions{display:flex;gap:8px;align-items:center}.pp-ppax-actions button{min-width:84px;padding:9px 14px}.pp-stat-asset{flex-wrap:wrap;gap:10px}.pp-free-claim{border:0;background:transparent;color:inherit;font:inherit;font-weight:600;padding:4px;cursor:pointer}.pp-free-claim:disabled{cursor:default}.pp-wager{max-width:440px;margin:auto;padding:28px 24px;display:grid;gap:18px}.pp-wager h2{font-size:24px;text-align:center;margin:0}.pp-wager p{margin:0}.pp-money-input{display:flex;align-items:center;gap:12px;border-radius:14px;background:#f5f0fc;padding:12px 16px}.pp-money-input input{min-width:0;width:100%;font-size:24px;border:0;background:transparent;color:#25143b;outline-offset:4px}.pp-money-input>span{font-size:16px}.pp-checkout form{display:grid;gap:18px;width:100%;text-align:left}.pp-checkout form>.pp-primary{width:100%}.pp-funds-token{width:64px;height:64px;object-fit:contain}.pp-new-art{background:#251044;display:grid;place-items:center}.pp-new-art svg{width:80%;height:80%;stroke:#61e3ca;stroke-width:7;fill:none}.pp-ladder-route{stroke:#19bc9f;stroke-width:7;stroke-linejoin:round}.pp-result-row{flex-wrap:wrap}.pp-wager .pp-primary,.pp-wager .pp-secondary{width:100%}@media(max-width:600px){.pp-wager{padding:20px 16px;gap:16px}.pp-checkout-price{font-size:36px}.pp-checkout-price>span{font-size:19px}.pp-ppax-actions{width:100%;justify-content:flex-end}.pp-ticket-balance>strong{font-size:26px}}@media(prefers-reduced-motion:reduce){}

.pp-settlement{display:grid;gap:8px;max-width:420px;margin:18px auto 0;padding:16px;border-radius:14px;background:#f5f0fc;font-size:15px;color:#25143b}.pp-settlement>div{display:flex;justify-content:space-between;gap:16px}.pp-settlement dt,.pp-settlement dd{margin:0;font-weight:400}.pp-settlement dd{text-align:right}#pp-bet-rule{font-size:15px}

/* R58.3: consistent controls, compact centered dialogs and restored ranking. */
#paxplay-root .pp-walletbar{grid-template-columns:repeat(4,minmax(0,1fr))}
#paxplay-root .pp-walletbar>.pp-stat{min-height:112px;grid-template-rows:auto auto;row-gap:8px;padding:14px 12px}
#paxplay-root .pp-ppax-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center;align-items:stretch;gap:8px;width:100%;max-width:320px;justify-self:center}
#paxplay-root .pp-ppax-actions button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;min-height:34px;margin:0;padding:7px 9px;border:0;border-radius:999px;background:#b8f5e5;color:#111;font-size:13px;line-height:20px;white-space:normal;overflow-wrap:anywhere}
#paxplay-root .pp-stat-rank{position:relative;padding-bottom:28px}
#paxplay-root .pp-stat-rank .pp-rank-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
#paxplay-root .pp-stat-rank .pp-rank-copy strong{font-size:13px;line-height:1.4}
#paxplay-root .pp-stat-rank .pp-rank-copy small{font-size:12px;line-height:1.4}
#paxplay-root .pp-stat-rank .pp-rank-list{max-width:min(320px,calc(100vw - 48px));width:280px}
.pp-dialog.is-funds[open],.pp-dialog:has(.pp-wager)[open]{margin:auto!important}
.pp-dialog.is-funds .pp-checkout{display:flex;flex-direction:column;align-items:center;gap:16px;padding:16px 20px}
.pp-dialog.is-funds .pp-checkout>h2{margin:0!important}
.pp-dialog.is-funds .pp-checkout>h2+.pp-checkout-price{margin-top:8px}
.pp-dialog.is-funds .pp-checkout>p,.pp-dialog.is-funds .pp-checkout form>p{margin:0!important}
.pp-dialog.is-funds .pp-checkout form{display:grid;gap:16px}
.pp-dialog.is-funds .pp-checkout form>label{margin:0;line-height:24px}
.pp-dialog.is-funds .pp-checkout .pp-ticket-balance{justify-content:center;gap:8px}
.pp-dialog.is-funds .pp-checkout [role=status]:empty,.pp-dialog .pp-wager>[role=status]:empty{display:none}
.pp-dialog.is-funds .pp-checkout-close{margin:0;padding:6px 16px}
.pp-dialog:has(.pp-wager)[open]{width:min(480px,calc(100vw - 24px));height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px);aspect-ratio:auto!important;display:block!important;overflow:auto}
.pp-dialog:has(.pp-wager) #pp-game-mount{height:auto!important;min-height:0!important;display:block!important}
.pp-dialog .pp-wager{box-sizing:border-box;width:100%;max-width:440px;align-content:center;justify-items:center;gap:16px;padding:20px}
.pp-dialog .pp-wager>h2{margin:0 0 8px!important}
.pp-dialog .pp-wager>p{margin:0;text-align:center}
.pp-dialog .pp-wager>.pp-ticket-balance{justify-content:center;background:#f5f0fc;gap:8px}
.pp-dialog .pp-wager>.pp-ticket-balance,.pp-dialog.is-funds .pp-checkout>.pp-ticket-balance,.pp-dialog .pp-wager .pp-money-input,.pp-dialog.is-funds .pp-money-input{box-sizing:border-box;width:100%;min-height:56px;margin:0;padding:12px 16px;border-radius:14px}
.pp-dialog .pp-wager .pp-money-input input,.pp-dialog.is-funds .pp-money-input input{height:32px;line-height:32px;box-sizing:border-box;margin:0;padding:0}
.pp-dialog .pp-wager>.pp-primary,.pp-dialog .pp-wager>.pp-secondary,.pp-dialog.is-funds .pp-checkout form>.pp-primary{box-sizing:border-box;width:100%;min-height:56px;margin:0;padding:17px 18px;border-radius:999px!important;line-height:22px;display:flex;align-items:center;justify-content:center}
@media(min-width:641px) and (max-width:1280px){#paxplay-root .pp-walletbar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#paxplay-root .pp-walletbar{grid-template-columns:1fr}#paxplay-root .pp-walletbar>.pp-stat{min-height:96px}.pp-dialog.is-funds .pp-checkout,.pp-dialog .pp-wager{padding:16px}}
.pp-dialog .pp-money-field{display:grid;gap:8px;width:100%;text-align:left}
.pp-dialog .pp-money-field>label{margin:0;line-height:24px}

.pp-new-art{background:radial-gradient(ellipse at 50% 110%,#b08dc8 0,#71558d 44%,#3c2854 100%)}
.pp-new-art .pp-cover-coin-art{display:block;width:100%;height:100%;stroke:none;fill:none}
/* R58.4: bright payment status, coin interaction and 12-lane ladder. */
.pp-payment-overlay{position:absolute;inset:0;z-index:100;display:grid;place-items:center;background:#ffffff72;pointer-events:auto}
.pp-payment-progress{box-sizing:border-box;width:min(340px,100%);padding:28px 24px;background:#fff;border:1px solid #e8d8fc;border-radius:22px;color:#251136;font-size:18px;line-height:1.6}
.pp-payment-progress strong{font-weight:500}.pp-payment-track{margin-top:20px;height:8px}
.pp-funds-success{box-sizing:border-box;display:grid;justify-items:center;gap:24px;width:100%;padding:28px 0}
.pp-success-mark{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#b8f5e5;color:#34114f;font-size:42px}
.pp-funds-success h2{font-size:22px;line-height:1.5;font-weight:500}.pp-funds-success .pp-primary{min-height:56px;max-width:280px}
.pp-dialog.is-playing:is([data-current-game="coin"],[data-current-game="ladder"]):not(:has(.pp-wager))[open]{width:min(720px,calc(100vw - 24px));height:min(900px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px);aspect-ratio:auto!important;display:flex!important;flex-direction:column;overflow:auto;margin:auto!important}
.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) #pp-game-mount:not(:has(.pp-wager)){display:block!important;flex:1;min-height:0;overflow:visible}
.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-game{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(320px,1fr) auto!important;gap:16px!important;height:auto!important;min-height:100%;padding:0 16px 16px!important;overflow:visible}
.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-game-bar{grid-column:1!important;grid-row:auto!important;min-height:0;gap:12px;padding:0!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto}
.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-game-instruction{grid-column:1/-1;line-height:1.55;font-size:15px}
.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-session-actions{flex-direction:row;justify-content:flex-end;grid-column:2}
.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-game-board{grid-column:1!important;grid-row:auto!important;box-sizing:border-box;min-height:320px;padding:16px!important;overflow:visible;border-radius:18px;background:#f2e8ff}
.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-game-message,.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-game-message.is-result{grid-column:1!important;grid-row:auto!important;display:block!important;box-sizing:border-box;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:0;padding:0!important;transform:none!important}
.pp-special-reward{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;border-radius:14px;background:#d9fff2;font-size:15px;color:#183c33}
.pp-special-reward strong{font-size:30px;line-height:1.1}.pp-game-message:has(.pp-special-reward) .pp-settlement{box-sizing:border-box;width:100%;max-width:none;margin:10px 0 0;padding:14px 16px;gap:10px;font-size:15px}
.pp-special-board[data-game="coin"]{display:grid!important;grid-template-rows:54px minmax(180px,1fr) auto;gap:12px;align-items:center}
.pp-outcome{font-family:Outfit,Arial,sans-serif;font-size:48px;font-weight:700;line-height:1;text-align:center;color:#7924ce;visibility:hidden}
.pp-outcome.is-visible{visibility:visible;animation:pp-outcome-enter .45s cubic-bezier(.2,.9,.2,1.2)}
.pp-special-board.is-win .pp-outcome{color:#6510b6}
.pp-coin-arena{position:relative;display:grid;place-items:center;perspective:900px;min-height:200px;isolation:isolate}
.pp-coin-object{position:relative;width:clamp(210px,32vw,300px);height:clamp(210px,32vw,300px);transform-style:preserve-3d;filter:drop-shadow(0 16px 10px #43236428)}
.pp-coin-front,.pp-coin-back{position:absolute;inset:0;backface-visibility:hidden;transform:translateZ(7px)}.pp-coin-back{transform:rotateY(180deg) translateZ(7px)}
.pp-coin-art{display:block;width:100%;height:100%;overflow:visible}
.pp-coin-object.is-spinning{animation:pp-coin-power .55s linear infinite}.pp-coin-object.is-landing{animation:pp-coin-land .95s cubic-bezier(.18,.6,.24,1) both}
.pp-coin-controls{display:grid;grid-template-columns:repeat(2,minmax(0,148px));justify-content:center;align-items:stretch;gap:12px;margin:0 0 10px;width:100%;padding:0}
.pp-face-choice{display:grid;justify-items:center;align-content:center;gap:6px;box-sizing:border-box;min-height:116px;padding:10px;border:0;border-radius:18px;background:#c0f7e9;color:#26103a;font-size:15px;font-weight:500;cursor:pointer}
.pp-face-choice[data-side="tails"]{background:#ddc6fc}.pp-face-choice .pp-coin-art{width:70px;height:70px}.pp-face-choice:hover{box-shadow:inset 0 0 0 2px #8b33d9}.pp-face-choice:active{transform:scale(.97)}
.pp-selected-side,.pp-coin-final-side{grid-column:1/-1;text-align:center;font-size:17px;color:#321047}
.pp-coin-controls .pp-primary{grid-column:1/-1;justify-self:center;width:min(240px,100%);min-height:48px;border-radius:999px;padding:12px 18px;font-size:17px!important}
.pp-game-companion{position:absolute;right:0;top:0;width:76px;height:76px;object-fit:contain;pointer-events:none;filter:none}
.pp-confetti{position:absolute;inset:-30px -8px 0;overflow:hidden;pointer-events:none;z-index:3}.pp-confetti i{position:absolute;left:var(--x);top:30%;width:8px;height:15px;border-radius:2px;background:var(--c);animation:pp-win-confetti 1.2s ease-out var(--d) both}
.pp-special-board[data-game="ladder"]{display:flex!important;flex-direction:column;gap:16px;align-items:stretch}
.pp-ladder-heading{position:relative;display:flex;align-items:center;min-height:54px;padding-right:80px;font-size:18px;font-weight:500;color:#321047}.pp-ladder-heading .pp-game-companion{width:64px;height:64px;top:-6px}
.pp-ladder-scroll{overflow-x:auto;overflow-y:visible;width:100%;padding-bottom:4px;scrollbar-width:thin;touch-action:pan-x pan-y}
.pp-ladder-layout{width:100%;box-sizing:border-box;border-radius:14px;padding:8px 0;background:#fff8ff}
.pp-ladder-choices,.pp-ladder-results{display:grid;grid-template-columns:repeat(var(--lanes),minmax(0,1fr));gap:0;align-items:center}
.pp-ladder-choices button,.pp-ladder-results span{box-sizing:border-box;display:grid;place-items:center;min-height:44px;min-width:0;margin:2px;padding:6px 2px;border:0;border-radius:12px;background:#dfcdf5;color:#321047;font-size:15px;font-weight:600;white-space:nowrap}
.pp-ladder-choices button{cursor:pointer}.pp-ladder-choices button.is-selected,.pp-ladder-results span.is-selected{background:#36e5c0;color:#142e25;box-shadow:0 0 0 2px #5f22a7}
.pp-ladder-choices button:disabled{opacity:1}.pp-ladder-middle{position:relative}.pp-ladder-design{display:block;width:100%;height:auto;max-height:none;fill:none;overflow:visible}
.pp-ladder-rail{stroke:#9d79c2;stroke-width:3;stroke-linecap:round}.pp-ladder-rung{stroke:#9d79c2;stroke-width:3;stroke-linecap:round}.pp-ladder-route{stroke:#0db894;stroke-width:6;stroke-linejoin:round;stroke-linecap:round;fill:none}.pp-ladder-route.is-tracing{stroke-dasharray:1;stroke-dashoffset:1;animation:pp-trace 2.1s linear forwards}.pp-ladder-runner{fill:#fff;stroke:#6517b3;stroke-width:3}
.pp-ladder-mask{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:12px;border-radius:12px;background:linear-gradient(135deg,#572580,#8a4eb4);color:#fff;padding:16px;text-align:center}
.pp-ladder-mask span{font-size:52px;line-height:1}.pp-ladder-mask p{margin:0;font-size:16px;line-height:1.5;color:#fff!important}
@keyframes pp-coin-power{0%{transform:translateY(0) rotateZ(-12deg) rotateY(0)}50%{transform:translateY(-28px) rotateZ(10deg) rotateY(360deg)}100%{transform:translateY(0) rotateZ(-12deg) rotateY(720deg)}}
@keyframes pp-coin-land{0%{transform:translateY(-22px) rotateY(900deg) rotateZ(12deg)}65%{transform:translateY(8px) rotateY(0) rotateZ(-5deg)}82%{transform:translateY(-8px) rotateZ(3deg)}100%{transform:translateY(0) rotateY(0) rotateZ(0)}}
@keyframes pp-outcome-enter{from{transform:scale(.65) translateY(8px);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes pp-win-confetti{from{transform:translateY(-20px) rotate(var(--r));opacity:1}to{transform:translateY(220px) rotate(calc(var(--r) + 280deg));opacity:0}}
@keyframes pp-trace{to{stroke-dashoffset:0}}
@media(max-width:480px){.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-game{padding:0 12px 12px!important;gap:12px!important}.pp-dialog:is([data-current-game="coin"],[data-current-game="ladder"]) .pp-game-board{padding:12px!important}.pp-game-companion{width:60px;height:60px;right:-4px;top:-12px}.pp-coin-object{width:220px;height:220px}.pp-outcome{font-size:42px}.pp-face-choice{font-size:14px;min-height:108px}.pp-special-reward{gap:10px;padding:12px;font-size:14px}.pp-game-message:has(.pp-special-reward) .pp-settlement{font-size:14px}.pp-ladder-heading{font-size:17px}}
@media(prefers-reduced-motion:reduce){.pp-coin-object.is-spinning,.pp-coin-object.is-landing,.pp-outcome.is-visible,.pp-confetti i,.pp-game-companion,.pp-ladder-route.is-tracing{animation:none!important}.pp-confetti{display:none}.pp-ladder-route.is-tracing{stroke-dashoffset:0}}

.pp-sound-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin-left:6px;padding:6px 12px;border:0;border-radius:999px;background:#e9dafb;color:#43116b;font-size:13px;line-height:20px;cursor:pointer;white-space:nowrap}.pp-sound-toggle[aria-pressed="false"]{background:#eeeaf2;color:#302638}
/* R58.5: explicit popup modes and one-screen primary games. */
#paxplay-root .pp-card-content{display:flex;flex-direction:column;flex:1;height:auto}
#paxplay-root .pp-cover-wrap{flex:none}
#paxplay-root .pp-card{display:flex;flex-direction:column}
#paxplay-root .pp-card-content .pp-description-row{flex:1;align-items:flex-start}
#paxplay-root .pp-card-content .pp-description-row p{margin:6px 0 12px!important;min-height:3.4em;line-height:1.7}
#paxplay-root .pp-card-content .pp-select{flex:none;height:40px;min-height:40px;padding:8px 14px;align-self:stretch}
#paxplay-root .pp-stat-asset:first-child{grid-template-columns:minmax(0,1fr);align-content:center}
#paxplay-root .pp-stat-asset:first-child .pp-asset-right{grid-column:1;padding:0;justify-content:flex-start;gap:6px;overflow-wrap:normal}
#pp-wallet-amount{white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:clamp(20px,2vw,28px);letter-spacing:-.4px}
#pp-game-dialog.is-playing.is-wager[open]{width:min(480px,calc(100vw - 24px))!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px)!important;display:block!important;aspect-ratio:auto!important;overflow:auto!important;margin:auto!important}
#pp-game-dialog.is-wager #pp-game-mount{display:block!important;min-height:0!important;height:auto!important;flex:none!important}
#pp-game-dialog.is-wager .pp-wager{display:grid;max-width:none;gap:12px;padding:20px 24px;text-align:center;margin:0}
#pp-game-dialog.is-wager .pp-wager h2{font-size:22px;margin:0!important}
#pp-game-dialog.is-wager .pp-wager .pp-ticket-balance{min-height:48px;padding:10px 14px}
#pp-game-dialog.is-wager .pp-wager .pp-money-input,#pp-game-dialog.is-wager .pp-wager>.pp-primary,#pp-game-dialog.is-wager .pp-wager>.pp-secondary{height:48px;min-height:48px;padding:10px 16px}
#pp-game-dialog.is-featured.is-playing[open]{width:min(660px,calc(100vw - 16px))!important;height:min(740px,calc(100dvh - 16px))!important;max-height:calc(100dvh - 16px)!important;min-height:0!important;display:flex!important;flex-direction:column;aspect-ratio:auto!important;overflow:visible!important;margin:auto!important}
#pp-game-dialog.is-featured .pp-dialog-head{position:relative;flex:none;padding:10px 16px!important;min-height:48px;background:#fff;backdrop-filter:none;border-radius:22px 22px 0 0;gap:8px}
#pp-game-dialog.is-featured .pp-dialog-head>span{display:flex;flex-direction:column;gap:2px;min-width:0}
#pp-game-dialog.is-featured .pp-dialog-head b{font-size:20px;line-height:1.25}
#pp-game-dialog.is-featured .pp-dialog-head small{font-size:13px;line-height:1.4;white-space:normal}
#pp-game-dialog.is-featured #pp-game-mount{flex:1;display:block!important;height:auto!important;min-height:0!important;overflow:visible}
#pp-game-dialog.is-featured .pp-game{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;height:100%!important;min-height:0!important;gap:8px!important;padding:0 12px 12px!important;overflow:visible}
#pp-game-dialog.is-featured .pp-game-bar{grid-column:1!important;grid-row:1!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto 38px;gap:4px 6px!important;min-height:0;padding:0!important;align-content:start}
#pp-game-dialog.is-featured .pp-game-ticket-count{grid-column:1/-1;grid-row:1;min-height:0;line-height:22px;max-height:24px;margin:0;display:flex;justify-content:center;gap:6px;align-items:baseline}
#pp-game-dialog.is-featured .pp-game-ticket-count strong{font-size:20px;line-height:22px}
#pp-game-dialog.is-featured .pp-game-instruction{grid-column:1/-1!important;grid-row:2;display:flex;align-items:center;gap:6px;font-size:13px;line-height:20px;min-height:22px}
#pp-game-dialog.is-featured .pp-game-instruction #pp-game-stat{white-space:normal;overflow:visible;font-size:13px;flex:1}
#pp-game-dialog.is-featured .pp-session-actions{display:contents!important}
#pp-game-dialog.is-featured .pp-game-bar .pp-preview-badge,#pp-game-dialog.is-featured .pp-session-actions button{grid-row:3;width:100%;height:38px;min-height:38px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.2;font-size:12px!important;padding:5px 6px;margin:0!important;border-radius:999px;white-space:normal}
#pp-game-dialog.is-featured .pp-game-bar .pp-preview-badge{grid-column:1}
#pp-game-dialog.is-featured #pp-restart{grid-column:2}
#pp-game-dialog.is-featured #pp-other-game{grid-column:3}
#pp-game-dialog.is-featured .pp-game-board{grid-column:1!important;grid-row:2!important;min-height:0!important;height:100%;max-height:none!important;padding:10px!important;overflow:visible!important;box-sizing:border-box;border-radius:16px;position:relative;background:#f2e8ff}
#pp-game-dialog.is-featured .pp-game-message,#pp-game-dialog.is-featured .pp-game-message.is-result{grid-column:1!important;grid-row:3!important;display:grid!important;grid-template-columns:minmax(0,1fr);height:auto!important;max-height:none!important;min-height:0!important;gap:8px;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;background:transparent!important}
#pp-game-dialog.is-featured .pp-game-message:empty{display:none!important}
#pp-game-dialog.is-featured .pp-special-reward,#pp-game-dialog.is-featured .pp-result-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:8px 12px;min-height:42px;border-radius:12px;background:#c4f8e8;color:#143f34!important}
#pp-game-dialog.is-featured .pp-special-reward strong{font-size:26px;line-height:1}
#pp-game-dialog.is-featured .pp-settlement{display:grid;max-width:none;width:100%;margin:0!important;gap:4px;padding:10px 14px;background:#eadcfa;border-radius:12px;font-size:14px;line-height:18px;color:#3c165e}
#pp-game-dialog.is-featured .pp-settlement>div{gap:8px}
#pp-game-dialog.is-featured .pp-settlement dd{white-space:nowrap}
.pp-sound-toggle,.pp-sound-toggle[aria-pressed="false"]{display:inline-flex;align-items:center;gap:3px;height:24px;min-height:24px;margin:0;padding:0 2px;background:transparent;border:0;border-radius:0;font-size:12px!important;font-weight:400!important;line-height:20px;color:#512878;flex:none}
.pp-sound-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pp-sound-toggle svg path:first-child{fill:currentColor;stroke:none}
#pp-game-dialog .pp-game-companion{position:absolute;display:block;width:76px;height:84px;top:0;right:0;overflow:hidden;pointer-events:none;border:0;background:transparent;filter:none;transform-origin:50% 65%;animation:none}
#pp-game-dialog .pp-coin-arena>.pp-game-companion{right:0;top:0}
#pp-game-dialog .pp-special-board[data-game="coin"]{grid-template-rows:32px minmax(0,1fr) auto;gap:8px}
#pp-game-dialog .pp-coin-arena{min-height:0;height:100%;width:100%;container-type:size}
#pp-game-dialog .pp-coin-object{width:min(260px,80cqh,65cqw);height:min(260px,80cqh,65cqw)}
#pp-game-dialog .pp-outcome{font-size:36px}
#pp-game-dialog .pp-coin-controls{margin:0;gap:8px;grid-template-columns:repeat(2,minmax(0,150px))}
#pp-game-dialog .pp-face-choice{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;height:48px;padding:4px 6px;border-radius:999px;font-size:14px}
#pp-game-dialog .pp-face-choice .pp-coin-art{width:36px;height:36px;flex:none}
#pp-game-dialog .pp-coin-controls .pp-primary{min-height:48px;height:48px;padding:8px 16px;font-size:15px!important}
#pp-game-dialog .pp-special-board[data-game="ladder"]{display:flex!important;gap:6px;min-height:0}
#pp-game-dialog .pp-ladder-heading{min-height:38px;height:38px;padding-right:60px;font-size:15px;flex:none}
#pp-game-dialog .pp-ladder-heading .pp-game-companion{width:48px;height:52px;top:-7px;right:2px}
#pp-game-dialog .pp-ladder-scroll{overflow:visible;width:100%;padding:0;flex:1;min-height:0;touch-action:auto}
#pp-game-dialog .pp-ladder-layout{display:grid;grid-template-rows:42px minmax(0,1fr) 34px;width:100%;height:100%;min-width:0!important;padding:2px 0}
#pp-game-dialog .pp-ladder-choices,#pp-game-dialog .pp-ladder-results{min-width:0;gap:0}
#pp-game-dialog .pp-ladder-choices button{height:38px;min-height:38px;padding:3px 0;margin:1px;border-radius:10px;font-size:14px}
#pp-game-dialog .pp-ladder-results span{height:30px;min-height:30px;padding:3px 0;margin:1px;border-radius:8px;font-size:clamp(11px,2.8vw,15px);letter-spacing:-.3px}
#pp-game-dialog .pp-ladder-middle{min-height:0;height:100%}
#pp-game-dialog .pp-ladder-design{width:100%;height:100%;min-height:0;max-height:none}
#pp-game-dialog .pp-ladder-mask{padding:4px;gap:4px;border-radius:10px}
#pp-game-dialog .pp-ladder-mask span{font-size:28px}
#pp-game-dialog .pp-ladder-mask p{font-size:13px;line-height:1.4}
#pp-game-dialog .pp-game-board[data-game="wheel"]{display:grid!important;grid-template-rows:minmax(0,1fr) 44px;gap:6px;container-type:size}
#pp-game-dialog .pp-game-board[data-game="wheel"] .pp-wheel-wrap{width:min(calc(100cqh - 70px),calc(100cqw - 36px));aspect-ratio:1;height:auto;margin:auto;align-self:center;grid-row:1;grid-column:1}
#pp-game-dialog .pp-game-board[data-game="wheel"] .pp-game-actions{grid-row:2;grid-column:1;display:flex;justify-content:center;align-items:center;padding:0;margin:0;height:44px}
#pp-game-dialog .pp-game-board[data-game="wheel"] .pp-game-actions .pp-primary{height:38px;min-height:38px;padding:6px 20px;margin:0;border-radius:999px}
.pp-wheel-companion{position:absolute;top:6px;right:6px;width:64px;height:70px;z-index:4;pointer-events:none}
#pp-game-dialog .pp-wheel-companion .pp-game-companion{width:64px;height:70px}
@media(max-width:480px){#pp-game-dialog.is-featured .pp-dialog-head{padding:8px 12px!important}#pp-game-dialog.is-featured .pp-dialog-head b{font-size:18px}#pp-game-dialog.is-featured .pp-dialog-head small{font-size:12px}#pp-game-dialog.is-featured .pp-game{gap:6px!important;padding:0 8px 8px!important}#pp-game-dialog.is-featured .pp-game-board{padding:8px!important}#pp-game-dialog.is-featured .pp-game-instruction #pp-game-stat{font-size:12px}#pp-game-dialog.is-featured .pp-settlement{font-size:13px;gap:3px;padding:8px 10px}#pp-game-dialog .pp-game-companion{width:60px;height:66px}#pp-game-dialog.is-featured .pp-game-bar .pp-preview-badge,#pp-game-dialog.is-featured .pp-session-actions button{font-size:11px!important}}
@media(max-height:540px){#pp-game-dialog.is-featured .pp-dialog-head small{display:none}#pp-game-dialog.is-featured .pp-game-bar{grid-template-rows:auto auto 32px}#pp-game-dialog.is-featured .pp-game-bar .pp-preview-badge,#pp-game-dialog.is-featured .pp-session-actions button{height:32px;min-height:32px}#pp-game-dialog.is-featured .pp-settlement{display:flex;justify-content:space-around;gap:6px;padding:6px;font-size:11px;line-height:14px}#pp-game-dialog.is-featured .pp-settlement>div{display:flex;flex-direction:column;gap:0;text-align:center}#pp-game-dialog.is-featured .pp-settlement dd{text-align:center}#pp-game-dialog.is-featured .pp-special-reward{min-height:30px;padding:4px 8px;font-size:12px}#pp-game-dialog.is-featured .pp-special-reward strong{font-size:20px}#pp-game-dialog .pp-ladder-heading{height:26px;min-height:26px}}
@media(prefers-reduced-motion:reduce){#pp-game-dialog .pp-game-companion{animation:none!important}}
#pp-game-dialog.is-featured .pp-result-row{width:100%;white-space:normal;transform:none!important;flex:none}
#pp-game-dialog.is-featured .pp-result-row .pp-luck-amount{font-size:26px;line-height:1.1;margin:0}
/* R58.7: intrinsic dialog height, aligned forms and unclipped mascot. */
#pp-game-dialog.is-playing.is-wager[open],#pp-game-dialog.is-funds[open]{height:fit-content!important;block-size:fit-content!important;min-height:0!important;min-block-size:0!important;max-height:calc(100dvh - 24px)!important;max-block-size:calc(100dvh - 24px)!important;inset-block:0;margin-block:auto!important}
#pp-game-dialog.is-wager #pp-game-mount{block-size:auto!important;flex:none!important}
#pp-game-dialog.is-wager .pp-wager{height:auto;min-height:0;gap:16px;padding:22px 24px;text-align:center}
#pp-game-dialog.is-wager .pp-wager h2{margin:0 0 4px!important}
#pp-game-dialog.is-wager .pp-wager-rules{width:100%;min-width:0;white-space:nowrap;margin:2px 0!important;padding:6px 0;font-size:13px;line-height:22px;font-weight:400}
#pp-game-dialog .pp-money-field{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:12px;align-items:center;text-align:left;width:100%;border:0;background:transparent}
#pp-game-dialog .pp-money-field>label{margin:0;padding:0;font-size:15px;font-weight:700;line-height:22px;white-space:nowrap}
#pp-game-dialog .pp-money-input{display:flex;align-items:center;gap:8px;box-sizing:border-box;min-width:0;width:100%;height:48px;min-height:48px;margin:0;padding:10px 14px;border:1px solid #bfa3d6;border-radius:14px;background:#f4edfb}
#pp-game-dialog .pp-money-input input{min-width:0;width:100%;flex:1;height:26px;min-height:0;padding:0;margin:0;font-size:20px;font-weight:700;line-height:26px;border:0!important;border-radius:0;background:transparent;box-shadow:none!important}
#pp-game-dialog .pp-money-input>span{font-weight:400;font-size:14px;flex:none}
#pp-game-dialog.is-funds .pp-checkout{padding:22px 24px;gap:16px;justify-content:center;text-align:center;width:100%}
#pp-game-dialog.is-funds .pp-checkout form{width:100%;justify-items:center;gap:16px}
#pp-game-dialog.is-funds .pp-checkout p,#pp-game-dialog.is-funds .pp-checkout h2,#pp-game-dialog.is-funds .pp-checkout-price,#pp-game-dialog.is-funds [data-conversion]{width:100%;text-align:center;margin:0!important}
#pp-game-dialog.is-funds [data-conversion]{font-size:15px;font-weight:400;line-height:24px}
#pp-game-dialog.is-funds .pp-checkout form>.pp-primary{height:48px;min-height:48px;padding:10px 16px}
#pp-game-dialog.is-funds .pp-funds-token{margin:0 auto}
#paxplay-root .pp-stat-asset:first-child{grid-template-columns:minmax(0,1fr) max-content;column-gap:10px;grid-template-rows:1fr;align-items:center}
#paxplay-root .pp-stat-asset:first-child .pp-asset-left{grid-column:1;grid-row:1;align-self:center;padding:0}
#paxplay-root .pp-stat-asset:first-child .pp-asset-right{grid-column:2;grid-row:1;align-self:center;justify-self:end;justify-content:flex-end;align-items:center;white-space:nowrap;margin:0!important;padding:0;min-width:0}
#paxplay-root .pp-stat-asset:first-child #pp-wallet-amount{font-size:clamp(18px,1.8vw,28px);line-height:1.2;font-variant-numeric:tabular-nums}
#pp-game-dialog .pp-game-companion{overflow:visible!important}
#pp-game-dialog .pp-special-board[data-game="coin"]{grid-template-rows:48px minmax(0,1fr) auto;padding-top:18px!important;gap:10px}
#pp-game-dialog .pp-outcome{align-self:end;line-height:1.1;padding:0 8px;font-size:36px}
#pp-game-dialog .pp-coin-object{--coin-size:min(260px,80cqh,65cqw);width:var(--coin-size);height:var(--coin-size)}
.pp-coin-edge{position:absolute;display:block;width:10%;height:14px;left:50%;top:50%;margin:-7px 0 0 -5%;transform:rotateZ(var(--edge-angle)) translateY(calc(var(--coin-size)*-.425)) rotateX(90deg);background:#13866b;backface-visibility:hidden;pointer-events:none}
.pp-coin-object[data-face="tails"] .pp-coin-edge{background:#7540a4}
#pp-game-dialog .pp-face-choice[data-side="heads"]:is(:hover,:focus-visible),#pp-game-dialog .pp-ladder-choices button.is-selected,#pp-game-dialog .pp-ladder-results span.is-selected{box-shadow:0 0 0 2px #139f83!important;outline-color:#139f83!important}
#pp-game-dialog .pp-face-choice[data-side="tails"]:is(:hover,:focus-visible){box-shadow:0 0 0 2px #8629d2!important;outline-color:#8629d2!important}
#pp-game-dialog .pp-game-bar .pp-secondary:is(:hover,:focus-visible),#pp-game-dialog .pp-wager>.pp-primary:is(:hover,:focus-visible),#pp-game-dialog.is-funds form>.pp-primary:is(:hover,:focus-visible),#paxplay-root .pp-card.is-live .pp-select:is(:hover,:focus-visible){background:#77efd3!important;color:#072b22!important;box-shadow:0 0 0 2px #139f83!important;outline-color:#139f83!important}
@media(max-width:480px){#pp-game-dialog.is-wager .pp-wager,#pp-game-dialog.is-funds .pp-checkout{padding:20px 16px}#pp-game-dialog .pp-money-field{gap:10px}#pp-game-dialog .pp-money-field>label{font-size:14px}#pp-game-dialog.is-wager .pp-wager-rules{font-size:12px}#pp-game-dialog .pp-outcome{font-size:32px}#paxplay-root .pp-stat-asset:first-child #pp-wallet-amount{font-size:24px}}
#pp-game-dialog .pp-ladder-choices button:not(.is-selected):focus-visible{outline-color:#8629d2;box-shadow:0 0 0 2px #8629d2}
#pp-game-dialog .pp-ladder-heading .pp-game-companion{height:44px;top:-2px}

/* R58.10: shared card baselines and equal amount columns. */
#paxplay-root .pp-walletbar>.pp-stat,
#paxplay-root .pp-walletbar>.pp-stat-asset:first-child{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:minmax(48px,auto) 34px;align-content:start;align-items:center;column-gap:8px;row-gap:8px;min-height:118px;padding:14px 12px;box-sizing:border-box}
#paxplay-root .pp-walletbar .pp-asset-left,#paxplay-root .pp-walletbar>.pp-stat>.pp-asset-copy,#paxplay-root .pp-walletbar .pp-rank-copy{grid-column:1;grid-row:1;align-self:center;min-width:0;margin:0;padding:0}
#paxplay-root .pp-walletbar .pp-asset-copy,#paxplay-root .pp-walletbar .pp-rank-copy{display:grid;grid-template-rows:20px 18px;gap:4px;align-content:center}
#paxplay-root .pp-walletbar .pp-asset-copy>strong,#paxplay-root .pp-walletbar .pp-rank-copy>strong{font-size:13px;line-height:20px;margin:0}
#paxplay-root .pp-walletbar .pp-asset-copy>small,#paxplay-root .pp-walletbar .pp-rank-copy>small{font-size:12px;line-height:18px;margin:0}
#paxplay-root .pp-walletbar>.pp-stat>.pp-stat-value{grid-column:2;grid-row:1;align-self:center;justify-self:end;justify-content:flex-end;align-items:baseline;display:flex;gap:6px;min-width:0;width:auto;margin:0!important;padding:0;white-space:nowrap;line-height:1.2;font-variant-numeric:tabular-nums}
#paxplay-root .pp-walletbar>.pp-stat>.pp-stat-value>span:first-child{font-size:clamp(18px,1.8vw,28px);line-height:1.2}
#paxplay-root .pp-walletbar .pp-ppax-actions,#paxplay-root .pp-walletbar .pp-stat-action{grid-column:1/-1;grid-row:2;align-self:center}
#paxplay-root .pp-walletbar .pp-rank-details{position:relative;inset:auto;grid-column:1/-1;grid-row:2;justify-self:end;align-self:center;margin:0}
#paxplay-root .pp-play-wallet-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,320px);align-items:center;gap:12px;margin:10px 0}
#paxplay-root .pp-play-wallet-row>.pp-ticket-balance{margin:0;min-height:48px;box-sizing:border-box;justify-content:flex-start}
#paxplay-root .pp-play-wallet-row>.pp-ppax-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:center;width:100%;max-width:none;grid-column:auto;grid-row:auto;justify-self:end}
#paxplay-root .pp-play-wallet-row>.pp-ppax-actions button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;min-height:34px;margin:0;padding:7px 9px;border:0;border-radius:999px;background:#b8f5e5;color:#111;font-size:13px;line-height:20px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:640px){#paxplay-root .pp-play-wallet-row{grid-template-columns:minmax(0,1fr);gap:10px}#paxplay-root .pp-play-wallet-row>.pp-ppax-actions{max-width:320px;justify-self:center}}
.pp-ticket-balance>.pp-balance-value{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:8px;font-variant-numeric:tabular-nums}
.pp-balance-value>strong{font-size:28px;line-height:1.1;font-weight:700}
.pp-balance-value>span{font-size:14px;font-weight:400}
#pp-game-dialog{--pp-label-width:104px}
#pp-game-dialog .pp-wager>.pp-ticket-balance,#pp-game-dialog.is-funds .pp-checkout>.pp-ticket-balance,#pp-game-dialog .pp-money-field{display:grid;grid-template-columns:var(--pp-label-width) minmax(0,1fr);gap:12px;align-items:center;box-sizing:border-box;width:100%;padding:0;margin:0!important;border:0;background:transparent;text-align:left;min-height:48px}
#pp-game-dialog .pp-balance-label,#pp-game-dialog .pp-conversion-label,#pp-game-dialog .pp-money-field>label{font-size:15px;line-height:22px;font-weight:700;margin:0;text-align:left;white-space:normal}
#pp-game-dialog .pp-balance-value{display:flex;justify-content:flex-end;align-items:center;gap:8px;box-sizing:border-box;width:100%;height:48px;min-width:0;margin:0;padding:10px 14px;border:0;border-radius:14px;background:#f4edfb;color:#25143b}
#pp-game-dialog .pp-balance-value>strong{min-width:0;font-size:24px;line-height:26px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#pp-game-dialog .pp-balance-value>span{flex:none;font-size:14px;font-weight:400}
#pp-game-dialog .pp-money-input{height:48px;min-height:48px;background:#fff;border:1px solid #bfa3d6;padding:10px 14px;gap:8px}
#pp-game-dialog .pp-money-input input{text-align:right;vertical-align:middle;background:#fff}
#pp-game-dialog.is-funds .pp-checkout [data-conversion]{text-align:left}
#pp-game-dialog.is-wager .pp-wager-rules{word-spacing:1px}
#pp-game-dialog .pp-diagnostic-save{justify-self:center;border:0;background:transparent;color:#652996;font-size:13px;padding:4px 8px;cursor:pointer}
@media(max-width:480px){#pp-game-dialog{--pp-label-width:92px}#pp-game-dialog .pp-wager>.pp-ticket-balance,#pp-game-dialog.is-funds .pp-checkout>.pp-ticket-balance,#pp-game-dialog .pp-money-field{gap:10px}#pp-game-dialog .pp-balance-label,#pp-game-dialog .pp-conversion-label,#pp-game-dialog .pp-money-field>label{font-size:14px}#pp-game-dialog .pp-balance-value>strong{font-size:22px}#paxplay-root .pp-walletbar>.pp-stat>.pp-stat-value>span:first-child{font-size:26px}}

#pp-game-dialog.is-funds .pp-checkout,#pp-game-dialog.is-funds .pp-checkout form{box-sizing:border-box;min-width:0}
/* R58.11: compact dashboard, equal field insets and readable in-game balance. */
#paxplay-root .pp-walletbar>.pp-stat,#paxplay-root .pp-walletbar>.pp-stat-asset:first-child{min-height:72px;padding:12px;grid-template-rows:minmax(42px,auto);align-content:center;align-items:center;row-gap:0}
#paxplay-root .pp-walletbar>.pp-stat-rank{grid-template-columns:minmax(0,1fr) max-content auto;column-gap:10px}
#paxplay-root .pp-walletbar .pp-rank-details{grid-column:3;grid-row:1;align-self:center;justify-self:end;line-height:20px}
#paxplay-root .pp-walletbar .pp-rank-details .pp-rank-list{position:absolute;top:100%;right:0;left:auto;z-index:30}
#paxplay-root .pp-walletbar>.pp-stat:has(.pp-stat-action){grid-template-rows:minmax(42px,auto) auto;row-gap:6px}
#paxplay-root .pp-play-wallet-row{width:min(100%,784px);grid-template-columns:minmax(0,320px) minmax(0,440px);justify-content:start;gap:24px}
#paxplay-root .pp-play-wallet-row>.pp-ticket-balance{height:48px;min-height:48px;margin:0;padding:10px 14px;flex-wrap:nowrap;gap:8px;justify-content:flex-start}
#paxplay-root .pp-play-wallet-row .pp-balance-value>strong{font-size:24px}
#paxplay-root .pp-play-wallet-row>.pp-ppax-actions{gap:24px}
#paxplay-root .pp-play-wallet-row>.pp-ppax-actions button{height:48px;min-height:48px;padding:10px 14px}
#pp-game-dialog.is-wager .pp-wager>.pp-ticket-balance,#pp-game-dialog.is-wager .pp-wager>.pp-money-field,#pp-game-dialog.is-funds .pp-checkout>.pp-ticket-balance,#pp-game-dialog.is-funds .pp-checkout form>.pp-money-field{display:grid;grid-template-columns:var(--pp-label-width) minmax(0,1fr);width:100%;min-height:48px;gap:12px;padding:0!important;margin:0!important;border:0;background:transparent;text-align:left;box-sizing:border-box}
#pp-game-dialog.is-wager .pp-balance-label,#pp-game-dialog.is-wager .pp-money-field>label,#pp-game-dialog.is-funds .pp-balance-label,#pp-game-dialog.is-funds .pp-money-field>label,#pp-game-dialog.is-funds .pp-conversion-label{display:block;justify-self:start;align-self:center;width:100%;margin:0;padding:0;text-align:left;font-size:15px;line-height:22px;font-weight:700}
#pp-game-dialog.is-wager .pp-balance-value,#pp-game-dialog.is-funds .pp-balance-value,#pp-game-dialog.is-wager .pp-money-input,#pp-game-dialog.is-funds .pp-money-input{box-sizing:border-box;width:100%;height:48px;min-height:48px;padding:10px 14px;gap:8px;align-items:center}
#pp-game-dialog.is-wager .pp-balance-value>strong,#pp-game-dialog.is-funds .pp-balance-value>strong,#pp-game-dialog.is-wager .pp-money-input input,#pp-game-dialog.is-funds .pp-money-input input{font-size:24px;font-weight:700;line-height:28px;height:28px;min-height:0;margin:0;padding:0;text-align:right;font-variant-numeric:tabular-nums}
#pp-game-dialog .pp-money-input>span,#pp-game-dialog .pp-balance-value>span{font-size:14px;line-height:20px;font-weight:400}
#pp-game-dialog.is-featured .pp-game-bar>.pp-game-ticket-count{height:auto;min-height:28px;max-height:none;padding:0;margin:0;display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;background:transparent;overflow:visible}
#pp-game-dialog .pp-game-ticket-count .pp-balance-label{font-size:14px;line-height:22px;font-weight:400;white-space:nowrap}
#pp-game-dialog .pp-game-ticket-count .pp-balance-value,#pp-game-dialog .pp-board-balance .pp-balance-value{display:inline-flex;width:auto;height:auto;min-height:0;padding:0;gap:6px;background:transparent;align-items:baseline;justify-content:flex-end;white-space:nowrap}
#pp-game-dialog .pp-game-ticket-count .pp-balance-value>strong,#pp-game-dialog .pp-board-balance .pp-balance-value>strong{font-size:20px;line-height:24px}
#pp-game-dialog:has(.pp-game-board[data-game="ladder"]) .pp-game-bar{grid-template-rows:auto 38px}
#pp-game-dialog:has(.pp-game-board[data-game="ladder"]) .pp-game-instruction{grid-row:1}
#pp-game-dialog:has(.pp-game-board[data-game="ladder"]) .pp-game-bar .pp-preview-badge,#pp-game-dialog:has(.pp-game-board[data-game="ladder"]) .pp-session-actions button{grid-row:2}
#pp-game-dialog .pp-ladder-heading{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,auto) minmax(110px,1fr);gap:8px;align-items:center;width:100%;height:auto;min-height:42px;margin:0;padding:0 4px;font-size:14px;line-height:20px}
#pp-game-dialog .pp-ladder-heading>.pp-board-balance{grid-column:1;grid-row:1;justify-self:start;min-width:0;display:flex;align-items:center;white-space:nowrap}
#pp-game-dialog .pp-board-balance .pp-balance-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#pp-game-dialog .pp-ladder-heading>.pp-ladder-prompt{grid-column:2;grid-row:1;text-align:center}
#pp-game-dialog .pp-ladder-heading .pp-game-companion{position:relative;grid-column:3;grid-row:1;width:48px;height:48px;top:auto;right:auto;justify-self:end}
@media(max-width:640px){#paxplay-root .pp-play-wallet-row{width:100%;grid-template-columns:minmax(0,1fr);gap:12px}#paxplay-root .pp-play-wallet-row>.pp-ppax-actions{justify-self:start;max-width:440px;gap:12px}}
@media(max-width:480px){#pp-game-dialog.is-wager .pp-wager>.pp-ticket-balance,#pp-game-dialog.is-wager .pp-wager>.pp-money-field,#pp-game-dialog.is-funds .pp-checkout>.pp-ticket-balance,#pp-game-dialog.is-funds .pp-checkout form>.pp-money-field{gap:10px}#pp-game-dialog .pp-ladder-heading{grid-template-columns:110px minmax(0,1fr) 36px;gap:6px;min-height:48px}#pp-game-dialog .pp-ladder-heading .pp-game-companion{width:36px;height:40px}}

/* R58.13: consistent labels/actions and stable mint selection feedback. */
#paxplay-root .pp-play-wallet-row .pp-balance-label,
#paxplay-root .pp-play-wallet-row>.pp-ppax-actions button{font-size:16px!important;line-height:24px!important;font-weight:700!important}
#paxplay-root .pp-play-wallet-row>.pp-ppax-actions button:is(:hover,:focus-visible){background:#61e3ca!important;color:#111!important;box-shadow:0 0 0 3px #139f83!important;outline:none}
#pp-game-dialog.is-wager .pp-balance-label,
#pp-game-dialog.is-wager .pp-money-field>label,
#pp-game-dialog.is-funds .pp-balance-label,
#pp-game-dialog.is-funds .pp-money-field>label,
#pp-game-dialog.is-funds .pp-conversion-label,
#pp-game-dialog.is-wager .pp-wager>button,
#pp-game-dialog.is-funds .pp-checkout form>button{font-size:16px!important;line-height:24px!important;font-weight:700!important}
#pp-game-dialog.is-wager .pp-wager>button,
#pp-game-dialog.is-funds .pp-checkout form>button{box-sizing:border-box;height:48px;min-height:48px;padding:10px 14px}
#paxplay-root .pp-dashboard-diagnostic{display:block;margin:4px 0 12px auto;padding:6px 10px;border:0;background:transparent;color:#652996;font:inherit;font-size:14px;cursor:pointer}

#paxplay-root .pp-dashboard-diagnostic[hidden]{display:none!important}
/* R58.13: coin balance stays in one readable row at the upper left. */
#pp-game-dialog:has(.pp-game-board[data-game="coin"]) .pp-game-bar>.pp-game-ticket-count{grid-column:1/-1;grid-row:1;justify-self:start;justify-content:flex-start;align-items:center;display:flex;flex-wrap:nowrap;gap:8px;width:auto;max-width:100%;min-height:28px;margin:4px 0 6px;padding:0;text-align:left}
#pp-game-dialog:has(.pp-game-board[data-game="coin"]) .pp-game-ticket-count>.pp-balance-label{display:inline!important;position:static!important;clip-path:none!important;overflow:visible!important;width:auto!important;height:auto!important;margin:0!important;font-size:14px!important;line-height:24px;font-weight:400}
#pp-game-dialog:has(.pp-game-board[data-game="coin"]) .pp-game-ticket-count>.pp-balance-value{display:inline-flex;width:auto;align-items:center;justify-content:flex-start;gap:6px;padding:0;background:transparent;white-space:nowrap}
#pp-game-dialog:has(.pp-game-board[data-game="coin"]) .pp-game-bar>.pp-game-instruction{grid-column:1/-1!important;grid-row:2;margin:0 0 6px;padding:0;text-align:left}

/* R58.14: compact toolbar and live balance inside each featured board. */
#pp-game-dialog.is-featured .pp-game-bar{grid-template-rows:auto 38px!important;row-gap:4px!important;margin:0!important;padding:0!important;align-self:start}
#pp-game-dialog.is-featured .pp-game-bar>.pp-game-instruction{grid-row:1!important;margin:0!important;padding:0!important;min-height:24px}
#pp-game-dialog.is-featured .pp-game-bar .pp-preview-badge,#pp-game-dialog.is-featured .pp-session-actions button{grid-row:2!important}
#pp-game-dialog.is-featured .pp-game-board:is([data-game="coin"],[data-game="wheel"]){padding-top:42px!important}
#pp-game-dialog .pp-board-corner-balance{position:absolute;left:12px;top:10px;z-index:5;display:flex;gap:8px;align-items:center;max-width:calc(100% - 24px);height:24px;margin:0;padding:0;white-space:nowrap;pointer-events:none}
#pp-game-dialog .pp-game-board .pp-board-balance>.pp-balance-label{display:inline!important;position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;clip-path:none!important;overflow:visible!important;font-size:14px!important;font-weight:400!important;line-height:24px}
#pp-game-dialog .pp-board-balance>.pp-balance-value{display:inline-flex;gap:6px;align-items:center;justify-content:flex-start;width:auto;min-height:0;height:auto;padding:0;background:transparent}
#pp-game-dialog .pp-ladder-heading{grid-template-columns:minmax(0,1fr) auto 66px;gap:8px;min-height:44px;height:auto;padding:0;margin:0}
#pp-game-dialog .pp-ladder-heading>.pp-board-balance{gap:6px;flex-wrap:wrap;line-height:22px}
#pp-game-dialog .pp-ladder-heading>.pp-ladder-prompt{font-size:13px;line-height:18px}
/* Full original artwork, rendered as one continuous surface. */
#pp-game-dialog .pp-game-companion,#pp-game-dialog [data-phase] .pp-game-companion,#pp-game-dialog .is-win .pp-game-companion{animation:none!important;transform:none!important;overflow:visible!important;pointer-events:none}
#pp-game-dialog .pp-game-companion>.pp-puppet{display:block;width:100%;height:100%;overflow:visible;max-width:none;pointer-events:none}
#pp-game-dialog .pp-coin-arena>.pp-game-companion{width:100px;height:110px;right:0;top:20%;z-index:3}
#pp-game-dialog .pp-wheel-companion{top:auto;bottom:54px;right:0;width:96px;height:106px}
#pp-game-dialog .pp-wheel-companion .pp-game-companion{width:100%;height:100%;inset:0}
#pp-game-dialog .pp-ladder-heading .pp-game-companion{width:62px;height:62px;position:relative;top:auto;right:auto;grid-column:3;justify-self:end}
#pp-game-dialog [data-game="ladder"]:is([data-phase="tracing"],[data-phase="done"]) .pp-ladder-heading .pp-game-companion{visibility:hidden}
.pp-ladder-guide{pointer-events:none}
#pp-game-dialog [data-motion="stopped"] .pp-puppet *{animation:none!important}
@media(max-width:480px){#pp-game-dialog .pp-ladder-heading{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 46px;gap:4px}#pp-game-dialog .pp-ladder-heading .pp-game-companion{width:46px;height:50px}#pp-game-dialog .pp-board-corner-balance{left:10px;top:8px}#pp-game-dialog .pp-coin-arena>.pp-game-companion{width:76px;height:84px;right:0;top:24%}#pp-game-dialog .pp-wheel-companion{width:72px;height:80px;bottom:50px}#pp-game-dialog .pp-game-board .pp-board-balance>.pp-balance-label{font-size:13px!important}}
@media(max-height:540px){#pp-game-dialog.is-featured .pp-game-bar{grid-template-rows:auto 32px!important}#pp-game-dialog .pp-coin-arena>.pp-game-companion{width:60px;height:66px}}
#pp-game-dialog .pp-start-progress[hidden]{display:none!important}
#pp-game-dialog .pp-start-track{height:4px;width:100%;overflow:hidden;background:#d6f6ee;border-radius:999px}
#pp-game-dialog .pp-start-track>i{display:block;width:35%;height:100%;border-radius:inherit;background:#22c5a5;animation:pp-start-wait 1.2s ease-in-out infinite}
@keyframes pp-start-wait{from{transform:translateX(-100%)}to{transform:translateX(385%)}}
@media(prefers-reduced-motion:reduce){#pp-game-dialog .pp-start-track>i{animation:none;transform:none;width:100%}}
/* Keep the rank values and TOP 100 in place; align only its caption/points. */
#paxplay-root .pp-walletbar>.pp-stat-rank>.pp-rank-copy{justify-self:start;align-self:center;text-align:left!important;justify-items:start;align-content:center;width:auto;max-width:100%;margin:0!important;padding:0!important}
#paxplay-root .pp-walletbar>.pp-stat-rank>.pp-rank-copy>strong,#paxplay-root .pp-walletbar>.pp-stat-rank>.pp-rank-copy>small{text-align:left!important;margin:0!important}
#pp-game-dialog .pp-start-progress{width:100%;min-width:0;justify-self:stretch}
#pp-game-dialog .pp-ladder-design{overflow:visible}
#pp-game-dialog .pp-game-board[data-game="wheel"]{grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:center}

/* R58.15: captions center in the complete card, keeping the right-hand rank in its grid. */
#paxplay-root .pp-hero-copy{display:grid;grid-template-rows:auto minmax(0,1fr);align-content:start;align-items:start;justify-items:center;gap:0;padding-top:44px;padding-bottom:0}
#paxplay-root .pp-hero-actions{height:100%;min-height:60px;align-items:center;margin:0}
.pp-character-film{display:block;width:240px;height:260px;background:transparent;pointer-events:none}
@media(max-width:640px){#paxplay-root .pp-hero-copy{padding-top:36px;padding-bottom:0}}
#paxplay-root .pp-walletbar>.pp-stat-rank>.pp-rank-copy{position:absolute;left:12px;top:50%;transform:translateY(-50%);grid-row:auto;grid-column:auto}

/* R58.17: readable sector labels; retain the actual slot order and outcomes. */
.pp-dialog.is-playing .pp-wheel>span small{top:16%;left:50%;transform:translate(-50%,-50%) rotate(90deg);font-size:clamp(18px,7.3cqw,32px)!important;line-height:1.05;font-weight:400!important;color:#1a1028;-webkit-text-fill-color:#1a1028;text-shadow:none;filter:none;opacity:1;max-width:none;white-space:nowrap;letter-spacing:0}
.pp-dialog.is-playing .pp-wheel>span small.pp-wheel-empty{width:auto;font-size:clamp(14px,5cqw,22px)!important;line-height:1.1;white-space:nowrap;word-break:normal;overflow-wrap:normal;text-align:center}

/* R58.17: draw attention to STOP only while the coin is revolving. */
@property --pp-stop-bg{syntax:"<color>";inherits:false;initial-value:#8619ff}
@property --pp-stop-fg{syntax:"<color>";inherits:false;initial-value:#fff}
#pp-game-dialog .pp-game-board[data-game="coin"][data-phase="revolving"] .pp-stop-coin:not(:disabled){animation:pp-stop-attention .64s ease-in-out infinite;background:var(--pp-stop-bg)!important;color:var(--pp-stop-fg)!important;transform-origin:center;will-change:transform}
@keyframes pp-stop-attention{0%,100%{--pp-stop-bg:#8619ff;--pp-stop-fg:#fff;transform:translateY(0) scale(1)}50%{--pp-stop-bg:#2de4bf;--pp-stop-fg:#141020;transform:translateY(-3px) scale(1.04)}}
@media(prefers-reduced-motion:reduce){#pp-game-dialog .pp-game-board[data-game="coin"][data-phase="revolving"] .pp-stop-coin:not(:disabled){animation:none;--pp-stop-bg:#2de4bf;--pp-stop-fg:#141020;transform:none;will-change:auto}}

/* R58.18: one-line retry labels, selected multipliers and connected stage motion. */
.pp-dialog.is-playing .pp-wheel>span small.is-emphasis{font-weight:800!important}
#pp-game-dialog .pp-game-companion>.pp-puppet{transform-origin:50% 65%;will-change:transform}
#pp-game-dialog [data-motion="stopped"] .pp-game-companion>.pp-puppet{will-change:auto}
@media(prefers-reduced-motion:reduce){#pp-game-dialog .pp-game-companion>.pp-puppet{transform:none!important;will-change:auto}}

/* Separate the balance/actions row from the game-library title. */
#paxplay-root #pp-library{margin-top:20px}
#paxplay-root #pp-library .pp-library-head>div>p{display:none}

#pp-game-dialog .pp-wheel-companion{bottom:8px}
@media(max-width:480px){#pp-game-dialog .pp-wheel-companion{width:60px;height:66px;bottom:8px}}

/* R58.30: compact claim capsule; preserve the existing daily label and clock. */
#paxplay-root .pp-free-claim{border:0;border-radius:999px;background:#eee5f8;color:#6b329a;font:inherit;font-weight:600;line-height:inherit;padding:4px 10px;vertical-align:middle;cursor:pointer;box-shadow:none}
#paxplay-root .pp-free-claim:disabled{background:#f0f0f2;color:#8b8792;cursor:default;opacity:1}
/* Only the backgrounds change; original coin and Plinko SVGs remain intact. */
.pp-new-art.pp-coin-cover{background:linear-gradient(170deg,#ceb5ff 0%,#d1baff 35%,#dbc5ff 100%)}
.pp-new-art.pp-plinko-cover{background:linear-gradient(170deg,#472e66 0%,#4d316c 35%,#634584 100%)}

/* R58.52: retain the balance label at left; align amount and unit at right. */
#paxplay-root .pp-play-wallet-row>.pp-ticket-balance>.pp-balance-value{margin-inline-start:auto;text-align:right}

/* Charging notices finish with the same confirmation layout as completion. */
.pp-funds-notice .pp-success-mark{background:#f2eafd;color:#8211e9}
.pp-funds-notice p{margin:0;text-align:center;line-height:1.6}



/* R83: compact inline steps, one common balance/stake column width. */
#pp-game-dialog.is-wager{--pp-label-width:84px}
#pp-game-dialog.is-wager .pp-money-input{display:flex;gap:5px;padding:6px 8px}
#pp-game-dialog.is-wager .pp-wager-adds{display:flex;flex:none;gap:3px;align-items:center}
#pp-game-dialog.is-wager .pp-wager-adds button{min-width:0!important;width:auto!important;flex:none;height:30px;margin:0;padding:3px 5px!important;border:0;border-radius:7px;background:#22b992;color:#10382d;font-size:11px;font-weight:800;line-height:1;box-shadow:inset 0 1px 0 #ffffff80,0 2px 0 #105a452b}
#pp-game-dialog.is-wager .pp-wager-adds button:nth-child(2){background:#57d3b4}
#pp-game-dialog.is-wager .pp-wager-adds button:nth-child(3){background:#9be7d2}
#pp-game-dialog.is-wager .pp-wager-adds button:nth-child(4){background:#d7f5eb}
#pp-game-dialog.is-wager .pp-money-input input{flex:1;width:0;min-width:0;font-size:22px}
#pp-game-dialog.is-wager .pp-money-input>span{flex:none;font-weight:400}
@media(max-width:380px){#pp-game-dialog.is-wager{--pp-label-width:66px}#pp-game-dialog.is-wager .pp-wager-adds button{padding:3px!important;font-size:10px}#pp-game-dialog.is-wager .pp-money-input input{font-size:19px}}
#pp-game-dialog.is-wager .pp-balance-value{padding-right:8px}
@media(max-width:340px){#pp-game-dialog.is-wager .pp-wager>.pp-ticket-balance,#pp-game-dialog.is-wager .pp-wager>.pp-money-field{grid-template-columns:minmax(0,1fr);gap:6px}}

/* R95: MAX/+100/+10/+1 use equal compact widths and the original mint grades. */
#pp-game-dialog.is-wager .pp-wager-adds{display:grid;grid-template-columns:repeat(4,32px);gap:3px}
#pp-game-dialog.is-wager .pp-wager-adds button{width:32px!important;height:30px!important;min-width:0!important;padding:3px!important;font-size:10px!important;background:#22b992!important;color:#10382d!important}
#pp-game-dialog.is-wager .pp-wager-adds button:nth-child(2){background:#57d3b4!important}
#pp-game-dialog.is-wager .pp-wager-adds button:nth-child(3){background:#9be7d2!important}
#pp-game-dialog.is-wager .pp-wager-adds button:nth-child(4){background:#d7f5eb!important}

/* R98: wager field only; leave top-up, balance and button colors intact. */
#pp-game-dialog.is-wager .pp-money-input{border-color:#3ceac6}
#pp-game-dialog.is-wager .pp-money-input input::placeholder{color:#9a9a9a;opacity:1;font-weight:400}

/* R126 compact deposit controls; increments only edit the amount. */
#pp-game-dialog.is-funds .pp-money-input:has(.pp-funds-adds){border-color:#3ceac6;gap:5px;padding:6px 8px}
#pp-game-dialog.is-funds .pp-funds-adds{display:grid;grid-template-columns:repeat(4,32px);gap:3px;flex:none;align-items:center}
#pp-game-dialog.is-funds .pp-funds-adds button{width:32px!important;min-width:0!important;height:30px!important;min-height:30px!important;margin:0;padding:3px!important;border:0!important;border-radius:7px;background:#22b992!important;color:#10382d!important;font-size:10px!important;font-weight:800;line-height:1;box-shadow:inset 0 1px 0 #ffffff80,0 2px 0 #105a452b}
#pp-game-dialog.is-funds .pp-funds-adds button:nth-child(2){background:#57d3b4!important}
#pp-game-dialog.is-funds .pp-funds-adds button:nth-child(3){background:#9be7d2!important}
#pp-game-dialog.is-funds .pp-funds-adds button:nth-child(4){background:#d7f5eb!important}
#pp-game-dialog.is-funds .pp-money-input:has(.pp-funds-adds) input{flex:1;width:0;min-width:0}
#pp-game-dialog.is-funds .pp-money-input:has(.pp-funds-adds)>span{flex:none}
