*{margin:0;padding:0;box-sizing:border-box}
:root{
  --primary:#7c3aed;--primary2:#a78bfa;--primary-rgb:124 58 237;--primary-hover:#5b21b6;
  --dark:#1e1b3a;--darker:#130f22;--darker-2:#1a1629;
  --bg:#f4f2fb;--text:#1e1b3a;--muted:#64748b;--line:#e7e5ef;
  --ink:var(--text);--mut:var(--muted);--y2:#f3effe;--ok:#00965a;--red:#e11d2e;--r:16px;
  --shadow:0 8px 24px rgba(30,27,58,.08);--nav-h:74px
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font:500 14px/1.5 'Oxanium','Noto Sans Khmer',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;touch-action:manipulation}
a{text-decoration:none;color:inherit}img{max-width:100%;display:block}
.i{flex:none;display:inline-block;vertical-align:-4px}
.app{max-width:480px;margin:0 auto;min-height:100vh;background:#fff;padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
.desktop-nav,.site-footer{display:none}
.container{padding:0 14px 8px}
.app-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;letter-spacing:-.3px;min-width:0}
.brand .logo{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgb(var(--primary-rgb)/.32);flex:none}
.brand-logo{height:40px;width:auto;max-width:min(58vw,210px);object-fit:contain;object-position:left center}
.header-btn{width:40px;height:40px;border-radius:12px;background:#f4f1fb;color:var(--primary);display:flex;align-items:center;justify-content:center;flex:none}
/* banner */
.slider{margin:12px 14px 4px;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);background:var(--darker)}
.slider img{width:100%;height:168px;object-fit:cover;object-position:center}
.banner{margin:12px 14px 0;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.banner img{width:100%;height:150px;object-fit:cover}
/* search */
.search-wrap{padding:10px 14px 2px}
.search-box,.nav-search{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:9px 10px 9px 14px;box-shadow:0 6px 16px rgba(30,27,58,.04);transition:.15s}
.search-box:focus-within,.nav-search:focus-within{border-color:var(--primary);box-shadow:0 8px 20px rgb(var(--primary-rgb)/.14)}
.search-box .i,.nav-search .i{color:var(--muted)}
.search-box input,.nav-search input{border:0;outline:0;flex:1;min-width:0;font:inherit;font-size:14px;background:transparent;color:var(--text)}
/* sections / game icons */
.section{padding:6px 0 4px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:16px 2px 12px}
.section-head h3{font-size:16px;font-weight:800;display:flex;align-items:center;gap:9px;letter-spacing:-.2px}
.accent{width:4px;height:17px;border-radius:4px;background:linear-gradient(180deg,var(--primary),var(--primary2))}
.count-badge{font-size:11px;font-weight:700;color:var(--primary);background:rgb(var(--primary-rgb)/.12);padding:3px 9px;border-radius:20px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gcol{min-width:0;content-visibility:auto;contain-intrinsic-size:160px 200px}
.topup-item{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;height:100%;box-shadow:0 1px 4px rgba(30,27,58,.05);position:relative}
.topup-thumb{position:relative;aspect-ratio:1;overflow:hidden;background:linear-gradient(160deg,#f7f4ff,#fff)}
.topup-thumb img{width:100%;height:100%;object-fit:contain;object-position:center;padding:8%}
.thumb-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:22px;letter-spacing:.02em;background:linear-gradient(135deg,var(--primary),var(--primary2))}
.topup-content{padding:8px 7px 10px;text-align:center}
.title{font-size:12px;font-weight:700;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em}
.badge{position:absolute;top:6px;left:6px;z-index:2;background:linear-gradient(135deg,#f43f5e,#fb7185);color:#fff;border-radius:8px;padding:2px 7px;font-size:10px;font-weight:800;letter-spacing:.04em;line-height:1.3}
.badge.oos{background:rgba(14,19,27,.78);backdrop-filter:blur(3px)}
.topup-item.off{pointer-events:none}.topup-item.off .topup-thumb{filter:grayscale(1);opacity:.55}.topup-item.off .title{color:var(--muted)}
.empty-state{text-align:center;padding:40px 20px;color:var(--muted)}
/* game page */
.breadcrumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:14px 14px 0;font-size:12.5px;font-weight:600;color:var(--muted)}
.breadcrumb a:hover{color:var(--primary)}.breadcrumb .sep{color:#cbd5e1}.breadcrumb .current{color:var(--text)}
.game-banner{margin:12px 14px 0;border-radius:18px;overflow:hidden;height:148px;background:#130f22;box-shadow:var(--shadow)}
.game-banner img{width:100%;height:100%;object-fit:cover}
.game-hero{display:flex;align-items:center;gap:12px;margin:12px 14px 0;padding:12px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:0 4px 14px rgba(30,27,58,.05)}
.g-thumb{width:64px;height:64px;flex:none;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:linear-gradient(160deg,#f7f4ff,#ece7fb);position:relative}
.g-thumb img{width:100%;height:100%;object-fit:cover}
.game-hero h1{font-size:17px;font-weight:800;line-height:1.25;letter-spacing:-.2px}
.g-badges{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px}
.g-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap}
.g-badge .i{color:var(--primary);vertical-align:0}
.notice{margin:12px 14px 0;padding:12px 14px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--primary);border-radius:12px;font-size:12.5px;color:var(--muted)}
.notice b{color:var(--text)}
.buy-wrap{padding:0 14px 18px}
.step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin-top:12px;box-shadow:0 2px 10px rgba(30,27,58,.04)}
.step-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.step-head h4{font-size:14.5px;font-weight:800;letter-spacing:-.2px}
.step-num{width:26px;height:26px;flex:none;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:0 4px 10px rgb(var(--primary-rgb)/.28)}
input[type=text],input[type=password],input[type=number],input[type=file],select{width:100%;padding:11px 13px;font:inherit;font-size:14px;color:var(--text);background:#fff;border:1.5px solid var(--line);border-radius:12px;outline:0;transition:.15s}
input::placeholder{color:#a5b0c0}
input:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgb(var(--primary-rgb)/.12)}
.row{display:flex;gap:10px;flex-wrap:wrap}.row>*{flex:1;min-width:130px}
.msg{font-size:12.5px;font-weight:600;margin-top:8px;min-height:18px;color:var(--muted)}
.msg.ok{color:#00794a}.msg.err{color:#c81e2b}.msg .i{vertical-align:-3px}
/* package item cards — logo looks right on phone and PC */
.denoms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.denom{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;cursor:pointer;padding:12px;border-radius:16px;background:#fff;border:1.5px solid var(--line);min-width:0;height:100%}
.denom.sel{border-color:var(--primary);background:rgb(var(--primary-rgb)/.05)}
.d-ico{width:52px;height:52px;border-radius:14px;background:#f7f4ff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none}
.d-ico img,.pico{width:100%;height:100%;object-fit:contain;padding:4px;background:transparent;border-radius:0}
.d-emoji{font-size:26px;line-height:1}
.d-name{font-size:13px;font-weight:700;line-height:1.3;padding-right:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.d-price{font-size:14.5px;font-weight:800;color:var(--primary);letter-spacing:-.2px;margin-top:auto}
.d-check{position:absolute;top:10px;right:10px;width:18px;height:18px;border-radius:50%;border:1.5px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center}
.d-check:after{content:'';width:8px;height:8px;border-radius:50%;background:#fff;transform:scale(0);transition:.15s}
.denom.sel .d-check{border-color:var(--primary);background:var(--primary)}
.denom.sel .d-check:after{transform:scale(1)}
.denom.off{filter:grayscale(1);opacity:.55;cursor:not-allowed}
.denom .badge{top:8px;left:auto;right:32px}
.pay{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;border:1.5px solid var(--primary);background:rgb(var(--primary-rgb)/.045)}
.pay img{width:48px;height:48px;border-radius:12px;object-fit:contain;background:#fff;border:1px solid var(--line);padding:4px}
.pay b{font-size:13.5px}
.chk{display:flex;gap:9px;align-items:flex-start;margin:14px 0 0;font-size:12px;color:var(--muted)}
.chk input{width:18px;height:18px;accent-color:var(--primary);flex:none;margin-top:1px}
.summary{margin-top:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 2px 10px rgba(30,27,58,.04)}
.summary h4{font-size:14.5px;font-weight:800;margin-bottom:8px}
.sum-row{display:flex;justify-content:space-between;gap:14px;font-size:12.5px;color:var(--muted);padding:6px 0}
.sum-row b{color:var(--text);text-align:right;word-break:break-word}
.sum-total{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding-top:12px;border-top:1px dashed var(--line);font-weight:700}
.sum-total b{font-size:22px;color:var(--primary);letter-spacing:-.4px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:12px;padding:10px 16px;font:700 13.5px inherit;color:#fff;background:var(--primary);cursor:pointer;transition:.15s}
.btn:hover{background:var(--primary-hover)}
.btn:disabled{background:#cbd5e1;cursor:not-allowed}
.btn.big{width:100%;margin-top:14px;padding:14px;font-size:15px;border-radius:13px;background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:0 8px 20px rgb(var(--primary-rgb)/.28)}
.btn.big:disabled{background:#cbd5e1;box-shadow:none}
.btn.sm{padding:7px 12px;font-size:12.5px;border-radius:10px}
.btn.dark{background:var(--dark)}.btn.dark:hover{background:#2c2852}
.btn.red{background:var(--red)}
/* payment sheet */
#ov{position:fixed;inset:0;background:rgba(14,19,27,.62);backdrop-filter:blur(4px);display:none;z-index:9998;align-items:flex-end;justify-content:center}
#ov.on{display:flex}
.sheet{background:#fff;border-radius:22px 22px 0 0;width:100%;max-width:420px;padding:20px 18px calc(18px + env(safe-area-inset-bottom,0px));text-align:center;max-height:96vh;overflow:auto;box-shadow:0 30px 70px rgba(6,10,16,.45);animation:up .25s ease-out}
@media(min-width:600px){#ov{align-items:center}.sheet{border-radius:22px;padding-bottom:20px}}
@keyframes up{from{transform:translateY(30px);opacity:0}}
.sheet h4{font-size:12px;letter-spacing:.1em;color:var(--muted)}
.amt{font-size:32px;font-weight:800;color:var(--primary);letter-spacing:-.5px}
.timer{display:inline-block;margin:4px 0;padding:4px 16px;border-radius:20px;font:800 20px/1.4 inherit;color:var(--primary);background:rgb(var(--primary-rgb)/.1)}
.timer.low{background:var(--red);color:#fff}
.qr{width:min(220px,70vw);height:min(220px,70vw);margin:12px auto;border:1px solid var(--line);border-radius:16px;object-fit:contain;background:#fff;padding:6px}
.sheet a{color:var(--primary);font-weight:700}
.meta{font-size:12.5px;color:var(--muted);text-align:left;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:8px 12px;margin:10px 0}
.meta div{display:flex;justify-content:space-between;gap:8px;padding:2px 0}
.meta b{color:var(--text)}
.st{display:inline-block;border-radius:20px;padding:2px 12px;font-weight:800;font-size:11.5px;background:#f1f5f9;color:var(--muted);text-transform:capitalize}
.timer.paid{background:#fff4d6;color:#9a6700}
.timer.done{background:rgba(0,150,80,.12);color:#00794a}
.status-box{margin:10px 0;padding:10px 12px;border-radius:12px;text-align:left;border:1px solid var(--line);background:#f8fafc}
.status-box b{display:block;font-size:13.5px}
.status-box span{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
.status-box.paid{background:#fff8e8;border-color:#f3d48a}
.status-box.paid b{color:#9a6700}
.status-box.done{background:rgba(0,150,80,.1);border-color:#86efac}
.status-box.done b{color:#00794a}
.status-box.bad{background:rgba(225,29,46,.08);border-color:#fecaca}
.status-box.bad b{color:#c81e2b}
.st.paid{background:#fff4d6;color:#9a6700}
.st.completed{background:rgba(0,150,80,.14);color:#00794a}
.st.pending,.st.scanned,.st.processing{background:#eef2ff;color:#4338ca}
.st.failed,.st.expired{background:rgba(225,29,46,.1);color:#c81e2b}
/* bottom nav, fab */
.bottom-nav{position:fixed;bottom:0;left:0;right:0;max-width:480px;margin:0 auto;background:#fff;border-top:1px solid var(--line);display:flex;padding:7px 0 calc(8px + env(safe-area-inset-bottom,0px));z-index:30}
.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--muted);font-size:10px;font-weight:700;padding:4px 0}
.nav-item .i{width:22px;height:22px}
.nav-item.active{color:var(--primary)}
.support-fab{position:fixed;z-index:35;bottom:calc(86px + env(safe-area-inset-bottom,0px));right:max(14px,calc((100vw - 480px)/2 + 14px));width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:0 8px 16px rgb(var(--primary-rgb)/.28)}
.support-fab .i{vertical-align:0}
.fab-label{display:none}
@media (hover:hover) and (pointer:fine){
  .topup-item{transition:transform .16s ease,border-color .16s ease}
  .topup-item:hover{border-color:var(--primary);transform:translateY(-4px)}
  .denom:hover{border-color:var(--primary2)}
}
/* tablet */
@media(min-width:640px) and (max-width:899px){
  .app{max-width:720px}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .denoms{grid-template-columns:repeat(3,minmax(0,1fr))}
  .slider img{height:220px}
  .bottom-nav{max-width:720px}
  .title{font-size:13px}
  .d-ico{width:56px;height:56px}
}
/* desktop */
@media(min-width:900px){
  .app{max-width:100%;background:transparent;padding-bottom:0;box-shadow:none}
  .app-header,.bottom-nav,.search-wrap{display:none!important}
  .desktop-nav{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 36px;height:var(--nav-h);position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line)}
  .desktop-nav.scrolled{box-shadow:0 8px 24px rgba(30,27,58,.08);background:rgba(255,255,255,.97)}
  .desktop-nav .brand-logo{height:48px;max-width:240px}
  .desktop-nav .brand{font-size:20px}
  .nav-search{flex:0 1 460px;margin:0 auto;background:#f4f1fb;border-color:transparent;box-shadow:none;padding:8px 14px;border-radius:14px}
  .nav-search:focus-within{background:#fff}
  .nav-links{display:flex;gap:4px}
  .nav-links a{padding:9px 14px;border-radius:10px;font-weight:700;font-size:14px;color:#475569}
  .nav-links a:hover{background:#f4f1fb;color:var(--primary)}
  .nav-links a.active{color:var(--primary);background:rgb(var(--primary-rgb)/.1)}
  .container{max-width:1180px;margin:0 auto;padding:8px 36px 28px}
  .slider,.banner,.game-banner{max-width:1108px;margin:28px auto 8px;border-radius:24px}
  .slider img,.banner img{height:280px}
  .game-banner{height:240px}
  .section-head{margin-top:28px}
  .section-head h3{font-size:24px}
  .accent{height:24px;width:5px}
  .grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:18px}
  .topup-item{border-radius:18px}
  .topup-item{border-radius:18px}
  .title{font-size:14px}
  .topup-content{padding:12px 10px 14px}
  .breadcrumb{padding:22px 36px 0;max-width:1180px;margin:0 auto}
  .game-hero,.notice,.buy-wrap{max-width:1108px;margin-left:auto;margin-right:auto}
  .game-hero{margin-top:16px;padding:16px;gap:16px}
  .g-thumb{width:84px;height:84px;border-radius:20px}
  .game-hero h1{font-size:26px}
  .buy-wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start;padding:0 0 40px}
  .buy-wrap .summary{position:sticky;top:94px;margin-top:12px}
  .denoms{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
  .d-ico{width:60px;height:60px;border-radius:16px}
  .d-name{font-size:14px}
  .site-footer{display:block;margin-top:48px;color:#cbd5e1;padding:52px 36px 24px;background:radial-gradient(120% 140% at 100% 0%,rgb(var(--primary-rgb)/.16),transparent 55%),linear-gradient(180deg,var(--darker-2),var(--darker));border-top:1px solid rgb(var(--primary-rgb)/.22)}
  .footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:40px}
  .footer-inner h5{color:#fff;font-size:13px;margin-bottom:16px;letter-spacing:.06em;text-transform:uppercase}
  .footer-inner p,.footer-inner li{font-size:13.5px;line-height:1.8;color:#94a3b8;list-style:none}
  .footer-inner ul{display:flex;flex-direction:column;gap:8px}
  .footer-inner li a:hover{color:var(--primary2)}
  .footer-inner .brand{color:#fff}
  .footer-inner li{display:flex;align-items:center;gap:10px}
  .footer-inner li .i{color:var(--primary2);vertical-align:0}
  .footer-bottom{max-width:1180px;margin:36px auto 0;padding-top:18px;border-top:1px solid #2a2547;font-size:12px;color:#64748b;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
  .footer-bottom a:hover{color:var(--primary2)}
  .support-fab{bottom:28px;right:28px;width:auto;height:54px;padding:0 20px 0 16px;border-radius:999px}
  .fab-label{display:inline;font-size:14px;font-weight:700}
}
/* admin */
.ad{display:grid;grid-template-columns:220px 1fr;min-height:100vh}
.side{background:linear-gradient(180deg,var(--darker-2),var(--darker));padding:18px 14px;position:sticky;top:0;height:100vh;color:#cbd5e1;overflow:auto}
.side .brand{color:#fff;margin:0 6px 16px;font-size:17px}
.side a{display:block;padding:9px 12px;border-radius:10px;margin:2px 0;font-weight:700;font-size:13.5px;color:#94a3b8}
.side a:hover{background:rgba(255,255,255,.06);color:#fff}
.side a.on{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 6px 16px rgb(var(--primary-rgb)/.3)}
.main{padding:22px;overflow-x:auto}
.main h2{font-size:22px;letter-spacing:-.3px;margin-bottom:14px;display:flex;align-items:center;gap:10px}
.main h2:before{content:'';width:5px;height:22px;border-radius:4px;background:linear-gradient(180deg,var(--primary),var(--primary2))}
.main h3{margin:16px 0 10px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:0 2px 10px rgba(30,27,58,.05)}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:18px}
.stats .card{padding:14px}
.stats span{font-size:12px;color:var(--muted);font-weight:600}
.stats b{font-size:24px;display:block;color:var(--primary);letter-spacing:-.4px}
table{width:100%;border-collapse:collapse;font-size:13px}
th{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:700}
th,td{padding:8px 6px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
td input[type=text],td input[type=number]{padding:6px 8px;min-width:70px;border-radius:9px}
tr.dirty{background:var(--y2)}
.flash{background:var(--y2);border:1px solid rgb(var(--primary-rgb)/.3);color:var(--primary-hover);border-radius:12px;padding:10px 14px;margin-bottom:14px;font-weight:600}
.gsec{padding:16px;margin-bottom:22px}
.ar{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}
.gadm{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.gadm .card{padding:16px}
.gadm .card p{margin:10px 0 0;font-size:12.5px;color:var(--muted)}
.gadm .ico{width:64px;height:64px;margin:0;flex:none;border-radius:16px;object-fit:cover;background:linear-gradient(160deg,#f7f4ff,#ece7fb);display:flex;align-items:center;justify-content:center;color:var(--primary);border:1px solid var(--line)}
.main .chk{margin:10px 8px 0 0;color:var(--text);font-size:13px;align-items:center;display:inline-flex}
.main p{margin:10px 0;font-size:13px;color:var(--muted)}
.main p input{margin-top:5px}
pre{background:#f8fafc;border:1px solid var(--line);border-radius:12px}
.brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:12px 0}
.brand-prev{background:#f8f7fc;border:1px dashed var(--line);border-radius:14px;padding:10px;text-align:center}
.brand-prev img{height:64px;width:100%;object-fit:contain;margin:0 auto 6px;background:#fff;border-radius:10px}
.brand-prev span{font-size:12px;color:var(--muted);font-weight:700}
.logo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:10px 0 16px}
.logo-card{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff}
.logo-card .prev{width:56px;height:56px;border-radius:14px;object-fit:contain;background:linear-gradient(160deg,#f7f4ff,#fff);border:1px solid var(--line);padding:4px;flex:none}
.logo-card .ph{width:56px;height:56px;border-radius:14px;border:1.5px dashed #c4b5fd;display:flex;align-items:center;justify-content:center;color:var(--primary);font-size:20px;flex:none;background:#faf8ff}
.logo-card .meta{min-width:0;flex:1}
.logo-card b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.logo-card small{color:var(--muted)}
.logo-card input[type=file]{padding:6px;font-size:12px;margin-top:6px}
.logo-card .acts{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
@media(max-width:760px){
  .ad{grid-template-columns:1fr}
  .side{position:static;height:auto;display:flex;gap:6px;overflow:auto;padding:12px}
  .side .brand{display:none}
  .side a{white-space:nowrap;margin:0}
  .main{padding:14px}
  .logo-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* PUTI REACH / ROBLOX – Blue storefront + responsive plan editor */
:root {--primary:#2066ed;--primary2:#63b7ff;--primary-rgb:32 102 237;--primary-hover:#1143ad;--dark:#102955;--darker:#081936;--darker-2:#102650;--bg:#f3f7fd;--text:#172b4d;--line:#e1e9f6;--y2:#eef5ff;--shadow:0 12px 30px rgba(25,72,150,.08)}
body{background:var(--bg)}
.card,.topup-item,.summary,.step{box-shadow:0 8px 28px rgba(29,71,142,.06)}
.btn{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.btn:not(:disabled):active{transform:scale(.98)}
.robux-hero{margin:16px 14px 12px;border-radius:23px;min-height:230px;background:radial-gradient(circle at 85% 12%,#2b83f5 0%,transparent 50%),linear-gradient(135deg,#102a62,#0a4bb4);color:white;padding:28px 25px;display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;overflow:hidden}
.robux-hero h1{font-size:clamp(26px,5vw,44px);line-height:1.08;letter-spacing:-1px;margin:12px 0}
.robux-hero em{font-style:normal;color:#96d4ff}
.robux-hero p{font-size:13px;max-width:430px;line-height:1.7;color:#d7eaff;margin-bottom:17px}
.robux-hero img{width:clamp(92px,26%,215px);filter:drop-shadow(0 20px 20px #07183644);flex:none}
.hero-chip{display:inline-flex;font-size:10px;letter-spacing:2px;font-weight:800;color:#b2dcff;background:#ffffff18;border:1px solid #ffffff25;padding:6px 10px;border-radius:999px}
.robux-hero .btn{background:#fff;color:#1257d4}
.verified-profile{display:flex;gap:12px;align-items:center;margin-top:12px;padding:10px 14px;background:#e9f5ff;border:1px solid #bfdbfe;border-radius:13px}
.verified-profile[hidden]{display:none}.verified-profile img{height:48px;width:48px;border-radius:12px;object-fit:contain;background:#fff}
.verified-profile b,.verified-profile small{display:block}.verified-profile small{font-size:12px;color:#35609c}
.plan-page-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.plan-page-head h2{margin:6px 0 0}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--primary)}
.plan-count{padding:9px 16px;background:#e3efff;color:#1455ca;font-size:12px;font-weight:800;border:1px solid #c8dcff;border-radius:999px}
.plan-layout{display:grid;grid-template-columns:minmax(270px,360px) minmax(0,1fr);gap:20px;align-items:start}
.plan-add{padding:20px;position:sticky;top:16px;background:linear-gradient(165deg,#fff,#f6faff)}
.plan-add h3{font-size:18px;margin:0 0 6px!important}.plan-add .msg{margin:0 0 15px}
.plan-fields{display:flex;flex-direction:column;gap:12px}
.plan-fields label{display:flex;flex-direction:column;gap:5px;color:#53698d;font-size:12px;font-weight:700}
.plan-fields input{margin:0!important;width:100%;min-width:0;padding:10px 12px}
.plan-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.plan-toggles{display:flex;gap:14px;flex-wrap:wrap}.plan-toggles label.chk{display:flex;flex-direction:row;gap:6px;margin:0!important;font-size:12px}
.plan-submit{width:100%;justify-content:center;margin-top:4px;border-radius:13px}
.plan-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.plan-list-head h3{margin:0!important}.plan-current{min-width:0}
.plan-entry{padding:16px;margin-bottom:14px;position:relative}
.plan-entry-top{display:flex;gap:12px;align-items:center;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.plan-mini-icon{height:46px;width:46px;background:linear-gradient(145deg,#e7f0ff,#d5e6ff);border:1px solid #bfd7ff;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:23px;flex:none}
.plan-entry-top strong{display:block;font-size:15px}.plan-entry-top small{display:block;color:#7787a2;font-size:12px}
.plan-state{margin-left:auto;color:#64748b;background:#f1f4f9;border-radius:8px;padding:5px 8px;font-size:10px;font-weight:800;letter-spacing:.6px}
.plan-state.live{color:#067348;background:#d9f9e8}
.plan-delete{margin-top:10px;text-align:right}.plan-empty{padding:28px;text-align:center}.plan-empty .plan-mini-icon{margin:0 auto 12px}
@media(min-width:900px){.robux-hero{max-width:1108px;margin:26px auto 16px;padding:48px 58px;min-height:285px}}
@media(max-width:980px){.plan-layout{grid-template-columns:1fr}.plan-add{position:static}}
@media(max-width:480px){.robux-hero{padding:22px 19px}.robux-hero img{width:90px}.robux-hero h1{font-size:27px}.robux-hero .btn{padding:8px 13px;font-size:12px}.plan-entry{padding:13px}.plan-cols{gap:8px}.plan-fields{gap:10px}}

/* V14 speed polish: keep skeleton layout stable while large imagery loads */
.slider,.robux-hero{contain:layout paint}
.slider img{background:#102650}
.orders-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.orders-toolbar h2{margin:0}
@media(max-width:480px){.orders-toolbar{align-items:stretch}.orders-toolbar form{width:100%}.orders-toolbar button{width:100%;justify-content:center}}

/* v15: product logo upload / preview in Admin → Robux Plans */
.plan-logo-field{gap:8px!important}
.plan-upload{display:flex;align-items:center;gap:12px;padding:12px;border:1.5px dashed #9cbff2;border-radius:14px;background:linear-gradient(140deg,#f4f9ff,#fff);min-width:0;transition:background .2s,border-color .2s}
.plan-logo-field:focus-within .plan-upload{border-color:var(--primary);background:#edf5ff}
.plan-upload-preview{flex:none;width:58px;height:58px;border-radius:13px;border:1px solid #dce7f7;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.plan-upload-preview img,.plan-mini-icon img{width:100%;height:100%;object-fit:contain;padding:5px;display:block}
.plan-upload-info{min-width:0;flex:1;display:block}
.plan-upload-info b{display:block;color:#164c9d;font-size:13px;line-height:1.35}
.plan-upload-info small{display:block;color:#7c8eaa;font-size:11px;margin-top:5px;line-height:1.4}
.plan-logo-field input[type=file]{font-size:12px!important;padding:9px!important;background:#fff}
.plan-advanced{border:1px solid #e2ebf7;border-radius:12px;padding:10px 12px;background:#f8fbff}
.plan-advanced summary{font-size:12px;font-weight:800;color:#3769af;cursor:pointer}
.plan-advanced .plan-cols{margin-top:12px}
.plan-remove{font-size:12px!important;color:#bb4b51!important}
.plan-mini-icon{overflow:hidden}
@media(max-width:430px){.plan-upload{padding:9px}.plan-upload-info b{font-size:12px}.plan-upload-preview{width:52px;height:52px}}

/* V16 — Orders: white interface, blue active filters; phone / desktop responsive. */
.orders-toolbar{margin:0 0 19px;align-items:center}
.orders-toolbar h2{margin:3px 0 3px;font-size:clamp(26px,3vw,35px);letter-spacing:-1px;color:#142a49}
.orders-toolbar h2:before{display:none}
.pr-orders-eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:800;color:#2573ec}
.main .pr-orders-intro{margin:0;font-size:13px;color:#8190a6}
.pr-orders{max-width:1120px;width:100%;color:#182c49}
.pr-orders-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;color:#6e8099;margin-bottom:14px}
.pr-orders-topline strong{color:#195fd6}
.pr-orders-sorted{font-size:11px;font-weight:700;white-space:nowrap}
.pr-orders-search{display:flex;align-items:center;gap:13px;padding:0 18px;min-height:59px;border:1px solid #dce7f5;background:#fff;border-radius:16px;box-shadow:0 6px 24px #1d509012;transition:border-color .2s,box-shadow .2s}
.pr-orders-search:focus-within{border-color:#4489f5;box-shadow:0 0 0 4px #3386fa16}
.pr-orders-search .i{color:#8ca1bc}
.pr-orders-search input{width:100%;min-width:0;flex:1;border:0;background:none;outline:0;box-shadow:none!important;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;color:#1a3252;padding:15px 0}
.pr-orders-search input::placeholder{color:#9baabe}
.pr-orders-search input::-webkit-search-cancel-button{-webkit-appearance:none}
.pr-orders-search [data-order-clear]{width:26px;height:26px;flex:none;display:flex;align-items:center;justify-content:center;background:#f1f6fe;border:0;border-radius:50%;font-size:20px;line-height:1;color:#6888b1;cursor:pointer}
.pr-orders-search [data-order-clear][hidden]{display:none}
.pr-orders-filters{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:15px 1px 4px;overscroll-behavior-x:contain}
.pr-orders-filters::-webkit-scrollbar{display:none}
.pr-orders-filter{font-family:inherit;font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap;cursor:pointer;border:1px solid #e4ebf5;padding:10px 17px;border-radius:100px;color:#536b8c;background:#fff;box-shadow:0 2px 5px #0c3d7610;transition:background .18s,border-color .18s,color .18s}
.pr-orders-filter:hover{border-color:#84b8fe;color:#145dd7}
.pr-orders-filter.is-active{border-color:#1675f6;color:#fff;background:linear-gradient(135deg,#137afa,#3a9aff);box-shadow:0 6px 14px #2076ed30}
.pr-orders-filter:focus-visible,.pr-orders-action:focus-visible{outline:3px solid #63adff;outline-offset:2px}
.pr-orders-list{padding-top:3px}
.pr-order-day{margin-top:18px}
.pr-order-day-title{font-size:12px!important;letter-spacing:1.3px;color:#899ab2;font-weight:800;margin:0 0 10px 4px!important}
.pr-order-day-items{display:flex;flex-direction:column;gap:10px}
.pr-order-card{min-width:0;background:#fff;border:1px solid #e3eaf5;border-radius:17px;box-shadow:0 5px 20px #173f7810;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}
.pr-order-card[hidden],.pr-order-day[hidden]{display:none}
.pr-order-card:hover{border-color:#cbdcf5;box-shadow:0 8px 25px #173f781c}
.pr-order-main{display:flex;gap:14px;align-items:center;padding:15px 17px}
.pr-order-avatar{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:54px;height:54px;border-radius:17px;background:linear-gradient(135deg,#edf5ff,#d4e9ff);border:1px solid #d7e6fa}
.pr-order-avatar>img{width:100%;height:100%;object-fit:contain;padding:11px}
.pr-avatar-status{position:absolute;right:-5px;bottom:-5px;width:21px;height:21px;border:2px solid white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;background:#9ab0ca;color:#fff}
.pr-avatar-sent{background:#14ad6f}.pr-avatar-hold{background:#f2a52a}.pr-avatar-failed,.pr-avatar-not-found{background:#f07179}.pr-avatar-pending{background:#538ae9}
.pr-order-person{flex:1;min-width:0}
.pr-order-name{color:#1a2e4e;font-size:16px;font-weight:800;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.3}
.pr-order-meta{color:#8795ab;display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;font-size:12px;margin-top:5px;white-space:nowrap}
.pr-order-handle{max-width:45%;overflow:hidden;text-overflow:ellipsis}
.pr-order-dot{color:#b0bfd0}
.pr-order-robux{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:68px;flex:none;line-height:1.25}
.pr-order-robux strong{color:#132949;font-size:20px;font-weight:900;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.pr-order-robux small{color:#93a1b5;font-weight:700;font-size:12px;margin-top:4px}
.pr-text-sent{color:#12a469!important}.pr-text-hold{color:#ca8100!important}.pr-text-failed,.pr-text-not-found{color:#d74d61!important}.pr-text-pending{color:#447dd9!important}
.pr-order-details{border-top:1px solid #eff3f9}
.pr-order-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:9px 17px;color:#6d87aa;font-weight:700;font-size:12px;cursor:pointer;user-select:none}
.pr-order-details summary::-webkit-details-marker{display:none}
.pr-order-details summary span{font-size:20px;line-height:1;transition:transform .15s}
.pr-order-details[open] summary span{transform:rotate(180deg)}
.pr-order-details summary:hover{background:#f5f9ff}
.pr-order-details-body{border-top:1px solid #f0f4fa;padding:10px 17px 5px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px}
.pr-order-details-body>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.pr-order-details-body span{color:#8697b0;font-size:11px}
.pr-order-details-body strong{word-break:break-word;color:#314662;font-size:12px}
.pr-order-details-body .pr-order-error{grid-column:1/-1}
.pr-order-error strong{color:#c34e64}
.pr-order-actions{display:flex;gap:8px;padding:12px 17px 15px;flex-wrap:wrap}
.pr-order-actions:empty{display:none}
.pr-orders-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:9px 12px;border-radius:9px;color:#1767d9;background:#edf5ff;border:1px solid #cfe2ff;cursor:pointer;font-family:inherit;font-size:12px;font-weight:800;line-height:1.2}
.pr-orders-action-primary{background:#1675f6;border-color:#1675f6;color:#fff}
.pr-orders-empty{padding:28px 15px;text-align:center;border:1px dashed #ceddf1;background:#f9fbff;border-radius:16px;color:#7790ad;font-size:13px;margin-top:20px}
.pr-orders-empty[hidden]{display:none}
@media(min-width:920px){.pr-order-day-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:13px}.pr-order-main{padding:17px}.pr-order-card{height:auto}}
@media(max-width:550px){.orders-toolbar{gap:14px}.orders-toolbar h2{font-size:28px}.orders-toolbar form{width:100%}.orders-toolbar button{width:100%;justify-content:center}.pr-orders-search{min-height:54px;padding:0 13px}.pr-orders-filters{margin-right:-14px;padding-right:14px}.pr-order-main{gap:10px;padding:12px}.pr-order-avatar{width:46px;height:46px;border-radius:14px}.pr-order-name{font-size:14px}.pr-order-robux{min-width:56px}.pr-order-robux strong{font-size:17px}.pr-order-meta{font-size:11px;gap:4px}.pr-order-details summary{padding:9px 12px}.pr-order-details-body{padding:10px 12px}.pr-order-actions{padding:12px}.pr-order-handle{max-width:38%}}
@media(prefers-reduced-motion:reduce){.pr-order-card,.pr-orders-search,.pr-orders-filter{transition:none}}

.pr-order-avatar>img:not([src$="roblox-mark.svg"]){object-fit:cover;padding:0;border-radius:16px}

/* KHQR PAY hosted checkout fallback (responsive) */
.khqr-hosted{text-align:center;margin:10px 0 0}.khqr-hosted a{color:#1665df;font-weight:800;text-decoration:underline;text-underline-offset:3px}.khqr-hosted a[hidden]{display:none}


/* V19: compact, fast-to-display KHQR payment with verified Roblox recipient */
#ov{overscroll-behavior:contain}
#ov .qr-sheet{max-width:460px;width:calc(100% - 16px);padding:20px 20px max(16px,env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;box-shadow:0 30px 80px #06153655}
#ov .khqr-head .khqr-tag{display:inline-flex;align-items:center;font-size:10px;font-weight:800;letter-spacing:1.3px;color:#2563eb;padding:5px 10px;background:#eef5ff;border:1px solid #dbeafe;border-radius:999px}
#ov .khqr-head h4{font-size:13px;color:#1d3256;letter-spacing:.06em;margin-top:8px}
#ov .khqr-head .amt{font-size:32px;line-height:1.2;margin-top:2px;color:#1265ed}
#ov .khqr-head .timer{font-size:15px;margin:7px 0 0;padding:5px 14px}
#ov .khqr-display{width:min(244px,72vw);aspect-ratio:1;margin:14px auto 6px;display:grid;place-items:center;background:#fff;border:1px solid #e4eaf4;border-radius:19px;position:relative;overflow:hidden;box-shadow:0 4px 20px #1635710b}
#ov .khqr-display .qr{width:100%;height:100%;max-width:none;margin:0;padding:11px;border:0;border-radius:0;object-fit:contain;display:block}
#ov [hidden]{display:none!important}
#ov .qr-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#6f8199;font-size:12px;line-height:1.5;padding:18px;text-align:center}
#ov .qr-spinner{width:28px;height:28px;border:3px solid #dfebff;border-top-color:#2175f5;border-radius:50%;animation:pr-spin .85s linear infinite}
@keyframes pr-spin{to{transform:rotate(360deg)}}
#ov .khqr-actions{color:#64748b;font-size:11px;margin:4px 0;line-height:1.7}
#ov .khqr-hosted{font-size:12px;margin:3px 0}
#ov .payment-status-line{display:flex;justify-content:center;align-items:center;gap:8px;margin:8px 0 2px;font-size:12px;font-weight:650;color:#3c5372}
#ov .payment-status-line .st{font-size:10px;padding:4px 9px;white-space:nowrap}
#ov .payment-note{padding:6px 10px;margin:4px 0 10px;text-align:center;border:0;background:transparent}
#ov .payment-note span{color:#61728d;font-size:11px;line-height:1.4}
#ov .payment-order-card{text-align:left;border:1px solid #e1eaf5;border-radius:16px;padding:13px 14px;background:#f7faff}
#ov .payment-order-title{font-size:10px;color:#687c99;letter-spacing:1.4px;font-weight:800;margin-bottom:10px}
#ov .payment-profile{display:flex;gap:10px;align-items:center;padding-bottom:11px;margin-bottom:7px;border-bottom:1px solid #e2e9f2}
#ov .payment-profile-avatar{width:50px;height:50px;flex:none;border-radius:14px;background:linear-gradient(130deg,#dbeafe,#bad6ff);overflow:hidden;display:flex;align-items:center;justify-content:center;color:#2164d5;font-size:23px;font-weight:900}
#ov .payment-profile-avatar img{width:100%;height:100%;object-fit:cover}
#ov .payment-profile-text{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;line-height:1.38}
#ov .payment-profile-text b{display:block;max-width:100%;font-size:14px;color:#173454;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ov .payment-profile-text span{display:block;max-width:100%;font-size:12px;color:#708199;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ov .payment-profile-text a{font-size:11px;margin-top:4px}
#ov .payment-robux{text-align:right;min-width:70px;white-space:nowrap;display:flex;flex-direction:column;line-height:1.25;color:#153c84}
#ov .payment-robux b{font-size:17px}.payment-robux span{font-size:11px;color:#708199}
#ov .payment-order-foot{display:flex;justify-content:space-between;gap:15px;padding:4px 0;font-size:12px;color:#718096}
#ov .payment-order-foot b{font-weight:800;color:#344966;text-align:right;overflow-wrap:anywhere}
#ov .payment-close{width:100%;margin-top:12px;padding:10px 18px;border-radius:12px}
#ov .payment-close:disabled{opacity:.55;cursor:wait}
@media(min-width:600px){#ov .qr-sheet{border-radius:24px}}
@media(max-width:390px){#ov .qr-sheet{padding:14px 14px max(14px,env(safe-area-inset-bottom,0px))}#ov .khqr-display{width:min(208px,61vw);margin:9px auto 4px}#ov .payment-order-card{padding:10px 11px}}
@media(prefers-reduced-motion:reduce){#ov .qr-spinner{animation-duration:2s}}


/* V20 — desktop-first KHQR popup (white / blue); mobile stays a compact bottom sheet */
#ov .payment-dialog-layout{display:flex;flex-direction:column;min-width:0}
#ov .payment-qr-pane{min-width:0;padding:0}
#ov .payment-summary-pane{min-width:0;padding-top:12px;text-align:left}
#ov .payment-summary-heading{display:none}
#ov .payment-security-hint{font-size:11px;line-height:1.5;color:#788ba4;margin:12px 2px 0;text-align:center}
#ov .payment-note{margin:12px 0 0;padding:12px 13px;border-radius:12px;border:1px solid #d9e7fa;background:#f0f6ff;text-align:left}
#ov .payment-note span{font-size:12px;line-height:1.55;color:#4c6485}
#ov .payment-note.bad{background:#fff4f4;border-color:#ffdada}
#ov .payment-note.done{background:#edfff5;border-color:#b0f1cf}
#ov .payment-close{min-height:42px}
@media (min-width:760px){
  #ov{align-items:center;justify-content:center;padding:20px}
  #ov .qr-sheet{width:min(930px,calc(100vw - 48px));max-width:930px;max-height:calc(100dvh - 40px);padding:0;border-radius:26px;overflow:auto;box-shadow:0 34px 94px #071b4370}
  #ov .payment-dialog-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:stretch}
  #ov .payment-qr-pane{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 32px 30px;background:#fff;text-align:center}
  #ov .payment-summary-pane{display:flex;flex-direction:column;padding:32px 28px;background:linear-gradient(145deg,#f8fbff,#edf5ff);border-left:1px solid #dfebfa;text-align:left}
  #ov .payment-summary-heading{display:block;margin-bottom:24px}
  #ov .payment-summary-eyebrow{color:#276de3;font-size:11px;font-weight:850;letter-spacing:1.6px}
  #ov .payment-summary-heading h3{font-size:27px;line-height:1.2;color:#142e56;font-weight:850;letter-spacing:-.7px;margin:8px 0}
  #ov .payment-summary-heading p{color:#7286a3;font-size:13px;line-height:1.6;margin:0}
  #ov .khqr-head .amt{font-size:39px;margin-top:5px}
  #ov .khqr-head .timer{margin-top:10px}
  #ov .khqr-display{width:min(292px,100%);margin:23px auto 12px;box-shadow:0 13px 35px #0b38751a}
  #ov .khqr-actions{font-size:12px;margin:2px 0}
  #ov .payment-status-line{margin:16px 0 0}
  #ov .payment-order-card{padding:22px 19px;background:#fff;border-radius:18px;box-shadow:0 8px 30px #123d7910}
  #ov .payment-order-title{font-size:11px;margin-bottom:16px}
  #ov .payment-profile{gap:12px;padding-bottom:18px;margin-bottom:12px}
  #ov .payment-profile-avatar{width:62px;height:62px;border-radius:17px}
  #ov .payment-profile-text b{font-size:17px}
  #ov .payment-profile-text span{font-size:13px}
  #ov .payment-robux b{font-size:22px}
  #ov .payment-order-foot{padding:7px 0;font-size:13px}
  #ov .payment-note{margin-top:16px}
  #ov .payment-security-hint{margin:18px 0 12px;text-align:left}
  #ov .payment-close{margin-top:auto;min-height:46px;font-size:14px;background:#193961;color:white}
}
@media (min-width:760px) and (max-height:720px){
  #ov .payment-qr-pane{padding:18px 25px}
  #ov .payment-summary-pane{padding:22px 24px}
  #ov .payment-summary-heading{margin-bottom:12px}
  #ov .payment-summary-heading h3{font-size:22px;margin:4px 0}
  #ov .khqr-head .amt{font-size:32px}
  #ov .khqr-display{width:min(235px,34vh);margin:12px auto 5px}
  #ov .payment-order-card{padding:14px 16px}
  #ov .payment-order-title{margin-bottom:10px}
  #ov .payment-profile{padding-bottom:10px;margin-bottom:6px}
  #ov .payment-note{margin-top:10px;padding:9px 12px}
  #ov .payment-security-hint{margin:10px 0}
}
@media (max-width:759px){
  #ov .qr-sheet{max-width:480px;max-height:calc(100dvh - 12px)}
  #ov .payment-summary-pane{padding-top:10px}
  #ov .payment-order-card{background:#f7faff}
}

/* V21 — customer receipt & tracking. White / blue, designed for phones and monitors. */
.pr-customer-shell{max-width:1080px;margin:0 auto;padding:24px 16px 56px;color:#193252}
.pr-customer-breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:#8697ad;margin-bottom:22px}
.pr-customer-breadcrumb a{color:#3476dd;font-weight:750}
.pr-eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:850;color:#3570d6}
.pr-customer-card{background:#fff;border:1px solid #dfe8f5;border-radius:22px;box-shadow:0 10px 30px rgba(36,84,155,.065)}
.pr-receipt-hero{text-align:center;padding:28px 16px 29px;margin:0 auto 20px}
.pr-receipt-check{margin:0 auto 16px;background:linear-gradient(145deg,#18b779,#139b65);box-shadow:0 10px 32px #18b77936;color:#fff;width:70px;height:70px;display:flex;align-items:center;justify-content:center;font-size:38px;border-radius:50%;font-family:Arial,sans-serif}
.pr-receipt-hero h1{font-size:clamp(28px,4vw,43px);line-height:1.15;letter-spacing:-1px;font-weight:850;margin:10px 0;color:#13294c}
.pr-receipt-hero p{font-size:14px;line-height:1.7;color:#71849c;max-width:530px;margin:auto}
.pr-success-badges{display:flex;align-items:center;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:17px}
.pr-state-pill{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;font-size:11px;line-height:1.3;font-weight:850;white-space:nowrap}
.pr-state-success{background:#e1f9ec;color:#127a4f}.pr-state-pending{background:#e9f1ff;color:#2268c8}.pr-state-hold{background:#fff3d6;color:#a96a00}.pr-state-failed{background:#fff0f0;color:#bd3030}
.pr-customer-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,1fr);gap:20px;align-items:start}
.pr-main-receipt,.pr-receipt-next{padding:27px 27px 25px}
.pr-card-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:11px;font-weight:850;color:#7a8da8;letter-spacing:1.3px;margin-bottom:18px}
.pr-order-ref{color:#52739c;font-size:11px;overflow-wrap:anywhere;text-align:right;letter-spacing:0}
.pr-customer-profile{display:flex;gap:14px;align-items:center;padding-bottom:21px;border-bottom:1px solid #e6edf7;margin-bottom:10px;min-width:0}
.pr-customer-avatar{height:66px;width:66px;flex:0 0 66px;border-radius:17px;overflow:hidden;background:#e4f0ff;border:1px solid #d6e8ff}
.pr-customer-avatar img{width:100%;height:100%;object-fit:cover}
.pr-customer-name{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.pr-customer-name strong{font-size:18px;color:#153052;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pr-customer-name span{font-size:12px;color:#8596ae;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pr-customer-name a{font-size:12px;color:#226cd9;font-weight:750}
.pr-customer-robux{text-align:right;flex:none;display:flex;flex-direction:column;color:#173e87}
.pr-customer-robux strong{font-size:24px;line-height:1.25}.pr-customer-robux span{font-size:12px;color:#899bb1}
.pr-order-facts>div{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;padding:11px 0;border-bottom:1px solid #f0f4f9;font-size:13px}
.pr-order-facts>div:last-child{border-bottom:none}.pr-order-facts span{color:#8494ad}.pr-order-facts strong{text-align:right;color:#283d61;font-weight:800;overflow-wrap:anywhere;max-width:68%}
.pr-order-facts .pr-text-green{color:#119867}.pr-long-ref{font-size:12px}
.pr-copy-ref{width:100%;margin-top:18px;padding:12px 16px;color:#235fbd;border-radius:12px;border:1px solid #caddff;background:#edf4ff;cursor:pointer;font:inherit;font-weight:800}
.pr-receipt-next{background:linear-gradient(145deg,#fff,#f4f9ff)}
.pr-receipt-next h2{font-size:21px;line-height:1.25;margin:10px 0;color:#183757}
.pr-receipt-next>p{color:#7187a4;line-height:1.7;font-size:13px}
.pr-progress-steps{display:flex;flex-direction:column;gap:20px;margin:22px 0 28px}
.pr-progress-step{display:flex;gap:12px;align-items:center;opacity:.85}
.pr-progress-step>span{height:36px;width:36px;border-radius:50%;border:2px solid #d1ddeb;color:#6685ad;background:#f3f6fb;flex:0 0 36px;display:flex;align-items:center;justify-content:center;font-weight:900}
.pr-progress-step.is-done{opacity:1}.pr-progress-step.is-done>span{color:#fff;background:#19a873;border-color:#19a873}
.pr-progress-step strong{display:block;font-size:13px}.pr-progress-step small{display:block;font-size:12px;color:#8294aa;margin-top:3px}
.pr-full-btn{width:100%;display:flex;align-items:center;justify-content:center}
.pr-subtle-link{display:block;text-align:center;font-size:12px;color:#2b71d4;font-weight:800;padding:14px 0}
.pr-receipt-next .pr-help-note{border-top:1px solid #dde7f6;margin-top:6px;padding-top:17px;font-size:12px}
.pr-tracker-title{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 27px}
.pr-tracker-title h1{font-size:clamp(29px,4vw,42px);line-height:1.17;letter-spacing:-.8px;margin:9px 0}
.pr-tracker-title p{font-size:14px;color:#7b8ea9}
.pr-tracker-icon{height:60px;width:60px;background:#e1edff;color:#1d6add;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:26px;flex:none}
.pr-tracker-search{padding:23px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:13px}
.pr-tracker-search>label{font-size:12px;font-weight:800;color:#637995;display:flex;flex-direction:column;gap:8px;min-width:0}
.pr-tracker-search input{height:48px;width:100%;background:#f7faff;border:1px solid #dbe7f9;border-radius:12px;padding:11px 13px;font-size:14px}
.pr-track-btn{min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;margin:0}
.pr-tracker-search .pr-track-helper{grid-column:1/-1;font-size:11px;margin:0;color:#8194ad}
.pr-track-message{font-size:13px;color:#b24b2c;margin:10px 4px;min-height:20px}
.pr-track-results{margin-top:20px}.pr-track-results[hidden]{display:none}
.pr-track-results-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:3px 3px 12px;font-size:11px;font-weight:850;color:#8598b0;letter-spacing:1.4px}
.pr-customer-result-card{padding:0;overflow:hidden}
.pr-customer-result-card .pr-order-main{padding:22px}
.pr-track-state-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #eef3f8;padding:12px 22px;color:#7287a4;font-size:12px}
.pr-customer-result-card .pr-order-details>summary{padding:14px 22px}
.pr-customer-result-card .pr-order-details-body{padding:12px 22px 24px}
.pr-tracker-help{margin-top:22px;padding:23px}.pr-tracker-help h2{font-size:17px;color:#153a63}
.pr-tracker-help p{font-size:12px;color:#7990ad;line-height:1.7;margin:9px 0}
.pr-tracker-help a{font-size:13px;font-weight:800;color:#2374de}
.pr-track-footer-note{font-size:12px;color:#7e90a8;line-height:1.6;margin:12px 4px}
@media(max-width:899px){.pr-customer-columns{grid-template-columns:1fr}}
@media(max-width:640px){
 .pr-customer-shell{padding:17px 14px 35px}.pr-receipt-hero{padding:18px 4px 23px}.pr-receipt-hero h1{font-size:29px}
 .pr-main-receipt,.pr-receipt-next{padding:20px 17px}
 .pr-customer-columns{gap:14px}.pr-tracker-title{margin:10px 0 22px}
 .pr-tracker-icon{width:44px;height:44px;font-size:20px}
 .pr-tracker-search{grid-template-columns:1fr;padding:17px;gap:13px}
 .pr-tracker-search .pr-track-helper{grid-column:1}.pr-track-btn{width:100%}
 .pr-customer-avatar{width:55px;height:55px;flex-basis:55px}.pr-customer-name strong{font-size:15px}
 .pr-customer-robux strong{font-size:20px}.pr-customer-profile{gap:9px}
 .pr-customer-result-card .pr-order-main{padding:16px}
 .pr-track-state-row{padding:12px 16px}.pr-customer-result-card .pr-order-details>summary{padding:14px 16px}
 .pr-customer-result-card .pr-order-details-body{padding:10px 16px 19px}
}

/* V22 — automatic buyer My Orders history, white + blue. */
.pr-my-orders{margin:0 0 33px}
.pr-my-orders-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}
.pr-my-orders-heading h2{font-size:clamp(21px,3vw,28px);font-weight:850;letter-spacing:-.6px;color:#152d50;margin:5px 0 0}
.pr-my-orders-heading h2 span{display:inline-flex;vertical-align:middle;font-size:11px;font-weight:750;color:#2c6cca;background:#e6f1ff;border:1px solid #d0e4ff;border-radius:999px;letter-spacing:0;margin-left:6px;padding:5px 9px}
.pr-my-orders-heading>a{white-space:nowrap;padding:11px 16px;border-radius:12px}
.pr-my-orders-search{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dce7f5;border-radius:16px;box-shadow:0 6px 24px #1d509012;padding:0 17px;min-height:58px;transition:border-color .2s,box-shadow .2s}
.pr-my-orders-search:focus-within{border-color:#4489f5;box-shadow:0 0 0 4px #3386fa16}
.pr-my-orders-search>span{font-size:29px;color:#8ca1bc;line-height:1}
.pr-my-orders-search input{font-family:inherit;font-size:14px;font-weight:600;flex:1;min-width:0;width:100%;padding:12px 0;border:0!important;outline:none!important;box-shadow:none!important;background:none;color:#1a3252}
.pr-my-orders-filters{margin:0;padding:14px 0 8px}
.pr-my-orders-filters .pr-orders-filter.active{background:linear-gradient(135deg,#137afa,#3a9aff);border-color:#1675f6;color:#fff;box-shadow:0 6px 14px #2076ed26}
.pr-my-orders-info{min-height:20px;color:#879ab4;font-size:12px;line-height:1.6;margin:6px 2px 8px}
.pr-my-orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}
.pr-my-order-day{grid-column:1/-1;color:#8a9ab3;font-size:12px;letter-spacing:1.3px;font-weight:850;margin:16px 0 -3px 4px}
.pr-my-order-card .pr-order-details-body{padding-bottom:15px}
.pr-my-order-card .pr-order-actions{border-top:1px solid #f0f5fc;padding-top:12px}
.pr-my-order-time{font-size:11px;color:#99a8bb;margin-top:5px}
.pr-my-order-status{border-top:1px solid #edf3fa;padding:12px 17px;display:flex;align-items:center;gap:9px;font-size:12px;color:#8191a8;line-height:1.45;flex-wrap:wrap}
.pr-my-order-provisional{padding:20px;min-width:0}
.pr-my-order-provisional strong{display:block;font-size:14px;color:#193c73}
.pr-my-order-provisional p{font-size:12px;color:#8191a8;margin:8px 0}
.pr-my-order-provisional small{color:#b1bbca;overflow-wrap:anywhere}
.pr-my-orders-list>.pr-orders-empty{grid-column:1/-1;margin:0}
.pr-my-orders-legacy{border-top:1px solid #e2eaf5;padding-top:28px;margin-top:10px}
.pr-my-orders-legacy>h2{font-size:20px;color:#163659;font-weight:850}
.pr-my-orders-legacy>p{font-size:12px;color:#8296af;line-height:1.6;margin:8px 0 16px}
@media(max-width:780px){.pr-my-orders-list{grid-template-columns:1fr}}
@media(max-width:480px){.pr-my-orders-heading{align-items:flex-start}.pr-my-orders-heading h2 span{margin:6px 0 0;display:table}.pr-my-orders-heading>a{padding:9px 11px;font-size:11px}.pr-my-order-status{padding:10px 12px}.pr-my-orders-heading h2{font-size:23px}.pr-my-orders-search{min-height:52px}.pr-my-order-day{margin-top:11px}.pr-my-orders-list{gap:9px}}


/* v23: brand logo + editable store name */
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-copy{display:flex;flex-direction:column;min-width:0}
.brand-name{display:block;font-weight:800;font-size:16px;letter-spacing:-.25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(46vw,190px)}
.brand-logo{width:40px;height:40px;object-fit:contain;border-radius:12px;background:#fff;flex:none}
.desktop-nav .brand-name{font-size:18px;max-width:240px}
.site-footer .brand{align-items:center}
.side .brand.brand-admin{display:flex;align-items:center;gap:10px;color:#fff;margin:0 6px 16px;font-size:17px}
.side .brand-admin .brand-logo{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.08);padding:3px}
.side .brand-admin .brand-name{font-size:18px;max-width:150px;color:#fff}
@media(max-width:760px){.side .brand.brand-admin{display:none}.brand-name{font-size:15px;max-width:min(42vw,150px)}}


/* V25 · Premium white/blue admin overview and security */
.side a{display:flex;align-items:center;gap:10px;transition:background .18s,color .18s;padding:12px 13px}
.side a .i{flex:none;opacity:.9}
.main{background:#f4f7fd;min-height:100vh}
.dash-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.dash-heading h2{margin:4px 0 5px;font-size:30px}
.dash-heading h2:before{display:none}
.dash-heading p{margin:0;color:#8292a8;font-size:13px}
.dash-eyebrow{letter-spacing:2px;color:#378bff;font-size:11px;font-weight:800}
.dash-range{display:inline-flex;align-items:center;gap:8px;border:1px solid #d7e4f5;background:#fff;color:#4672ab;border-radius:12px;font-size:12px;font-weight:800;padding:10px 14px}
.dash-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 18px}
.dash-kpi{padding:20px;min-width:0;box-shadow:0 8px 28px rgba(29,71,142,.05);border-color:#e0e9f7}
.dash-kpi-head{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;color:#7286a4;font-weight:700}
.dash-kpi-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eaf3ff;color:#2676ee;flex:none}
.dash-kpi strong{display:block;font-size:clamp(24px,3vw,34px);letter-spacing:-1px;color:#172d52;line-height:1.2;margin:12px 0 13px;overflow-wrap:anywhere}
.dash-kpi .dash-api-value{font-size:23px}
.dash-kpi-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dash-7d{font-size:12px;font-weight:800;color:#34557e}
.dash-delta{font-size:11px;font-weight:900;border-radius:6px;padding:4px 7px}
.dash-delta.positive{color:#0c8359;background:#e1f8ed}
.dash-delta.negative{color:#cb3c51;background:#fff0f1}
.dash-delta.neutral{color:#6480a6;background:#edf3fa}
.dash-kpi small{display:block;font-size:11px;color:#8a9db6;margin-top:6px}
.dash-extras{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:18px}
.dash-chart-card{padding:23px;min-width:0}
.dash-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.dash-panel-heading h3{margin:0 0 4px;font-size:17px;font-weight:800}
.dash-panel-heading p{margin:0;color:#90a0b7;font-size:12px}
.dash-panel-heading>.i{color:#2778ed}
.dash-chart-chip{background:#eaf3ff;padding:7px 10px;border-radius:9px;color:#2676ee;letter-spacing:1px;font-size:10px;font-weight:800}
.dash-bars{display:flex;align-items:flex-end;gap:12px;justify-content:space-between;min-height:224px;margin-top:22px;padding-top:10px}
.dash-bar-col{min-width:0;flex:1;max-width:75px;display:flex;flex-direction:column;align-items:center;gap:5px;height:196px;justify-content:flex-end}
.dash-bar-col>b{font-size:11px;color:#8296b2}
.dash-bar-track{height:155px;width:100%;min-width:17px;background:#f1f6fd;border-radius:11px;display:flex;align-items:flex-end;overflow:hidden}
.dash-bar-track span{width:100%;display:block;border-radius:10px;background:linear-gradient(180deg,#8cc8ff,#2073ef);transition:height .25s ease}
.dash-bar-col small{color:#8194b1;font-size:11px;font-weight:800}
.dash-sum-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #eef1f6}
.dash-sum-row>span{display:inline-flex;align-items:center;gap:9px;color:#7890ad;font-size:13px}
.dash-sum-row>span .i{color:#3986f4}
.dash-sum-row b{color:#233c63;font-size:15px}
.dash-security-link{display:flex;align-items:center;gap:9px;color:#1f73ee;background:#eef6ff;padding:13px 12px;margin-top:14px;border-radius:12px;font-size:13px;font-weight:800}
.dash-security-link .i:last-child{margin-left:auto}
.dash-recent-title{margin:25px 0 12px!important;font-size:19px}
.auth-card{max-width:390px;margin:min(12vh,90px) auto;padding:29px;box-shadow:0 22px 52px rgba(30,70,130,.12)}
.auth-card h2{font-size:24px;margin:10px 0}
.auth-card p{margin:10px 0 20px;color:#75849d}
.auth-card label,.sec-form label,.sec-ip-form label,.sec-secret-label{display:flex;flex-direction:column;gap:7px;color:#425979;font-weight:800;font-size:12px}
.auth-card label{margin-top:12px}
.auth-emblem,.sec-icon{display:grid;place-items:center;color:#2577ee;background:#eaf3ff;width:47px;height:47px;border-radius:13px}
.auth-switch{display:block;text-align:center;color:#2b7cf2;font-size:12px;margin-top:18px}
.sec-warning{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #ffdc9a;background:#fff9ec;color:#956116;border-radius:14px;margin-bottom:16px;font-size:13px}
.sec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.sec-card{padding:23px;min-width:0;min-height:240px}
.sec-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.sec-heading h3{font-size:17px;font-weight:800;margin:0 0 4px}
.sec-heading p{color:#92a0b3;margin:0;font-size:12px}
.sec-icon{flex:none}
.sec-status{color:#667c9b;font-size:12px;font-weight:700}
.sec-pill{display:inline-flex;align-items:center;border-radius:7px;padding:3px 9px;font-size:11px;font-weight:900}
.sec-pill.on{color:#06804b;background:#d8f8e8}.sec-pill.off{color:#a0640e;background:#fff3d6}
.sec-note{color:#7c8fa9;font-size:12.5px;line-height:1.6;margin:14px 0}
.sec-form{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.sec-form input,.sec-ip-form input{min-width:0;width:100%}
.sec-form .btn{align-self:flex-start}
.sec-details{border-top:1px solid #edf2f9;margin-top:18px;padding-top:14px}
.sec-details summary{color:#cc3855;font-weight:800;cursor:pointer;font-size:12px}
.sec-qr{width:205px;max-width:100%;aspect-ratio:1;object-fit:contain;margin:10px auto;border:1px solid #dbe8f8;padding:10px;border-radius:14px}
.sec-secret{letter-spacing:1px;font-family:ui-monospace,monospace;font-size:12px}
.sec-ip-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:9px;align-items:end;margin-top:15px}
.sec-current-ip{color:#227bf5;font-weight:800;border:0;background:transparent;padding:10px 0;font-size:12px;cursor:pointer}
.sec-ip-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.sec-ip-item{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 12px;border-radius:12px;background:#f7faff;border:1px solid #e9eff9}
.sec-ip-item b{display:block;font-size:13px;color:#294468;word-break:break-all}
.sec-ip-item small{display:block;margin-top:2px;color:#8198b5}
.sec-ip-empty{color:#8294ad;font-size:12px}
@media(max-width:1100px){.dash-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-extras,.sec-grid{grid-template-columns:1fr}}
@media(max-width:760px){.main{padding:14px}.dash-heading h2{font-size:25px}.dash-kpi{padding:14px}.dash-chart-card,.sec-card{padding:16px}.dash-bar-track{height:125px}.dash-bar-col{height:166px}.dash-bars{min-height:190px;gap:6px}}
@media(max-width:480px){.dash-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dash-kpi strong{font-size:23px}.dash-kpi-icon{width:35px;height:35px}.dash-delta{font-size:10px}.sec-ip-form{grid-template-columns:1fr}.sec-ip-form .btn{width:100%}}

/* V26: Order Management + Security/Performance */
.v26-order-tools,.v26-security-panel{padding:20px;margin:12px 0 20px;border:1px solid var(--line);background:#fff}
.v26-head{display:flex;align-items:start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:13px}
.v26-head h3{margin:0 0 5px;color:var(--text)}.v26-head p{color:var(--muted);margin:0}
.v26-filters{display:grid;grid-template-columns:minmax(155px,2fr) repeat(3,minmax(120px,1fr)) auto;gap:12px;align-items:end}
.v26-filters label{font-size:12px;color:var(--muted);font-weight:700;display:flex;flex-direction:column;gap:6px}
.v26-filters input,.v26-filters select{height:43px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:7px 11px;width:100%;font:inherit}
.v26-filters .btn{height:43px}
.v26-reports{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.v26-report{background:#f2f7ff;border:1px solid #e0ebff;border-radius:13px;padding:13px;display:flex;flex-direction:column;gap:4px;min-width:0}
.v26-report small{color:#477ab7}.v26-report strong{font-size:17px;color:#153d80}.v26-report span{font-size:12px;color:#5575a1}
.v26-paging{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;font-size:12px;color:var(--muted)}.v26-paging>div{display:flex;gap:8px}
.v26-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}
.v26-toggle{padding:14px;border:1px solid #e3ebf8;border-radius:14px;background:#f8fbff;display:flex;align-items:flex-start;gap:12px;cursor:pointer}
.v26-toggle input{width:18px;height:18px;accent-color:#2563eb;margin-top:3px;flex:none}
.v26-toggle span{display:flex;flex-direction:column;gap:4px}.v26-toggle strong{font-size:13px}.v26-toggle small{font-size:11px;color:var(--muted);line-height:1.5}
.v26-table-wrap{overflow-x:auto;max-width:100%;margin:8px 0 18px}.v26-table-wrap td,.v26-table-wrap th{padding:10px 12px;white-space:nowrap}
.v26-perf-row{padding:15px 0;border-top:1px solid var(--line)}.v26-perf-row>strong{font-size:12px;color:var(--muted)}.v26-perf-row>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.v26-perf-chip{padding:7px 11px;border-radius:999px;font-size:11px;background:#f1f6ff;color:#2256a5}.v26-perf-chip.healthy{background:#ecfdf3;color:#087343}.v26-perf-chip.unhealthy{background:#fff2f2;color:#b42318}
.v26-recovery{max-width:640px;margin:8vh auto;padding:30px;background:#fff}.v26-recovery h1{font-size:26px}.v26-recovery p{margin:14px 0}.v26-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}.v26-codes code{padding:14px;border:1px solid #cbdcf7;border-radius:11px;background:#f3f7ff;letter-spacing:1px;text-align:center}
@media(max-width:1100px){.v26-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.v26-filters .btn{grid-column:1/-1}}
@media(max-width:640px){.v26-filters,.v26-toggle-grid{grid-template-columns:1fr}.v26-reports{grid-template-columns:1fr}.v26-order-tools,.v26-security-panel{padding:14px}.v26-recovery{margin:4vh 12px;padding:20px}}

.v26-recovery-form{display:grid;gap:12px;max-width:460px;margin:16px 0}.v26-recovery-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:var(--muted)}


/* V27 — Mobile Admin Drawer. Desktop sidebar remains unchanged. */
.admin-mobile-header,.admin-side-close{display:none}
.admin-menu-backdrop[hidden]{display:none!important}
@media(max-width:760px){
  .ad{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;overflow:clip}
  .admin-mobile-header{position:sticky;top:0;z-index:45;grid-column:1;display:flex;align-items:center;gap:12px;min-height:69px;padding:11px 15px;background:linear-gradient(110deg,#0f2854,#0b1c3d);color:#fff;box-shadow:0 6px 18px rgba(4,22,48,.13)}
  .admin-menu-toggle,.admin-side-close{display:grid;place-items:center;flex:none;width:43px;height:43px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;touch-action:manipulation}
  .admin-menu-toggle:focus-visible,.admin-side-close:focus-visible,.side a:focus-visible{outline:3px solid #70bdff;outline-offset:3px}
  .admin-mobile-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:0}
  .admin-mobile-brand img,.admin-mobile-brand-fallback{width:38px;height:38px;flex:none;object-fit:cover;border-radius:11px;background:rgba(255,255,255,.13)}
  .admin-mobile-brand-fallback{display:grid;place-items:center;font-weight:900}
  .admin-mobile-brand>span:last-child{min-width:0;display:flex;flex-direction:column;gap:1px}
  .admin-mobile-brand strong{font-size:15px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65vw}
  .admin-mobile-brand small{font-size:10px;color:#bad4ff;font-weight:650;letter-spacing:.04em}
  .admin-menu-backdrop{position:fixed;inset:0;z-index:59;background:rgba(3,16,37,.57);backdrop-filter:blur(2px)}
  .side{display:flex;flex-direction:column;gap:3px;position:fixed;left:0;top:0;bottom:0;z-index:60;height:100dvh;width:min(320px,calc(100vw - 56px));min-width:0;max-width:calc(100vw - 56px);padding:14px 12px max(20px,env(safe-area-inset-bottom));margin:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:12px 0 36px rgba(0,0,0,.25);transform:translate3d(-105%,0,0);visibility:hidden;transition:transform .23s ease,visibility .23s ease}
  .side.admin-side-open{transform:translate3d(0,0,0);visibility:visible}
  .admin-side-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;padding:4px 2px 9px;border-bottom:1px solid rgba(255,255,255,.11)}
  .side .admin-side-head .brand.brand-admin{display:flex;align-items:center;gap:10px;min-width:0;margin:0!important;padding:0;flex:1}
  .side .admin-side-head .brand-name{color:#fff;max-width:155px;font-size:16px}
  .admin-side-close{width:38px;height:38px;border-radius:11px}
  .side a{display:flex;align-items:center;gap:12px;width:100%;margin:2px 0!important;white-space:normal;min-height:47px;padding:12px 13px;font-size:14px}
  .side a .i{flex:none}
  .main{grid-column:1;min-width:0;width:100%;overflow-x:hidden;padding:16px 14px;min-height:calc(100vh - 69px)}
  body.admin-menu-open{overflow:hidden}
}
@media(prefers-reduced-motion:reduce){.side{transition:none!important}.admin-menu-backdrop{backdrop-filter:none}}


/* V28 — Storefront slideshow and Special Events */
.home-carousel{max-width:1108px;margin:14px 14px 16px;position:relative;overflow:hidden;border-radius:22px;background:#e3ecfa;box-shadow:0 18px 35px rgba(24,71,135,.11);isolation:isolate}
.home-slide-stack{position:relative;width:100%;aspect-ratio:2.45 / 1;max-height:460px}
.home-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s;z-index:0}
.home-slide.is-current{opacity:1;visibility:visible;z-index:1}
.home-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;background:#dfe7f5}
.home-carousel-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;background:rgba(4,22,49,.48);color:#fff;backdrop-filter:blur(8px);font-size:22px;transition:background .2s}
.home-carousel-arrow:hover{background:#0e63df}.home-carousel-arrow.prev{left:14px}.home-carousel-arrow.next{right:14px}
.home-carousel-dots{position:absolute;z-index:4;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:7px;align-items:center;padding:7px 10px;background:rgba(11,23,45,.45);border-radius:100px;backdrop-filter:blur(9px)}
.home-carousel-dot{height:9px;width:9px;border:0;background:rgba(255,255,255,.58);border-radius:12px;cursor:pointer;padding:0;transition:width .25s,background .25s}.home-carousel-dot.is-current{width:27px;background:#fff}
.home-carousel button:focus-visible,.store-theme-toggle:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}
.special-events{margin-top:20px;margin-bottom:16px}.special-heading{margin:5px 2px 18px}.special-heading h2{display:flex;align-items:center;gap:12px;font-size:clamp(18px,2.5vw,28px);color:var(--text);letter-spacing:-.5px}.special-heading h2 span{color:#e9a400;font-size:1.2em}.special-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}
.special-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.special-event-card{display:block;min-width:0;border-radius:20px;overflow:hidden;background:var(--surface-card,#fff);border:1px solid var(--line);box-shadow:0 9px 22px rgba(19,57,105,.08);transition:transform .18s,box-shadow .18s}.special-event-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(19,57,105,.16)}
.special-event-card img{aspect-ratio:1.65 / 1;width:100%;object-fit:cover;display:block}.special-event-title{display:block;padding:10px 13px;font-size:13px;font-weight:800;color:var(--text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.header-actions{display:flex;align-items:center;gap:8px}.store-theme-toggle{border:1px solid var(--line);background:var(--surface-card,#fff);color:var(--text);height:40px;width:40px;flex:none;display:grid;place-items:center;border-radius:13px;cursor:pointer;font-size:24px;box-shadow:0 2px 10px rgba(21,58,105,.04)}.theme-sun{display:none}
@media(min-width:900px){.home-carousel{margin:26px auto 16px}.home-slide-stack{aspect-ratio:2.8 / 1;max-height:420px}}
@media(max-width:640px){.home-slide-stack{aspect-ratio:1.85 / 1}.home-carousel-arrow{height:33px;width:33px;font-size:16px}.home-carousel-arrow.prev{left:7px}.home-carousel-arrow.next{right:7px}.home-carousel-dots{bottom:8px}.special-event-grid{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.special-event-card{border-radius:13px}.special-event-title{font-size:12px;padding:8px}.special-heading h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.home-slide,.home-carousel-dot,.special-event-card{transition:none!important}}
/* V28 dark theme: public storefront only (never recolor admin) */
html[data-store-theme='dark']{color-scheme:dark;--bg:#0b1427;--text:#edf5ff;--muted:#a5b5cf;--line:#2b3f60;--y2:#1a304f;--surface-card:#14233c;--shadow:0 8px 28px rgba(0,0,0,.23)}
html[data-store-theme='dark'] body{background:var(--bg);color:var(--text)}
html[data-store-theme='dark'] .app{background:#0c182b;color:#edf5ff}
html[data-store-theme='dark'] .app-header,html[data-store-theme='dark'] .desktop-nav,html[data-store-theme='dark'] .bottom-nav{background:#14243f;color:#edf5ff;border-color:var(--line)}
html[data-store-theme='dark'] .desktop-nav.scrolled{background:#14243ff5}
html[data-store-theme='dark'] .nav-links a,html[data-store-theme='dark'] .brand{color:#edf5ff}
html[data-store-theme='dark'] .header-btn,html[data-store-theme='dark'] .nav-search,html[data-store-theme='dark'] .search-box,html[data-store-theme='dark'] .topup-item,html[data-store-theme='dark'] .step,html[data-store-theme='dark'] .summary,html[data-store-theme='dark'] .game-hero,html[data-store-theme='dark'] .notice,html[data-store-theme='dark'] .denom,html[data-store-theme='dark'] .special-event-card{background:#172943;color:#edf5ff;border-color:#2b4162}
html[data-store-theme='dark'] .topup-thumb,html[data-store-theme='dark'] .g-thumb,html[data-store-theme='dark'] .d-ico{background:#1d3859}
html[data-store-theme='dark'] .nav-links a.active{background:#1c3e72;color:#9ac9ff}
html[data-store-theme='dark'] .nav-item,html[data-store-theme='dark'] .g-badge,html[data-store-theme='dark'] .msg,html[data-store-theme='dark'] .sum-row,html[data-store-theme='dark'] .step p{color:#a5b5cf}
html[data-store-theme='dark'] .nav-item.active{color:#72b8ff}
html[data-store-theme='dark'] .search-box input,html[data-store-theme='dark'] .nav-search input,html[data-store-theme='dark'] .step input[type=text],html[data-store-theme='dark'] .summary input,html[data-store-theme='dark'] select{background:#102038;color:#edf5ff;border-color:#344c6d}
html[data-store-theme='dark'] .sum-row b,html[data-store-theme='dark'] .game-hero h1,html[data-store-theme='dark'] .notice b,html[data-store-theme='dark'] .special-heading h2{color:#edf5ff}
html[data-store-theme='dark'] .store-theme-toggle{background:#183154;border-color:#345078;color:#facc15}
html[data-store-theme='dark'] .theme-sun{display:inline}html[data-store-theme='dark'] .theme-moon{display:none}
html[data-store-theme='dark'] .sheet{background:#13233b;color:#edf5ff}
html[data-store-theme='dark'] .payment-summary-pane,html[data-store-theme='dark'] .payment-order-card,html[data-store-theme='dark'] .status-box:not(.paid):not(.done):not(.bad){background:#182b45;color:#edf5ff;border-color:#355073}
html[data-store-theme='dark'] .qr,html[data-store-theme='dark'] .khqr-display{background:#fff;color:#172b4d}
html[data-store-theme='dark'] .payment-security-hint,html[data-store-theme='dark'] .payment-order-foot,html[data-store-theme='dark'] .payment-summary-heading p{color:#a5b5cf}
html[data-store-theme='dark'] .pr-customer-card,html[data-store-theme='dark'] .pr-order-card,html[data-store-theme='dark'] .pr-tracker-card,html[data-store-theme='dark'] .pr-track-search{background:#15263f;color:#edf5ff;border-color:#2b4162}
html[data-store-theme='dark'] .pr-customer-card input,html[data-store-theme='dark'] .pr-track-search input{background:#102038;color:#edf5ff;border-color:#344c6d}
/* V28 Admin → Homepage manager */
.homepage-admin-head{margin-bottom:15px}.homepage-admin-head h2{margin:5px 0}.homepage-admin-head p{color:var(--muted);font-size:13px}
.homepage-admin-card{padding:20px;margin-bottom:18px}.homepage-admin-card h3{margin:0 0 9px!important}.homepage-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.homepage-admin-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.homepage-admin-title span{font-weight:800;color:#2563eb;background:#eaf3ff;padding:6px 11px;border-radius:20px}.homepage-admin-title p{font-size:12px;color:var(--muted)}
.homepage-form{display:flex;flex-direction:column;gap:13px;margin-bottom:20px}.homepage-form label,.homepage-admin-entry label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#5f7695;font-weight:700}
.homepage-form input,.homepage-form select,.homepage-admin-entry input{min-width:0;width:100%;padding:10px;border:1px solid #dbe5f5;border-radius:11px;background:#fff;font:inherit}.homepage-form small{font-weight:400;font-size:11px;color:#7e91ad}
.homepage-form .chk,.homepage-admin-entry .chk{display:flex;flex-direction:row;align-items:center;color:#536b90}.homepage-form .chk input,.homepage-admin-entry .chk input{width:auto}.homepage-admin-options{display:flex;flex-wrap:wrap;gap:13px}
.homepage-admin-entry{padding:14px 0;border-top:1px solid #e4ecf6}.homepage-admin-preview{width:100%;aspect-ratio:2.4/1;object-fit:cover;border-radius:13px;background:#e9f1fc;margin-bottom:12px}.homepage-admin-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.homepage-admin-actions{display:flex;gap:9px;margin-top:10px}
@media(max-width:1050px){.homepage-admin-grid{grid-template-columns:1fr}}@media(max-width:480px){.homepage-admin-card{padding:13px}.homepage-admin-entry-fields{grid-template-columns:1fr}}


/* V29 — Maintenance state, readable public dark mode, smooth interactions */
.maintenance-badge{background:linear-gradient(135deg,#c77410,#f0a73e);color:#fff;font-size:9px}
.maintenance-hint{display:block;margin-top:5px;font-weight:800;font-size:11px;color:#a75b00}
.roblox-maintenance{max-width:840px;margin:24px auto 50px;padding:clamp(25px,5vw,56px);border:1px solid #c9def8;border-radius:26px;text-align:center;background:linear-gradient(145deg,#f4f9ff,#e7f2ff);box-shadow:0 18px 45px rgba(20,74,147,.09)}
.maintenance-illustration{width:88px;height:88px;display:grid;place-items:center;border-radius:25px;font-size:41px;margin:0 auto 17px;background:#daeaff}
.maintenance-eyebrow{font-size:11px;letter-spacing:2px;font-weight:900;color:#2069b8}
.roblox-maintenance h2{font-size:clamp(23px,4vw,34px);line-height:1.4;color:#15345e;margin:12px 0}
.roblox-maintenance p{max-width:580px;margin:10px auto;font-size:15px;line-height:1.8;color:#375b88}
.roblox-maintenance .maintenance-en{font-size:13px;color:#637e9f}
.maintenance-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:25px 0 16px}
.roblox-maintenance small{display:block;color:#607e9f;line-height:1.7}
.maintenance-secondary{background:#fff!important;color:#2069b8!important;border:1px solid #c1d9f8!important}
.maintenance-admin-control{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px 14px;border:1px solid #d7e6f9;border-radius:13px;background:#f4f9ff}
.maintenance-admin-control .chk{margin:0!important}.maintenance-admin-control small{font-size:11px;line-height:1.5;color:#657b99}
.maintenance-admin-state{align-self:flex-start;font-size:11px;font-weight:800;border-radius:999px;padding:5px 10px;background:#ddf7e8;color:#0b784a}
.maintenance-admin-state.paused{background:#fff1d6;color:#915206}
.home-slide{cursor:default;user-select:none;-webkit-user-drag:none}
.home-slide img{pointer-events:none}
.home-carousel-arrow,.home-carousel-dot,.store-theme-toggle,.btn,.denom,.topup-item{transition-duration:.2s}
@media(max-width:640px){.roblox-maintenance{margin:14px 14px 35px;padding:30px 19px}.roblox-maintenance p{font-size:13px}.maintenance-actions .btn{max-width:100%;flex:1;white-space:normal}}
html[data-store-theme='dark'] .roblox-maintenance{background:linear-gradient(150deg,#162e4d,#10223b);border-color:#375477;box-shadow:0 18px 42px #030a1a50}
html[data-store-theme='dark'] .maintenance-illustration{background:#244566}
html[data-store-theme='dark'] .roblox-maintenance h2,html[data-store-theme='dark'] .roblox-maintenance p{color:#f0f7ff}
html[data-store-theme='dark'] .roblox-maintenance .maintenance-en,html[data-store-theme='dark'] .roblox-maintenance small{color:#b8cce7}
html[data-store-theme='dark'] .maintenance-hint{color:#ffce79}
html[data-store-theme='dark'] .pr-my-orders-heading h2,
html[data-store-theme='dark'] .pr-my-orders-legacy>h2,
html[data-store-theme='dark'] .pr-tracker-title h1,
html[data-store-theme='dark'] .pr-tracker-help h2,
html[data-store-theme='dark'] .pr-order-name,
html[data-store-theme='dark'] .pr-order-robux strong,
html[data-store-theme='dark'] .pr-my-order-provisional strong,
html[data-store-theme='dark'] .pr-order-details-body strong,
html[data-store-theme='dark'] .pr-my-order-card .pr-order-name,
html[data-store-theme='dark'] .pr-order-person,
html[data-store-theme='dark'] .d-name,
html[data-store-theme='dark'] .summary h4,
html[data-store-theme='dark'] .step h4{color:#f1f7ff}
html[data-store-theme='dark'] .pr-tracker-title p,
html[data-store-theme='dark'] .pr-my-orders-info,
html[data-store-theme='dark'] .pr-my-order-time,
html[data-store-theme='dark'] .pr-my-order-status,
html[data-store-theme='dark'] .pr-order-meta,
html[data-store-theme='dark'] .pr-order-robux small,
html[data-store-theme='dark'] .pr-my-orders-legacy>p,
html[data-store-theme='dark'] .pr-track-footer-note,
html[data-store-theme='dark'] .pr-tracker-help p,
html[data-store-theme='dark'] .pr-my-order-provisional p,
html[data-store-theme='dark'] .pr-track-helper{color:#c0cee2}
html[data-store-theme='dark'] .pr-my-orders-search,
html[data-store-theme='dark'] .pr-tracker-search,
html[data-store-theme='dark'] .pr-my-order-card,
html[data-store-theme='dark'] .pr-customer-result-card,
html[data-store-theme='dark'] .pr-my-order-provisional,
html[data-store-theme='dark'] .status-box,
html[data-store-theme='dark'] .denom,
html[data-store-theme='dark'] .pr-tracker-help{background:#1a2d49;color:#edf5ff;border-color:#3a5375}
html[data-store-theme='dark'] .pr-my-orders-search input,
html[data-store-theme='dark'] .pr-tracker-search input,
html[data-store-theme='dark'] .pr-my-order-card input{background:transparent;color:#f1f7ff;border-color:#3f5979}
html[data-store-theme='dark'] .pr-my-orders-search input::placeholder,
html[data-store-theme='dark'] .pr-tracker-search input::placeholder,
html[data-store-theme='dark'] .step input::placeholder{color:#bac8dc;opacity:1}
html[data-store-theme='dark'] .pr-order-details,
html[data-store-theme='dark'] .pr-my-order-status,
html[data-store-theme='dark'] .pr-order-actions{border-color:#3a5375}
html[data-store-theme='dark'] .pr-my-orders-heading h2 span{background:#254875;border-color:#476795;color:#e4f1ff}
html[data-store-theme='dark'] .pr-my-order-day{color:#c8d7e9}
html[data-store-theme='dark'] .pr-my-orders-filters .pr-orders-filter:not(.active){background:#233953;color:#f1f7ff;border-color:#3f5979}
html[data-store-theme='dark'] .pr-my-orders-filters .pr-orders-filter.active{background:#256fe8;color:#fff}
html[data-store-theme='dark'] .d-price,html[data-store-theme='dark'] .sum-total b{color:#80beff}
html[data-store-theme='dark'] .payment-profile-text b,html[data-store-theme='dark'] .payment-robux b{color:#f1f7ff}
@media(prefers-reduced-motion:reduce){.home-slide,.home-carousel-arrow,.home-carousel-dot,.btn,.denom,.topup-item{transition:none!important}}

.hero-explore-hint{display:inline-flex;padding:10px 15px;border-radius:12px;background:#ffffff24;border:1px solid #ffffff35;color:#fff;font-weight:800;font-size:12px}

/* V30: Roblox OFF/Maintenance product tile — genuinely non-clickable and visibly unavailable. */
.topup-item-closed,html[data-store-theme='dark'] .topup-item-closed{
  background:#17191e!important;
  border:2px solid #353a41!important;
  border-radius:20px;
  color:#fff!important;
  box-shadow:0 8px 28px rgba(0,0,0,.20)!important;
  cursor:not-allowed;
  overflow:hidden;
  pointer-events:none;
  user-select:none;
  -webkit-user-select:none;
}
.topup-item-closed .topup-thumb-closed,html[data-store-theme='dark'] .topup-item-closed .topup-thumb-closed{
  background:linear-gradient(145deg,#07080a,#111318)!important;
  isolation:isolate;
}
.topup-item-closed .topup-thumb-closed:after{
  content:"";position:absolute;inset:0;background:rgba(0,0,0,.30);z-index:1;
}
.topup-item-closed .topup-thumb-closed img{
  filter:grayscale(1) brightness(.48);opacity:.42;transform:scale(.83);
}
.topup-item-closed .thumb-fallback{background:#292b30;color:#787b80;filter:grayscale(1)}
.topup-closed-ribbon{
  position:absolute;z-index:3;top:13%;left:-35%;width:170%;
  transform:rotate(-39deg);background:#2c2d31;color:#e3e4e8;
  border-top:1px solid #494b4f;border-bottom:1px solid #111;
  padding:8px 3px;text-align:center;font-size:clamp(9px,1vw,13px);
  font-weight:800;letter-spacing:.4px;white-space:nowrap;
}
.topup-off-center{
  z-index:4;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  background:rgba(0,0,0,.78);border:1px solid #41444b;
  padding:6px 17px;border-radius:30px;color:#fff;
  font-size:clamp(15px,2vw,25px);font-weight:900;letter-spacing:2px;
}
.topup-item-closed .topup-closed-content{padding:12px 10px 16px;text-align:center;background:#191b20}
.topup-item-closed .title{color:#e4e6ed!important;font-weight:800;font-size:clamp(12px,1.4vw,16px);min-height:0}
.topup-unavailable{display:block;border-radius:12px;padding:8px 10px;margin-top:9px;background:#2b2d32;color:#d8d9dc;font-weight:800;font-size:clamp(11px,1.35vw,14px)}
@media (hover:hover){.topup-item-closed:hover{transform:none!important}}

/* When YUKI TOPUP sells only Roblox, center one readable product tile. */
.grid.single-game-grid{grid-template-columns:minmax(0,270px);justify-content:center}
@media(min-width:640px){.grid.single-game-grid{grid-template-columns:minmax(0,300px)}}

/* V33 — Light-only YUKI TOPUP storefront (admin remains separately themed). */
:root{color-scheme:light;--surface-card:#fff}
html[data-store-theme="light"] body{color:#172b4d;background:#f5f9ff}
html[data-store-theme="light"] .app{background:#fff}
/* Keep all public screens readable without requiring a dark-mode toggle. */
html[data-store-theme="light"] .site-footer{background:linear-gradient(165deg,#f3f8ff,#e8f2ff);border-top:1px solid #d8e8fc;color:#1a365d}
html[data-store-theme="light"] .footer-inner h5,html[data-store-theme="light"] .site-footer .brand{color:#173a71}
html[data-store-theme="light"] .footer-inner p,html[data-store-theme="light"] .footer-inner li,html[data-store-theme="light"] .footer-bottom{color:#4b6282}
html[data-store-theme="light"] .footer-bottom{border-color:#cbdcf1}
html[data-store-theme="light"] .pr-order-name,html[data-store-theme="light"] .pr-order-person,
html[data-store-theme="light"] .pr-order-robux strong,html[data-store-theme="light"] .d-name,
html[data-store-theme="light"] .step h4,html[data-store-theme="light"] .summary h4{color:#172b4d}
html[data-store-theme="light"] .pr-my-order-card,html[data-store-theme="light"] .pr-order-card,
html[data-store-theme="light"] .pr-my-orders-search,html[data-store-theme="light"] .step,
html[data-store-theme="light"] .summary,html[data-store-theme="light"] .denom{background:#fff;color:#172b4d;border-color:#d9e5f5}
.btn,.denom,.pr-orders-filter,.nav-item,.topup-item,.home-carousel-arrow,.home-carousel-dot,
input[type=text],input[type=number],.pr-order-card{transition:background-color .17s ease,color .17s ease,border-color .17s ease,box-shadow .17s ease,transform .17s ease}
.app-header,.desktop-nav{backdrop-filter:saturate(1.2)}
@media(max-width:899px){.app{overflow-x:clip}.container,.step,.summary{min-width:0}.pr-my-order-card{min-width:0}}
@media(prefers-reduced-motion:reduce){.btn,.denom,.pr-orders-filter,.nav-item,.topup-item,.home-carousel-arrow,.home-carousel-dot,
input[type=text],input[type=number],.pr-order-card{transition:none!important}}

/* V35: fast Robux bulk add + save-all editor */
.pr35-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 20px}
.pr35-heading h2{margin:5px 0 4px}.pr35-heading p{color:#6d7f9b;margin:0}
.pr35-total{border-radius:30px;background:#e8f1ff;color:#1662cb;padding:9px 14px;font-size:12px;font-weight:800}
.pr35-layout{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:18px;align-items:start}
.pr35-create{display:grid;gap:15px;min-width:0}
.pr35-panel{padding:20px;min-width:0}
.pr35-panel-title{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.pr35-panel-title h3,.pr35-manage-head h3{font-size:18px;margin:0!important}
.pr35-panel-title p,.pr35-manage-head p{font-size:12px;color:#7d8ba2;margin:5px 0 0}
.pr35-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#e7f0ff;color:#236fe9;flex:none}
.pr35-create-form{display:grid;gap:14px}
.pr35-create-form label,.pr35-editgrid label,.pr35-adv-content label{display:grid;gap:6px;color:#57708f;font-size:12px;font-weight:800;min-width:0}
.pr35-create-form label small{font-weight:500;color:#96a5b9}
.pr35-create-form input,.pr35-editgrid input,.pr35-adv-content input{width:100%;min-width:0;margin:0!important;font:inherit;color:#13284e;border-radius:11px;border:1px solid #dbe6f5;background:white;padding:11px 12px}
.pr35-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pr35-filelabel input{font-size:12px!important;padding:9px!important}
.pr35-addbtn{min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;border-radius:12px}
.pr35-bulk summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;color:#1a3f74}
.pr35-bulk summary::-webkit-details-marker{display:none}
.pr35-bulk summary strong,.pr35-bulk summary small{display:block}
.pr35-bulk summary small{color:#8597b1;font-size:11px;margin-top:4px}
.pr35-bulk summary .i:last-child{margin-left:auto}
.pr35-bulk[open] summary{padding-bottom:14px;border-bottom:1px solid #e6edf8;margin-bottom:12px}
.pr35-bulk form{display:grid;gap:12px}
.pr35-bulk form p{font-size:12px;margin:0;color:#7c89a2}
.pr35-bulk textarea{width:100%;min-height:170px;border:1px solid #d9e5f4;border-radius:12px;background:#f7faff;color:#17375f;padding:13px;line-height:1.65;resize:vertical;font-family:ui-monospace,monospace;font-size:12px}
.pr35-bulk-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pr35-bulk-actions .pr35-addbtn{flex:1}
.pr35-manage{padding:18px;min-width:0}
.pr35-manage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px;flex-wrap:wrap}
.pr35-change{font-size:11px;color:#2667c5;background:#e9f2ff;padding:7px 11px;border-radius:30px;font-weight:800}
.pr35-search{display:flex;gap:9px;align-items:center;padding:0 12px;border:1px solid #dce7f6;border-radius:13px;background:#f9fbff;margin:0 0 15px}
.pr35-search input{border:0;outline:0;padding:12px 0;background:transparent;min-width:0;width:100%;font:inherit;font-size:13px}
.pr35-plan-list{display:grid;gap:12px}
.pr35-item{border:1px solid #e1eafa;border-radius:16px;padding:14px;background:#fff;min-width:0;transition:background .18s,border-color .18s}
.pr35-item[hidden]{display:none!important}.pr35-item.pr35-dirty{border-color:#72abff;background:#f9fcff}
.pr35-item-head{display:flex;align-items:center;gap:11px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #edf2fa}
.pr35-picture{width:48px;height:48px;flex:none;border-radius:12px;background:#eaf2ff;border:1px solid #dce7f6;overflow:hidden}
.pr35-picture img{width:100%;height:100%;object-fit:contain;padding:3px}
.pr35-item-name{min-width:0;flex:1}.pr35-item-name strong{display:block;font-size:14px;color:#172a4b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pr35-item-name small{color:#8a9ab2}
.pr35-status{font-size:10px;font-weight:800;border-radius:8px;padding:5px 9px;background:#f5e7e7;color:#9d414a}.pr35-status.live{background:#e0f8e9;color:#0e8854}
.pr35-editgrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(75px,.75fr) minmax(85px,.85fr);gap:10px}
.pr35-editgrid input{padding:9px 10px;font-size:13px;font-weight:700}
.pr35-item-foot{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-top:12px}
.pr35-toggle{display:inline-flex!important;align-items:center;gap:6px;color:#425e86;font-size:12px;font-weight:700}.pr35-toggle input{width:16px;height:16px;accent-color:#257ef2}
.pr35-advanced{margin-left:auto;min-width:100px}
.pr35-advanced summary{cursor:pointer;color:#2566c5;font-size:12px;font-weight:700;list-style:none}.pr35-advanced summary::-webkit-details-marker{display:none}
.pr35-advanced[open]{flex-basis:100%;margin:0;border-top:1px solid #eaf1fb;padding-top:12px}
.pr35-adv-content{display:grid;gap:12px;margin-top:12px}
.pr35-delete{border:0;background:transparent;color:#c83f56;padding:3px 0;justify-self:end;font-weight:800;cursor:pointer}
.pr35-savebar{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;bottom:12px;margin-top:16px;padding:14px 16px;background:#f2f7ff;border:1px solid #cadffc;border-radius:14px;z-index:5;box-shadow:0 8px 25px rgba(20,71,141,.12)}
.pr35-savebar strong,.pr35-savebar small{display:block}.pr35-savebar strong{font-size:13px}.pr35-savebar small{color:#8194ac;font-size:11px}
.pr35-savebtn{min-height:42px;display:flex;align-items:center;gap:7px;white-space:nowrap;justify-content:center}
.pr35-empty{text-align:center;padding:32px 10px;color:#8293a9}
@media(max-width:1060px){.pr35-layout{grid-template-columns:1fr}.pr35-create{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.pr35-create{grid-template-columns:1fr}.pr35-panel,.pr35-manage{padding:14px}.pr35-editgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.pr35-editgrid label:first-child{grid-column:span 2}.pr35-savebar{bottom:8px;flex-wrap:wrap}.pr35-savebtn{width:100%}}

/* V36 — small one-photo upload requests; never mix logo blobs into Save All */
.pr36-aux-form{display:none}
.pr36-logo-upload{margin:8px 0 0;white-space:normal;max-width:100%}
.pr36-upload-hint{display:block;font-size:11px;line-height:1.5;color:var(--muted, #70809e);margin-top:6px}
@media(max-width:650px){.pr36-logo-upload{width:100%;justify-content:center}}

/* V37: one product logo for Home + all Robux Plans, friendly on phone and PC */
.v37-logo-manager{margin:0 0 21px;padding:20px;border:1px solid #d9e6fa;border-radius:21px;background:linear-gradient(125deg,#fff 55%,#f4f9ff 100%);box-shadow:0 8px 22px rgba(23,75,142,.045)}
.v37-logo-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}
.v37-logo-kicker{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#2673d9}
.v37-logo-head h3{font-size:19px;margin:4px 0 6px!important;color:#152b51}
.v37-logo-head p{font-size:12px;max-width:580px;line-height:1.6;color:#657c9c;margin:0}
.v37-live-preview{min-width:102px;display:grid;justify-items:center;gap:4px;color:#7689a1;font-size:10px;font-weight:800;text-align:center}
.v37-live-preview img{width:68px;height:68px;object-fit:contain;background:#edf5ff;border:1px solid #d3e5fb;border-radius:16px;padding:4px}
.v37-logo-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.v37-logo-field{display:grid;gap:6px;color:#344e73;font-weight:800;font-size:12px;min-width:0}
.v37-logo-field small{font-weight:500;color:#7891ab;font-size:11px}
.v37-logo-field select,.v37-logo-field input[type=file]{font:inherit;min-width:0;width:100%;min-height:43px;background:#fff;border:1px solid #dbe5f2;border-radius:11px;padding:10px;color:#2c4971}
.v37-logo-targets{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0}
.v37-logo-targets label{display:flex;align-items:center;gap:10px;background:#f1f7ff;border:1px solid #d8e7fb;border-radius:12px;padding:9px 13px;min-width:145px}
.v37-logo-targets input{accent-color:#216de6;width:17px;height:17px;flex:none}
.v37-logo-targets label span{display:grid;gap:3px}
.v37-logo-targets strong{font-size:12px;color:#193c71}
.v37-logo-targets small{font-size:10px;color:#6c809c}
.v37-logo-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.v37-logo-save{min-height:44px;padding:10px 16px}
#v37LogoStatus{font-size:11px;line-height:1.5;color:#647b99}
@media(max-width:650px){.v37-logo-manager{padding:13px}.v37-logo-head h3{font-size:17px}.v37-live-preview{min-width:76px}.v37-live-preview img{width:58px;height:58px}.v37-logo-fields{grid-template-columns:1fr}.v37-logo-targets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.v37-logo-targets label{min-width:0;padding:9px}.v37-logo-save{width:100%;justify-content:center}}


/* V39 Home: premium compact Roblox product cards; display changes only. */
#games .grid.single-game-grid {
  grid-template-columns:minmax(0,250px);
  justify-content:center;
  gap:18px;
}
#games .gcol {min-width:0; contain-intrinsic-size:250px 285px;}
#games .store-product-card {
  display:flex; flex-direction:column; min-width:0; width:100%; height:100%;
  border-radius:20px; overflow:hidden;
  border:1px solid #dce7f6; background:#fff;
  box-shadow:0 10px 28px rgba(31,78,151,.085);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
#games a.store-product-card:hover {
  transform:translateY(-4px); border-color:#91bffb;
  box-shadow:0 17px 36px rgba(31,78,151,.14);
}
#games a.store-product-card:focus-visible{outline:3px solid #3185f9;outline-offset:4px;}
#games .store-product-image {
  height:166px; aspect-ratio:auto;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(ellipse at 45% 15%,#fff 5%,#eef5ff 70%,#e7f1ff 100%);
  border-bottom:1px solid #e4edf9;
}
#games .store-product-image img {
  width:100%; height:100%; max-width:100%;
  object-fit:contain; object-position:center; padding:14px 24px;
  transition:transform .22s ease;
}
#games a.store-product-card:hover .store-product-image img {transform:scale(1.045)}
#games .store-product-info {
  padding:13px 15px 15px; text-align:left;
  display:flex; flex-direction:column; gap:5px; min-height:104px;
}
#games .store-product-kicker {
  color:#3d81db; font-size:10px; font-weight:800; letter-spacing:1.1px;
}
#games .store-product-info .title {
  color:#183054; font-size:15px; line-height:1.3;
  font-weight:800; min-height:0; letter-spacing:-.2px;
}
#games .store-product-action {
  display:flex; align-items:center; justify-content:space-between; gap:6px;
  color:#1b6be5; font-size:11.5px; font-weight:800; margin-top:auto; padding-top:7px;
}
#games .store-product-action span {
  height:25px; width:25px; display:grid; place-items:center;
  border-radius:9px; color:#fff; background:linear-gradient(135deg,#2674eb,#5cafff);
  font-size:16px; line-height:1;
}
#games .store-product-image .badge {top:9px;left:10px;padding:4px 9px;}
/* Maintain the existing nonclickable OFF state and its high-contrast overlay. */
#games .topup-item-closed.store-product-card {background:#191b20;border-color:#393b42;box-shadow:none;}
#games .topup-item-closed .store-product-image {background:#111214;border-color:#34373c;}
#games .topup-item-closed .store-product-info {background:#191b20;text-align:center;align-items:center;}
#games .topup-item-closed .store-product-info .title {color:#e4e6ed;}
@media (min-width:900px){
  #games .grid.single-game-grid{grid-template-columns:minmax(0,250px);}
  #games .store-product-image{height:170px;}
}
@media (max-width:520px){
  #games .grid.single-game-grid{grid-template-columns:minmax(0,225px);}
  #games .store-product-image{height:153px;}
  #games .store-product-info{min-height:98px;padding:11px 13px 13px;}
  #games .store-product-info .title{font-size:14px;}
}
@media (prefers-reduced-motion:reduce){
  #games .store-product-card,#games .store-product-image img {transition:none!important;}
}

/* V41 — align the single product to the left edge of its section on desktop.
   V40 padded a centered grid, which did not move the card as expected. */
@media (min-width: 761px) {
  #games .grid.single-game-grid {
    grid-template-columns: minmax(0, 250px);
    justify-content: start;
    padding-left: 0;
    padding-right: 0;
  }
}
/* Phone: center the compact card as before. */
@media (max-width: 760px) {
  #games .grid.single-game-grid {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
}

/* V42: Align the single Roblox product with its section heading on phones.
   Also keeps the product away from the support floating button on the right. */
@media (max-width: 760px) {
  #games .grid.single-game-grid {
    display: grid;
    grid-template-columns: minmax(0, 225px);
    justify-content: start;
    justify-items: stretch;
    padding-inline: 0;
    gap: 12px;
  }
  #games .grid.single-game-grid > .gcol {
    min-width: 0;
    width: 100%;
  }
}

/* Very narrow phones: allow the card to shrink rather than overflow. */
@media (max-width: 270px) {
  #games .grid.single-game-grid {
    grid-template-columns: minmax(0, 100%);
  }
}

/* V43 — small square-thumbnail Roblox card (reference mobile design).
   Presentation only: preserve product click, OFF state and data bindings. */
@media (max-width: 760px) {
  #games .grid.single-game-grid {
    display: grid;
    grid-template-columns: minmax(0, 132px);
    justify-content: start;
    align-items: start;
    gap: 12px;
    padding-inline: 0;
  }
  #games .grid.single-game-grid > .gcol {
    width: 100%;
    min-width: 0;
    contain-intrinsic-size: 132px 192px;
  }
  #games .store-product-card {
    width: 100%;
    min-height: 0;
    height: auto;
    border: 1px solid #d9e3f0;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(25,56,106,.055);
  }
  #games .store-product-image {
    height: auto;
    aspect-ratio: 1 / 1;
    background: #f6f9ff;
    border-bottom: 1px solid #e5edf8;
  }
  #games .store-product-image img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
  }
  #games .store-product-image .badge {
    left: 5px;
    top: 5px;
    padding: 3px 8px;
    font-size: 10px;
    border-radius: 7px;
  }
  #games .store-product-info {
    min-height: 57px;
    padding: 10px 6px 11px;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
  }
  #games .store-product-kicker,
  #games .store-product-action {
    display: none;
  }
  #games .store-product-info .title {
    color: #1c3153;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.32;
    text-align: center;
    min-height: auto;
    overflow-wrap: break-word;
  }
  /* Maintenance remains a disabled card with readable OFF/Unavailable. */
  #games .topup-item-closed .store-product-info {
    background: #191b20;
  }
  #games .topup-item-closed .store-product-info .title {
    color: #e4e6ed;
  }
  #games .topup-item-closed .topup-unavailable {
    font-size: 10px;
  }
}
@media (max-width: 270px) {
  #games .grid.single-game-grid {
    grid-template-columns: minmax(0, min(132px, 100%));
  }
}

/* TikTok service product & checkout (2026): reuse the existing blue/white design. */
.service-kicker{display:inline-block;color:#2563eb;font-size:11px;font-weight:800;letter-spacing:.12em;margin:0 0 5px}
.service-description{max-width:900px;margin:0 auto 20px;padding:0 16px;color:#475569;line-height:1.8}
.service-field-caption{display:block;margin-bottom:10px;font-weight:700;color:#203763}
.service-checkout #tiktok-link{display:block;width:100%;max-width:100%;min-height:49px;padding:12px 14px;border:1px solid #cbd9ed;border-radius:12px;background:#fff;color:#142447;font-family:inherit;outline:none}
.service-checkout #tiktok-link:focus{border-color:#357cf1;box-shadow:0 0 0 3px #3b82f626}
.service-hint{font-size:12px;color:#64748b;margin-top:10px;line-height:1.65}
.service-link-preview{max-width:175px;word-break:break-all;overflow-wrap:anywhere;font-size:12px;text-align:right}
.service-note{font-size:29px;line-height:1;color:#2969e0;font-weight:900}
.service-checkout .denom{cursor:pointer;font-family:inherit}
.service-checkout .denom:disabled{cursor:not-allowed}
.service-payment-detail{display:flex;justify-content:space-between;gap:14px;margin:14px 0;color:#5c6b87;font-size:13px}
.service-payment-detail b{color:#1e335c;max-width:62%;overflow-wrap:anywhere;text-align:right;font-size:12px}
.service-manager-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.service-manager-head p{margin:6px 0 0;color:#64748b}
.service-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.service-admin-card{padding:19px!important;min-width:0}
.service-admin-card h3{margin:0 0 14px}
.service-admin-form{display:grid;gap:12px}
.service-admin-form label{display:grid;gap:6px;font-size:13px;font-weight:650;color:#36486b}
.service-admin-form label input,.service-admin-form label textarea{width:100%;max-width:100%;min-width:0;padding:11px 12px;box-sizing:border-box;border:1px solid #d0d9e9;border-radius:10px;font:inherit;background:#fff;color:#1d355a}
.service-admin-form label textarea{resize:vertical;min-height:65px}
.service-admin-form .chk{display:flex;align-items:center;gap:9px}
.service-admin-form .chk input{width:auto}
.service-admin-img{width:54px;height:54px;object-fit:cover;border-radius:12px;background:#eef4ff}
.service-admin-product-head{display:flex;gap:12px;align-items:center;min-width:0;margin-bottom:15px}
.service-admin-product-head small{display:block;color:#64748b;overflow-wrap:anywhere}
.service-admin-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}
.service-admin-package{border:1px solid #e2e8f0;border-radius:14px;padding:14px;margin:14px 0;background:#f8fbff}
.service-admin-package h4{margin:0 0 10px}
.service-admin-2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.service-admin-archive{background:transparent;border:0;color:#bd2945;cursor:pointer;font:inherit;font-weight:700;padding:10px}
@media(max-width:750px){.service-admin-grid{grid-template-columns:1fr}.service-checkout .denom{min-width:0}.service-admin-2col{grid-template-columns:1fr}.service-admin-card{padding:15px!important}.service-payment-detail b{max-width:56%}}


/* V45 — soft 3D product artwork + premium blue/white product tiles.
   All effects are CSS only: product photos, links and availability remain data-driven. */
#games .grid:not(.single-game-grid){
  grid-template-columns:repeat(auto-fill,minmax(220px,246px));
  align-items:stretch;justify-content:start;gap:22px;
}
#games .gcol{contain-intrinsic-size:246px 313px;}
#games .store-product-card{
  isolation:isolate;position:relative;border-radius:25px;
  background:linear-gradient(155deg,#ffffff 45%,#fafdff 100%);
  border:1px solid #dce8f9;
  box-shadow:0 8px 22px rgba(26,78,159,.075),0 2px 5px rgba(30,67,125,.025);
  transform:translateZ(0);
  transition:transform .28s cubic-bezier(.2,.85,.22,1),box-shadow .28s ease,border-color .28s ease;
}
#games .store-product-card.product-tiktok{--card-glow:rgba(20,184,166,.19);--card-wash:#eefcff;--card-ink:#037baf;--card-angle:4deg;}
#games .store-product-card.product-roblox{--card-glow:rgba(52,110,247,.22);--card-wash:#edf4ff;--card-ink:#276de3;--card-angle:-4deg;}
#games .store-product-image,
#games .grid.single-game-grid .store-product-image {
  height:192px;aspect-ratio:auto;position:relative;isolation:isolate;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at 50% 85%,#fff 0%,transparent 58%),
    linear-gradient(137deg,#fbfdff 0%,var(--card-wash,#eaf4ff) 62%,#e2f0ff 100%);
  border-bottom:1px solid #e7effb;
  overflow:hidden;
}
/* ambient light + two decorative bubbles behind the product artwork */
#games .store-product-image::before{
  content:"";position:absolute;z-index:0;left:50%;top:48%;
  width:170px;height:170px;max-width:96%;border-radius:50%;
  background:var(--card-glow,rgba(45,109,238,.20));
  filter:blur(21px);transform:translate(-50%,-50%) scale(1);
  transition:transform .35s ease,filter .35s ease;
  pointer-events:none;
}
#games .store-product-image::after{
  content:"";position:absolute;z-index:0;right:10%;top:12%;
  width:26px;height:26px;border:1px solid rgba(255,255,255,.94);
  background:rgba(255,255,255,.31);border-radius:50%;
  box-shadow:-135px 95px 0 -8px rgba(255,255,255,.86),-120px -1px 0 -9px rgba(50,127,231,.14);
  pointer-events:none;
}
#games .store-product-image img,
#games .grid.single-game-grid .store-product-image img{
  display:block;position:relative;z-index:1;
  width:154px;height:154px;max-width:78%;max-height:83%;
  object-fit:cover;object-position:center;padding:0;
  border-radius:29px;border:3px solid rgba(255,255,255,.82);
  box-shadow:0 14px 24px rgba(26,68,128,.16),0 1px 5px rgba(9,35,87,.10),
    inset 0 0 0 1px rgba(255,255,255,.8);
  transform:perspective(650px) rotateZ(var(--card-angle,-3deg));
  transition:transform .42s cubic-bezier(.2,.75,.25,1),box-shadow .32s ease;
}
#games .store-product-image .thumb-fallback{
  position:relative;inset:auto;width:150px;height:150px;max-width:78%;max-height:83%;
  border:3px solid rgba(255,255,255,.83);border-radius:29px;z-index:1;
  box-shadow:0 12px 25px rgba(27,82,168,.15);
  transform:rotate(var(--card-angle,-3deg));
}
#games .store-product-image .badge{z-index:3;top:12px;left:12px;border-radius:10px;padding:5px 10px;box-shadow:0 4px 10px rgba(42,71,117,.16)}
#games .store-product-info{padding:15px 17px 17px;gap:6px;min-height:119px;}
#games .store-product-kicker{font-size:10px;letter-spacing:1.3px;}
#games .product-tiktok .store-product-kicker{color:#118baa;}
#games .store-product-info .title{font-size:15px;line-height:1.35;}
#games .store-product-action{border-top:1px solid #edf3fc;margin-top:auto;padding-top:11px;}
#games .store-product-action span{border-radius:11px;width:29px;height:29px;box-shadow:0 5px 10px rgba(34,115,230,.22);transition:transform .25s ease;}
@media (hover:hover) and (pointer:fine){
  #games a.store-product-card:hover{
    transform:translateY(-7px);border-color:#9ac4fb;
    box-shadow:0 20px 40px rgba(25,81,160,.16),0 5px 12px rgba(37,97,167,.065);
  }
  #games a.store-product-card:hover .store-product-image::before{transform:translate(-50%,-50%) scale(1.22);filter:blur(24px);}
  #games a.store-product-card:hover .store-product-image img{
    transform:perspective(650px) rotateZ(0deg) scale(1.07) translateY(-4px);
    box-shadow:0 20px 29px rgba(23,70,130,.20),0 2px 7px rgba(9,35,87,.12);
  }
  #games a.store-product-card:hover .store-product-action span{transform:translate(2px,-2px);}
}
/* Offline products remain dark, non-interactive and visually distinct. */
#games .topup-item-closed.store-product-card{background:#191b20!important;border-color:#393b42!important;box-shadow:none!important;}
#games .topup-item-closed .store-product-image{background:linear-gradient(145deg,#07080a,#111318)!important;border-color:#34373c!important;}
#games .topup-item-closed .store-product-image img{filter:grayscale(1) brightness(.48);opacity:.42;transform:rotate(var(--card-angle,-3deg)) scale(.88);}
#games .topup-item-closed .store-product-image::before,
#games .topup-item-closed .store-product-image::after{display:none;}
#games .topup-item-closed .topup-off-center{z-index:4;}
#games .topup-item-closed .topup-closed-ribbon{z-index:4;}
/* Two larger cards per row on narrow phones; avoid the old cramped three-column layout. */
@media(max-width:760px){
  #games .grid:not(.single-game-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
  #games .store-product-card{border-radius:20px;}
  #games .store-product-image,
  #games .grid.single-game-grid .store-product-image{height:auto;aspect-ratio:1.15 / 1;}
  #games .store-product-image img,
  #games .grid.single-game-grid .store-product-image img{
    width:min(75%,140px);height:auto;aspect-ratio:1;max-width:75%;max-height:none;
    border-width:2px;border-radius:23px;
  }
  #games .store-product-image .thumb-fallback{width:73%;height:auto;aspect-ratio:1;border-radius:23px;}
  #games .store-product-info{min-height:108px;padding:11px 12px 13px;gap:4px;text-align:left;align-items:stretch;justify-content:flex-start;}
  #games .store-product-kicker{display:block;font-size:9px;letter-spacing:.6px;}
  #games .store-product-info .title{font-size:13px;text-align:left;}
  #games .store-product-action{display:flex;font-size:10px;padding-top:8px;}
  #games .store-product-action span{width:25px;height:25px;min-width:25px;}
  #games .store-product-image .badge{top:7px;left:7px;font-size:9px;padding:4px 7px;}
  /* Keep the legacy compact single-product layout on phone. */
  #games .grid.single-game-grid .store-product-info{min-height:65px;padding:10px 8px 11px;align-items:center;justify-content:center;}
  #games .grid.single-game-grid .store-product-kicker,
  #games .grid.single-game-grid .store-product-action{display:none;}
  #games .grid.single-game-grid .store-product-info .title{text-align:center;font-size:12.5px;}
}
@media(max-width:360px){
  #games .grid:not(.single-game-grid){gap:9px;}
  #games .store-product-info{padding:10px 9px 12px;}
  #games .store-product-info .title{font-size:12px;}
  #games .store-product-image img{border-radius:19px;}
}
@media(prefers-reduced-motion:reduce){
  #games .store-product-card,#games .store-product-image img,
  #games .store-product-image::before,#games .store-product-action span{transition:none!important;}
}

/* V46 · SMM API admin configuration and mobile-safe package inputs */
.service-admin-form label select{width:100%;max-width:100%;min-width:0;padding:11px 12px;box-sizing:border-box;border:1px solid #d0d9e9;border-radius:10px;font:inherit;background:#fff;color:#1d355a}
.smm-api-status-panel{border:1px solid #d7e6fd!important;background:linear-gradient(125deg,#f6faff,#fff)!important;color:#153459}
.smm-api-status-panel .service-hint{line-height:1.8;overflow-wrap:anywhere}
.smm-api-status-panel code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#e8f1ff;border-radius:5px;padding:2px 5px;font-size:.9em}
.pr-order-actions label{font-size:12px;display:flex;align-items:center;gap:6px}
.pr-order-actions label input{min-width:0;max-width:100%;border:1px solid #d0d9e9;border-radius:9px;padding:8px;color:#153459;background:#fff}
@media(max-width:640px){.smm-api-status-panel{padding:15px!important}.pr-order-actions label{flex-wrap:wrap}}
