/* DigiStore V1.0. Independent screen, preserves the original Digivice layout. */
.digivice-brand{min-width:0;display:grid;gap:4px;flex:1}
.digistore-header-btn{margin-left:auto;white-space:nowrap;flex-shrink:0;border-radius:12px;
 border:1px solid #6c78d2;background:linear-gradient(135deg,#162b51,#302759);
 color:#e6edff;box-shadow:0 0 15px #6a65ec3d;cursor:pointer;
 padding:11px 12px;font-size:calc(11px + 1pt);font-weight:900;letter-spacing:.015em}
.digistore-header-btn:focus-visible{outline:2px solid #9be6fb;outline-offset:3px}
.digistore-root[hidden]{display:none!important}
.digistore-root{position:fixed;inset:0;z-index:1100;
 background:linear-gradient(155deg,#090f22,#111b3d 56%,#0d1830);
 overflow-y:auto;overscroll-behavior:contain;padding:20px 14px 32px;
 color:#f2f8ff;scrollbar-color:#6377af transparent}
.digistore-root *{box-sizing:border-box;min-width:0}
.ds-shell{width:min(100%,640px);margin:auto;display:grid;gap:13px;
 border-radius:20px;background:#131d3a;border:1px solid #354d7a;padding:17px}
.ds-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.ds-heading h2{font-size:calc(23px + 1pt);line-height:1.2;margin:5px 0 7px}
.ds-heading p{font-size:calc(11px + 1pt);line-height:1.5;color:#b3c8df;margin:0}
.ds-wallet{flex-shrink:0;text-align:center;background:linear-gradient(145deg,#293457,#382a63);
 border:1px solid #7667a8;padding:11px;border-radius:12px;display:grid;gap:5px}
.ds-wallet small{font-size:calc(9px + 1pt);color:#a9c6e5}
.ds-wallet b{color:#ddcdff;font-size:calc(14px + 1pt);white-space:nowrap}
.ds-kicker{font-size:calc(9px + 1pt);letter-spacing:.12em;color:#79d4e3;font-weight:850}
.ds-shell h3{font-size:calc(15px + 1pt);line-height:1.2;margin:10px 0 0;color:#d4e7f9}
.ds-btn{border-radius:10px;min-height:40px;cursor:pointer;padding:10px 13px;
 border:1px solid #617eaf;color:#e6f1ff;background:linear-gradient(145deg,#223655,#273053);
 font-size:calc(12px + 1pt);font-weight:800}
.ds-btn:disabled{opacity:.45;cursor:not-allowed}
.ds-btn:focus-visible,.ds-recharge:focus-visible{outline:2px solid #7cdbed;outline-offset:2px}
.ds-back{justify-self:start;background:#1b3150}
.ds-card{display:grid;gap:13px;padding:13px;background:linear-gradient(130deg,#182849,#172346);
 border:1px solid #46608d;border-radius:14px}
.ds-card-head{display:flex;align-items:center;gap:10px}
.ds-icon{font-size:calc(27px + 1pt)}
.ds-card-head>div{display:grid;gap:5px}
.ds-card-head strong{font-size:calc(14px + 1pt);color:#f5f9ff;line-height:1.4}
.ds-card-head small{font-size:calc(10px + 1pt);color:#afc5df;line-height:1.45}
.ds-card-foot{display:flex;align-items:center;justify-content:space-between;gap:9px}
.ds-card-foot>b{color:#d5baff;font-size:calc(14px + 1pt);white-space:nowrap}
.ds-vip{background:linear-gradient(115deg,#504022,#24264a);border-color:#d8ae55}
.ds-vip .ds-card-head strong,.ds-vip .ds-card-foot>b{color:#ffdea0}
.ds-bronze{border-color:#a87958}.ds-bronze .ds-card-head strong{color:#e5b18f}
.ds-prata{border-color:#a0acc7}.ds-prata .ds-card-head strong{color:#e0e7f8}
.ds-ouro{border-color:#e1b958}.ds-ouro .ds-card-head strong{color:#ffde86}
.ds-acquired{font-size:calc(11px + 1pt);color:#8bf0c2;font-weight:900}
.ds-starters{display:grid;gap:9px}
.ds-vip-active,.ds-entries{padding:11px;background:#193750;border:1px solid #3e837c;
 border-radius:11px;font-size:calc(11px + 1pt);color:#bdeedb;line-height:1.5;margin:0}
.ds-help{font-size:calc(11px + 1pt);line-height:1.6;color:#b6cae2;margin:0}
.ds-recharges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ds-recharge{cursor:pointer;display:grid;justify-items:center;gap:6px;padding:12px;
 background:#1b3155;border:1px solid #6571b6;border-radius:12px;color:#eff5ff}
.ds-recharge strong{font-size:calc(17px + 1pt);color:#dec4ff}
.ds-recharge span{font-size:calc(12px + 1pt)}.ds-recharge small{font-size:calc(10px + 1pt);color:#a9dce7}
.ds-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:2600;
 max-width:calc(100vw - 30px);width:min(500px,calc(100vw - 30px));
 padding:11px 14px;border-radius:11px;background:#1d4256;border:1px solid #61b8b6;
 font-size:calc(12px + 1pt);line-height:1.5;box-shadow:0 12px 28px #0009}
.ds-shade{position:fixed;inset:0;z-index:2500;display:grid;place-items:center;
 padding:12px;background:#020818e3}
.ds-dialog{width:min(100%,470px);max-height:calc(100dvh - 30px);
 overflow-y:auto;background:linear-gradient(138deg,#192f50,#111a36);
 padding:18px;border:1px solid #7189cb;border-radius:19px;
 box-shadow:0 20px 52px #000e;display:grid;gap:12px}
.ds-dialog>header{display:flex;justify-content:space-between;align-items:start;gap:12px}
.ds-dialog h2{margin:6px 0 0;font-size:calc(19px + 1pt);line-height:1.35}
.ds-dialog>header .ds-btn{min-width:40px}
.ds-price-row{display:flex;justify-content:space-between;align-items:center;gap:12px;
 padding:12px;background:#23375c;border-radius:10px}
.ds-price-row span{font-size:calc(12px + 1pt);color:#bdd0e9}
.ds-price-row strong{font-size:calc(16px + 1pt);color:#dac9ff}
.ds-details{display:grid;gap:7px}
.ds-item{background:#152847;border:1px solid #39567b;
 border-radius:9px;padding:10px;font-size:calc(12px + 1pt);line-height:1.5}
.ds-item small{display:block;font-size:calc(10px + 1pt);color:#bed4e9;margin-top:5px}
.ds-primary{background:linear-gradient(135deg,#3a58aa,#6147c2);border-color:#7f9de9}
.ds-dialog textarea{display:block;width:100%;min-height:168px;resize:vertical;
 border:1px solid #647bab;border-radius:10px;background:#0e1a33;
 color:#edf6ff;padding:11px;font:12px/1.5 Inter,system-ui,sans-serif}
.ds-error{color:#ffb5c3;font-size:calc(12px + 1pt)}
@media(min-width:620px){.ds-starters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:390px){.digistore-header-btn{padding:8px;font-size:calc(10px + 1pt)}
 .ds-wallet{padding:8px}.ds-heading h2{font-size:calc(20px + 1pt)}.ds-card-foot{flex-wrap:wrap}}


/* DigiVIP status next to the DigiVice title, responsive in Telegram Mini App. */
.digivice-brand-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;min-width:0}
.digivice-top .premium-status[hidden],.premium-offer[hidden]{display:none!important}
.digivice-top .premium-status{display:inline-flex;align-items:center;flex-wrap:wrap;
 gap:3px;padding:5px 7px;max-width:100%;border:1px solid #d4ab5e;
 border-radius:9px;color:#ffdf9a;background:linear-gradient(125deg,#52402b,#3e3158);
 font-size:calc(9px + 1pt);font-weight:900;line-height:1.35;letter-spacing:.01em;
 box-shadow:0 0 12px #a9813933;overflow-wrap:anywhere}
.digivice-top .premium-status #premium-expiry{font-size:calc(9px + 1pt);font-weight:750}
.digivice-top .digivice-brand-row>strong{white-space:nowrap}
.digivice-top .online-dot{flex:0 0 10px}
.premium-offer{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom,0px));
 left:50%;transform:translateX(-50%);z-index:1400;
 width:min(420px,calc(100vw - 28px));max-height:calc(100dvh - 88px);
 overflow-y:auto;box-shadow:0 18px 48px #010615b3}
.premium-offer-card{position:relative;display:grid;gap:10px;
 padding:17px;border-radius:18px;border:1px solid #ddad55;
 background:linear-gradient(140deg,#4a382d,#27284d 55%,#152d50);
 color:#f7f3e9}
.premium-offer-card h3{margin:0;font-size:calc(21px + 1pt);color:#ffde9b}
.premium-offer-card .ds-kicker{color:#ffe2a2}
.premium-offer-price{margin:0;color:#e3def5;font-size:calc(12px + 1pt)}
.premium-offer-price b{color:#ffe6a7}
.premium-offer-perks{display:grid;gap:7px}
.premium-offer-perks span{font-size:calc(11px + 1pt);line-height:1.45;color:#e0ebfa;
 border:1px solid #66607a;background:#192c49b8;border-radius:8px;padding:8px 10px}
.premium-offer-dismiss{position:absolute;right:10px;top:10px;min-width:34px;
 min-height:34px;color:#f0e4cf;border:1px solid #7d6c70;border-radius:9px;
 background:#222d4b;cursor:pointer}
.premium-offer-card .ds-primary{width:100%;min-height:44px}
@media(max-width:400px){.digivice-brand-row{gap:4px}
 .digivice-top .premium-status{font-size:calc(8px + 1pt);padding:4px 6px}
 .digivice-top .premium-status #premium-expiry{font-size:calc(8px + 1pt)}}
