500;600;700;800;900&family=Noto+Sans+Myanmar:wght@400;500;600;700;800&display=swap');
:root{--bg:#080d19;--panel:#111a2b;--panel2:#151f33;--line:#26334b;--text:#eef3ff;--muted:#9aa8c1;--accent:#8b78ff;--accent2:#42d6c5;--danger:#ff687e;--success:#38d9a9;--gold:#f4c76b;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 80% -10%,#1a2550 0,transparent 38%),var(--bg);color:var(--text);font-family:Inter,"Noto Sans Myanmar",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.topbar{height:78px;padding:0 max(5vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff12;background:#080d19dd;backdrop-filter:blur(18px);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:12px}.brand>span:last-child{display:grid;line-height:1.25}.brand b{font-size:12px;letter-spacing:1.7px}.brand small{font-size:11px;color:var(--muted);margin-top:5px}.brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-weight:900;color:#090e1c;background:linear-gradient(135deg,var(--accent2),#9e8cff);box-shadow:0 8px 25px #8b78ff35}.topbar nav{display:flex;align-items:center;gap:26px;color:#b8c3d8;font-size:13px}.topbar nav a:hover{color:#fff}.nav-admin{border:1px solid var(--line);padding:8px 14px;border-radius:10px}.hero{min-height:475px;padding:72px max(8vw,28px) 60px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:30px;overflow:hidden}.eyebrow{color:var(--accent2);font-size:10px;font-weight:800;letter-spacing:2.4px}.hero h1{font-size:clamp(32px,4.4vw,55px);line-height:1.28;letter-spacing:-1.8px;margin:18px 0}.hero h1 em{font-style:normal;color:#a99cff}.hero-copy p,.section-head p,.track-section p,.login-panel p{color:var(--muted);font-size:14px;max-width:580px}.btn{border:0;border-radius:12px;padding:12px 18px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:12px;transition:.2s}.btn:hover{transform:translateY(-2px);filter:brightness(1.08)}.btn-primary{color:#0a1020;background:linear-gradient(110deg,#9a8bff,#58decf);box-shadow:0 10px 30px #8175ff2c}.hero .btn{margin-top:15px}.hero-art{height:320px;position:relative;display:grid;place-items:center}.hero-orbit{position:absolute;border:1px solid #8b78ff44;border-radius:50%;transform:rotate(-24deg)}.orbit-one{width:390px;height:210px}.orbit-two{width:300px;height:280px;transform:rotate(35deg);border-color:#42d6c544}.hero-console{width:210px;height:235px;border-radius:32px;background:linear-gradient(145deg,#273455,#10182a 65%);border:1px solid #ffffff30;box-shadow:0 25px 70px #0009,inset 0 1px #ffffff30;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-8deg)}.hero-console span{font-size:10px;letter-spacing:5px;color:#a9b8d5}.hero-console b{font-size:80px;line-height:1.1;color:#a89aff;text-shadow:0 0 35px #8b78ff99}.hero-console small{font-size:9px;letter-spacing:2px;color:#7d8eaa}.hero-chip{position:absolute;background:#111c30;border:1px solid #ffffff20;border-radius:9px;padding:8px 12px;font-size:9px;font-weight:800;letter-spacing:1px;box-shadow:0 10px 25px #0008}.chip-a{top:45px;left:8%}.chip-b{bottom:45px;right:4%;color:var(--accent2)}.section-head{padding:22px max(8vw,28px);display:flex;align-items:end;justify-content:space-between;gap:20px}.section-head h2,.track-section h2,.admin-main h1{margin:7px 0 0;font-size:28px;letter-spacing:-.8px}.section-head p{margin:5px 0 0}.search-box{width:min(300px,100%);height:44px;border:1px solid var(--line);border-radius:12px;background:#10182a;display:flex;align-items:center;padding:0 13px;gap:8px;color:#8796b0}.search-box input{width:100%;background:none;border:0;outline:0;color:var(--text);font-size:12px}.game-grid{padding:8px max(8vw,28px) 55px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.game-card{background:linear-gradient(160deg,#151f33,#0f1728);border:1px solid #ffffff12;border-radius:18px;overflow:hidden;transition:.25s;min-width:0}.game-card:hover{transform:translateY(-5px);border-color:#8b78ff80;box-shadow:0 18px 45px #0005}.game-cover{height:185px;background:radial-gradient(circle at 50% 30%,#394477,#17233a 58%,#101827);display:grid;place-items:center;overflow:hidden;position:relative}.game-cover img{width:100%;height:100%;object-fit:cover}.cover-placeholder{font-size:36px;font-weight:900;letter-spacing:3px;color:#ffffff70}.game-card-body{padding:17px}.game-card h3{font-size:16px;margin:0 0 5px}.game-version{color:var(--accent2);font-size:10px;font-weight:700}.game-desc{font-size:12px;color:var(--muted);min-height:40px;margin:10px 0 14px}.game-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.price{font-weight:900;font-size:17px;color:#f2f5ff}.price small{font-size:10px;color:var(--muted);font-weight:500}.buy-btn{padding:9px 13px;font-size:11px}.loading-card,.empty-state{grid-column:1/-1;border:1px dashed #35435e;border-radius:16px;padding:35px;text-align:center;color:var(--muted);background:#10182a}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #ffffff30;border-top-color:var(--accent2);border-radius:50%;vertical-align:middle;animation:spin .8s linear infinite;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}.how-section{padding:48px max(8vw,28px) 58px;background:#0d1423;border-top:1px solid #ffffff0c;border-bottom:1px solid #ffffff0c}.compact{padding:0;margin-bottom:20px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.steps article{background:#131d30;border:1px solid #ffffff0e;border-radius:15px;padding:20px}.steps article>span{font-size:11px;color:var(--accent2);font-weight:900;letter-spacing:1px}.steps h3{font-size:14px;margin:12px 0 5px}.steps p{font-size:11px;color:var(--muted);margin:0}.track-section{padding:55px max(8vw,28px);display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.track-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.track-form input,.stack-form input,.admin-form input,.admin-form textarea,.admin-form select,.form-grid input,.form-grid select{width:100%;background:#0b1322;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:12px;outline:0;font-size:12px}.track-form input:focus,.stack-form input:focus,.admin-form input:focus,.form-grid input:focus{border-color:var(--accent)}.track-form button{grid-column:1/-1}.track-result{grid-column:1/-1;font-size:12px;color:var(--accent2)}footer{padding:25px max(5vw,24px);border-top:1px solid #ffffff12;display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--muted);font-size:11px}.footer-brand .brand-mark{width:34px;height:34px;border-radius:10px}.footer-brand b{font-size:10px}.footer-brand small{font-size:10px}.buy-dialog{width:min(590px,calc(100% - 24px));max-height:92vh;padding:0;border:1px solid #ffffff24;border-radius:20px;background:#10192a;color:var(--text);box-shadow:0 30px 100px #000c}.buy-dialog::backdrop{background:#020611c9;backdrop-filter:blur(5px)}.dialog-content{padding:28px;position:relative;overflow:auto}.dialog-content h2{margin:5px 0 15px}.dialog-close{position:absolute;right:18px;top:15px;border:0;background:#ffffff10;color:#fff;border-radius:9px;width:34px;height:34px;font-size:23px}.selected-game{background:#ffffff08;border:1px solid #ffffff10;border-radius:12px;padding:12px;margin-bottom:16px;font-size:13px;display:flex;justify-content:space-between;gap:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label,.stack-form label,.admin-form label,.upload-label{font-size:11px;color:#b9c5d9;display:grid;gap:6px}.full{grid-column:1/-1}.payment-info{margin:14px 0;padding:14px;border:1px solid #42d6c544;background:#42d6c50a;border-radius:12px;font-size:12px}.payment-info b{color:var(--accent2)}.payment-info img{max-width:130px;display:block;margin-top:10px;border-radius:9px}.upload-label{margin-top:15px}.upload-label input{font-size:11px}.upload-box{border:1px dashed #556783;border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px;background:#ffffff05}.upload-box b{font-size:24px;color:var(--accent2)}.upload-box strong{font-size:12px}.upload-box small{margin-left:auto;color:var(--muted);font-size:9px}.slip-preview{margin-top:12px;max-width:100%;max-height:180px;border-radius:10px;border:1px solid var(--line)}.fine-print{font-size:10px;color:var(--muted)}.btn-wide{width:100%}.form-message{font-size:11px;color:var(--accent2);margin-top:9px;white-space:pre-wrap}.form-message.error{color:var(--danger)}.hidden{display:none!important}
.admin-main{max-width:1100px;margin:0 auto;padding:45px 24px 80px}.login-panel{max-width:420px;margin:45px auto;background:#111a2b;border:1px solid var(--line);border-radius:20px;padding:28px}.login-panel h1{margin:8px 0}.stack-form{display:grid;gap:14px;margin-top:20px}.admin-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.admin-title-row h1{font-size:30px}.admin-title-row p{color:var(--muted);font-size:12px;margin:4px 0}.btn-quiet{background:#ffffff0a;border:1px solid var(--line);color:#c8d3e6}.admin-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow:auto}.tab-btn{background:none;border:0;color:var(--muted);padding:12px 16px;border-bottom:2px solid transparent;white-space:nowrap;font-size:12px}.tab-btn.active{color:#fff;border-color:var(--accent2)}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#111a2b;border:1px solid var(--line);border-radius:16px;padding:20px}.admin-form button{justify-self:start}.orders-list{display:grid;gap:14px}.order-card{background:#111a2b;border:1px solid var(--line);border-radius:15px;padding:18px;display:grid;grid-template-columns:170px 1fr;gap:18px}.order-slip{width:100%;height:150px;object-fit:cover;border-radius:10px;background:#0a1020}.order-details h3{margin:0 0 5px;font-size:15px}.order-meta{display:flex;flex-wrap:wrap;gap:7px 14px;color:var(--muted);font-size:11px}.status-pill{display:inline-block;padding:4px 9px;border-radius:30px;font-size:10px;font-weight:800;background:#f4c76b20;color:var(--gold)}.status-pill.approved{background:#38d9a920;color:var(--success)}.status-pill.rejected{background:#ff687e20;color:var(--danger)}.order-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.order-actions input{min-width:0;background:#0b1322;color:#fff;border:1px solid var(--line);border-radius:9px;padding:9px;font-size:11px}.order-actions .delivery-input{grid-column:1/-1}.approve-btn{background:#38d9a9;color:#07150f}.reject-btn{background:#ff687e;color:#24080d}.admin-games-list,.admin-payments-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:20px}.admin-item{padding:13px;border:1px solid var(--line);border-radius:12px;background:#0e1727;display:flex;justify-content:space-between;gap:10px;font-size:12px}.admin-item button{background:none;border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:5px 9px;font-size:10px}
@media(max-width:800px){.hero{grid-template-columns:1fr;padding-top:55px}.hero-art{height:260px}.hero-console{transform:scale(.85) rotate(-8deg)}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.steps{grid-template-columns:repeat(2,1fr)}.track-section{grid-template-columns:1fr}.order-card{grid-template-columns:130px 1fr}}
@media(max-width:560px){.topbar{height:68px;padding:0 16px}.topbar nav{gap:12px;font-size:11px}.topbar nav a:nth-child(2){display:none}.brand b{font-size:10px}.brand-mark{width:36px;height:36px}.hero{padding:45px 22px 25px}.hero h1{font-size:34px}.hero-art{height:220px}.orbit-one{width:290px}.orbit-two{width:230px}.hero-chip{font-size:8px}.section-head{padding:22px}.section-head:not(.compact){align-items:stretch;flex-direction:column}.search-box{width:100%}.game-grid{padding:5px 16px 38px;grid-template-columns:1fr 1fr;gap:10px}.game-cover{height:125px}.game-card-body{padding:12px}.game-card h3{font-size:13px}.game-desc{font-size:10px;min-height:45px}.price{font-size:14px}.buy-btn{font-size:10px;padding:8px}.how-section{padding:35px 18px}.steps{gap:8px}.steps article{padding:13px}.steps h3{font-size:12px}.steps p{font-size:10px}.track-section{padding:38px 20px}.track-form{grid-template-columns:1fr}footer{align-items:flex-start;flex-direction:column}.dialog-content{padding:22px 17px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.upload-box{flex-wrap:wrap}.upload-box small{margin-left:0}.admin-main{padding:28px 15px}.admin-title-row{align-items:flex-start}.admin-title-row h1{font-size:24px}.admin-form{grid-template-columns:1fr;padding:15px}.admin-form .full{grid-column:auto}.order-card{grid-template-columns:1fr}.order-slip{height:190px}.order-actions{grid-template-columns:1fr 1fr}.admin-games-list,.admin-payments-list{grid-template-columns:1fr}}

/* Local game artwork, status labels and development progress */
.game-cover{position:relative}
.game-cover img{display:block;transition:transform .45s ease}
.game-card:hover .game-cover img{transform:scale(1.035)}
.game-cover:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0b1220a8);pointer-events:none}
.game-status{position:absolute;z-index:1;left:12px;top:12px;border-radius:30px;padding:6px 10px;font-size:9px;font-weight:800;letter-spacing:.3px;backdrop-filter:blur(12px)}
.status-ready{color:#9ff5dc;background:#092c29d9;border:1px solid #42d6c566}
.status-progress{color:#ffe2a1;background:#342515e8;border:1px solid #f4c76b66}
.progress-wrap{margin:0 0 15px}
.progress-caption{display:flex;justify-content:space-between;gap:8px;color:#c4cde0;font-size:9px;margin-bottom:7px}
.progress-caption span:last-child{color:var(--gold);font-weight:800;letter-spacing:.7px}
.progress-track{height:7px;background:#27334a;border-radius:30px;overflow:hidden;position:relative}
.progress-fill{height:100%;display:block;border-radius:30px;background:linear-gradient(90deg,#f2b85f,#ffdf9b)}
.progress-indeterminate{position:absolute;top:0;bottom:0;width:38%;border-radius:30px;background:linear-gradient(90deg,#8b78ff,#42d6c5);animation:progress-slide 1.7s ease-in-out infinite}
@keyframes progress-slide{0%{left:-40%}100%{left:110%}}
.btn-disabled{background:#27334a;color:#9ba8bd;border:1px solid #394966;cursor:not-allowed;box-shadow:none}
.btn-disabled:hover{transform:none;filter:none}
.admin-item-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}
.admin-item-actions button{white-space:nowrap}
@media(max-width:560px){
  .game-grid{grid-template-columns:1fr;gap:15px;padding:5px 18px 38px}
  .game-cover{height:205px}
  .game-card-body{padding:16px}
  .game-card h3{font-size:16px}
  .game-desc{font-size:11px;min-height:0;line-height:1.7}
  .price{font-size:15px}
  .buy-btn{font-size:11px;padding:10px 14px}
  .game-status{font-size:9px}
  .admin-item{align-items:flex-start;flex-direction:column}
  .admin-item-actions{justify-content:flex-start}
}

.catalogue-note{grid-column:1/-1;padding:12px 15px;border:1px solid #f4c76b44;background:#f4c76b0c;color:#d8c49a;border-radius:11px;font-size:11px}


/* =========================================================
   MYANMAR GAME HUB — RED / BLACK PREMIUM THEME
   Local artwork, no external image CDN required.
   ========================================================= */
:root{
  --bg:#05070b;
  --panel:#0b1018;
  --panel2:#111823;
  --line:#26303c;
  --text:#f7f8fb;
  --muted:#aab3c0;
  --accent:#ff2538;
  --accent2:#c90018;
  --danger:#ff5362;
  --success:#39d6a2;
  --gold:#ffb51c;
  --radius:18px;
}
html{scroll-padding-top:88px}
body{
  background:
    radial-gradient(ellipse at 50% -20%,#2a0b13 0,transparent 38%),
    radial-gradient(ellipse at 0% 55%,#16070c 0,transparent 28%),
    #05070b;
  color:var(--text);
}
.topbar{
  height:78px;
  padding:0 max(3.1vw,22px);
  background:#05080df2;
  border-bottom:1px solid #ff26351f;
  box-shadow:0 8px 28px #0007;
}
.brand{gap:12px;min-width:220px}
.brand-mark{
  width:48px;height:40px;object-fit:contain;
  border-radius:0;background:none;box-shadow:none;padding:0;
}
.brand>span:last-child{display:flex;flex-direction:column;line-height:1.05}
.brand b{font-size:19px;letter-spacing:-.5px;color:#fff;font-weight:900}
.brand strong{font-size:17px;color:#ff3344;font-weight:900;letter-spacing:-.4px}
.brand small{font-size:10px;color:#aab3c0;margin-top:4px}
.topbar nav{gap:clamp(10px,2.2vw,30px);font-size:13px;color:#e0e4eb}
.topbar nav a{
  display:inline-flex;align-items:center;gap:8px;padding:9px 4px;
  border-radius:10px;transition:.2s;color:#e1e5ec;white-space:nowrap;
}
.topbar nav a:hover,.topbar nav a.active{color:#ff3445;text-shadow:0 0 14px #ff1d3a99}
.nav-icon{font-size:18px;line-height:1;color:#f1f3f7}
.topbar nav a.active .nav-icon{color:#ff2538;text-shadow:0 0 12px #ff2538}
.topbar nav .nav-admin{
  border:1px solid #ff2438;border-radius:12px;padding:9px 15px;
  box-shadow:0 0 15px #ff1d3228,inset 0 0 10px #ff1d3210;color:#fff;
}
.topbar nav .nav-admin .nav-icon{color:#ff3a4b}
.hero-banner{
  width:100%;height:clamp(230px,23vw,360px);overflow:hidden;position:relative;
  background:#090d14;border-bottom:1px solid #ff24351b;
}
.hero-banner img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 50%}
.section-head{padding:20px max(3.1vw,22px) 15px;align-items:end}
.eyebrow{color:#ff3345;letter-spacing:2.2px;font-size:10px}
.section-head h2,.track-section h2,.admin-main h1{color:#fff}
.section-head h2{font-size:29px;margin-top:3px}
.section-head p{font-size:13px;color:#aab3c0}
.search-box{
  height:46px;width:min(300px,100%);background:#0b111a;
  border:1px solid #283342;border-radius:14px;
}
.search-box:focus-within{border-color:#ff3445;box-shadow:0 0 0 3px #ff25381a}
.search-box input{color:#fff}
.game-grid{
  padding:0 max(3.1vw,22px) 42px;
  grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
}
.game-card{
  background:linear-gradient(180deg,#0d131d 0%,#080c12 100%);
  border:1px solid #70202b;border-radius:20px;
  box-shadow:0 8px 26px #0008,0 0 14px #ff1d3210;
}
.game-card:hover{
  transform:translateY(-4px);border-color:#ff3548;
  box-shadow:0 16px 38px #000b,0 0 22px #ff1d3225;
}
.game-cover{
  height:clamp(190px,16vw,248px);
  background:#0b1119;position:relative;
}
.game-cover img{width:100%;height:100%;object-fit:cover;object-position:center}
.game-cover:after{
  content:"";position:absolute;inset:48% 0 0;
  background:linear-gradient(transparent,#05080d55);pointer-events:none;
}
.game-status{
  top:12px;right:12px;left:auto;border-radius:8px;
  padding:7px 11px;font-size:10px;letter-spacing:0;
  box-shadow:0 5px 18px #0008;backdrop-filter:blur(8px);
}
.status-ready{color:#fff;background:#c90018e8;border:1px solid #ff647066}
.status-progress{color:#17100a;background:#ffb51c;border:1px solid #ffe09b}
.game-card-body{padding:16px 18px 17px}
.game-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}
.game-card h3{font-size:19px;line-height:1.3;margin:0;color:#fff}
.price-tag{
  flex:none;display:inline-flex;align-items:center;justify-content:center;
  border-radius:9px;padding:6px 11px;background:linear-gradient(135deg,#e8001c,#a90015);
  color:#fff;font-weight:900;font-size:14px;box-shadow:0 5px 18px #ff001f30;
}
.game-version{font-size:11px;color:#c0c7d1;font-weight:600}
.game-version i{font-style:normal;color:#ff3445;padding:0 3px}
.game-desc{font-size:12px;min-height:0;margin:8px 0 13px;color:#aeb7c4;line-height:1.65}
.game-card-bottom{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.buy-btn{min-width:150px}
.btn{border-radius:11px;font-size:12px;transition:transform .18s,box-shadow .18s,filter .18s}
.btn-primary{
  color:#fff;background:linear-gradient(115deg,#f20d25,#c60018);
  border:1px solid #ff3b4c;box-shadow:0 7px 22px #e9002436;
}
.btn-primary:hover{box-shadow:0 9px 28px #f0003d55;filter:brightness(1.1)}
.btn-disabled{
  color:#a8afbb;background:#202832;border:1px solid #3a4654;
  box-shadow:none;cursor:not-allowed;
}
.progress-wrap{margin:12px 0 2px}
.progress-caption{font-size:10px;color:#c3cbd5}
.progress-caption span:last-child{color:#ffbd32}
.progress-track{height:9px;background:#242b34;border-radius:30px}
.progress-fill{background:linear-gradient(90deg,#ff9e0c,#ffd04c)}
.progress-indeterminate{background:linear-gradient(90deg,#ff6a12,#ffd04c);box-shadow:0 0 12px #ffb21c88}
.loading-card,.empty-state{
  background:#0b111b;border:1px solid #303a47;color:#b8c1cc;
}
.how-section{
  padding:28px max(3.1vw,22px) 32px;
  background:#05080d;border-top:1px solid #ffffff10;border-bottom:1px solid #ffffff10;
}
.how-section .section-head{padding:0;margin:0 0 16px}
.how-section .section-head h2{font-size:27px}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.steps article{
  display:flex;align-items:center;gap:14px;min-height:132px;
  padding:17px;background:linear-gradient(145deg,#0c121b,#080c12);
  border:1px solid #29333f;border-radius:18px;
  box-shadow:inset 0 1px #ffffff08;
}
.step-icon{
  flex:none;width:52px;height:52px;border-radius:50%;
  display:grid;place-items:center;border:1px solid #ff2538;
  color:#ff3548;font-size:23px;background:#ff1d320c;
  box-shadow:0 0 18px #ff1d3224,inset 0 0 12px #ff1d3215;
}
.step-copy{min-width:0}
.step-number{font-size:11px;color:#aeb7c4;font-weight:800;letter-spacing:1px}
.steps h3{font-size:14px;margin:2px 0 5px;color:#fff}
.steps p{font-size:10px;line-height:1.6;color:#aeb7c4;margin:0}
.trust-strip{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;
  padding:24px max(3.1vw,22px);
}
.trust-strip article{
  display:flex;align-items:center;gap:14px;padding:15px 18px;
  background:linear-gradient(120deg,#0d131c,#080c12);
  border:1px solid #252f3b;border-radius:15px;
}
.trust-icon{
  width:42px;height:42px;display:grid;place-items:center;flex:none;
  border:1px solid #ff263b;border-radius:50%;color:#ff3447;font-size:22px;
  box-shadow:0 0 15px #ff1d3225;
}
.trust-strip b{display:block;font-size:13px;color:#fff}
.trust-strip small{display:block;font-size:10px;color:#aab3c0;margin-top:3px}
.track-section{
  padding:38px max(3.1vw,22px);grid-template-columns:1fr 1.05fr;
  background:#080d14;border-top:1px solid #ffffff0d;
}
.track-section h2{font-size:24px}
.track-section p{font-size:12px}
.track-form input,.stack-form input,.admin-form input,.admin-form textarea,.admin-form select,.form-grid input,.form-grid select{
  background:#080d14;border:1px solid #2c3745;color:#fff;border-radius:10px;
}
.track-form input:focus,.stack-form input:focus,.admin-form input:focus,.form-grid input:focus,.form-grid select:focus{
  border-color:#ff3345;box-shadow:0 0 0 3px #ff25381a;
}
footer{
  background:#05080d;border-top:1px solid #ff25381c;
  padding:22px max(3.1vw,22px);color:#aab3c0;
}
.footer-brand b{font-size:13px;letter-spacing:0;color:#fff}
.footer-brand .brand-mark{width:36px;height:30px}
.buy-dialog{
  background:#0b111a;border:1px solid #80303a;
  box-shadow:0 30px 100px #000e,0 0 25px #ff1d321c;
}
.dialog-content h2{color:#fff}
.dialog-close{background:#1b222c;color:#fff}
.selected-game{background:#111821;border:1px solid #303a46}
.form-grid label,.stack-form label,.admin-form label,.upload-label{color:#d0d6df}
.payment-info{
  border:1px solid #ff263b55;background:#ff263b0d;
}
.payment-info b{color:#ff5969}
.upload-box{
  border:1px dashed #7c3b45;background:#ff263b08;
}
.upload-box b{color:#ff3448}
.fine-print{color:#aab3c0}
.form-message{color:#ff6674}
.admin-body{
  background:
    radial-gradient(ellipse at 50% -20%,#280b12 0,transparent 40%),
    #05070b;
}
.admin-main{max-width:1200px}
.login-panel,.admin-form,.order-card{
  background:linear-gradient(150deg,#101721,#090e15);
  border:1px solid #3a252e;box-shadow:0 14px 35px #0007;
}
.login-panel h1,.admin-title-row h1{color:#fff}
.admin-tabs{border-color:#303944}
.tab-btn.active{border-color:#ff263b;color:#ff5364}
.btn-quiet{background:#111821;border:1px solid #394451;color:#d5dbe3}
.order-card{border-radius:16px}
.order-slip{background:#070b10}
.status-pill{background:#ffb51c22;color:#ffca59}
.status-pill.approved{background:#39d6a222;color:#39d6a2}
.status-pill.rejected{background:#ff536222;color:#ff7180}
.approve-btn{background:#24c58f;color:#06160f}
.reject-btn{background:#e72d42;color:#fff}
.admin-item,.admin-payments-list .admin-item{
  background:#0c121a;border:1px solid #303a46;
}
.admin-item button{border-color:#424d5a;color:#e1e5eb}
.admin-item button:hover{border-color:#ff3447;color:#ff6473}
.admin-item-actions button{background:#151d27}
.admin-form button.btn-primary{background:linear-gradient(115deg,#f20d25,#c60018)}
.admin-title-row .eyebrow{color:#ff3345}

/* Responsive layout: keep the premium proportions on phones. */
@media(max-width:900px){
  .topbar{padding:0 18px}
  .brand{min-width:175px}
  .brand b{font-size:16px}
  .brand strong{font-size:15px}
  .topbar nav{gap:10px;font-size:11px}
  .hero-banner{height:165px}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .game-grid{gap:14px}
}
@media(max-width:650px){
  .topbar{height:66px;padding:0 12px}
  .brand{min-width:auto;gap:7px}
  .brand-mark{width:37px;height:33px}
  .brand b{font-size:13px}
  .brand strong{font-size:13px}
  .topbar nav{gap:5px}
  .topbar nav a{padding:8px 5px;gap:0}
  .nav-label{display:none}
  .nav-icon{font-size:17px}
  .topbar nav .nav-admin{padding:8px 9px}
  .topbar nav .nav-admin .nav-label{display:inline;font-size:10px;margin-left:4px}
  .hero-banner{height:145px}
  .hero-banner img{object-position:center 48%}
  .section-head{padding:19px 17px 13px}
  .section-head h2{font-size:25px}
  .section-head:not(.compact){flex-direction:column;align-items:stretch;gap:12px}
  .search-box{width:100%;height:42px}
  .game-grid{grid-template-columns:1fr;padding:0 16px 30px;gap:14px}
  .game-card{max-width:520px;width:100%;margin:0 auto;border-radius:17px}
  .game-cover{height:auto;aspect-ratio:1.9/1}
  .game-card-body{padding:14px 15px 15px}
  .game-card h3{font-size:17px}
  .price-tag{font-size:12px;padding:6px 9px}
  .game-version{font-size:10px}
  .game-desc{font-size:11px;margin:7px 0 11px}
  .game-card-bottom{justify-content:flex-end}
  .buy-btn{width:100%;min-height:42px}
  .how-section{padding:25px 16px 28px}
  .how-section .section-head h2{font-size:24px}
  .steps{grid-template-columns:1fr 1fr;gap:9px}
  .steps article{min-height:118px;padding:12px;gap:10px;border-radius:14px}
  .step-icon{width:39px;height:39px;font-size:18px}
  .steps h3{font-size:12px}
  .steps p{font-size:9px}
  .trust-strip{grid-template-columns:1fr;padding:18px 16px;gap:8px}
  .trust-strip article{padding:11px 13px}
  .track-section{grid-template-columns:1fr;padding:28px 17px;gap:16px}
  .track-form{grid-template-columns:1fr}
  footer{padding:19px 17px}
  .admin-main{padding:24px 14px 60px}
  .admin-title-row{gap:10px}
  .admin-title-row h1{font-size:22px}
  .admin-tabs{gap:0}
  .tab-btn{padding:11px 12px;font-size:11px}
  .admin-form{grid-template-columns:1fr;padding:14px}
  .admin-form .full{grid-column:auto}
  .order-card{grid-template-columns:1fr}
  .order-slip{height:180px}
  .admin-games-list,.admin-payments-list{grid-template-columns:1fr}
  .dialog-content{padding:23px 16px}
  .form-grid{grid-template-columns:1fr}
  .form-grid .full{grid-column:auto}
}
@media(max-width:390px){
  .brand b{font-size:12px}
  .brand strong{font-size:12px}
  .brand-mark{width:32px}
  .topbar nav{gap:2px}
  .topbar nav a{padding:7px 3px}
  .topbar nav .nav-admin{padding:7px 6px}
  .steps{grid-template-columns:1fr}
  .steps article{min-height:90px}
}


/* Final viewport fix: show the entire hero artwork and prevent navbar clipping. */
.topbar{
  height:auto;
  min-height:78px;
  padding-top:10px;
  padding-bottom:10px;
  overflow:visible;
  box-sizing:border-box;
}
.topbar .brand{
  min-height:48px;
  align-items:center;
  flex-shrink:0;
}
.topbar .brand-mark{flex:0 0 auto}
.topbar nav{
  min-height:48px;
  align-items:center;
}
.topbar nav a{
  display:flex;
  align-items:center;
  min-height:42px;
  line-height:1.25;
  white-space:nowrap;
}

/* The generated banner's full composition is 2172 × 633.
   Preserve that ratio instead of using cover (which crops its top and bottom). */
.hero-banner{
  width:100%;
  height:auto !important;
  aspect-ratio:2172 / 633;
  overflow:hidden;
  background:#05080d;
}
.hero-banner img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center;
}

@media(max-width:900px){
  .hero-banner{height:auto !important;aspect-ratio:2172 / 633}
}
@media(max-width:650px){
  .topbar{
    height:auto;
    min-height:66px;
    padding:8px 12px;
  }
  .topbar .brand{min-height:46px}
  .topbar nav{min-height:44px}
  .hero-banner{height:auto !important;aspect-ratio:2172 / 633}
}


/* Compact hero banner: crop from the bottom, keep the upper artwork visible. */
.hero-banner{
  height:clamp(210px, 14.2vw, 290px) !important;
  min-height:0;
  aspect-ratio:auto !important;
  overflow:hidden;
}
.hero-banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
@media(max-width:900px){
  .hero-banner{
    height:clamp(165px, 23vw, 215px) !important;
    aspect-ratio:auto !important;
  }
  .hero-banner img{object-position:center top}
}
@media(max-width:650px){
  .hero-banner{
    height:clamp(112px, 27vw, 145px) !important;
    aspect-ratio:auto !important;
  }
  .hero-banner img{object-position:center top}
}


/* User-requested exact banner: never crop, stretch, or impose a fixed height. */
.hero-banner{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  overflow:visible !important;
  line-height:0;
  background:#05080d;
}
.hero-banner img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:initial !important;
  object-position:initial !important;
}
@media(max-width:900px){
  .hero-banner{height:auto !important;aspect-ratio:auto !important}
  .hero-banner img{width:100% !important;height:auto !important;object-fit:initial !important}
}
@media(max-width:650px){
  .hero-banner{height:auto !important;aspect-ratio:auto !important}
  .hero-banner img{width:100% !important;height:auto !important;object-fit:initial !important}
}


/* Updated catalogue cards: clean premium black/red presentation. */
.game-card-progress{border-color:#54202a;}
.game-card-progress:hover{border-color:#ff3448;}
.progress-caption span:last-child{color:#ff6575;font-weight:900;}
.progress-fill{background:linear-gradient(90deg,#c90018,#ff4055);box-shadow:0 0 12px #ff1d3255;}


:root{color-scheme:dark;--text:#f7f8fb;--muted:#aab3c0;--red:#ff3345}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:94px}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#2a0b13,transparent 38%),#05070b;color:var(--text);font-family:Inter,"Noto Sans Myanmar","Myanmar Text",Pyidaungsu,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}button,input{font:inherit}a:focus-visible,button:focus-visible{outline:2px solid var(--red);outline-offset:4px}.topbar{min-height:78px;padding:10px max(3.1vw,22px);display:flex;align-items:center;justify-content:space-between;gap:16px;background:#05080df2;border-bottom:1px solid #ff26351f;box-shadow:0 8px 28px #0007;position:sticky;top:0;z-index:5;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{width:48px;height:40px;object-fit:contain}.brand>span{display:flex;flex-direction:column;line-height:1.15}.brand b{font-size:19px;letter-spacing:-.5px}.brand strong{font-size:17px;color:var(--red)}.topbar nav{display:flex;gap:clamp(10px,2.2vw,30px);font-size:13px}.topbar nav a{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 4px;white-space:nowrap}.topbar nav a:hover,.topbar nav a.active{color:var(--red)}.nav-icon{font-size:18px;line-height:1}.hero-banner{width:100%;line-height:0;background:#05080d}.hero-banner img{display:block;width:100%;height:auto}.section-head{padding:20px max(3.1vw,22px) 15px;display:flex;justify-content:space-between;align-items:end;gap:20px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:800;color:var(--red)}.section-head h2{font-size:29px;letter-spacing:-.8px;margin:3px 0 0}.section-head p{font-size:13px;color:var(--muted);margin:5px 0 0}.search-box{height:46px;width:min(300px,100%);display:flex;align-items:center;gap:8px;padding:0 13px;background:#0b111a;border:1px solid #283342;border-radius:14px;color:#8796b0}.search-box:focus-within{border-color:var(--red);box-shadow:0 0 0 3px #ff25381a}.search-box input{width:100%;min-width:0;background:none;border:0;outline:0;color:#fff;font-size:12px}.game-grid{padding:0 max(3.1vw,22px) 42px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.game-card{min-width:0;overflow:hidden;background:linear-gradient(180deg,#0d131d,#080c12);border:1px solid #70202b;border-radius:20px;box-shadow:0 8px 26px #0008,0 0 14px #ff1d3210;transition:transform .25s,border-color .25s}.game-card:hover{transform:translateY(-4px);border-color:var(--red);box-shadow:0 16px 38px #000b}.game-cover{height:clamp(190px,16vw,248px);position:relative;overflow:hidden;background:#0b1119}.game-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s}.game-card:hover .game-cover img{transform:scale(1.035)}.game-cover:after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,#05080d55);pointer-events:none}.game-status{position:absolute;z-index:1;top:12px;right:12px;border-radius:8px;padding:7px 11px;font-size:10px;font-weight:800;box-shadow:0 5px 18px #0008;backdrop-filter:blur(8px)}.status-ready{color:#fff;background:#c90018e8;border:1px solid #ff647066}.status-progress{color:#17100a;background:#ffb51c;border:1px solid #ffe09b}.game-card-body{padding:16px 18px 17px}.game-title-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:5px}.game-card h3{font-size:19px;line-height:1.3;margin:0}.price-tag{display:inline-flex;align-items:center;border-radius:9px;padding:6px 11px;background:linear-gradient(135deg,#e8001c,#a90015);color:#fff;font-size:12px;font-weight:900}.game-version{font-size:11px;color:#c0c7d1;font-weight:600}.game-version i{font-style:normal;color:var(--red);padding:0 3px}.game-desc{font-size:12px;margin:8px 0 13px;color:#aeb7c4}.game-card-bottom{display:flex;justify-content:flex-end}.btn{border-radius:11px;font-weight:800;padding:10px 14px}.btn-disabled{color:#a8afbb;background:#202832;border:1px solid #3a4654;cursor:not-allowed}.buy-btn{min-width:150px;font-size:11px}.game-card-progress{border-color:#54202a}.progress-wrap{margin:12px 0 2px}.progress-caption{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#c3cbd5;margin-bottom:7px}.progress-caption span:last-child{color:#ff6575;font-weight:900}.progress-track{height:9px;background:#242b34;border-radius:30px;overflow:hidden;position:relative}.progress-fill{display:block;height:100%;border-radius:30px;background:linear-gradient(90deg,#c90018,#ff4055);box-shadow:0 0 12px #ff1d3255}.progress-indeterminate{position:absolute;top:0;bottom:0;width:38%;border-radius:30px;background:linear-gradient(90deg,#ff6a12,#ffd04c);animation:progress-slide 1.7s ease-in-out infinite}@keyframes progress-slide{from{left:-40%}to{left:110%}}.empty-state{margin:0 max(3.1vw,22px) 32px;padding:25px;text-align:center;border:1px solid #303a47;border-radius:14px;background:#0b111b;color:var(--muted);font-size:13px}[hidden]{display:none!important}footer{padding:22px max(3.1vw,22px);display:flex;justify-content:space-between;align-items:center;gap:20px;background:#05080d;border-top:1px solid #ff25381c;color:var(--muted);font-size:11px}.footer-brand b{font-size:13px;color:#fff}.footer-brand .brand-mark{width:36px;height:30px}.brand small{font-size:10px;margin-top:5px;color:var(--muted)}
@media(max-width:900px){.topbar{padding:10px 18px}.brand b{font-size:16px}.brand strong{font-size:15px}.game-grid{gap:14px}}
@media(max-width:650px){html{scroll-padding-top:80px}.topbar{min-height:66px;padding:8px 12px}.brand{gap:7px}.brand-mark{width:37px;height:33px}.brand b,.brand strong{font-size:13px}.topbar nav{gap:5px}.topbar nav a{padding:8px;gap:0}.nav-label{display:none}.nav-icon{font-size:19px}.section-head{padding:19px 17px 13px;flex-direction:column;align-items:stretch;gap:12px}.section-head h2{font-size:25px}.search-box{width:100%;height:42px}.game-grid{grid-template-columns:1fr;padding:0 16px 30px;gap:14px}.game-card{max-width:520px;width:100%;margin:0 auto;border-radius:17px}.game-cover{height:auto;aspect-ratio:1.9/1}.game-card-body{padding:14px 15px 15px}.game-card h3{font-size:17px}.price-tag{font-size:11px;padding:6px 9px}.game-version{font-size:10px}.game-desc{font-size:11px;margin:7px 0 11px}.buy-btn{width:100%;min-height:42px}footer{padding:19px 17px;align-items:flex-start;flex-direction:column}.empty-state{margin:0 16px 30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.progress-indeterminate{left:31%}}

/* Refined spacing and consistent card structure. */
body{background:radial-gradient(ellipse at 75% 0%,#250d1599,transparent 35%),#08090d;line-height:1.8}
.topbar{min-height:80px;padding:14px max(24px,calc((100% - 1136px)/2));background:#08090def;border-bottom:1px solid #ffffff0c;box-shadow:none}
.brand{gap:11px}.brand-mark{width:43px;height:38px}.brand b{font-size:16px;letter-spacing:0}.brand strong{font-size:16px;letter-spacing:.2px}
.topbar nav{gap:8px}.topbar nav a{padding:10px 14px;gap:8px;border-radius:11px;font-size:12px;color:#9ba0ad}.topbar nav a.active{background:#ff334510;color:#ff5665}.nav-icon{width:18px;height:18px;flex:none}
main{max-width:1184px;margin:0 auto;padding:28px 24px 64px}.hero-banner{overflow:hidden;border-radius:16px;border:1px solid #ffffff10;box-shadow:0 20px 60px #0004}.hero-banner img{width:100%;height:auto}
.section-head{padding:36px 0 24px;gap:24px;align-items:center}.eyebrow{font-size:9px;letter-spacing:2px;color:#d66d78}.heading-line{display:flex;align-items:center;gap:12px;margin-top:5px}.section-head h2{margin:0;font-size:27px;line-height:1.6;font-weight:700}.collection-count{font-size:11px;color:#a8a8b2;border:1px solid #ffffff13;background:#ffffff04;border-radius:7px;padding:1px 8px}.section-head p{margin:4px 0 0;font-size:12px;line-height:1.9;color:#878c99}.search-box{width:280px;flex:none;height:46px;border-radius:11px;background:#101116;border-color:#ffffff10}.search-box svg{width:18px;height:18px;flex:none}.search-box input{font-size:12px}
.game-grid{padding:0;gap:20px;align-items:stretch}.game-card{display:flex;flex-direction:column;border-radius:16px;border-color:#ffffff12;background:linear-gradient(155deg,#14151c,#0e1016);box-shadow:0 8px 24px #0002}.game-card-progress{border-color:#ffffff12}.game-card:hover{border-color:#a33b49;box-shadow:0 14px 32px #0006}.game-cover{height:auto;aspect-ratio:16/9}.game-cover img{object-position:center}.game-status{top:12px;right:12px;font-size:10px;padding:5px 10px;border-radius:7px;box-shadow:0 4px 14px #0006}.status-ready{background:#b91f34ed;border-color:#ff75842b}.status-progress{background:#17171de8;color:#ffce89;border:1px solid #ffd39c33}.game-card-body{padding:20px;display:flex;flex-direction:column;flex:1}.game-title-row{margin:0 0 7px;gap:0}.game-card h3{font-size:18px;line-height:1.45;letter-spacing:-.35px;font-weight:700}.game-version{font-size:10px;font-weight:500;color:#a9aab5;letter-spacing:.3px}.game-version i{padding:0 6px;color:#74404b}.game-desc{font-size:11px;line-height:1.9;margin:13px 0 22px;color:#9194a1}.game-card-bottom{margin-top:auto;padding-top:16px;border-top:1px solid #ffffff0a;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:12px;min-height:92px}.availability{display:flex;align-items:center;gap:7px;font-size:10px;color:#c5abb0}.availability-dot{width:5px;height:5px;border-radius:50%;background:#ff6473;box-shadow:0 0 8px #ff64734a}.buy-btn{width:100%;padding:9px 12px;min-height:38px;border-radius:8px;font-size:11px}.btn-disabled{background:#ffffff04;border-color:#ffffff10;color:#858792}.progress-bottom{justify-content:center}.progress-wrap{margin:0;width:100%}.progress-caption{font-size:10px;margin-bottom:10px;line-height:1.9;color:#a2a4b0}.progress-caption span:last-child{font-size:10px;color:#f47986}.progress-track{height:5px;background:#ffffff09}.progress-fill{background:linear-gradient(90deg,#ad293f,#f35a70);box-shadow:none}.progress-indeterminate{background:linear-gradient(90deg,#ad293f,#f35a70);box-shadow:none}
.empty-state{margin:0;padding:36px 18px;background:#101116;border-color:#ffffff10}
footer{max-width:1136px;margin:0 auto;padding:24px 0 28px;background:none;border-color:#ffffff0c;font-size:10px}.footer-brand{gap:9px}.footer-brand .brand-mark{width:29px;height:27px}.footer-brand b{font-size:11px;font-weight:600}.brand small{font-size:9px;line-height:1.8;margin-top:4px;color:#686b79}footer p{color:#7e818f;margin:0}
@media(min-width:651px) and (max-width:980px){.game-grid{gap:14px}.game-card-body{padding:16px}.game-card h3{font-size:16px}.progress-caption{font-size:9px}.game-status{font-size:9px;right:9px;top:9px;padding:4px 8px}}
@media(max-width:1184px){footer{margin-left:24px;margin-right:24px}}
@media(max-width:650px){html{scroll-padding-top:82px}.topbar{min-height:70px;padding:10px 18px;gap:12px}.brand-mark{width:37px;height:33px}.brand b,.brand strong{font-size:13px}.topbar nav{gap:4px}.topbar nav a{padding:10px 12px;min-width:42px;justify-content:center}.nav-icon{width:18px;height:18px}main{padding:20px 18px 38px}.hero-banner{border-radius:11px}.section-head{padding:28px 0 20px;gap:17px;align-items:stretch}.eyebrow{font-size:8px;letter-spacing:1.8px}.section-head h2{font-size:24px}.heading-line{gap:10px}.section-head p{font-size:11px;margin-top:3px}.search-box{width:100%;height:44px}.game-grid{padding:0;gap:22px}.game-card{max-width:none;border-radius:14px}.game-cover{aspect-ratio:1.85/1}.game-card-body{padding:19px}.game-card h3{font-size:19px}.game-version{font-size:10px}.game-desc{font-size:11px;margin:12px 0 20px}.game-card-bottom{min-height:0;padding-top:15px;gap:12px}.buy-btn{min-height:42px}.progress-bottom{padding-top:18px;padding-bottom:3px}.game-status{top:12px;right:12px;font-size:10px}.progress-caption{font-size:10px}.progress-track{height:5px}footer{margin:0 18px;padding:22px 0;gap:16px;flex-direction:row;align-items:center}footer p{max-width:110px;text-align:right;font-size:9px;line-height:1.9}.footer-brand b{font-size:10px}.brand small{font-size:8px}}
@media(max-width:350px){main{padding-left:14px;padding-right:14px}.topbar{padding-left:14px;padding-right:14px}.game-card-body{padding:16px}.game-card h3{font-size:17px}footer{margin-left:14px;margin-right:14px}.topbar nav a{padding:10px;min-width:38px}}

/* Checkout, order lookup and admin controls. */
:root{--accent:#ff3345;--accent2:#ff6677;--line:#2d2932;--danger:#ff7180;--muted:#aab3c0}
.track-section{margin-top:38px;padding:26px;border:1px solid #ffffff12;border-radius:16px;gap:24px;background:#101116}.track-section h2{font-size:22px}.track-section p{font-size:11px}.track-form label,.order-tools label,.order-actions label{display:grid;gap:6px;font-size:11px;color:#aab3c0}.track-result{overflow-wrap:anywhere}.buy-dialog{width:min(590px,calc(100% - 24px));max-height:90dvh}.dialog-content{padding:26px}.form-message code{display:block;overflow-wrap:anywhere;white-space:normal;font-size:11px}.form-grid input,.form-grid select,.stack-form input,.admin-form input,.admin-form select,.admin-form textarea{min-width:0;font-size:16px}.upload-box{display:none}.slip-preview{object-fit:contain}.catalogue-note{margin-top:12px}.form-message{white-space:normal}#catalogue-message:empty{display:none}.admin-main{max-width:1184px;padding:36px 24px 64px}.admin-main .section-head{padding-top:0}.admin-main .section-head p{margin:6px 0 0}.login-panel{max-width:420px;margin:40px auto;padding:28px}.login-panel p{font-size:12px}.admin-title-row{margin-bottom:24px}.admin-form{padding:22px;gap:18px;background:#111218;border-color:#ffffff12}.admin-form label{font-size:12px;line-height:1.8}.editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;grid-column:1/-1}.admin-games-list,.admin-payments-list{grid-template-columns:1fr;margin-top:24px;gap:12px}.admin-item{align-items:center;padding:16px;gap:16px;background:#111218;border-color:#ffffff12}.admin-item-info{display:flex;align-items:center;gap:14px;min-width:0}.admin-item b{overflow-wrap:anywhere}.admin-item small{display:block;margin-top:5px;color:#9296a4;font-size:10px}.admin-thumb{width:80px;height:52px;object-fit:cover;border-radius:7px;flex:none}.admin-item-actions{flex:none;display:flex;gap:8px}.admin-item button{padding:8px 12px;min-height:38px}.order-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.order-tools select{min-height:42px;background:#111218;border:1px solid #35313c;color:#fff;padding:8px 14px;border-radius:9px;font-size:13px}.order-tools span,.pagination{font-size:11px;color:#aab3c0}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px}.order-card{border-color:#ffffff12;background:#111218;grid-template-columns:160px 1fr}.order-details{min-width:0}.order-id{font-size:10px;color:#9296a4;overflow-wrap:anywhere}.order-actions{grid-template-columns:1fr 1fr}.order-actions label.full{grid-column:1/-1}.order-actions input{width:100%;font-size:14px}.btn:disabled{opacity:.65;cursor:default;transform:none}.slip-error{color:#ff7180;font-size:11px}.empty-state{margin:0}.btn-primary{background:linear-gradient(115deg,#e82640,#b91830);border-color:#ff5265;color:#fff}.form-grid label{font-size:12px}.upload-label input{padding:12px;border:1px dashed #653b47;border-radius:10px}.selected-game{align-items:center}.fine-print{line-height:1.9}.btn-wide{min-height:44px}.form-message{line-height:1.9}.buy-btn{color:#fff;background:#c62139;border:1px solid #ef475a}.btn-disabled.buy-btn{color:#9598a4;background:#ffffff04;border-color:#ffffff10}.game-card-bottom .cart-icon{font-size:14px}.admin-main .form-message:empty{display:none}
@media(max-width:650px){.track-section{padding:20px;margin-top:28px;grid-template-columns:1fr;gap:18px}.track-form{grid-template-columns:1fr}.admin-main{padding:24px 18px 48px}.admin-title-row h1{font-size:22px}.admin-tabs{gap:0}.tab-btn{padding:12px 10px;font-size:11px}.admin-form{padding:17px;gap:15px}.admin-item{flex-direction:column;align-items:stretch}.admin-item-actions{justify-content:flex-end}.admin-item-info{gap:12px}.admin-thumb{width:72px;height:48px}.order-card{grid-template-columns:1fr;padding:16px;gap:14px}.order-slip{height:180px;object-fit:contain}.login-panel{margin:24px auto;padding:24px 20px}.admin-title-row{align-items:center}.admin-title-row h1{font-size:20px}.admin-title-row p{overflow-wrap:anywhere;font-size:10px}.dialog-content{padding:24px 18px}.selected-game{flex-direction:column;align-items:flex-start;gap:6px}.upload-label input{max-width:100%}}

.price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#aab3c0}.price-row .price-tag{font-size:12px;padding:4px 9px}.game-card-bottom{min-height:96px}.game-card-bottom.progress-bottom{justify-content:center}
/* SVG actions and branded payment cards. */
.ui-icon{width:18px;height:18px;flex:none;display:inline-block;vertical-align:middle}.btn,.refresh-catalogue,.copy-account{display:inline-flex;align-items:center;justify-content:center;gap:8px}.dialog-close{display:grid;place-items:center}.dialog-close .ui-icon{width:19px;height:19px}.refresh-catalogue{font-size:10px;border:1px solid #ffffff14;border-radius:9px;padding:8px 12px;background:#ffffff04;color:#aab3c0;cursor:pointer}.catalogue-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.catalogue-tools .form-message{margin:0}.refresh-catalogue{margin-left:auto}.payment-section-label{display:block;font-size:12px;color:#c4c7d1;margin:5px 0 10px}.payment-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-choice{--pay-accent:#5c9fff;display:flex;align-items:center;gap:10px;position:relative;min-width:0;padding:12px;background:#131720;border:1px solid #2d3441;border-radius:13px;color:#fff;text-align:left;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}.payment-choice.is-wave{--pay-accent:#fbc52e}.payment-choice:hover{border-color:#5d6676}.payment-choice.selected{border-color:var(--pay-accent);background:#1a1e28;box-shadow:0 0 0 2px color-mix(in srgb,var(--pay-accent) 10%,transparent)}.payment-choice-logo{width:42px;height:42px;border-radius:11px;overflow:hidden;background:#fff;display:grid;place-items:center;flex:none}.payment-choice-logo img{width:100%;height:100%;display:block;object-fit:contain}.payment-choice-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.payment-choice-copy strong{font-size:12px;font-weight:750;line-height:1.4}.payment-choice-copy small{font-size:9px;color:#969fae;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.payment-choice-check{margin-left:auto;width:17px;height:17px;border:1px solid #465063;border-radius:50%;display:grid;place-items:center;flex:none;color:transparent}.payment-choice-check .ui-icon{width:11px;height:11px}.selected .payment-choice-check{background:var(--pay-accent);border-color:var(--pay-accent);color:#10131a}.payment-info{--pay-accent:#6ba9ff;margin:16px 0 5px;padding:0;border:1px solid #34435b;border-radius:15px;overflow:hidden;background:linear-gradient(135deg,#132034,#101720);font-size:12px}.payment-info.is-wave{--pay-accent:#f7c83c;border-color:#4d4227;background:linear-gradient(135deg,#242015,#16161a)}.payment-card-head{display:flex;align-items:center;gap:13px;padding:18px 18px 15px;border-bottom:1px solid #ffffff0c}.payment-info .payment-brand-logo{width:49px;height:49px;border-radius:13px;max-width:none;margin:0;object-fit:contain;background:#fff;flex:none}.payment-card-kicker{font-size:9px;letter-spacing:.3px;color:#aeb6c4;display:block;margin-bottom:2px}.payment-card-head h3{margin:0;font-size:18px;line-height:1.4;color:var(--pay-accent);letter-spacing:-.3px}.payment-account{padding:4px 18px}.payment-detail{display:flex;align-items:center;gap:11px;padding:13px 0;min-width:0}.payment-detail+.payment-detail{border-top:1px solid #ffffff0b}.payment-detail-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#ffffff05;color:#aab6c8;flex:none}.payment-detail-icon .ui-icon{width:16px;height:16px}.payment-detail>div{min-width:0;flex:1}.payment-detail-label{display:block;font-size:9px;line-height:1.7;color:#8995a8;margin-bottom:2px}.payment-detail strong{display:block;font-size:13px;line-height:1.6;font-weight:600;color:#eef1f7;overflow-wrap:anywhere}.payment-detail .payment-number{font-size:17px;font-weight:750;letter-spacing:.4px;font-variant-numeric:tabular-nums;user-select:all}.copy-account{flex:none;min-height:34px;padding:6px 9px;background:#ffffff06;border:1px solid #ffffff12;border-radius:8px;color:#ccd5e3;cursor:pointer;font-size:9px}.copy-account .ui-icon{width:14px;height:14px}.copy-account:hover{border-color:var(--pay-accent);color:var(--pay-accent)}.payment-instructions{padding:0 18px 15px;margin:5px 0 0;font-size:10px;line-height:1.9;color:#a6afbd;white-space:pre-line}.payment-qr{margin:0 18px 18px;display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #ffffff0b;border-radius:11px;background:#ffffff03}.payment-qr img{width:112px;max-width:112px;margin:0;border-radius:8px;background:#fff}.payment-qr span{font-size:10px;line-height:1.9;color:#acb6c6}.copy-feedback{display:block;padding:0 18px 12px;font-size:9px;color:var(--pay-accent);min-height:0}.copy-feedback:empty{display:none}.admin-payment-brand{display:flex;align-items:center;gap:12px;min-width:0}.admin-payment-brand img{width:40px;height:40px;object-fit:contain;border-radius:10px;background:#fff;flex:none}.admin-item-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.admin-item-actions .ui-icon{width:14px;height:14px}.buy-btn .ui-icon{width:17px;height:17px}.payment-choice:focus-visible,.copy-account:focus-visible{outline:2px solid var(--pay-accent);outline-offset:3px}
@media(max-width:400px){.payment-choices{gap:8px}.payment-choice{padding:10px;gap:8px}.payment-choice-logo{width:35px;height:35px;border-radius:9px}.payment-choice-copy strong{font-size:11px}.payment-choice-copy small{max-width:90px;font-size:8px}.payment-card-head{padding:16px}.payment-account{padding:3px 14px}.payment-detail{gap:8px}.payment-detail-icon{width:26px;height:28px}.payment-detail strong{font-size:12px}.payment-detail .payment-number{font-size:15px}.copy-account{padding:7px}.copy-account span{display:none}.payment-qr{margin:0 14px 14px}.payment-qr img{width:90px;max-width:90px}}
/* Anonymous purchase receipts and per-game download tokens. */
.portal-main{max-width:780px;padding-top:42px}.portal-intro{margin-bottom:26px}.portal-intro h1,.download-title h1{font-size:30px;line-height:1.5;margin:10px 0 6px;letter-spacing:-.6px}.portal-intro p,.download-title p{color:#949aa9;font-size:12px}.resource-card{position:relative;padding:26px;margin:18px 0;background:linear-gradient(140deg,#151821,#101219);border:1px solid #ffffff12;border-radius:16px}.resource-card h2{font-size:18px;line-height:1.6;margin:3px 0 12px}.resource-card p{font-size:12px;color:#9da5b5;line-height:1.9}.resource-number{display:block;color:#f07787;font-size:10px;letter-spacing:2px;font-weight:800;margin-bottom:8px}.install-steps{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#c5cbd6;line-height:2}.version-notice{display:flex;flex-direction:column;gap:5px;padding:16px 20px;border:1px solid #e4ba6633;background:#d2ad5b09;border-radius:12px;margin:20px 0}.version-notice span{font-size:10px;color:#a4a6ad}.version-notice strong{font-size:13px;color:#eac77d;font-weight:600}.receipt-status{display:inline-flex;border-radius:30px;padding:7px 13px;font-size:11px;border:1px solid #e7b75c33;background:#e7b75c0c;color:#e7bd76}.receipt-status.approved{color:#72d9ae;background:#43bd870c;border-color:#43bd8733}.receipt-status.rejected{color:#ff8897;background:#ff33450c;border-color:#ff334533}.download-token{display:block;padding:15px;margin:18px 0;background:#080b12;border:1px dashed #58617c;border-radius:10px;font-family:monospace;font-size:15px;letter-spacing:.8px;overflow-wrap:anywhere;user-select:all;color:#e2dce9}.receipt-save input,.receipt-link-label input,.redeem-form input{display:block;width:100%;min-width:0;padding:13px;background:#090d15;color:#c8cedc;border:1px solid #343440;border-radius:10px;font:inherit;font-size:12px;margin:8px 0 12px}.receipt-link-label{display:block;font-size:10px;color:#b0b6c4;margin-top:15px}.receipt-link-label input{font-size:10px}.receipt-success strong{font-size:15px;color:#80d7b3}.receipt-success p{font-size:12px;color:#b4bdca;line-height:1.9}.receipt-success small{font-size:10px;color:#939eae}.pending-help{margin-top:16px}.token-unlocked{margin-top:25px}.token-unlocked h2{margin-top:8px}.token-unlocked .btn-wide{margin-top:12px}.redeem-form{display:flex;align-items:end;gap:12px;background:#11151d;border:1px solid #ffffff12;border-radius:14px;padding:20px;margin:20px 0 30px}.redeem-form label{flex:1;min-width:0;font-size:11px;color:#aab3c0}.redeem-form input{margin-bottom:0;font-size:14px}.redeem-form button{min-height:46px}.recent-title{font-size:13px;font-weight:600;margin:20px 0 12px;color:#bbc0ce}.recent-orders{display:grid;gap:8px}.recent-order{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 16px;background:#ffffff03;border:1px solid #ffffff0b;border-radius:10px}.recent-order b{display:block;font-size:12px}.recent-order small{font-size:9px;color:#8d96a6}.muted{font-size:11px;color:#858e9f}.delivery-editor-head{border-top:1px solid #ffffff12;margin-top:7px;padding-top:20px}.delivery-editor-head h3{font-size:15px;margin:0}.delivery-editor-head p{font-size:11px;color:#949cab;margin:6px 0}.admin-token{background:#0c111a;padding:12px;border:1px solid #45506b;border-radius:9px}.admin-token span{display:block;font-size:10px;color:#929dad}.admin-token code{display:block;font-size:12px;color:#ddc8d7;overflow-wrap:anywhere;user-select:all;margin-top:7px}#token-form{grid-template-columns:1fr}.portal-main .form-message:empty{display:none}
@media(max-width:650px){.portal-main{padding-top:28px}.portal-intro h1,.download-title h1{font-size:25px}.resource-card{padding:20px;margin:14px 0}.resource-card h2{font-size:16px}.install-steps{font-size:12px}.download-token{font-size:12px;letter-spacing:.4px}.redeem-form{flex-direction:column;align-items:stretch;padding:17px}.receipt-save input{font-size:10px}.resource-card .btn{white-space:normal;text-align:center}.portal-intro{margin-bottom:20px}}
/* Simple purchase library and automatic file access. */
.purchases-section{display:block}.purchases-section h2{margin-bottom:6px}.purchases-section>.recent-orders{margin-top:22px}.library-note{margin:16px 0 0!important;font-size:10px!important;color:#798594!important}.approval-help{font-size:12px;color:#86d8b2!important;margin:18px 0 0!important}.access-ready{font-size:11px;color:#8bd7b7;padding:12px;background:#36b77b0b;border:1px solid #36b77b30;border-radius:9px}#download-content:empty{display:none}
/* Refined guest purchase library: artwork, clear status and one primary action. */
.purchases-section{padding:28px;border:1px solid #ffffff0d;background:radial-gradient(ellipse at 0 0,#43202d26,transparent 60%),#0f1118;border-radius:20px;margin-top:36px}.library-header{display:flex;align-items:center;justify-content:space-between;gap:18px}.library-heading{display:flex;align-items:center;gap:14px;min-width:0}.library-heading-icon{flex:none;width:47px;height:47px;border:1px solid #f2577030;border-radius:14px;background:#df3a560c;color:#f0788d;display:grid;place-items:center}.library-heading-icon .ui-icon{width:23px;height:23px}.library-heading .eyebrow{display:block;font-size:8px;letter-spacing:2px;color:#ba7b88;margin-bottom:4px}.purchases-section #library-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:23px;line-height:1.6;margin:0;color:#f1f2f7;font-weight:650;letter-spacing:-.4px}.library-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 7px;background:#ffffff05;border:1px solid #ffffff0d;color:#a3a9b7;border-radius:7px;font-size:10px;font-weight:500;letter-spacing:0}.library-refresh{flex:none;min-height:39px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid #ffffff10;border-radius:10px;background:#ffffff03;color:#a3abbb;font:inherit;font-size:10px;cursor:pointer;transition:background .2s,border-color .2s}.library-refresh .ui-icon{width:15px;height:15px}.library-refresh:hover{border-color:#f16a7e55;color:#eee}.library-refresh[aria-busy=true] .ui-icon{animation:spin 1s linear infinite}.library-refresh:disabled{cursor:wait;opacity:.7}.purchases-section .library-subtitle{font-size:11px;line-height:1.9;color:#818b9d;margin:14px 0 22px;max-width:none}.library-message{font-size:10px;line-height:1.9;color:#aaa1b6;margin:0 0 12px}.library-message:empty{display:none}.purchases-section .library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.library-order{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;column-gap:15px;row-gap:12px;padding:16px;border:1px solid #ffffff0d;border-radius:14px;background:linear-gradient(120deg,#161921,#12141c);color:#eef0f6;min-width:0;transition:transform .18s,border-color .18s,background .18s;position:relative;overflow:hidden}.library-order:only-child{grid-column:1/-1;grid-template-columns:84px minmax(0,1fr) auto;padding:18px}.library-order:hover{transform:translateY(-2px);border-color:#c4687c66;background:linear-gradient(120deg,#1b1c28,#151721)}.library-order:focus-visible,.library-refresh:focus-visible{outline:2px solid #f16b83;outline-offset:4px}.library-cover{grid-row:1/3;display:grid;place-items:center;width:76px;height:86px;border-radius:10px;overflow:hidden;background:#202431;border:1px solid #ffffff08;color:#66738b}.library-cover>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.library-cover>.ui-icon{width:30px;height:30px}.library-order:only-child .library-cover{width:84px;height:88px;grid-row:auto}.library-order-body{display:flex;flex-direction:column;min-width:0;gap:6px}.library-status{display:inline-flex;align-items:center;align-self:flex-start;gap:5px;padding:3px 7px;border-radius:6px;font-size:8px;line-height:1.7;font-weight:600;background:#dfb36e0b;color:#d9ba84;border:1px solid #dfb36e19}.library-status>.ui-icon{width:11px;height:11px}.library-order-approved .library-status{color:#82cfb2;background:#6ad6a40a;border-color:#6ad6a420}.library-order-rejected .library-status{color:#ec91a0;background:#ed6b830a;border-color:#ed6b8320}.library-game-title{font-size:15px;line-height:1.45;font-weight:650;letter-spacing:-.15px;overflow-wrap:anywhere}.library-order-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:9px;line-height:1.7;color:#758195;font-variant-numeric:tabular-nums}.library-order-meta>i{font-style:normal;color:#474d5d}.library-order-action{grid-column:2;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 11px;min-height:36px;justify-self:start;border:1px solid #ffffff10;border-radius:8px;background:#ffffff03;color:#b9c3d4;font-size:9px;line-height:1.6;font-weight:600}.library-order-action>.ui-icon{width:14px;height:14px}.library-order:only-child .library-order-action{grid-column:auto;min-height:40px;padding:10px 14px}.library-order-approved .library-order-action{color:#ffe6ec;background:#ce284114;border-color:#ec506835}.library-order:hover .library-order-action{border-color:#e8829666;color:#fff}.library-footer{display:flex;align-items:flex-start;gap:8px;margin-top:19px;padding-top:16px;border-top:1px solid #ffffff08}.library-footer>.ui-icon{width:13px;height:13px;color:#727e91;margin-top:3px}.purchases-section .library-footer p{font-size:9px;line-height:1.9;margin:0;color:#6e7a8e;max-width:none}.library-empty{grid-column:1/-1;padding:25px 18px 28px;border:1px dashed #ffffff12;border-radius:13px;text-align:center;background:#ffffff01}.library-empty-icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#ffffff04;color:#7d879d;border:1px solid #ffffff08;margin-bottom:10px}.library-empty-icon .ui-icon{width:24px;height:24px}.library-empty h3{font-size:14px;line-height:1.8;margin:0 0 6px;color:#c5cbd6}.library-empty p{font-size:10px;line-height:1.9;max-width:400px;margin:0 auto 16px;color:#7c879b}.library-empty .btn{font-size:10px;padding:9px 13px}
@media(max-width:760px){.purchases-section .library-grid{grid-template-columns:1fr}.library-order,.library-order:only-child{grid-template-columns:70px minmax(0,1fr) auto;padding:15px;column-gap:13px;row-gap:0}.library-cover,.library-order:only-child .library-cover{width:70px;height:81px;grid-row:auto}.library-order .library-order-action{grid-column:auto;min-height:38px;padding:9px 10px}.library-order-action>span{max-width:90px}.library-game-title{font-size:14px}}
@media(max-width:560px){.purchases-section{padding:20px 17px;border-radius:16px;margin-top:28px}.library-header{align-items:flex-start;gap:10px}.library-heading{gap:10px}.library-heading-icon{width:37px;height:39px;border-radius:11px}.library-heading-icon .ui-icon{width:20px;height:20px}.library-heading .eyebrow{font-size:7px;letter-spacing:1.5px;margin-bottom:3px}.purchases-section #library-title{font-size:18px;gap:7px;letter-spacing:-.5px}.library-count{min-width:20px;height:19px;font-size:9px;padding:0 5px}.library-refresh{width:34px;min-height:34px;padding:8px;border-radius:9px;margin-top:3px}.library-refresh>span{display:none}.purchases-section .library-subtitle{font-size:10px;margin:13px 0 17px}.library-order,.library-order:only-child{grid-template-columns:61px minmax(0,1fr);padding:13px;column-gap:12px;row-gap:11px;border-radius:12px}.library-cover,.library-order:only-child .library-cover{width:61px;height:88px;grid-row:1/3;border-radius:8px}.library-order-body{gap:6px}.library-game-title{font-size:14px;line-height:1.45}.library-status{font-size:8px;padding:2px 6px}.library-order-meta{font-size:8px;gap:5px}.library-order .library-order-action,.library-order:only-child .library-order-action{grid-column:2;justify-self:stretch;min-height:35px;padding:7px 10px;font-size:9px;justify-content:space-between}.library-order-action>span{max-width:none}.library-footer{margin-top:16px;padding-top:14px;gap:7px}.purchases-section .library-footer p{font-size:8px;line-height:1.9}.library-empty{padding:21px 14px}.library-empty h3{font-size:13px}.library-empty p{font-size:9px}}
/* Readable Burmese secondary text on both desktop and phone. */
.library-status{font-size:10px}.library-order-meta{font-size:10px;color:#919bad}.library-order-action{font-size:11px;min-height:40px}.purchases-section .library-subtitle{font-size:12px;color:#969faf}.purchases-section .library-footer p{font-size:11px;color:#8994a7}.library-empty p{font-size:11px}.library-message{font-size:11px}
@media(max-width:560px){.library-status{font-size:9px}.library-order-meta{font-size:10px}.library-order .library-order-action,.library-order:only-child .library-order-action{font-size:10px;min-height:40px}.purchases-section .library-subtitle{font-size:11px}.purchases-section .library-footer p{font-size:10px}.library-empty p{font-size:10px}}
.library-title-mobile{display:none}
@media(max-width:560px){.library-title-desktop{display:none}.library-title-mobile{display:inline}.purchases-section #library-title{font-size:16px;flex-wrap:nowrap;gap:7px;white-space:nowrap}.library-heading-icon{align-self:center}.library-count{flex:none}.library-header{align-items:center}.library-refresh{margin-top:0}}
@media(max-width:360px){.library-heading-icon{display:none}.purchases-section #library-title{font-size:16px}}

/* Shared polish: stronger hierarchy, readable Burmese and clear keyboard focus. */
:root{color-scheme:dark} html{scroll-padding-top:90px} input,select,textarea{font-size:16px} :focus-visible{outline:2px solid #ff657d;outline-offset:4px} button,a,input,select,textarea{-webkit-tap-highlight-color:transparent} .btn{min-height:46px} .form-message:empty{display:none}
.receipt-page{max-width:1050px;padding-top:28px}.receipt-back{display:inline-block;color:#a4acbb;font-size:13px;margin-bottom:24px;text-decoration:none}.receipt-summary{display:flex;align-items:center;gap:24px;padding:28px;border:1px solid #292b35;border-radius:22px;background:radial-gradient(ellipse at top right,#55223233,transparent 60%),#11131b;margin-bottom:20px}.receipt-summary>img{width:126px;height:150px;object-fit:cover;border-radius:12px}.receipt-summary-copy{flex:1;min-width:0}.receipt-summary h1{font-size:clamp(24px,4vw,36px);line-height:1.35;margin:14px 0}.receipt-meta{display:flex;align-items:center;gap:16px;color:#aeb7c7}.receipt-meta strong{color:white;font-size:20px}.receipt-reference{font-size:12px;color:#8c96aa;overflow-wrap:anywhere}.receipt-summary>.receipt-status{align-self:flex-start;white-space:nowrap}.receipt-progress-card{padding:28px}.receipt-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 0 26px;list-style:none;margin:0 0 24px;border-bottom:1px solid #282b36;gap:14px}.receipt-progress li{display:flex;align-items:center;gap:12px;color:#717c91;font-size:13px}.receipt-progress b{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid #303442;border-radius:50%;font-size:11px}.receipt-progress .done{color:#51d3ac}.receipt-progress .done b{background:#17382f;border-color:#27634f}.receipt-progress .current{color:#f1bd67}.receipt-progress .current b{border-color:#775c32;background:#342a1d}.receipt-state-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.receipt-state-head h2{margin:0;font-size:20px;line-height:1.8}.receipt-state-head p:empty{display:none}.receipt-state-head p{color:#f4b782;white-space:pre-wrap}.receipt-auto-note{color:#7f8b9e;display:block;line-height:2;margin-top:16px}.receipt-auto-note[hidden]{display:none}.receipt-save-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.receipt-save-head h2{font-size:20px;margin:12px 0 0;line-height:1.8}.receipt-save p{font-size:14px;line-height:2.2;color:#99a6bb}.receipt-save details{margin-top:16px}.receipt-save summary{color:#c0c8d5;font-size:13px;cursor:pointer}.receipt-save input{margin:14px 0 0;width:100%;color:#b4bfce}.receipt-page #download-content .resource-card{border-color:#234a3e}.receipt-page .approval-help{color:#7cdbb7}
.admin-body{background:radial-gradient(ellipse at 0 0,#391a2d44,transparent 50%),#090a0f}.admin-main{max-width:1240px}.login-panel{border:1px solid #33303b;border-radius:24px;padding:38px;background:linear-gradient(145deg,#191820,#101218);box-shadow:0 22px 80px #0005}.login-panel h1{font-size:30px}.admin-tabs{display:flex;gap:8px;padding:7px;background:#11131b;border:1px solid #292d39;border-radius:16px;position:sticky;top:76px;z-index:8}.tab-btn{flex:1;border-radius:10px;min-height:48px}.tab-btn.active{background:#e84261;color:#fff;box-shadow:0 5px 18px #e8426126}.admin-title-row{padding:12px 0 24px}.admin-title-row h1{font-size:30px}.admin-form{background:#11131b;border:1px solid #2a2d38;border-radius:18px;padding:24px}.order-card{background:linear-gradient(145deg,#151720,#101218);border-color:#2c303e}.order-card .order-slip{border-radius:12px}.order-tools{padding:16px 0}.admin-tab{padding-top:18px}.admin-tabs button:focus-visible{outline-offset:-3px}
@media(max-width:640px){.receipt-page{padding-top:18px}.receipt-summary{padding:20px;gap:16px;flex-wrap:wrap}.receipt-summary>img{width:76px;height:100px}.receipt-summary h1{font-size:23px}.receipt-summary-copy{flex-basis:calc(100% - 100px)}.receipt-summary>.receipt-status{margin-top:0}.receipt-meta{gap:10px;flex-wrap:wrap}.receipt-meta strong{font-size:18px}.receipt-progress-card{padding:20px}.receipt-progress{gap:7px}.receipt-progress li{flex-direction:column;align-items:flex-start;font-size:11px;gap:10px;line-height:1.9}.receipt-state-head{align-items:flex-start;flex-direction:column;gap:14px}.receipt-state-head h2{font-size:18px}.receipt-save-head{align-items:flex-start;flex-direction:column;gap:16px}.receipt-save-head .btn{width:100%}.receipt-save-head h2{font-size:19px}.login-panel{padding:26px 20px}.admin-form{padding:18px}.admin-tabs{top:66px;gap:4px}.tab-btn{font-size:12px;padding:10px 6px}.admin-title-row h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.receipt-progress b{width:34px;min-width:34px}.admin-area-label{font-size:11px;letter-spacing:.16em;color:#9ca5b6}

.guide-editor{padding:24px;background:#0d1018;border:1px dashed #3b4050;border-radius:16px}.guide-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.guide-editor h3{margin:12px 0;font-size:20px}.guide-editor p,.guide-editor small{color:#9ca7bb;font-size:13px;line-height:2}.guide-editor-head>span{font-size:12px;color:#eeb571;white-space:nowrap;padding:6px 10px;background:#30271e;border-radius:8px}.guide-upload{display:block;margin:18px 0 10px}.guide-upload input{width:100%;margin-top:8px}.guide-image-list{display:grid;gap:14px;margin-top:20px}.guide-edit-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px;padding:16px;background:#161a24;border:1px solid #2c3343;border-radius:14px}.guide-edit-card>img{width:100%;height:130px;object-fit:contain;background:#080a10;border-radius:8px}.guide-edit-card strong{font-size:13px;color:#f48398}.guide-edit-card label{display:block;margin-top:10px;font-size:12px}.guide-edit-card textarea{width:100%;margin-top:8px}.guide-edit-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.guide-edit-actions button{min-height:36px;border:1px solid #3c4354;background:#202532;color:#dbe2ef;padding:6px 12px;border-radius:8px;cursor:pointer}.guide-edit-actions [data-remove]{color:#ff8193;border-color:#703344}.guide-edit-actions button:disabled{opacity:.3;cursor:default}.guide-empty,.guide-preview-missing{padding:22px;color:#8a97ad;font-size:13px;text-align:center;border:1px dashed #303747;border-radius:12px}.install-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.install-image-card{margin:0;min-width:0;border:1px solid #303747;border-radius:14px;overflow:hidden;background:#0d1018}.install-image-step{display:block;padding:14px 16px;color:#f68ca0;font-size:13px}.guide-zoom{display:block;width:100%;padding:0;border:0;background:#080a0e;color:#a9b5c9;cursor:zoom-in}.guide-zoom img{display:block;width:100%;height:230px;object-fit:contain}.guide-zoom span{display:block;padding:12px;font-size:12px}.install-image-card figcaption{font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;color:#c3ccdb}.guide-lightbox{width:min(1100px,94vw);max-width:94vw;max-height:94vh;border:1px solid #3b4354;background:#11141c;color:#e1e6ef;border-radius:16px;padding:18px}.guide-lightbox::backdrop{background:#000d}.guide-lightbox>img{display:block;width:100%;max-height:72vh;object-fit:contain;margin-top:14px}.guide-lightbox>p{white-space:pre-wrap;line-height:2;font-size:14px}.guide-close{display:block;margin-left:auto}.guide-loading{font-size:14px;color:#a6b0c2}.install-gallery{margin-top:20px}
@media(max-width:640px){.guide-editor{padding:16px}.guide-edit-card{grid-template-columns:1fr;padding:14px}.guide-edit-card>img{height:170px}.install-gallery-grid{grid-template-columns:1fr}.guide-zoom img{height:auto;max-height:340px}.guide-editor h3{font-size:18px}.guide-editor-head{gap:10px}}
/* Customer bottom dock and focused shop/library views. */
.customer-body{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}.customer-body>footer{display:none}.customer-body .topbar{justify-content:center}.customer-body .catalogue-heading-hidden{display:none!important}.customer-body #refresh-catalogue[hidden]{display:none!important}.customer-body .catalogue-tools{display:block;margin:0;padding:0;min-height:0}.customer-body #catalogue-message:not(:empty){margin:18px 0}.customer-body[data-customer-view="shop"] #purchases{display:none}.customer-body[data-customer-view="library"] .hero-banner,.customer-body[data-customer-view="library"] #games-grid,.customer-body[data-customer-view="library"] .catalogue-tools,.customer-body[data-customer-view="library"] #empty-state{display:none!important}.customer-body[data-customer-view="library"] #purchases{margin-top:28px}.customer-body .hero-banner{margin-bottom:28px}
.customer-dock{position:fixed;z-index:35;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:600px;height:78px;display:grid;grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr);align-items:center;padding:0 12px;border:1px solid #36313c;border-radius:25px;background:linear-gradient(125deg,#1c1b24f5,#11131cf5);box-shadow:0 14px 50px #0009,inset 0 1px #ffffff08;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.customer-dock::before{content:"";position:absolute;top:0;left:18%;right:18%;height:1px;background:linear-gradient(90deg,transparent,#ff6a8066,transparent);pointer-events:none}.customer-dock a{text-decoration:none}.dock-side{height:66px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;border:0;background:transparent;color:#9ba5b8;font-family:inherit;text-align:center;cursor:pointer;border-radius:16px;padding:4px 2px;min-width:0}.dock-side>svg{width:23px;height:23px;flex:none}.dock-side>span{font-size:12px;line-height:1.8;white-space:nowrap}.dock-side:hover,.dock-side.is-active{color:#ff8297;background:#f4597510}.dock-home{height:92px;align-self:end;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;color:#e8b0bb;gap:4px;padding-bottom:8px;position:relative}.dock-home-orb{display:grid;place-items:center;width:68px;height:68px;flex:none;position:relative;border-radius:50%;color:#fff;background:linear-gradient(145deg,#ff6b83 0%,#ee355b 48%,#b91e43 100%);border:5px solid #11121a;box-shadow:0 0 0 1px #ff71855c,0 7px 28px #ec3c6260,inset 0 1px 2px #ffffff60}.dock-home-orb::after{content:"";position:absolute;inset:3px;border-radius:50%;border:1px solid #ffffff2e;pointer-events:none}.dock-home-orb svg{width:27px;height:27px;filter:drop-shadow(0 2px 3px #730b26)}.dock-home-label{font-size:10px;line-height:1.5;color:#a89aa8}.dock-home.is-active .dock-home-label{color:#ff879b}.dock-home:hover .dock-home-orb{box-shadow:0 0 0 1px #ff718599,0 7px 32px #ec3c6280,inset 0 1px 2px #ffffff60}.admin-contact-dialog{width:min(450px,calc(100% - 32px));max-height:85vh;padding:0;border:1px solid #3b3442;border-radius:24px;background:radial-gradient(ellipse at top,#49213166,transparent 60%),#12141c;color:#f3f4f8;box-shadow:0 25px 90px #000b}.admin-contact-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.contact-dialog-inner{padding:32px 26px;text-align:center;position:relative}.contact-close{position:absolute;right:12px;top:10px;background:transparent;border:0;color:#b8c0cf;font-size:28px;width:40px;height:40px;border-radius:50%;cursor:pointer}.contact-dialog-icon{display:grid;place-items:center;width:62px;height:62px;margin:8px auto 22px;border:1px solid #f6587455;border-radius:20px;background:#f14a6b16;color:#ff8398}.contact-dialog-icon svg{width:30px;height:30px}.contact-dialog-inner>.eyebrow{display:block}.contact-dialog-inner h2{font-size:22px;line-height:1.8;margin:14px 0}.contact-dialog-inner p{color:#a4b0c3;font-size:14px;line-height:2}.contact-dialog-inner .btn{margin-top:20px}.contact-dialog-inner a[hidden]{display:none!important}.contact-dialog-inner a svg{width:20px;height:20px}.contact-dialog-inner small{display:block;color:#7f8aa0;font-size:12px;line-height:2;margin-top:20px}
@media(max-width:560px){.customer-dock{height:74px;padding:0 8px;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);border-radius:23px}.dock-side>span{font-size:10px}.dock-side>svg{width:22px;height:22px}.dock-home-orb{width:64px;height:64px}.dock-home{height:88px}.customer-body .hero-banner{margin-bottom:20px}.contact-dialog-inner{padding:30px 20px}.admin-tabs{flex-wrap:wrap}.admin-tabs .tab-btn{flex:1 1 40%}}
@media(max-width:350px){.customer-dock{width:calc(100% - 16px);grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);padding:0 4px}.dock-side>span{font-size:9px}}
.dock-home{transform:translateY(-12px)}
/* Edge-to-edge bottom bar, with the raised Home circle retained. */
.customer-dock{bottom:0;left:0;transform:none;width:100%;max-width:none;height:calc(78px + env(safe-area-inset-bottom,0px));padding:0 max(14px,calc((100vw - 620px)/2)) env(safe-area-inset-bottom,0px);border-radius:20px 20px 0 0;border-width:1px 0 0;grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr)}.customer-body{padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))}.live-chat-dialog{width:min(490px,calc(100% - 24px));padding:0;max-height:90dvh}.chat-dialog-head{position:relative;padding:24px 24px 12px;border-bottom:1px solid #303442}.chat-dialog-head h2{font-size:20px;margin:10px 0 5px}.chat-dialog-head small,.chat-browser-note,.chat-reference{font-size:11px;color:#909db3;line-height:1.9}.chat-reference{margin:10px 20px}.customer-live-chat{padding:0 18px}.chat-history{height:310px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:14px 4px;overscroll-behavior:contain}.chat-bubble{max-width:88%;border-radius:16px;padding:10px 14px;overflow-wrap:anywhere;flex-shrink:0;background:#222b3a;align-self:flex-start;border:1px solid #344056}.chat-bubble.from-customer{background:#4c2033;border-color:#76344b;align-self:flex-end}.chat-bubble small{font-size:10px;color:#c4a6af}.chat-bubble p{margin:5px 0;color:#f0f2f8;font-size:14px;white-space:pre-wrap;line-height:1.9}.chat-bubble time{display:block;text-align:right;font-size:9px;color:#9ba8bb}.chat-empty{padding:30px 12px;color:#8795ac;line-height:2;text-align:center;font-size:13px}.chat-compose{display:flex;gap:10px;align-items:flex-end;border-top:1px solid #303442;padding-top:12px}.chat-compose textarea{flex:1;min-width:0;resize:vertical;max-height:140px;min-height:58px;font-size:14px;line-height:1.8}.chat-compose .btn{min-height:54px;padding:12px 16px;white-space:nowrap}.chat-feedback{font-size:12px;color:#e4b676;line-height:1.8;min-height:0;margin:6px 0}.chat-feedback:empty{display:none}.chat-privacy{display:block;color:#7d8a9e;font-size:10px;padding:8px 0}.chat-browser-note{padding:0 20px 16px;margin:0}.admin-chat-layout{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid #303442;border-radius:18px;overflow:hidden;background:#10131b}.chat-thread-list{max-height:630px;overflow-y:auto;background:#151923;border-right:1px solid #303442}.chat-thread{display:block;padding:18px;width:100%;border:0;border-bottom:1px solid #2a3040;text-align:left;background:transparent;color:#e2e7f0;cursor:pointer}.chat-thread>span{display:flex;justify-content:space-between;gap:8px}.chat-thread strong{font-size:13px}.chat-thread>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#9aa7bc;font-size:12px;line-height:2;margin-top:6px}.chat-thread time{font-size:10px;color:#7d899e}.chat-thread.is-selected,.chat-thread:hover{background:#ff4c6e16}.admin-chat-detail{padding:20px;min-width:0}.admin-chat-detail h3{margin:0 0 14px;font-size:16px}.admin-chat-detail .chat-history{height:390px}.chat-unread-badge{display:inline-block;min-width:20px;padding:1px 6px;border-radius:20px;background:#e83c60;color:white;font-size:10px;vertical-align:middle}.chat-unread-badge[hidden]{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){.customer-dock{width:100%;height:calc(76px + env(safe-area-inset-bottom,0px));padding:0 10px env(safe-area-inset-bottom,0px);grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);border-radius:18px 18px 0 0}.live-chat-dialog{width:calc(100% - 18px)}.chat-history{height: min(330px,42dvh)}.chat-compose .btn{padding:10px 12px;font-size:12px}.chat-dialog-head{padding:22px 18px 12px}.chat-dialog-head h2{font-size:18px}.admin-chat-layout{grid-template-columns:1fr}.chat-thread-list{max-height:210px;border-right:0;border-bottom:1px solid #303442}.admin-chat-detail{padding:16px}.admin-chat-detail .chat-history{height:340px}}
.chat-compose textarea{background:#151c28;border:1px solid #354055;border-radius:12px;color:#edf2f9;padding:11px 12px;font-family:inherit}.chat-compose textarea::placeholder{color:#7c8ca5}
/* Customer chat polish — scoped to the App dialog. */
.customer-body .live-chat-dialog{width:min(468px,calc(100vw - 32px));height:min(660px,calc(100dvh - 44px));max-height:calc(100dvh - 44px);padding:0;border:1px solid #3a3544;border-radius:26px;background:#10121b;color:#eff1f8;box-shadow:0 30px 100px #000b;overflow:hidden;outline:none}.customer-body .live-chat-dialog[open]{display:flex;flex-direction:column}.customer-body .live-chat-dialog::backdrop{background:#05060bc9;backdrop-filter:blur(8px)}.customer-body .chat-dialog-head{display:flex;align-items:center;gap:13px;flex:none;padding:22px 20px 18px;border:0;background:radial-gradient(ellipse at 0 0,#9a36532b,transparent 80%),#15151f}.chat-agent-avatar{display:grid;place-items:center;width:50px;height:50px;flex:0 0 50px;border-radius:17px;color:#ff90aa;background:linear-gradient(145deg,#5a233a,#301d31);border:1px solid #94425d70;box-shadow:0 8px 24px #0003}.chat-agent-avatar svg{width:28px;height:28px}.chat-heading-copy{flex:1;min-width:0}.customer-body .chat-heading-copy .eyebrow{color:#dc8ca0;font-size:8px;letter-spacing:.2em}.customer-body .chat-heading-copy h2{font-size:19px;line-height:1.5;letter-spacing:-.4px;margin:5px 0 0}.customer-body .chat-heading-copy p{font-size:11px;color:#8e99ad;margin:3px 0 0}.customer-body .chat-dialog-head .contact-close{position:static;flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;padding:0;border-radius:11px;border:1px solid #383441;background:#ffffff04;color:#a9aebd;font-size:22px;line-height:1}.chat-session-strip{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;border-top:1px solid #ffffff06;border-bottom:1px solid #ffffff08;padding:10px 20px;background:#13151f}.chat-session-label{display:flex;align-items:center;gap:6px;color:#8793a9;font-size:10px;white-space:nowrap}.chat-session-label svg{width:12px;height:12px;opacity:.8}.customer-body .chat-reference{margin:0;font-size:10px;color:#68778f;line-height:1.5;white-space:nowrap}.customer-body .customer-live-chat{flex:1;min-height:0;display:flex;flex-direction:column;padding:0 18px;background:radial-gradient(ellipse at 100% 60%,#3e1e3b15,transparent 70%)}.customer-body .chat-history{flex:1;min-height:0;height:auto;padding:20px 0 16px;gap:16px;scrollbar-width:thin;scrollbar-color:#3c3448 transparent;scroll-behavior:smooth}.customer-body .chat-welcome{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:18px 6px 24px;margin:0;min-height:230px}.chat-welcome-icon{position:relative;display:grid;place-items:center;flex:none;width:82px;height:82px;border:1px solid #74415a66;border-radius:27px;background:linear-gradient(145deg,#41233699,#201d3066);box-shadow:0 12px 35px #0003,inset 0 1px #ffffff05;margin-bottom:22px;color:#eb829e}.chat-welcome-icon svg{width:46px;height:46px}.chat-welcome h3{margin:0;font-size:20px;line-height:1.8;color:#e9eaf3;letter-spacing:-.4px}.chat-welcome>p{margin:8px 0 22px;color:#7e8ca6;font-size:12px;line-height:2}.chat-quick-topics{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:320px}.chat-quick-topics button{background:#1d202d;border:1px solid #353747;border-radius:22px;color:#acb6c9;font-family:inherit;font-size:11px;line-height:1.8;min-height:36px;padding:8px 14px;cursor:pointer}.chat-quick-topics button:hover{background:#422235;border-color:#9c4663;color:#f1bdd0}.customer-body .chat-bubble{max-width:86%;padding:12px 15px;border-radius:18px 18px 18px 5px;background:#1c2332;border:1px solid #2a3448;box-shadow:0 3px 10px #0001}.customer-body .chat-bubble.from-customer{border-radius:18px 18px 5px 18px;background:linear-gradient(135deg,#6a2946,#4b223e);border-color:#91426470}.customer-body .chat-bubble small{color:#8f9fbb;font-size:9px;line-height:1.6;letter-spacing:.02em}.customer-body .chat-bubble.from-customer small{color:#dc9ab2}.customer-body .chat-bubble p{margin:6px 0;color:#e7eaf4;font-size:14px;line-height:1.95}.customer-body .chat-bubble time{color:#72849f;font-size:9px;margin-top:8px}.customer-body .chat-bubble.from-customer time{color:#bf879f}.customer-body .chat-feedback{margin:0 0 10px;padding:8px 11px;border-radius:10px;background:#392b1a66;color:#cfae7f;font-size:11px}.customer-body .chat-feedback:empty{display:none}.customer-body .chat-compose{flex:none;position:relative;display:flex;align-items:flex-end;gap:10px;border:1px solid #393747;background:#1a1d29;border-radius:20px;padding:8px 8px 8px 13px;box-shadow:0 4px 16px #0002}.customer-body .chat-compose:focus-within{border-color:#99516b;box-shadow:0 0 0 3px #bb557014}.customer-body .chat-compose textarea{font-family:inherit;flex:1;min-width:0;min-height:46px;max-height:112px;height:46px;padding:10px 0 6px;line-height:1.9;border:0;border-radius:0;resize:none;outline:none;background:transparent;color:#e3e7f2;box-shadow:none;overflow-y:auto;font-size:14px}.customer-body .chat-compose textarea:focus-visible{outline:none}.customer-body .chat-compose textarea::placeholder{color:#73819a}.customer-body .chat-compose .btn{display:grid;place-items:center;width:46px;height:46px;min-width:46px;min-height:46px;flex:0 0 46px;border-radius:15px;font-size:0;line-height:0;padding:0;margin:0;box-shadow:0 4px 12px #b7244740;background:linear-gradient(145deg,#ff6589,#d93562);border:1px solid #ff8da244}.customer-body .chat-compose .btn svg{width:22px;height:22px;transform:rotate(-12deg)}.customer-body .chat-compose .btn:disabled{background:#323241;border-color:#444050;color:#81778d;opacity:1;box-shadow:none;cursor:default}.customer-body .chat-privacy{padding:9px 4px 5px;text-align:center;font-size:9px;color:#53637e;line-height:1.6}.customer-body .chat-browser-note{padding:4px 22px 17px;text-align:center;margin:0;color:#5c6a83;font-size:10px;line-height:1.7;flex:none}.customer-body .chat-is-sending .chat-compose .btn svg{opacity:.45}
@media(max-width:560px){.customer-body .live-chat-dialog{width:calc(100vw - 20px);height:min(640px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);border-radius:24px}.customer-body .chat-dialog-head{padding:18px 16px 16px;gap:11px}.chat-agent-avatar{width:45px;height:45px;flex-basis:45px;border-radius:15px}.customer-body .chat-heading-copy h2{font-size:18px}.customer-body .chat-heading-copy p{font-size:10px}.chat-session-strip{padding:9px 16px}.customer-body .customer-live-chat{padding:0 14px}.chat-welcome h3{font-size:18px}.customer-body .chat-bubble p{font-size:13px}.customer-body .chat-welcome{min-height:200px;padding:18px 0}.chat-welcome-icon{width:72px;height:72px;border-radius:24px;margin-bottom:18px}.chat-welcome-icon svg{width:40px;height:40px}.chat-welcome>p{font-size:11px}.chat-quick-topics button{font-size:10px;padding:7px 12px}.customer-body .chat-browser-note{padding-bottom:14px}.customer-body .chat-history{padding-top:18px}}
@media(max-height:600px){.chat-welcome-icon{display:none}.customer-body .chat-welcome{min-height:120px;padding:8px 0}.chat-welcome>p{margin:5px 0 10px}.chat-session-strip,.customer-body .chat-privacy,.customer-body .chat-browser-note{display:none}.customer-body .chat-dialog-head{padding-top:12px;padding-bottom:12px}.customer-body .chat-compose{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.customer-body .chat-history{scroll-behavior:auto}}


/* Telegram-inspired customer conversation screen. */
.customer-body .live-chat-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#0e1621;box-shadow:none;outline:none;overflow:hidden;color:#eaf1f8}.customer-body .live-chat-dialog[open]{display:flex;flex-direction:column}.customer-body .live-chat-dialog::backdrop{background:#0e1621;backdrop-filter:none}.customer-body .chat-dialog-head{display:flex;align-items:center;gap:13px;flex:none;background:#17212b;padding:12px max(20px,calc((100vw - 920px)/2));border:0;box-shadow:0 1px 0 #0004;z-index:1}.customer-body .chat-dialog-head .contact-close{display:grid;place-items:center;position:static;width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;background:transparent;color:#90a0b1;padding:7px;font-size:0}.customer-body .chat-dialog-head .contact-close:hover{background:#ffffff08;color:white}.contact-close svg{width:24px;height:24px}.customer-body .chat-agent-avatar{width:43px;height:43px;flex:0 0 43px;border-radius:50%;background:linear-gradient(145deg,#66b6eb,#3984b8);border:0;box-shadow:none;color:white}.customer-body .chat-agent-avatar svg{width:25px;height:25px}.customer-body .chat-heading-copy{flex:1;min-width:0}.customer-body .chat-heading-copy h2{font-size:16px;line-height:1.4;font-weight:600;letter-spacing:0;margin:0;color:#eef4fb}.customer-body .chat-heading-copy p{font-size:11px;line-height:1.8;color:#7f96ac;margin:3px 0 0}.customer-body .chat-session-strip,.customer-body .chat-privacy,.customer-body .chat-browser-note{display:none!important}.customer-body .customer-live-chat{width:min(100%,940px);margin:0 auto;flex:1;min-height:0;display:flex;flex-direction:column;padding:0 20px;background:transparent}.customer-body .chat-history{display:flex;flex-direction:column;flex:1;height:auto;min-height:0;padding:18px 4px 20px;gap:8px;background:transparent;scrollbar-color:#314153 transparent;scroll-behavior:auto}.customer-body .chat-history::before{content:"";display:block;flex:1 0 8px}.customer-body .chat-history:has(.telegram-empty)::before{display:none}.customer-body .telegram-empty{flex:1;display:flex;justify-content:center;align-items:center;margin:0;padding:20px;min-height:0;color:#7d91a6;font-size:13px;line-height:2;text-align:center;background:transparent}.telegram-day{align-self:center;color:#b5c6d7;background:#1f3143;border-radius:16px;padding:4px 12px;font-size:10px;line-height:1.8;margin:8px 0 10px;flex:none}.customer-body .chat-bubble{display:block;flex:0 0 auto;width:fit-content;max-width:76%;min-width:70px;padding:7px 11px 6px;border:0;border-radius:12px 12px 12px 4px;background:#182533;box-shadow:0 1px 2px #0003;align-self:flex-start;overflow-wrap:anywhere}.customer-body .chat-bubble.from-customer{background:#2b5278;border:0;border-radius:12px 12px 4px 12px;align-self:flex-end}.customer-body .chat-bubble>small{display:none}.customer-body .chat-bubble p{display:inline;margin:0;white-space:pre-wrap;color:#e9f2fb;font-size:14px;line-height:1.8}.customer-body .chat-bubble time,.customer-body .chat-bubble.from-customer time{display:block;float:right;color:#7da4c9;font-size:10px;line-height:1.5;margin:7px 0 0 12px;white-space:nowrap}.customer-body .chat-bubble::after{content:"";display:block;clear:both}.customer-body .chat-bubble.from-admin time{color:#718ba3}.customer-body .chat-feedback{flex:none;color:#dec08a;background:#293347;border-radius:10px;font-size:11px;padding:8px 12px;margin:0 4px 8px}.customer-body .chat-feedback:empty{display:none}.customer-body .chat-compose{display:flex;flex:none;align-items:flex-end;gap:10px;position:relative;background:#17212b;border:0;border-radius:15px;margin:0 0 calc(15px + env(safe-area-inset-bottom,0px));padding:8px 8px 8px 18px;box-shadow:0 2px 10px #0002}.customer-body .chat-compose:focus-within{border:0;box-shadow:0 2px 10px #0002}.customer-body .chat-compose textarea{background:transparent;border:0;border-radius:0;box-shadow:none;outline:none;resize:none;color:#e6eef6;font-size:15px;line-height:1.8;min-height:44px;max-height:112px;padding:9px 0 5px}.customer-body .chat-compose textarea::placeholder{color:#6e859d}.customer-body .chat-compose .btn{width:45px;height:45px;min-height:45px;min-width:45px;flex:0 0 45px;background:#59a8dc;color:#fff;border:0;border-radius:50%;box-shadow:none;font-size:0;padding:0}.customer-body .chat-compose .btn svg{width:22px;height:22px;transform:rotate(-15deg)}.customer-body .chat-compose .btn:disabled{background:#273d50;color:#607d96;border:0;box-shadow:none}.customer-body .chat-is-sending .chat-compose .btn svg{opacity:.5}
@media(max-width:640px){.customer-body .chat-dialog-head{gap:10px;padding:10px 10px}.customer-body .chat-dialog-head .contact-close{width:34px;height:34px;flex-basis:34px}.customer-body .chat-agent-avatar{width:40px;height:40px;flex-basis:40px}.customer-body .chat-heading-copy h2{font-size:15px}.customer-body .chat-heading-copy p{font-size:10px}.customer-body .customer-live-chat{padding:0 8px}.customer-body .chat-history{padding:12px 3px 14px;gap:7px}.customer-body .chat-bubble{max-width:84%;padding:7px 10px 5px}.customer-body .chat-bubble p{font-size:14px}.customer-body .chat-compose{margin:0 0 calc(8px + env(safe-area-inset-bottom,0px));padding:6px 6px 6px 14px;border-radius:14px;gap:8px}.customer-body .chat-compose textarea{font-size:15px}.customer-body .chat-compose .btn{width:43px;height:43px;min-width:43px;min-height:43px;flex-basis:43px}.customer-body .telegram-empty{font-size:12px}}

.customer-body .live-chat-dialog{height:var(--chat-viewport-height,100dvh);max-height:var(--chat-viewport-height,100dvh)}
/* Consistent send alignment and message delivery/read indicators. */
.customer-body .chat-compose .btn{display:flex;align-items:center;justify-content:center;gap:0;padding:0;line-height:0}.customer-body .chat-compose .btn>.ui-icon{display:block;flex:none;width:22px;height:22px;margin:0;transform:none;overflow:visible}.customer-body .chat-message-meta{display:inline-flex;float:right;align-items:center;justify-content:flex-end;gap:4px;white-space:nowrap;margin:7px 0 0 9px;height:15px;line-height:15px;vertical-align:bottom}.customer-body .chat-bubble .chat-message-meta time{float:none;display:inline-block;margin:0;line-height:15px;font-size:10px;color:#82a9ce}.customer-body .chat-bubble.from-admin .chat-message-meta time{color:#718ba3}.chat-message-status{display:inline-flex;align-items:center;justify-content:center;width:18px;height:14px;flex:none;color:#8bb9dc;vertical-align:middle}.chat-message-status svg{display:block;width:18px;height:14px;overflow:visible}.chat-message-status.is-read{color:#7ac6f4}.chat-status-spinner{width:12px;height:12px;margin:0 2px;border:1.5px solid #86a8c455;border-top-color:#a9d5f4;border-right-color:#a9d5f4;border-radius:50%;animation:mgh-message-spin .8s linear infinite}.chat-retry{border:0;padding:0;background:transparent;color:#ff939d;cursor:pointer;width:18px;height:16px}.chat-retry:hover{color:#ffc0c6}.customer-body .chat-bubble[data-state="queued"],.customer-body .chat-bubble[data-state="sending"]{opacity:.88}@keyframes mgh-message-spin{to{transform:rotate(360deg)}}

