/* PVP V17: live DOM, with a persistent orbit and server-owned result. */
.pvp-page{height:calc(var(--app-viewport-height,100dvh) - var(--bottom-nav-height,76px) - var(--app-safe-bottom));min-height:380px;display:flex;flex-direction:column;color:#f4f7ff;max-width:560px;margin:auto;background:#080e17;overflow:hidden}
.pvp-page *{box-sizing:border-box}.pvp-page [hidden]{display:none!important}.pvp-page button{font:inherit;cursor:pointer}.pvp-page button:disabled{cursor:default}.pvp-page button:focus-visible,.pvp-page a:focus-visible{outline:2px solid #a995ff;outline-offset:3px}.pvp-page img{display:block;object-fit:contain}.pvp-page button img{pointer-events:none}.pvp-page .game-header{flex:none;display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:8px;padding:8px 12px;min-height:60px}.pvp-balance{justify-self:end;display:flex;align-items:center;gap:5px;max-width:100%;border:1px solid #30435a;border-radius:13px;padding:4px 4px 4px 8px;background:#152031;text-decoration:none;color:inherit;font-size:clamp(12px,3.7vw,17px);white-space:nowrap}.pvp-balance>img{width:19px;height:19px}.pvp-balance>b{min-width:0;overflow:hidden;text-overflow:ellipsis}.pvp-balance>span{display:grid;place-items:center;width:34px;height:36px;border-radius:10px;background:#245de9;font-size:25px;flex:none}
.pvp-highlights{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:0 12px;padding:7px 0 12px;border-bottom:1px solid #2b3749;flex:none}.pvp-highlight{min-width:0;padding:0 10px}.pvp-highlight:first-child{padding-left:0;border-right:1px solid #465163}.pvp-highlight:last-child{padding-right:0}.pvp-highlight>div{display:flex;align-items:center;justify-content:space-between;gap:5px}.pvp-highlight b{font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pvp-highlight strong{font-size:14px;color:#21b4f3;white-space:nowrap;font-variant-numeric:tabular-nums}.pvp-highlight>small{display:flex;justify-content:space-between;margin-top:6px;color:#98a6bd;font-size:11px;white-space:nowrap}
.pvp-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 12px;container-type:size}.pvp-first{height:100cqh;min-height:310px;display:flex;flex-direction:column}.pvp-arena{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:hidden}.pvp-table{position:relative;width:100%;max-width:min(100%,calc((100cqh - 242px)*1.5));aspect-ratio:1.5;min-width:170px;flex:none;container-type:inline-size;overflow:hidden;background:radial-gradient(ellipse at 50% 94%,#17263b88,transparent 64%)}.pvp-orbit{position:absolute;inset:0 auto auto 0;width:100%;aspect-ratio:1;animation:pvp-table-turn 36s linear infinite}.pvp-slot{position:absolute;left:50%;top:50%;width:18cqw;height:24cqw;margin:-12cqw -9cqw;transform:rotate(var(--angle)) translateY(-38cqw);padding:0;border:0;background:none}.pvp-slot-face{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;gap:5px;border:1px solid #35445a;border-top:3px solid var(--tone,#2b394d);border-radius:20% 20% 27% 27%;background:linear-gradient(160deg,#26364d,#192537);color:inherit}.pvp-slot img{width:11cqw;height:11cqw}.pvp-slot b{font-size:clamp(10px,3.4cqw,15px)}.pvp-slot.empty{pointer-events:none}.pvp-slot.empty .pvp-slot-face{background:linear-gradient(150deg,#192535,#111c2a);border-color:#253246;color:#344359}.pvp-slot svg{width:10cqw;height:10cqw}.pvp-center{position:absolute;top:73%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:none;white-space:nowrap}.pvp-bank-title{font-size:12px;color:#9fb2ce}.pvp-bank-value{display:flex;align-items:center;gap:4px}.pvp-bank-value img{width:22px;height:22px}.pvp-bank-value strong{font-size:clamp(25px,8.5cqw,38px);line-height:1.12;letter-spacing:-1px;font-variant-numeric:tabular-nums}.pvp-game-number{color:#8e9db4;font-size:11px}.pvp-timer{margin-top:4px;font-size:13px;letter-spacing:1px;color:#f4d28c;border:1px solid #5f533b;background:#29283a;border-radius:8px;padding:2px 8px;font-variant-numeric:tabular-nums}
.pvp-reel-wrap{position:relative;width:100%;flex:1;min-height:159px;padding-top:14px}.pvp-reel{height:100%;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}.pvp-reel-track{height:100%;display:flex;align-items:center;gap:10px;will-change:transform}.pvp-reel-card{width:104px;height:calc(100% - 10px);flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(160deg,#203149,#152030);border:1px solid #40536b;border-top:2px solid var(--tone,#40536b);border-radius:17px;font-size:12px;color:#bbcae1}.pvp-avatar{display:grid;place-items:center;background:#263449;color:#e4dcff;font-weight:800;overflow:hidden;border-radius:50%;border:2px solid var(--tone,#40536b);flex:none}.pvp-avatar>img{width:100%;height:100%;object-fit:cover}.pvp-reel-card .pvp-avatar{width:63px;height:63px;font-size:27px}.pvp-reel-card b{max-width:94px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pvp-reel-card small{font-size:12px;font-weight:700}.pvp-reel-card.winner{border-color:#ffe1a2;background:#293b4c;box-shadow:inset 0 0 17px #b6d29f30;animation:pvp-winner 450ms ease-out}.pvp-pointer{position:absolute;left:50%;top:3px;transform:translateX(-50%);width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:10px solid #ffe1a2;filter:drop-shadow(0 0 6px #ffca7560)}.pvp-dock{flex:none;margin:16px 0 14px}.pvp-page .pvp-primary{width:100%;height:50px;min-height:44px;padding:0 9px;border:0;border-radius:14px;background:linear-gradient(105deg,#ffc34d,#ffda68 55%,#ffe58a);color:#38260b;font-size:16px;font-weight:800;box-shadow:inset 0 1px 0 #fff3bd99;opacity:1}.pvp-page .pvp-primary:disabled{background:linear-gradient(105deg,#6e6040,#82714b);color:#c2b38f;box-shadow:none}.pvp-connection{height:0;position:relative;text-align:center;font-size:11px;color:#99acc6;top:-13px;pointer-events:none}
.pvp-participants{padding:15px 0 8px}.pvp-participants>header{display:flex;justify-content:space-between;align-items:center;margin:0 2px 16px}.pvp-participants h2{font-size:17px;margin:0}.pvp-participants header span{color:#93a3ba;font-weight:700}.pvp-player-list{display:grid;gap:10px}.pvp-player-row{position:relative;display:flex;align-items:center;gap:11px;min-height:90px;padding:15px 14px;background:linear-gradient(120deg,#1e2c40,#152031);border-radius:17px;overflow:hidden}.pvp-player-row:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--tone)}.pvp-player-row>.pvp-avatar{width:49px;height:49px}.pvp-player-info{flex:1;min-width:0}.pvp-player-info>b{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pvp-player-bets{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.pvp-ton-chip,.pvp-gift-chip{display:flex;align-items:center;gap:4px;border:1px solid #34728d;background:#163348;border-radius:8px;padding:4px 6px;font-size:13px;font-weight:800}.pvp-ton-chip img{width:17px;height:17px}.pvp-gift-chip{padding:2px;background:#2b2942;border-color:#4a4862}.pvp-gift-chip img{width:30px;height:30px;object-fit:contain}.pvp-player-total{text-align:right;white-space:nowrap}.pvp-player-total strong{font-size:20px}.pvp-player-total small{display:block;margin-top:7px;font-size:12px;color:#9caec7;font-weight:700}.pvp-hash{display:flex;align-items:center;justify-content:center;gap:5px;margin:8px 0;padding:0;color:#8494ad}.pvp-hash button{background:none;border:0;color:inherit;padding:7px 4px;font-size:12px;min-height:33px}.pvp-hash code{font:inherit}.pvp-hash button:last-child{width:44px;font-size:20px}.pvp-hash-full{display:block;overflow-wrap:anywhere;user-select:all;padding:14px;background:#0e1929;border:1px solid #33435b;border-radius:12px;color:#c5d3e7;font-size:13px;line-height:1.7}
.pvp-sheet{position:fixed;inset:auto 0 0;width:100%;max-width:560px;max-height:calc(90dvh - var(--app-safe-top));margin:0 auto;padding:0;border:1px solid #30435a;border-bottom:0;border-radius:26px 26px 0 0;background:#111c2c;color:#f4f7ff;overflow:hidden}.pvp-sheet[open]{display:flex;flex-direction:column;animation:pvp-sheet-in 220ms ease-out}.pvp-sheet::backdrop{background:#030914b8;backdrop-filter:blur(7px)}.pvp-sheet>header{display:flex;align-items:center;justify-content:space-between;padding:18px 15px;border-bottom:1px solid #2b3b51;flex:none}.pvp-sheet h2{font-size:20px;margin:0}.pvp-sheet header button{width:44px;height:44px;background:#1d2b40;border:0;border-radius:10px;font-size:25px;color:#c5d4eb}.pvp-sheet-scroll{padding:18px 15px max(24px,var(--app-safe-bottom));overflow:auto;min-height:0}.pvp-sheet p{color:#99acc6;font-size:13px;line-height:1.6}.pvp-bet-sheet{height:84dvh}.pvp-currency-switch{position:relative;display:flex;height:52px;padding:4px;background:#0b1421;border-radius:14px;margin-bottom:18px}.pvp-currency-switch i{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:10px;background:#4a3475;transform:translateX(100%);transition:transform 240ms ease}.pvp-currency-switch[data-mode=gift] i{transform:translateX(0)}.pvp-currency-switch button{width:50%;background:none;border:0;z-index:1;font-size:16px;font-weight:700;color:#91a5c1}.pvp-currency-switch button[aria-selected=true]{color:#ebdefe}.pvp-ton-entry{background:#152031;border:1px solid #30435a;border-bottom:0;border-radius:19px 19px 0 0;padding:20px 18px 0}.pvp-bet-balance{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:25px;font-size:14px;color:#99acc6}.pvp-bet-balance strong{display:flex;align-items:center;gap:7px;color:#f4f7ff;font-size:20px;white-space:nowrap}.pvp-bet-balance img{width:23px;height:23px}.pvp-amount-label{display:block;color:#99acc6;font-size:14px;margin-bottom:10px}.pvp-amount-box{position:relative;display:flex;height:60px;padding:12px 15px;border:1px solid #34455e;border-radius:12px;background:#0e1929}.pvp-amount-box:focus-within{border-color:#a286f0;box-shadow:0 0 0 2px #7450d91f}.pvp-amount-box.invalid{border-color:#ff9d7f}.pvp-amount-box input{width:100%;min-width:0;background:none;border:0;outline:none;text-align:center;font-size:22px;padding:0 22px;color:#f4f7ff}.pvp-amount-box img{position:absolute;right:14px;top:20px;width:17px;height:17px}.pvp-submit{padding:17px 18px 18px;background:#152031;border:1px solid #30435a;border-top:0;border-radius:0 0 19px 19px}.pvp-bet-sheet[data-mode=gift] .pvp-submit{background:none;border:0;padding:18px 0 0}.pvp-error{min-height:22px;margin:0 0 5px!important;color:#efa1a1!important;font-size:12px!important}.pvp-gift-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pvp-gift-grid>button{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;background:#152031;border:1px solid #30435a;border-radius:16px;padding:12px 7px;color:#f4f7ff}.pvp-gift-grid>button[aria-pressed=true]{border-color:#a38cf4;background:#2c2444;box-shadow:0 0 0 1px #a38cf4}.pvp-gift-grid>button>img{width:95px;height:95px;object-fit:contain}.pvp-gift-grid b{font-size:13px;text-align:center}.pvp-gift-grid small{font-size:14px}.pvp-empty{text-align:center;padding:17px 0}.pvp-empty-icon{width:72px;height:72px;margin:0 auto 20px;border-radius:19px;display:grid;place-items:center;background:#292441;color:#c7b8ee}.pvp-empty-icon svg{width:41px;height:41px}.pvp-empty h3{font-size:21px}.pvp-secondary{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:12px 20px;background:#17263c;border:1px solid #34465f;border-radius:12px;color:#d3e0f5;font-size:14px;font-weight:700;text-decoration:none}.pvp-more{margin-top:12px;width:100%}
.pvp-result-player{display:flex;align-items:center;gap:11px;padding:14px 12px;border:1px solid #34455c;border-radius:16px;background:#172235}.pvp-result-player>.pvp-avatar{width:55px;height:55px}.pvp-result-name{min-width:0;flex:1}.pvp-result-name b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.pvp-result-name>span{display:block;color:#ffd05d;font-size:13px;font-weight:800;margin-top:5px}.pvp-result-total{text-align:right;white-space:nowrap}.pvp-result-total strong{display:flex;align-items:center;gap:4px;background:#26364b;border:1px solid #3c5068;border-radius:9px;padding:5px 8px;font-size:14px}.pvp-result-total img{width:16px;height:16px}.pvp-result-total small{display:block;font-size:12px;color:#adbacd;margin-top:4px}.pvp-rewards-heading{font-size:18px;margin:20px 0 13px}.pvp-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pvp-reward{border:1px solid #9270df;border-radius:18px;overflow:hidden;background:#0c1321}.pvp-reward-art{aspect-ratio:1;background:radial-gradient(ellipse at center,#56417977,#29263c);display:grid;place-items:center}.pvp-reward-art>img{width:100%;height:100%;object-fit:contain;padding:22px}.pvp-reward-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:14px 8px 16px;min-height:76px}.pvp-reward-label b{font-size:13px;text-align:center}.pvp-reward-amount{display:flex;align-items:center;justify-content:center;gap:6px;font-size:18px;font-weight:800}.pvp-reward-amount img{width:20px;height:20px}.pvp-ton-reward .pvp-reward-amount{font-size:24px}.pvp-history-tabs{display:flex;gap:8px;margin-bottom:14px}.pvp-history-tabs button{background:#1c2b40;border:0;padding:12px 20px;border-radius:9px;color:#f4f7ff}.pvp-history-tabs button[aria-selected=true]{background:#4a3475}.pvp-history-card{width:100%;text-align:left;background:#162438;color:#f4f7ff;border:1px solid #30435a;border-radius:15px;padding:12px;margin-bottom:10px}.pvp-history-card small{display:block;color:#99acc6;margin-top:6px}.pvp-rules{padding-left:24px}.pvp-rules li{padding:0 0 14px 5px}.pvp-rules p{margin:5px 0}
.pvp-page.paused .pvp-orbit{animation-play-state:paused}@keyframes pvp-table-turn{to{transform:rotate(360deg)}}@keyframes pvp-sheet-in{from{transform:translateY(25px);opacity:0}to{transform:none;opacity:1}}@keyframes pvp-winner{50%{filter:brightness(1.25)}}
@media(max-width:360px){.pvp-highlight b,.pvp-highlight strong{font-size:12px}.pvp-highlight>small{font-size:10px}.pvp-player-row{gap:8px;padding:12px 10px}.pvp-player-row>.pvp-avatar{width:42px;height:42px}.pvp-player-info>b{font-size:14px}.pvp-player-total strong{font-size:17px}.pvp-result-player{gap:8px;padding:12px 9px}.pvp-result-player>.pvp-avatar{width:42px;height:42px}.pvp-result-name b{font-size:15px}.pvp-result-total strong{font-size:12px;padding:4px}.pvp-bet-balance{font-size:12px}.pvp-bet-balance strong{font-size:17px}}
@media(max-height:700px){.pvp-table{max-width:min(100%,calc((100cqh - 222px)*1.5))}.pvp-reel-wrap{min-height:135px}.pvp-reel-card{gap:5px}.pvp-reel-card .pvp-avatar{width:55px;height:55px}.pvp-dock{margin:10px 0}.pvp-center{top:66%}.pvp-bank-title,.pvp-game-number{font-size:10px}.pvp-timer{font-size:11px}}
:where(html[data-motion="reduced"]) .pvp-page *,:where(html[data-motion="reduced"]) .pvp-page *:before,:where(html[data-motion="reduced"]) .pvp-page *:after{animation:none!important;transition:none!important}

.pvp-participation{margin-top:18px;border-top:1px solid #34455e;padding:14px 0;color:#c5d3e7}.pvp-participation summary{cursor:pointer;min-height:32px}
.pvp-bet-balance>span{min-width:0}.pvp-bet-balance>strong{min-width:0;max-width:65%}.pvp-bet-balance>strong>span{overflow:hidden;text-overflow:ellipsis}.pvp-bet-balance>strong>img{flex:none}.pvp-bank-value{max-width:75cqw}.pvp-bank-value>strong{min-width:0;overflow:hidden;text-overflow:ellipsis}.pvp-result-total{max-width:48%;min-width:0}.pvp-result-total>strong{overflow:hidden;text-overflow:ellipsis}.pvp-result-total>strong>img{flex:none}
