.shop-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px;border:1px solid #6b7451;border-radius:22px;background:#0d1d16;color:#f3f1e5;font:14px/1.5 system-ui,sans-serif;}
.shop-dialog *{box-sizing:border-box;}
.shop-dialog::backdrop{background:#000b;backdrop-filter:blur(5px);}
.shop-dialog>header{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:23px;}
.shop-dialog header small{font-size:10px;letter-spacing:1.6px;color:#eed99d;}
.shop-dialog h2{margin:8px 0;font-size:28px;line-height:1.2;letter-spacing:-.6px;color:#f3f1e5;}
.shop-dialog header p{font-size:13px;color:#b0c1b2;margin:0;}
.shop-dialog [data-shop-close]{flex-shrink:0;width:44px;min-height:44px;background:none;border:1px solid #455540;border-radius:10px;font-size:25px;color:#f3f1e5;cursor:pointer;}
.shop-pro{padding:26px;border:1px solid #bda15b;border-radius:17px;background:radial-gradient(ellipse at top right,#8a733b38,transparent 65%),linear-gradient(145deg,#20372a,#17271c);}
.shop-badge{display:inline-block;font-size:11px;letter-spacing:1.5px;color:#ffe2a0;font-weight:700;}
.shop-pro h3{font-size:30px;margin:0 0 15px;line-height:1.12;letter-spacing:-1px;color:#fff4d5;}
.shop-pro-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);align-items:center;gap:20px;}
.shop-pro ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 20px;margin:25px 0;}
.shop-pro .shop-primary-benefits{margin:0;gap:10px;}
.shop-pro .shop-extra-benefits{margin:24px 0;gap:20px;}
.shop-pro li{display:flex;gap:11px;min-width:0;align-items:flex-start;}
.shop-feature-icon{width:35px;height:35px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#d8ba6820;color:#ffe2a0;}
.shop-feature-icon svg{width:20px;height:20px;}
 .shop-pro li strong,.shop-pro li div>span{display:block;}
.shop-pro li .shop-benefit-short{display:none;}
.shop-pro li strong{font-size:13px;color:#f3f1e5;font-weight:600;line-height:1.4;}
.shop-pro li div>span{color:#b0c1b2;font-size:11px;line-height:1.6;margin-top:4px;}
.shop-pro .shop-main-benefit{display:flex;flex-direction:column;gap:0;padding:12px;border:1px solid #c4ab665c;border-radius:12px;background:linear-gradient(125deg,#d3bf7122,#d3bf7108);}
.shop-pro .shop-main-benefit.is-normal{border-color:#56c89966;background:linear-gradient(135deg,#23533b,#173d2d);}
.shop-pro .shop-main-benefit.is-super{border-color:#ac85d67a;background:linear-gradient(135deg,#49315e,#30243f);}
.shop-main-benefit.is-normal .shop-benefit-value{color:#8ceac0;}
.shop-main-benefit.is-super .shop-benefit-value{color:#ddbaff;}
.shop-pro .shop-main-benefit.is-normal>span{color:#c0ddce;}
.shop-pro .shop-main-benefit.is-super>span{color:#d7c6e7;}
.shop-main-benefit-head{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-bottom:10px;}
.shop-benefit-value{font-size:42px;line-height:1;letter-spacing:-2px;font-weight:750;color:#ffe2a0;}
.shop-pro .shop-main-benefit>strong{font-size:13px;}
.shop-pro .shop-main-benefit>span{color:#c4d4c5;font-size:11px;line-height:1.65;margin-top:5px;}
.shop-pro .shop-main-benefit>.shop-primary-compact{display:none;}
.shop-subscribe{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #7d744a66;padding-top:19px;}
.shop-price{display:flex;align-items:baseline;gap:6px;white-space:nowrap;}
.shop-price strong{font-size:31px;font-weight:650;letter-spacing:-1px;color:#ffe2a0;}
.shop-price span{color:#b0c1b2;font-size:12px;}
.shop-subscribe button{padding:13px 28px;min-height:48px;border:1px solid #c69beb;border-radius:10px;background:#48255e;color:#fff4ff;font:700 14px/1.35 system-ui;box-shadow:0 3px 18px #ac76dc26;}
.shop-subscribe button:hover:not(:disabled){background:#572e70;}
.shop-subscribe button:disabled{opacity:1;}
.shop-subscribe button span{margin-left:12px;}
.shop-pro-action{text-align:center;}
.shop-pro-action>small{display:block;margin-top:5px;font-size:10px;color:#b0c1b2;}
.shop-dialog button:disabled{cursor:not-allowed;opacity:.85;}
.shop-topups{margin-top:27px;}
.shop-topups-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;}
.shop-topups-heading h3{font-size:17px;letter-spacing:-.3px;margin:0;color:#f3f1e5;}
.shop-topups-heading>span{font-size:11px;color:#b0c1b2;white-space:nowrap;}
.shop-topups article{display:flex;gap:12px;align-items:center;padding:13px;border:1px solid #3d503d;border-radius:13px;background:#16291e;min-width:0;min-height:85px;}
.shop-topups strong{display:block;flex:1;min-width:0;color:#f3f1e5;font-size:13px;line-height:1.4;}
.shop-topups button{padding:8px 12px;border:1px solid #9b8857;border-radius:8px;background:#373522;color:#ffe2a0;font:600 13px/1.35 system-ui;min-height:40px;white-space:nowrap;}
.shop-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.shop-offers img{width:40px;height:58px;object-fit:contain;flex-shrink:0;}
.shop-offers button{flex-shrink:0;}
.shop-coin{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#d5b765;color:#2b3320;border:2px solid #f1dc9c;box-shadow:inset 0 0 0 2px #9c8549;font:600 23px Georgia,serif;}
.wallet-dialog .wallet-shop-link{box-sizing:border-box;width:100%;display:flex;align-items:center;justify-content:center;gap:14px;margin:14px 0 10px;padding:14px 18px;min-height:56px;border:0;border-radius:10px;background:#48255e;color:#fff3ff;font:700 16px/1.35 system-ui,sans-serif;text-align:center;cursor:pointer;}
.wallet-shop-link>span:first-child{min-width:0}.wallet-shop-link>span[aria-hidden]{flex-shrink:0}
.wallet-dialog .wallet-shop-link:hover{background:#572e70;}.wallet-dialog .wallet-shop-link:focus-visible{outline:2px solid #e9d1ff;outline-offset:3px;}
html.local-shop-preview .server-game [data-open-shop]{display:block!important;}

.shop-dialog :focus-visible{outline:2px solid #ffe2a0;outline-offset:3px;}
@media(max-width:700px){.shop-pro-hero{grid-template-columns:1fr;}.shop-pro h3{font-size:32px;}}
@media(max-width:600px){
 .shop-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px 12px;border-radius:18px;}
 .shop-dialog>header{position:sticky;top:-14px;z-index:2;background:#0d1d16;padding:10px 0;margin:-8px 0 12px;align-items:center;gap:8px;}
 .shop-dialog header small{font-size:9px;letter-spacing:1.1px;}
 .shop-dialog h2{font-size:21px;margin:4px 0 0;letter-spacing:-.45px;}
 .shop-dialog header p{display:none;}
 .shop-pro{padding:16px 12px;border-radius:14px;}
 .shop-pro-hero{gap:13px;}
 .shop-pro h3{font-size:23px;margin-bottom:6px;}
 .shop-badge{font-size:10px;letter-spacing:1px;}
 .shop-pro .shop-primary-benefits{gap:8px;}
 .shop-pro .shop-main-benefit{padding:11px 10px;border-radius:10px;}
 .shop-main-benefit-head{margin-bottom:6px;}
 .shop-benefit-value{font-size:32px;letter-spacing:-1px;}
 .shop-pro .shop-main-benefit>strong{font-size:13px;line-height:1.3;}
 .shop-pro .shop-main-benefit>.shop-primary-detail{display:none;}
 .shop-pro .shop-main-benefit>.shop-primary-compact{display:block;font-size:12px;line-height:1.4;}
 .shop-pro .shop-extra-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0;}
 .shop-extra-benefits>li:first-child{grid-column:1/-1;}
 .shop-extra-benefits li{padding:10px 8px;border:1px solid #78927344;border-radius:9px;background:#10251b55;}
 .shop-extra-benefits summary{min-height:44px;display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px;align-items:center;}
 .shop-extra-benefits summary>strong{font-size:12px;line-height:1.4;}
 .shop-extra-benefits summary>strong::after{content:' +';color:#ffe2a0;}
 .shop-extra-benefits details[open] summary>strong::after{content:' −';}
 .shop-extra-benefits .shop-feature-icon{width:18px;height:20px;background:none;border-radius:0;}
 .shop-extra-benefits .shop-feature-icon svg{width:17px;height:17px;}
 .shop-extra-benefits details[open] .shop-feature-icon{margin:0;}
 .shop-extra-benefits details>span{margin:7px 0 0;color:#c4d4c5;font-size:12px;line-height:1.5;}
 .shop-subscribe{padding-top:13px;gap:10px;}
 .shop-price strong{font-size:27px;}
 .shop-price span{font-size:11px;}
 .shop-subscribe button{padding:11px 13px;font-size:13px;min-height:44px;}
 .shop-subscribe button span{margin-left:5px;}
 .shop-pro-action>small{font-size:10px;}
 .shop-topups{margin-top:20px;}
 .shop-topups-heading{margin-bottom:10px;gap:6px;}
 .shop-topups-heading h3{font-size:15px;}
 .shop-topups-heading>span{font-size:10px;}
 .shop-offers{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .shop-topups article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:10px;min-height:0;}
 .shop-topups strong{grid-column:1/-1;grid-row:1;font-size:12px;line-height:1.4;min-height:34px;}
 .shop-offers img{width:25px;height:36px;}
 .shop-coin{width:27px;height:27px;font-size:18px;}
 .shop-topups button{justify-self:end;min-height:44px;padding:8px 9px;font-size:13px;}
}
.shop-payment{padding:16px;margin:12px 0;background:#17382c;border:1px solid #eed99d;border-radius:12px;color:#f3f1e5}
.shop-payment[hidden]{display:none!important}
.shop-payment h3{margin:0 0 8px;font-size:18px}.shop-payment p{font-size:14px;line-height:1.5;margin:8px 0}
.shop-payment-actions{display:flex;flex-wrap:wrap;gap:8px}
:is(.shop-payment,.shop-purchase-dialog) button{min-height:44px;padding:8px 12px;border:1px solid #eed99d;border-radius:8px;background:#eed99d;color:#10251b;font:inherit;cursor:pointer}
.shop-payment button:disabled{opacity:.6;cursor:wait}
.shop-sales-territory{display:flex;align-items:center;gap:8px;font-size:14px;margin:8px 0}
.shop-dialog :is(.shop-sales-territory,.shop-sales-terms)[hidden]{display:none}
.shop-sales-terms{color:#eed99d;text-underline-offset:3px}
.shop-dialog.shop-purchase-dialog{width:min(420px,calc(100vw - 24px));padding:20px;border-color:#997cb6}
.shop-purchase-dialog h3{margin:0;font-size:20px}
.shop-purchase-dialog p{margin:8px 0 12px}
.shop-purchase-dialog label{min-height:36px;cursor:pointer}
.shop-purchase-dialog input{flex-shrink:0;accent-color:#9261b9}
.shop-purchase-dialog button[type=submit]{background:#6b418e;color:white;border-color:#a779c4}
.shop-purchase-dialog [data-purchase-back]{background:transparent;color:#f3f1e5;border-color:#6b7451}
.shop-purchase-dialog [role=status]:empty{display:none}
.shop-withdrawal label{display:grid;gap:5px;margin:10px 0;font-size:14px}
.shop-withdrawal input{width:100%;box-sizing:border-box;padding:9px;border:1px solid #acc8bb;border-radius:8px;background:#10241b;color:#f3f1e5;font:inherit}

.shop-history-button{display:block;width:100%;min-height:44px;margin-top:16px;border:1px solid #526e59;border-radius:10px;background:#1a3426;color:#f3e1ae;font:inherit;cursor:pointer}.shop-orders[hidden]{display:none}.shop-orders article{margin-top:10px;padding:12px;border:1px solid #405844;border-radius:12px;overflow-wrap:anywhere}.shop-orders article strong,.shop-orders article small{display:block}.shop-orders article small{margin-top:4px;color:#a9beae}.shop-orders article p{font-size:13px;line-height:1.5}.shop-orders article button{min-height:40px;padding:6px 12px;border:1px solid #99895a;border-radius:8px;background:#2c3e2c;color:#ffe2a0;cursor:pointer}

.sidebar-pro-shortcut{display:none;}
body:not(.auth-gated) .sidebar .sidebar-pro-shortcut{
 display:inline-flex;align-items:center;justify-content:space-between;gap:8px;flex:none;
 box-sizing:border-box;min-height:44px;padding:0 8px 0 12px;border:1px solid #9272b0;border-radius:12px;
 background:radial-gradient(ellipse at 20% 0%,#62417970,transparent 75%),linear-gradient(135deg,#412456,#281834);
 box-shadow:inset 0 1px 0 #ead5ff24,0 2px 6px #140c2080;color:#f8edff;
 font:800 13px/1 system-ui,sans-serif;letter-spacing:.1em;cursor:pointer;
}
.sidebar-pro-label{display:inline-flex;align-items:center;gap:6px;}
.sidebar-pro-star{color:#d9b6f4;font-size:13px;}
.sidebar-pro-arrow{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:8px;background:#edd0ff1c;color:#f1dbff;}
body:not(.auth-gated) .sidebar .sidebar-pro-shortcut:hover{border-color:#c2a0e1;filter:brightness(1.12);}
.sidebar-pro-shortcut:hover .sidebar-pro-arrow{background:#edd0ff30;}
.sidebar-pro-shortcut:focus-visible{outline:2px solid #e9d1ff;outline-offset:2px;}
@media(max-width:980px){
 body:not(.auth-gated) .sidebar .sidebar-pro-shortcut{justify-content:center;gap:4px;min-height:38px;margin-right:auto;padding:0 5px 0 7px;font-size:12px;letter-spacing:.04em;}
 .sidebar-pro-star{display:none;}
 .sidebar-pro-arrow{width:19px;height:19px;border-radius:6px;}
 .sidebar-pro-arrow svg{width:13px;height:13px;}
 body:not(.auth-gated) .sidebar:has(> .sidebar-pro-shortcut) .brand{margin-right:0;}
 body:not(.auth-gated) .sidebar:has(> .sidebar-pro-shortcut) .wallet-chat-controls{max-width:none;}
}
@media(max-width:430px){
 body:not(.auth-gated) .sidebar:has(.sidebar-pro-shortcut){gap:5px;padding-inline:10px;}
 .sidebar:has(> .sidebar-pro-shortcut) .wallet-chat-controls{gap:5px;}
 .sidebar:has(> .sidebar-pro-shortcut) .wallet-chat-controls .sidebar-wallet{gap:4px;padding-inline:6px;}
}
@media(max-width:360px){
 body:not(.auth-gated) .sidebar:has(.sidebar-pro-shortcut) .brand-word{font-size:18px;}
 body:not(.auth-gated) .sidebar .sidebar-pro-shortcut{gap:3px;padding-inline:4px;font-size:11px;}
 .sidebar-pro-arrow{width:16px;height:17px;}
 .sidebar:has(> .sidebar-pro-shortcut) .wallet-chat-controls .general-chat-toggle{width:34px;}
 .sidebar:has(> .sidebar-pro-shortcut) .wallet-chat-controls .sidebar-wallet strong{font-size:14px;}
 .sidebar:has(> .sidebar-pro-shortcut) .wallet-chat-controls .wallet-coin{width:21px;height:21px;font-size:14px;}
}

@media(max-width:600px){
 .shop-dialog{padding:8px 9px;}
 .shop-dialog>header{top:-8px;margin:0 0 7px;padding:0 0 3px;}
 .shop-dialog h2{font-size:18px;}
 .shop-dialog [data-shop-close]{width:33px;min-height:33px;padding:0;font-size:20px;}
 .shop-pro{padding:8px;}
 .shop-pro-hero{gap:5px;}
 .shop-pro-copy{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
 .shop-pro h3{display:none;}
 .shop-pro .shop-primary-benefits{gap:5px;}
 .shop-pro-action{min-width:0;}
 .shop-subscribe button{white-space:nowrap;}
 .shop-badge{line-height:1.1;}
 .shop-pro .shop-main-benefit{padding:5px 7px;}
 .shop-main-benefit-head{margin:0;}
 .shop-benefit-value{font-size:23px;}
 .shop-pro .shop-main-benefit>strong{font-size:11px;}
 .shop-pro .shop-main-benefit>.shop-primary-compact{font-size:10px;line-height:1.25;margin-top:3px;}
 .shop-pro .shop-extra-benefits{gap:4px;margin:6px 0;}
 .shop-extra-benefits>li:first-child{grid-column:auto;}
 .shop-extra-benefits li{padding:4px;gap:4px;}
 .shop-extra-benefits .shop-feature-icon{width:14px;height:15px;}
 .shop-extra-benefits .shop-feature-icon svg{width:13px;height:13px;}
 .shop-pro .shop-extra-benefits li strong{font-size:10.5px;line-height:1.22;}
 .shop-pro .shop-extra-benefits li div>span{font-size:10.5px;line-height:1.25;margin-top:2px;}
 .shop-subscribe{padding-top:5px;}
 .shop-price strong{font-size:21px;}
 .shop-subscribe button{min-height:34px;padding:5px 8px;font-size:11px;}
 .shop-pro-action>small{margin-top:2px;font-size:9px;}
 .shop-topups{margin-top:7px;}
 .shop-topups-heading{margin-bottom:4px;}
 .shop-topups-heading h3{font-size:13px;}
 .shop-offers{gap:4px;}
 .shop-topups article{grid-template-columns:minmax(0,1fr) auto;gap:3px;padding:4px;}
 .shop-topups strong{grid-column:auto;grid-row:auto;align-self:center;min-height:0;font-size:10px;line-height:1.22;}
 .shop-offers :is(img,.shop-coin){display:none;}
 .shop-topups button{min-height:32px;padding:3px 5px;font-size:11px;}
 .shop-history-button{margin-top:5px;min-height:33px;padding:4px 6px;font-size:11px;}
 .shop-dialog>header [data-shop-close]{line-height:1;}
 .shop-pro .shop-extra-benefits li .shop-benefit-full{display:none;}
 .shop-pro .shop-extra-benefits li .shop-benefit-short{display:block;font-size:11px;}
}

@media(max-width:360px){
 .shop-pro .shop-extra-benefits>li:last-child{grid-column:1/-1;}
}

@media(max-width:600px) and (max-height:650px){
 .shop-dialog>header{margin-bottom:4px;}
 .shop-pro-copy{display:none;}
 .shop-pro{padding:6px;}
 .shop-topups{margin-top:4px;}
 .shop-topups-heading{margin-bottom:2px;}
}

.shop-dialog[data-subscription-management] :is(.shop-sales-territory,.shop-sales-terms){display:none}
.shop-dialog[data-subscription-management] :is(.shop-pro,.shop-topups,.shop-history-button,header small,header p){display:none;}
