/* ═══════════ store-topup-game.css · หน้าเกมสาธารณะ /topup/<เกม> ตรง mockup A (2026-11-07) ═══════════
   โหลดต่อท้าย store-topup.css เฉพาะ public/topup.php (หน้าเกม) · ขอบเขต body.tp-page (header) และ .tq-g2 / .tp-page-game (เนื้อหา)
   /dashboard/topup ไม่โหลดไฟล์นี้ · ภาพเกมจริงไม่มีในโค้ด → พื้นหลัง/ปกใช้โทนสีเกม (--h) */

/* ── header เฉพาะ TOPUP: ไม่มีแคปซูล · โลโก้ซ้าย เมนูขวา (มือถือใช้ของเดิม) ── */
@media (min-width:901px){
  .tp-page .hm-header{padding:0;margin-bottom:-80px}
  .tp-page .hm-header .hm-nav{display:flex;align-items:center}
  .tp-page .hm-header .hm-wrap{max-width:1240px;padding:0 28px}
  .tp-page .hm-header .hm-nav{height:80px;padding:0;border-radius:0;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .tp-page .hm-header .hm-logo-pill{background:none;border:0;padding:0;box-shadow:none}
  .tp-page .hm-header .hm-logo{gap:9px}
  .tp-page .hm-header .hm-logo-text{font:800 15px/1 'Prompt',sans-serif;letter-spacing:-.01em;color:#fff}
  .tp-page .hm-header .hm-logo-text b{color:#BAFF16}
  .tp-page .hm-header .hm-nav-links{margin-left:auto;margin-right:10px;gap:2px}
  .tp-page .hm-header .hm-nav-links a{height:38px;padding:0 13px;border-radius:100px;font:500 13px/1 'Prompt',sans-serif;color:#C9CDD5}
  .tp-page .hm-header .hm-nav-links a:hover,.tp-page .hm-header .hm-nav-links a:first-child{background:rgba(255,255,255,.08);color:#fff}
  .tp-page .tq-subnav-w{display:none}
}

/* ── hero หน้าเกม ── */
.tq-hero.tq-g2{padding:150px 0 64px;background:#0E0E10}
.tq-hero.tq-g2 .tq-wrap{max-width:1280px;margin:0 auto;padding:0 28px}
.tq-hero.tq-g2 .tq-gbg{position:absolute;inset:-24px;z-index:-1;background:radial-gradient(48% 90% at 16% 62%,color-mix(in srgb,var(--h) 70%,#000) 0,transparent 72%),radial-gradient(40% 70% at 74% 26%,color-mix(in srgb,var(--h) 38%,#000) 0,transparent 74%),radial-gradient(30% 50% at 52% 100%,color-mix(in srgb,var(--h) 30%,#000) 0,transparent 80%),#0E0E10;filter:blur(16px) brightness(.62) saturate(1.1)}
.tq-hero.tq-g2 .tq-gbg.has-img{background-size:cover;background-position:center;filter:blur(16px) brightness(.42) saturate(1.1)}
.tq-hero.tq-g2 .tq-hero-in{display:block}
.tq-hero.tq-g2 .tq-crumb{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:22px;font-size:12.5px;color:#8B92A0}
.tq-hero.tq-g2 .tq-crumb i{font-size:16px}
.tq-hero.tq-g2 .tq-crumb-r{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tq-hero.tq-g2 .tq-okp,.tq-g2 .tq-gnav{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px;border-radius:100px;font:600 12px/1 'Prompt',sans-serif;text-decoration:none}
.tq-hero.tq-g2 .tq-okp{background:rgba(16,185,129,.14);border:1px solid rgba(16,185,129,.35);color:#6EE7B7}
.tq-hero.tq-g2 .tq-okp i{width:7px;height:7px;border-radius:50%;background:#10B981;font-size:0}
.tq-hero.tq-g2 .tq-okp.is-off{background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.35);color:#FBBF24}
.tq-hero.tq-g2 .tq-okp.is-off i{background:#F59E0B}
.tq-hero.tq-g2 .tq-gnav{gap:6px;font-weight:400;color:#E3E5EA;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.tq-hero.tq-g2 .tq-gnav:hover{background:rgba(255,255,255,.12)}
.tq-hero.tq-g2 .tq-gnav i{font-size:15px;color:#E3E5EA}
.tq-hero.tq-g2 .tq-gh{display:flex;align-items:center;gap:22px;margin:0}
.tq-hero.tq-g2 .tq-gh>div{min-width:0}
.tq-hero.tq-g2 .tq-cv.is-l{width:104px;height:104px;border-radius:24px;box-shadow:0 20px 40px -16px rgba(0,0,0,.6);outline:1px solid rgba(255,255,255,.22);outline-offset:-1px}
.tq-hero.tq-g2 .tq-cv.is-l b{font-size:30px}
.tq-hero.tq-g2 .tq-chip{height:34px;gap:9px;padding:0 15px 0 13px;font:500 13px/1 'Prompt',sans-serif;letter-spacing:0;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.16)}
.tq-hero.tq-g2 .tq-chip i{font-size:16px}
.tq-hero.tq-g2 h1{margin:10px 0 8px;font:800 clamp(32px,4.4vw,58px)/1.04 'Prompt',sans-serif;letter-spacing:-.035em}
.tq-hero.tq-g2 h1 span{display:inline;color:#BAFF16;text-shadow:none}
.tq-hero.tq-g2 .tq-gh p{margin:0;max-width:none;color:rgba(255,255,255,.82);font:300 16px/1.75 'Prompt',sans-serif}
.tq-gstat{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tq-gstat span{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:100px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);font:400 12px/1 'Prompt',sans-serif;color:#E3E5EA}
.tq-gstat i{font-size:14px;color:#B9BDC7}

/* ── เนื้อหา: พื้น soft + 2 คอลัมน์ (ฟอร์ม/แพ็ก/ช่วยเหลือ/FAQ/เกมคู่กัน | สรุปชำระ sticky) ── */
.tp-page-game .tq-body.is-game{background:#FAFAFB;padding:30px 0 80px}
.tp-page-game .tq-body .st-wrap{max-width:1280px;margin:0 auto;padding:0 28px;width:100%}
.tp-page-game .tq-body-disc{padding:0 0 40px!important;background:#FAFAFB}
.tp-page-game .tq-body-disc .tq-disc{margin:0;width:100%;max-width:none}
.tq-gg{display:block}
@media (min-width:901px){
  .tp-page-game .tq-gg{display:grid;grid-template-columns:minmax(0,1fr) 380px;column-gap:24px;row-gap:16px;align-items:start}
  .tp-page-game .tq-gg>.tq-form.tp-form{display:contents}
  .tp-page-game .tq-gg .tp-step{grid-column:1;min-width:0;margin:0}
  .tp-page-game .tq-gg .tp-step.tp-pay{grid-column:2;grid-row:1/span 9}
}
.tp-page-game .tq-gg .tp-step:not(.tp-pay){padding:22px;border-radius:20px;border:1px solid #E8E9EC;background:#fff;box-shadow:0 1px 2px rgba(10,10,11,.04),0 8px 24px -8px rgba(10,10,11,.10)}
.tp-page-game .tq-gg .tp-step:not(.tp-pay)>h2{position:relative;gap:10px;margin:0 0 16px;font:700 17px/1.2 'Prompt',sans-serif;letter-spacing:0}
.tp-page-game .tq-gg .tp-n{width:28px;height:28px;font-size:13px}
.tp-page-game .tq-h2i{font-size:18px;color:#52576A;flex:none}
.tp-page-game .tq-help>h2 .tq-h2i,.tp-page-game .tq-faqc>h2 .tq-h2i,.tp-page-game .tq-alsos>h2 .tq-h2i{font-size:20px}
.tp-page-game .tq-gen{margin-left:auto;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:100px;background:rgba(245,158,11,.14);color:#B45309;font:600 11px/1 'Prompt',sans-serif;white-space:nowrap}

/* ฟิลด์ */
.tp-page-game .tq-form .tp-fields{gap:12px}
.tp-page-game .tq-form .tp-field{gap:6px}
.tp-page-game .tq-form .tp-field>span{display:flex;align-items:center;gap:7px;height:22px;font:600 12.5px/1 'Prompt',sans-serif;color:#52576A;white-space:nowrap}
.tp-page-game .tq-form .tp-field>span>.bx{font-size:16px;color:#52576A}
.tp-page-game .tq-form .tp-field input,.tp-page-game .tq-form .tp-field select{height:50px;padding:0 16px;border:1.5px solid #D5D8DD;border-radius:14px;font:600 16px/1 'Prompt',sans-serif}
.tp-page-game .tq-form .tp-field input:focus,.tp-page-game .tq-form .tp-field select:focus{border-color:#0A0A0B;box-shadow:0 0 0 4px rgba(10,10,11,.06);outline:0}
.tp-page-game .tq-form .tp-field input::placeholder{font-weight:400;color:#9AA0AC}
.tp-page-game .tq-form .tp-hint{margin:10px 0 0;font-size:12.5px;line-height:1.5;color:#6B7280;gap:8px}
.tp-page-game .tq-form .tp-hint i{font-size:16px;margin-top:2px}
.tp-page-game .tq-form .tp-hint.is-ok{color:#047857;font-weight:400}
.tp-page-game .tq-form .tp-hint.is-bad{color:#B91C1C}
@media (min-width:901px){.tp-page-game .tq-form .tq-find{display:none}}

/* แท็บ Diamond | สมาชิก/Pass = seg ขวาของหัวข้อ */
.tp-page-game .tq-form .tp-step:not(.tp-pay){position:relative}
.tp-page-game .tq-form .tq-tabs{position:absolute;right:22px;top:16px;margin:0;float:none;padding:4px;gap:2px;background:#F4F5F7}
.tp-page-game .tq-form .tq-tabs button{height:32px;padding:0 13px;font:600 12.5px/1 'Prompt',sans-serif;color:#52576A}
.tp-page-game .tq-form .tq-tabs button i{display:none}
.tp-page-game .tq-form .tq-tabs button.on{background:#fff;color:#0A0A0B;box-shadow:0 1px 2px rgba(10,10,11,.04),0 8px 24px -8px rgba(10,10,11,.10)}

/* กลุ่มแพ็ก + ไทล์ */
.tp-page-game .tq-form h3.tq-gh{margin:20px 0 12px;font:700 14px/1.2 'Prompt',sans-serif;gap:8px}
.tp-page-game .tq-form h3.tq-gh:first-child{margin-top:0}
.tp-page-game .tq-form h3.tq-gh small{font-weight:500;margin-left:2px;color:#6B7280}
.tp-page-game .tq-form .tp-packs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tp-page-game .tq-form .tp-pack-b{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:10px;row-gap:7px;align-content:start;align-items:center;min-height:0;height:100%;padding:16px 14px 14px;border:1.5px solid #E8E9EC;border-radius:18px;background:#fff}
.tp-page-game .tq-form .tp-pack-b>*{grid-column:1/-1}
.tp-page-game .tq-form .tp-pack-b::before{grid-column:1;grid-row:1;width:42px;height:42px;margin:0;border-radius:13px;background:#F4F5F7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M6 4h12l4 6-10 11L2 10z'/%3E%3Cpath d='M2 10h20M9 4l3 6 3-6M12 21l-3-11M12 21l3-11'/%3E%3C/svg%3E") center/24px no-repeat}
.tp-page-game .tq-form .tp-pack input:checked+.tp-pack-b::before{background-color:#0A0A0B;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BAFF16' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M6 4h12l4 6-10 11L2 10z'/%3E%3Cpath d='M2 10h20M9 4l3 6 3-6M12 21l-3-11M12 21l3-11'/%3E%3C/svg%3E")}
.tp-page-game .tq-form .tq-k-card .tp-pack-b::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6 15h4'/%3E%3C/svg%3E")}
.tp-page-game .tq-form .tq-k-phone .tp-pack-b::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E")}
.tp-page-game .tq-form .tq-k-card .tp-pack input:checked+.tp-pack-b::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BAFF16' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6 15h4'/%3E%3C/svg%3E")}
.tp-page-game .tq-form .tq-k-phone .tp-pack input:checked+.tp-pack-b::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BAFF16' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E")}
.tp-page-game .tq-form .tp-pack-b .tq-pq{grid-column:2;grid-row:1;margin:0;align-items:baseline;flex-wrap:nowrap}
.tp-page-game .tq-form .tp-pack-b .tq-pq strong{font:800 25px/1.05 'Prompt',sans-serif;letter-spacing:-.02em}
.tp-page-game .tq-form .tp-pack-b .tq-pq small{font:600 12px/1 'Prompt',sans-serif;color:#52576A;letter-spacing:0}
.tp-page-game .tq-form .tp-pack-b>b:not(.tq-pq){grid-column:2;grid-row:1;font:700 15px/1.3 'Prompt',sans-serif}
.tp-page-game .tq-form .tp-pack-b .tq-face,.tp-page-game .tq-form .tp-pack-b .tq-per{font:400 11.5px/1.35 'Prompt',sans-serif;color:#6B7280}
.tp-page-game .tq-form .tp-pack-b .tq-per{white-space:nowrap}
.tp-page-game .tq-form .tp-pack-b .tq-mt{display:block;height:5px;border-radius:5px;background:#F4F5F7;overflow:hidden}
.tp-page-game .tq-form .tp-pack-b .tq-mt b{display:block;height:100%;border-radius:5px;background:#BAFF16;box-shadow:inset 0 0 0 1px rgba(10,10,11,.1)}
.tp-page-game .tq-form .tp-pack-b .tq-bonus{justify-self:start;align-self:auto;margin:0;padding:1px 7px;border-radius:100px;background:#E7F8F1;color:#047857;font:700 10.5px/16px 'Prompt',sans-serif}
.tp-page-game .tq-form .tp-pack-b em{margin:0;padding:0;font:700 15px/1.3 'Prompt',sans-serif;font-style:normal;letter-spacing:0}
.tp-page-game .tq-form .tp-pack:hover .tp-pack-b{border-color:#D5D8DD;transform:translateY(-2px)}
.tp-page-game .tq-form .tp-pack input:checked+.tp-pack-b{border-color:#0A0A0B;background:#EEFFC5;box-shadow:0 0 0 3px rgba(10,10,11,.05)}
.tp-page-game .tq-form .tp-pack input:checked+.tp-pack-b .tq-per,.tp-page-game .tq-form .tp-pack input:checked+.tp-pack-b .tq-face{color:#6B7280}
.tp-page-game .tq-form .tp-pack input:checked+.tp-pack-b .tq-pq small{color:#52576A}
.tp-page-game .tq-form .tp-pack input:checked+.tp-pack-b .tq-mt{background:rgba(10,10,11,.08)}
.tp-page-game .tq-form .tp-pack input:checked+.tp-pack-b::after{right:10px;top:10px;width:22px;height:22px;background-size:12px}
.tp-page-game .tq-form .tq-ptag{left:auto;right:10px;top:-10px;transform:none;height:22px;display:inline-flex;align-items:center;padding:0 9px;font-size:10px;box-shadow:none;background:#BAFF16;color:#0A0A0B}
.tp-page-game .tq-form .tp-pack input:checked+.tp-pack-b .tq-ptag{display:none}

/* ── สรุปชำระเงิน (hero ของ checkout) ── */
@media (min-width:901px){
  .tq-gg .tp-pay{position:sticky;top:96px;align-self:start;display:grid;gap:14px;padding:0 22px 22px;border-radius:22px;background-color:#0A0A0B;background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1.2px);background-size:18px 18px;border:0;box-shadow:none;overflow:hidden;isolation:isolate;color:#fff}
  .tq-gg .tp-pay::before{content:"";position:absolute;z-index:-1;width:560px;height:560px;right:-180px;top:-260px;border-radius:50%;background:radial-gradient(closest-side,rgba(186,255,22,.16),transparent)}
  .tq-gg .tp-pay>h2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tq-gg .tp-pay .tq-item{position:relative;margin:0 -22px;min-height:118px;padding:14px 22px;border:0;border-radius:0;background:linear-gradient(135deg,color-mix(in srgb,var(--h,#2A2C34) 55%,#17181C),#17181C);display:flex;align-items:flex-end;gap:12px}
  .tq-gg .tp-pay .tq-item::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,11,.1),rgba(10,10,11,.9))}
  .tq-gg .tp-pay .tq-item>*{position:relative}
  .tq-gg .tp-pay .tq-item .tq-cv.is-s{width:52px;height:52px;border-radius:14px}
  .tq-gg .tp-pay .tq-item .tq-cv.is-s b{font-size:17px}
  .tq-gg .tp-pay .tq-item b{font:700 16px/1.25 'Prompt',sans-serif;color:#fff}
  .tq-gg .tp-pay .tq-item .tq-sitem{display:none}
  .tq-gg .tp-pay .tq-item small{font-size:12px;color:#C9CDD5}
  .tq-gg .tp-pay .tq-dock{display:none}
  .tq-gg .tp-pay .tq-get{margin:0;padding:14px 16px;border-radius:18px;background:rgba(186,255,22,.1);border:1px solid rgba(186,255,22,.3)}
  .tq-gg .tp-pay .tq-get small{font-size:11.5px;color:#C9CDD5}
  .tq-gg .tp-pay .tq-get b{display:flex;align-items:center;gap:10px;margin-top:6px;font:400 15px/1 'Prompt',sans-serif;flex-wrap:wrap}
  .tq-gg .tp-pay .tq-get b::before{content:"";flex:none;width:42px;height:42px;border-radius:13px;background:#BAFF16 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M6 4h12l4 6-10 11L2 10z'/%3E%3Cpath d='M2 10h20M9 4l3 6 3-6M12 21l-3-11M12 21l3-11'/%3E%3C/svg%3E") center/24px no-repeat}
  .tq-gg .tp-pay .tq-get b #tpGetQty{font:800 32px/1 'Prompt',sans-serif;letter-spacing:-.03em}
  .tq-gg .tp-pay .tq-get b em{font:400 15px/1 'Prompt',sans-serif;color:#fff}
  .tq-gg .tp-pay .tp-sum{display:grid;gap:2px;margin:0;padding:14px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
  .tq-gg .tp-pay .tp-sum>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:3px 0}
  .tq-gg .tp-pay .tp-sum small{display:inline-flex;align-items:center;gap:7px;margin:0;font:400 16px/1.5 'Prompt',sans-serif;color:#8B92A0;white-space:nowrap}
  .tq-gg .tp-pay .tp-sum small i{font-size:16px;color:#B9BDC7}
  .tq-gg .tp-pay .tp-sum b{font:700 14px/1.5 'Prompt',sans-serif;color:#fff}
  .tq-gg .tp-pay .tp-sum .tq-c-price b{font-size:14px;color:#fff}
  .tq-gg .tp-pay .tp-sum .tq-c-tot{margin-top:6px;padding-top:10px;border-top:1px dashed rgba(255,255,255,.14);align-items:baseline}
  .tq-gg .tp-pay .tp-sum .tq-c-tot small{font-size:13px}
  .tq-gg .tp-pay .tp-sum .tq-c-tot b{font:800 30px/1.2 'Prompt',sans-serif;letter-spacing:-.03em}
  .tq-gg .tp-pay .tq-pill{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:100px;background:rgba(16,185,129,.18);color:#6EE7B7;font:700 11px/1.5 'Prompt',sans-serif;font-style:normal}
  .tq-gg .tp-pay .tq-pill.is-short{background:rgba(239,68,68,.2);color:#FCA5A5}
  .tq-gg .tp-pay .tq-wbar{display:grid;gap:9px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);font-size:12.5px}
  .tq-gg .tp-pay .tq-wbar-t{display:flex;justify-content:space-between;gap:8px}
  .tq-gg .tp-pay .tq-wbar-t span:first-child{display:inline-flex;align-items:center;gap:7px;color:#8B92A0}
  .tq-gg .tp-pay .tq-wbar-t i{font-size:16px;color:#B9BDC7}
  .tq-gg .tp-pay .tq-wbar-b{display:flex;height:8px;border-radius:8px;background:rgba(255,255,255,.1);overflow:hidden}
  .tq-gg .tp-pay .tq-wb-a{display:block;background:#BAFF16;transition:width .4s}
  .tq-gg .tp-pay .tq-wb-p{display:block;background:repeating-linear-gradient(45deg,rgba(255,255,255,.55) 0 4px,rgba(255,255,255,.2) 4px 8px);transition:width .4s}
  .tq-gg .tp-pay .tp-go{height:52px;padding:0 26px;font:700 15px/1 'Prompt',sans-serif;background:#BAFF16;color:#0A0A0B;box-shadow:0 10px 28px -12px rgba(186,255,22,.4)}
  .tq-gg .tp-pay .tq-reg{margin:0;font-size:12px;color:#8B92A0;text-align:center}
  .tq-gg .tp-pay .tq-trust{margin:0;padding:0;border:0;display:grid;gap:8px;font-size:12px;color:#B9BDC7}
  .tq-gg .tp-pay .tq-trust i{color:#BAFF16;font-size:16px}
  .tq-gg .tp-pay::after{display:none}
}

/* ── หา UID ยังไง (ภาพประกอบ 3 ช่อง) ── */
.tq-hu{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tq-hu>li{display:block;min-width:0}
.tq-hv{position:relative;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#17181C;display:grid;place-items:center}
.tq-hv.hu-1{background:linear-gradient(180deg,rgba(10,10,11,.25),rgba(10,10,11,.8)),var(--hu-bg,linear-gradient(135deg,color-mix(in srgb,var(--h,#2A2C34) 55%,#17181C),#17181C)) center/cover}
.tq-hv .hu-app{position:relative;z-index:2}
.tq-hv .hu-app .tq-cv.is-s{width:52px;height:52px;border-radius:14px}
.tq-hv .hu-ring{position:absolute;width:62px;height:62px;border-radius:50%;border:2px solid #BAFF16;box-shadow:0 0 0 6px rgba(186,255,22,.18)}
.tq-hv.hu-2 .hu-av{position:absolute;left:18px;top:18px;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#6B7280,#3A3D47)}
.tq-hv.hu-2 .hu-ring.r2{left:6px;top:6px}
.tq-hv.hu-2 em{position:absolute;left:68px;top:24px;width:46%;height:9px;border-radius:5px;background:rgba(255,255,255,.2)}
.tq-hv.hu-2 em.s{top:42px;width:30%;background:rgba(255,255,255,.12)}
.tq-hv.hu-3 .hu-id{position:absolute;left:14px;top:50%;transform:translateY(-50%);padding:9px 12px;border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font:700 12.5px/1.2 'Prompt',sans-serif;letter-spacing:.04em}
.tq-hv.hu-3 .hu-cp{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#BAFF16;color:#0A0A0B;font-size:18px}
.tq-hv.hu-3 .hu-ring.r3{right:2px;top:calc(50% - 31px)}
.tq-hu>li>b{display:flex;gap:8px;align-items:center;margin-top:10px;font:700 14px/1.3 'Prompt',sans-serif}
.tq-hu>li>b i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#0A0A0B;color:#BAFF16;font:700 11px/1 'Prompt',sans-serif;font-style:normal}
.tq-hu>li>small{display:block;margin-top:2px;color:#6B7280;font-size:12px}
.tp-page-game .tq-help-n{margin:12px 0 0;font-size:12.5px;color:#6B7280}

/* ── FAQ ในการ์ด (hm-faq--s) ── */
.tq-faqc .hm-faq{border-top:0}
.tq-faqc .hm-faq-item summary{gap:14px;padding:16px 0;font-size:15.5px}
.tq-faqc .hm-faq-ic{width:36px;height:36px;border-radius:11px;font-size:17px}
.tq-faqc .hm-faq-item summary>i{width:32px;height:32px;font-size:16px}
.tq-faqc .hm-faq-item p{padding:0 8px 18px 50px;font-size:14px;line-height:1.7}
.tq-faqc .hm-faq-item:last-child{border-bottom:0}

/* ── เกมที่คนเติมคู่กัน ── */
.tp-page-game .tq-also{gap:10px}
.tp-page-game .tq-also a{display:grid;gap:8px;justify-items:start;padding:12px;border-radius:16px;border:1px solid #E8E9EC;background:#fff}
.tp-page-game .tq-also a:hover{border-color:#0A0A0B;transform:translateY(-3px)}
.tp-page-game .tq-also .tq-cv.is-s{width:52px;height:52px;border-radius:14px;margin:0}
.tp-page-game .tq-also .tq-cv.is-s b{font-size:17px}
.tp-page-game .tq-also b{font-size:13.5px;line-height:1.3}
.tp-page-game .tq-also small{font-size:12px;color:#6B7280}
.tq-gg .tq-wbar[hidden]{display:none!important}

/* ── จูนละเอียดจากการวัดเทียบ mockup (P3 รอบ 2) ── */
.tp-page-game .tq-form .tp-pack-b{align-content:stretch}
.tp-page-game .tq-form .tp-pack-b .tq-face{line-height:15.5px}
.tp-page-game .tq-form .tp-pack-b .tq-per{display:flex;align-items:center;min-height:18px;line-height:1.55}
.tp-page-game .tq-form .tp-pack-b .tq-bonus{height:18px;line-height:18px;padding:0 7px}
.tp-page-game .tq-form .tp-pack-b em{min-height:23px;display:flex;align-items:flex-end;align-self:end;line-height:1.55;margin-top:6px}
.tp-page-game .tq-form .tp-field input.is-ok{border-color:#10B981}
@media (min-width:901px){
  .tq-gg .tp-pay .tp-sum>div{line-height:1.55}
  .tq-gg .tp-pay .tp-sum small{line-height:1.55}
  .tq-gg .tp-pay .tp-sum b{line-height:1.55}
  .tq-gg .tp-pay .tp-sum .tq-c-tot b{line-height:1.55}
}

/* ═══ มือถือ (≤900px) หน้าเกมสาธารณะ ตาม mockup A: การ์ดสรุปอยู่ในหน้า + แถบ dock ลอยเหนือเมนูล่าง ═══ */
.tq-mlogo{display:none}
.tq-mdock{display:none}
@media (max-width:900px){

  body.tp-page-game .tq-gg .tp-pay{position:sticky;top:96px;align-self:start;display:grid;gap:14px;padding:0 22px 22px;border-radius:22px;background-color:#0A0A0B;background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1.2px);background-size:18px 18px;border:0;box-shadow:none;overflow:hidden;isolation:isolate;color:#fff}
  body.tp-page-game .tq-gg .tp-pay::before{content:"";position:absolute;z-index:-1;width:560px;height:560px;right:-180px;top:-260px;border-radius:50%;background:radial-gradient(closest-side,rgba(186,255,22,.16),transparent)}
  body.tp-page-game .tq-gg .tp-pay>h2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}
  body.tp-page-game .tq-gg .tp-pay .tq-item{position:relative;margin:0 -22px;min-height:118px;padding:14px 22px;border:0;border-radius:0;background:linear-gradient(135deg,color-mix(in srgb,var(--h,#2A2C34) 55%,#17181C),#17181C);display:flex;align-items:flex-end;gap:12px}
  body.tp-page-game .tq-gg .tp-pay .tq-item::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,11,.1),rgba(10,10,11,.9))}
  body.tp-page-game .tq-gg .tp-pay .tq-item>*{position:relative}
  body.tp-page-game .tq-gg .tp-pay .tq-item .tq-cv.is-s{width:52px;height:52px;border-radius:14px}
  body.tp-page-game .tq-gg .tp-pay .tq-item .tq-cv.is-s b{font-size:17px}
  body.tp-page-game .tq-gg .tp-pay .tq-item b{font:700 16px/1.25 'Prompt',sans-serif;color:#fff}
  body.tp-page-game .tq-gg .tp-pay .tq-item .tq-sitem{display:none}
  body.tp-page-game .tq-gg .tp-pay .tq-item small{font-size:12px;color:#C9CDD5}
  body.tp-page-game .tq-gg .tp-pay .tq-dock{display:none}
  body.tp-page-game .tq-gg .tp-pay .tq-get{margin:0;padding:14px 16px;border-radius:18px;background:rgba(186,255,22,.1);border:1px solid rgba(186,255,22,.3)}
  body.tp-page-game .tq-gg .tp-pay .tq-get small{font-size:11.5px;color:#C9CDD5}
  body.tp-page-game .tq-gg .tp-pay .tq-get b{display:flex;align-items:center;gap:10px;margin-top:6px;font:400 15px/1 'Prompt',sans-serif;flex-wrap:wrap}
  body.tp-page-game .tq-gg .tp-pay .tq-get b::before{content:"";flex:none;width:42px;height:42px;border-radius:13px;background:#BAFF16 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M6 4h12l4 6-10 11L2 10z'/%3E%3Cpath d='M2 10h20M9 4l3 6 3-6M12 21l-3-11M12 21l3-11'/%3E%3C/svg%3E") center/24px no-repeat}
  body.tp-page-game .tq-gg .tp-pay .tq-get b #tpGetQty{font:800 32px/1 'Prompt',sans-serif;letter-spacing:-.03em}
  body.tp-page-game .tq-gg .tp-pay .tq-get b em{font:400 15px/1 'Prompt',sans-serif;color:#fff}
  body.tp-page-game .tq-gg .tp-pay .tp-sum{display:grid;gap:2px;margin:0;padding:14px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
  body.tp-page-game .tq-gg .tp-pay .tp-sum>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:3px 0}
  body.tp-page-game .tq-gg .tp-pay .tp-sum small{display:inline-flex;align-items:center;gap:7px;margin:0;font:400 16px/1.5 'Prompt',sans-serif;color:#8B92A0;white-space:nowrap}
  body.tp-page-game .tq-gg .tp-pay .tp-sum small i{font-size:16px;color:#B9BDC7}
  body.tp-page-game .tq-gg .tp-pay .tp-sum b{font:700 14px/1.5 'Prompt',sans-serif;color:#fff}
  body.tp-page-game .tq-gg .tp-pay .tp-sum .tq-c-price b{font-size:14px;color:#fff}
  body.tp-page-game .tq-gg .tp-pay .tp-sum .tq-c-tot{margin-top:6px;padding-top:10px;border-top:1px dashed rgba(255,255,255,.14);align-items:baseline}
  body.tp-page-game .tq-gg .tp-pay .tp-sum .tq-c-tot small{font-size:13px}
  body.tp-page-game .tq-gg .tp-pay .tp-sum .tq-c-tot b{font:800 30px/1.2 'Prompt',sans-serif;letter-spacing:-.03em}
  body.tp-page-game .tq-gg .tp-pay .tq-pill{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:100px;background:rgba(16,185,129,.18);color:#6EE7B7;font:700 11px/1.5 'Prompt',sans-serif;font-style:normal}
  body.tp-page-game .tq-gg .tp-pay .tq-pill.is-short{background:rgba(239,68,68,.2);color:#FCA5A5}
  body.tp-page-game .tq-gg .tp-pay .tq-wbar{display:grid;gap:9px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);font-size:12.5px}
  body.tp-page-game .tq-gg .tp-pay .tq-wbar-t{display:flex;justify-content:space-between;gap:8px}
  body.tp-page-game .tq-gg .tp-pay .tq-wbar-t span:first-child{display:inline-flex;align-items:center;gap:7px;color:#8B92A0}
  body.tp-page-game .tq-gg .tp-pay .tq-wbar-t i{font-size:16px;color:#B9BDC7}
  body.tp-page-game .tq-gg .tp-pay .tq-wbar-b{display:flex;height:8px;border-radius:8px;background:rgba(255,255,255,.1);overflow:hidden}
  body.tp-page-game .tq-gg .tp-pay .tq-wb-a{display:block;background:#BAFF16;transition:width .4s}
  body.tp-page-game .tq-gg .tp-pay .tq-wb-p{display:block;background:repeating-linear-gradient(45deg,rgba(255,255,255,.55) 0 4px,rgba(255,255,255,.2) 4px 8px);transition:width .4s}
  body.tp-page-game .tq-gg .tp-pay .tp-go{height:52px;padding:0 26px;font:700 15px/1 'Prompt',sans-serif;background:#BAFF16;color:#0A0A0B;box-shadow:0 10px 28px -12px rgba(186,255,22,.4)}
  body.tp-page-game .tq-gg .tp-pay .tq-reg{margin:0;font-size:12px;color:#8B92A0;text-align:center}
  body.tp-page-game .tq-gg .tp-pay .tq-trust{margin:0;padding:0;border:0;display:grid;gap:8px;font-size:12px;color:#B9BDC7}
  body.tp-page-game .tq-gg .tp-pay .tq-trust i{color:#BAFF16;font-size:16px}
  body.tp-page-game .tq-gg .tp-pay::after{display:none}
  /* รีเซ็ตการ์ดสรุปจากโหมด dock เดิม (store-topup.css ≤900px) ให้เป็นการ์ดเต็มในหน้า */
  body.tp-page-game .tq-gg .tp-pay{position:relative;top:auto;left:auto;right:auto;bottom:auto;z-index:auto;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:none!important;grid-column:auto;margin:0;box-shadow:none;border:0}
  body.tp-page-game .tq-gg .tp-pay .tq-item{display:flex!important}
  body.tp-page-game .tq-gg .tp-pay .tp-sum{order:0}
  body.tp-page-game .tq-gg .tp-pay .tp-sum>div,body.tp-page-game .tq-form .tp-sum>div:not(.tq-c-item):not(.tq-c-price){display:flex!important}
  body.tp-page-game .tq-gg .tp-pay .tp-sum .tq-c-price small,body.tp-page-game .tq-gg .tp-pay .tp-sum .tq-c-fee{display:inline-flex!important}
  body.tp-page-game .tq-gg .tp-pay .tp-sum .tq-c-price b{display:block;text-align:right;font-size:14px}
  body.tp-page-game .tq-gg .tp-pay .tq-get:not([hidden]){display:block!important}
  body.tp-page-game .tq-gg .tp-pay .tq-trust{display:grid!important}
  body.tp-page-game .tq-gg .tp-pay .tq-wbar:not([hidden]){display:grid!important}
  body.tp-page-game .tq-gg .tp-pay .tp-go{order:0;grid-area:auto;width:100%;height:52px;padding:0 26px;box-shadow:0 10px 28px -12px rgba(186,255,22,.4)}
  body.tp-page-game .tq-gg .tp-pay .tp-go>.bx-right-arrow-alt{display:inline}
  body.tp-page-game .tq-gg .tp-pay .tq-short{grid-area:auto;margin:0}
  /* dock ลอย */
  body.tp-page-game .tq-mdock{display:flex;position:fixed;left:10px;right:10px;bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:56;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 10px 18px;border-radius:22px;background:#fff;border:1px solid #E8E9EC;box-shadow:0 18px 40px -16px rgba(10,10,11,.45)}
  .tq-mdock small{display:flex;align-items:center;gap:6px;font:400 12px/1.4 'Prompt',sans-serif;color:#52576A}
  .tq-mdock small i{font-size:15px}
  .tq-mdock b{display:block;font:800 22px/1.15 'Prompt',sans-serif;letter-spacing:-.02em}
  .tq-mdock .st-btn{height:46px;padding:0 20px;border-radius:100px;background:#BAFF16;color:#0A0A0B;font:700 14px/1 'Prompt',sans-serif;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:0}
  .tq-mdock .st-btn[disabled]{background:#E6E8E1;color:#9AA0AC}
  /* hero */
  body.tp-page-game .tq-hero.tq-g2,body.tp-page-game .tq-hero.tq-g2.is-game{padding:84px 0 28px;border-radius:0!important}
  .tq-hero.tq-g2 .tq-wrap{padding:0 16px}
  .tq-g2 .tq-mlogo{position:absolute;z-index:2;top:26px;left:16px;display:flex;align-items:center;gap:9px;font:800 15px/1 'Prompt',sans-serif;letter-spacing:-.01em;color:#fff;text-decoration:none}
  .tq-g2 .tq-mlogo b{color:#BAFF16}
  .tq-hero.tq-g2 .tq-crumb{margin-bottom:12px}
  .tq-hero.tq-g2 .tq-crumb-r{margin-left:0;width:100%}
  .tq-hero.tq-g2 .tq-gh{align-items:flex-start;gap:14px}
  .tq-hero.tq-g2 .tq-cv.is-l{width:78px;height:78px;border-radius:20px}
  .tq-hero.tq-g2 .tq-cv.is-l b{font-size:24px}
  .tq-hero.tq-g2 .tq-chip{height:30px;padding:0 12px 0 10px;font-size:12px;white-space:nowrap}
  .tq-hero.tq-g2 h1{font-size:30px;margin:8px 0 6px}
  .tq-hero.tq-g2 .tq-gh p{font-size:14.5px;line-height:1.6}
  .tq-hero.tq-g2 .tq-gstat{margin-top:12px}
  .tp-page-game .tq-body.is-game{padding:16px 0 150px}
  .tp-page-game .tq-body .st-wrap{padding:0 16px}
  .tp-page-game .tq-gg{row-gap:16px}
  .tp-page-game .tq-gg .tp-step:not(.tp-pay){padding:18px}
  .tp-page-game .tq-gg .tp-pay{padding:0 18px 18px}
  .tp-page-game .tq-gg .tp-pay .tq-item{margin:0 -18px;padding:14px 18px}
  /* ฟิลด์: ป้ายอยู่บนช่อง (ไม่ใช่แถวเดียว) */
  body.tp-page-game .tq-form .tp-field{flex-direction:column;align-items:stretch;gap:6px;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
  body.tp-page-game .tq-form .tp-field>span{flex:none;font:600 12.5px/1 'Prompt',sans-serif;color:#52576A}
  body.tp-page-game .tq-form .tp-field input,body.tp-page-game .tq-form .tp-field select{flex:none;height:50px;padding:0 16px;border:1.5px solid #D5D8DD;border-radius:14px;background:#fff;text-align:left;text-align-last:left;font:600 16px/1 'Prompt',sans-serif}
  body.tp-page-game .tq-form #tpHint:not(.is-ok):not(.is-bad){display:flex}
  body.tp-page-game .tq-form .tq-find{display:none!important}
  body.tp-page-game .tq-form .tq-d{display:inline}
  body.tp-page-game .tq-form .tq-m{display:none}
  /* แท็บ + แพ็ก */
  .tp-page-game .tq-form .tq-tabs{position:static;display:flex;width:100%;margin:0 0 16px;float:none}
  .tp-page-game .tq-form .tq-tabs button{flex:1;justify-content:center;height:36px;font-size:13.5px}
  .tp-page-game .tq-form .tp-packs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tp-page-game .tq-form .tp-pack-b{grid-template-columns:38px minmax(0,1fr);padding:14px 12px 12px;column-gap:8px}
  .tp-page-game .tq-form .tp-pack-b::before{width:38px;height:38px;border-radius:12px;background-size:22px}
  .tp-page-game .tq-form .tp-pack-b .tq-pq{flex-wrap:wrap;row-gap:0}
  .tp-page-game .tq-form .tp-pack-b .tq-pq strong{font-size:22px}
  .tp-page-game .tq-form .tp-pack-b .tq-per{white-space:nowrap}.tp-page-game .tq-form .tp-pack-b .tq-pu{display:inline;white-space:nowrap;overflow:visible;text-overflow:clip}
  /* หา UID = เลื่อนแนวนอน */
  .tq-hu{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:-2px;padding:0 2px 4px}
  .tq-hu>li{flex:0 0 72%;scroll-snap-align:start}
  .tp-page-game .tq-also{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  body.tp-page-game .tq-gg .tp-pay>*{grid-area:auto!important;grid-column:1/-1!important;grid-row:auto!important;min-width:0}
}
