
.leaderhead{margin:45px 0 28px}.leaderhead h1{font-size:clamp(40px,6vw,72px);margin:12px 0}.leaderhead em{font-style:normal;color:#bca5ff}.leaderhead p,.leaderstats{color:#a8a2b5}.leaderstats{max-width:900px;display:flex;justify-content:space-between;gap:18px;font-size:13px;margin:30px 0 15px}.leaderlist{display:grid;gap:12px;max-width:900px}.leaderrow{display:flex;align-items:center;gap:20px;padding:18px 24px;border:1px solid #363546;border-radius:18px;background:#1c1c2b}.leaderrow:first-child{border-color:#bda7ff;background:linear-gradient(110deg,#282039,#1b1c29)}.leaderrow>div{margin-inline-start:auto;text-align:center}.leaderrow>div b{font-size:26px;color:#d4f3aa}.leaderrow small{display:block;font-size:11px;color:#aaa1ba}.leaderrank{width:30px;color:#bca5ff;font-size:25px}.leaderavatar{width:48px;height:48px;flex-shrink:0}.leaderavatar svg{width:100%;height:100%}.leaderme{outline:2px solid #bca5ff}@media(max-width:600px){.leaderrow{gap:12px;padding:14px}.leaderrow strong{font-size:14px}.leaderavatar{width:38px;height:38px}.leaderstats{font-size:11px}.leaderrow>div b{font-size:23px}}

.inbox-panel{margin:30px 0;padding:26px;border:1px solid #474055;border-radius:22px;background:#1b1d2b}.inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.inbox-heading h2{font-size:23px;margin:0}.inbox-heading span{color:#d4f3aa;font-size:12px}.inbox-items{display:grid;gap:12px;margin:20px 0}.inbox-message{padding:20px;border:1px solid #3d394c;border-radius:14px;background:#202031}.inbox-message.unread{border-inline-start:4px solid #bca6ff;background:#292237}.inbox-meta{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#bca6ff}.inbox-meta time{font-size:10px;color:#aaa1ba}.inbox-message p{white-space:pre-wrap;overflow-wrap:anywhere;color:#eee8f8;line-height:1.9;font-size:14px}.inbox-message button{padding:8px 13px;font-size:11px}@media(max-width:600px){.inbox-panel{padding:20px}.inbox-meta{flex-direction:column;gap:7px}}
.banner{flex-wrap:wrap}.inbox-panel{min-width:0}.inbox-message{min-width:0}
.coin-wallet{display:inline-flex;align-items:center;gap:8px;background:#232532;border:1px solid #514966;border-radius:14px;padding:9px 13px;color:#e9d59b;direction:ltr;font-size:16px}.coin-wallet svg{width:25px;height:25px;fill:#e6c76b16;stroke:#e9ce7b;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.userpill .coin-wallet{display:inline-flex!important}.banner{gap:12px}.banner>.tiny-btn{max-width:100%;min-width:0}.storehead{align-items:flex-start}@media(max-width:650px){.banner{display:grid;grid-template-columns:1fr}.banner>.tiny-btn{width:100%}.coin-wallet{font-size:14px;padding:8px 11px}}

.admin-coins{color:#e9ce7b;font-size:17px;display:block;margin-bottom:9px}.admin-message-list{padding:24px}.admin-message-list>h2{font-size:23px}.admin-message-list .inbox-message{margin:16px 0}.delete-broadcast{display:block;margin-top:16px}.dialogbox>p{white-space:pre-wrap;overflow-wrap:anywhere}.dialogbuttons{flex-wrap:wrap}.dialogbuttons button{max-width:100%}@media(max-width:650px){.admin-message-list{padding:20px}}

@media(max-width:650px){.admin-card .accounts-table{display:block;min-width:0;width:100%}.accounts-table thead{display:none}.accounts-table tbody{display:block}.accounts-table tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #363143;padding:12px}.accounts-table td{border:0;padding:9px 6px;overflow-wrap:anywhere}.accounts-table td:first-child{font-weight:700}.accounts-table td:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.accounts-table .adminbutton{padding:9px 11px}.accounts-table .admin-coins{font-size:21px}}

/* Shop live previews */
.preview-click{cursor:pointer;position:relative}
.preview-hint{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);background:#141625d9;color:#c6f48b;font-size:10px;border-radius:7px;padding:1px 9px;opacity:0;transition:opacity .2s;pointer-events:none;white-space:nowrap}
.preview-click:hover .preview-hint,.preview-click:focus-visible .preview-hint{opacity:1}
.preview-dialog{text-align:center}
.preview-stage{margin:14px auto 6px;min-height:170px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 45%,#262a3d,#171927);border:1px solid #2b2e40;border-radius:16px;padding:16px}
.pv-avatar svg{width:150px!important;height:150px!important}
.pv-big svg{width:150px!important;height:150px!important}
.pv-frame .identity-avatar svg{width:150px!important;height:150px!important}
.pv-badge{display:flex;align-items:center;gap:12px;background:#1b1e2b;border:1px solid #2b2e40;border-radius:14px;padding:12px 18px}
.pv-face svg{width:52px!important;height:52px!important}
.pv-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.pv-row b{font-size:15px}
.pv-cosmetic{background:#514163;color:#dac7f6;border-radius:8px;font-size:11.5px;padding:2px 10px}
.pv-effect{position:relative;width:100%;min-height:150px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px}
.pv-toast{background:#e6e0fa;color:#282137;font-weight:700;font-size:14px;border-radius:12px;padding:8px 20px;box-shadow:0 6px 24px #0006;animation:pvToastIn .5s ease both}
@keyframes pvToastIn{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
.pv-confetti i{position:absolute;top:-6%;width:8px;height:12px;border-radius:2px;animation:pvFall 2.4s linear infinite}
@keyframes pvFall{to{top:106%}}
@media(prefers-reduced-motion:reduce){.pv-confetti i,.pv-toast{animation:none}}

.inv-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.inv-chip{display:inline-flex;align-items:center;gap:7px;background:#1b1e2b;border:1px solid #2b2e40;border-radius:10px;padding:6px 11px;font-size:12.5px;color:#c8c9da}
.inv-x{border:0;background:none;color:#e5738e;font-weight:900;font-size:15px;cursor:pointer;padding:0 2px}
.inv-grant{display:flex;gap:10px;margin-top:8px}
.inv-grant select{flex:1;background:#1b1e2b;border:1px solid #2b2e40;border-radius:10px;padding:10px 12px;color:#f4f3fa;font:13px Rubik}

/* Level profile and badges */

.lvl{display:inline-flex;align-items:center;gap:4px;background:#222636;border:1px solid #2b2e40;border-radius:8px;padding:1px 8px;font-size:11px;font-weight:700;color:#c6f48b;vertical-align:2px}
.lvl b{font-size:12px}
.lvl.l5{color:#b8a5fc}.lvl.l9{color:#f6c64d}
.final-score .lvl{margin-inline-start:6px}
.profile-avatar{position:relative;display:inline-block}
.plvl{position:absolute;bottom:-8px;right:-8px;background:linear-gradient(135deg,#c6f48b,#9ed86a);color:#11131d;font-weight:900;font-size:13px;border-radius:10px;padding:2px 9px;box-shadow:0 0 16px #c6f48b55}
.ptitle{font-weight:800;margin-top:10px;font-size:17px}
.level-progress{height:7px;background:#11131d;border:1px solid #2b2e40;border-radius:8px;margin-top:8px;max-width:320px}
.level-progress span{display:block;height:100%;background:#c6f48b;border-radius:8px}
.pnext{color:#a0a2b8;font-size:12.5px;margin-top:6px}
.leaderrow .lvl{margin-inline-start:8px}

.profile-hero .level-progress{margin:23px auto 0}.leaderrow strong{min-width:0;overflow-wrap:anywhere}.leaderrow .lvl{flex-shrink:0}@media(max-width:480px){.leaderrow{gap:7px}.leaderrow .lvl{font-size:10px;padding:1px 5px}.leaderrow strong{font-size:12px}}
.pnext b{direction:ltr;unicode-bidi:isolate;display:inline-block}.profile-hero+.statrow{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:650px){.profile-hero+.statrow{grid-template-columns:repeat(2,minmax(0,1fr))}}

.price{display:inline-flex;align-items:center;gap:7px;direction:ltr;color:#ecd9a0;font-weight:700}
.price svg{width:17px;height:17px;fill:#e6c76b16;stroke:#e9ce7b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.xp-wallet{display:inline-flex;align-items:center;gap:7px;background:#232a25;border:1px solid #4c6244;border-radius:14px;padding:9px 13px;color:#d8f0b2;direction:ltr;font:700 16px Rubik,Arial;text-decoration:none}
.xp-wallet svg{width:19px;height:19px;fill:#cdf49c22;stroke:#cdf49c;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:650px){.xp-wallet{font-size:14px;padding:8px 11px}}
body{padding-top:env(safe-area-inset-top)}
html{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}

button,a,[role=button],input,select,textarea,label{touch-action:manipulation}

#userpill{min-height:38px;display:flex;align-items:center;gap:8px;justify-content:flex-end}
@media(max-width:650px){#userpill{min-height:34px}}

main.wrap{padding-top:1px}
