*{box-sizing:border-box;margin:0;padding:0}body{font-family:"Prompt","Noto Sans Thai","Sarabun",sans-serif;color:#0b2545;background:#f5f9ff}
a{color:inherit;text-decoration:none}.w{max-width:1200px;margin:auto;padding:0 20px}
header{background:#fff;box-shadow:0 2px 12px #0a4fd51a;position:sticky;top:0;z-index:9}
.nav{display:flex;align-items:center;gap:20px;height:72px}.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px}
.logo i{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#1e6bff,#36c5ff);display:grid;place-items:center;color:#fff;font-style:normal;font-size:18px}
.menu{display:flex;gap:20px;flex:1;justify-content:center}.menu a{font-weight:600;color:#33507a}
.btn{background:linear-gradient(135deg,#1e6bff,#2fb5ff);color:#fff;padding:10px 20px;border-radius:30px;font-weight:600;display:inline-block;border:0;font-family:inherit;font-size:15px;cursor:pointer}
.btn.o{background:#fff;color:#1e6bff;border:2px solid #1e6bff}.btn.full{width:100%;text-align:center;padding:14px}
.hero{background:#fff;overflow:hidden}
.hg{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;min-height:520px}
.hg>img{width:100%;max-width:540px;filter:none}
h1{font-size:46px;line-height:1.25}h1 b{color:#1e6bff}.hero p{font-size:18px;color:#4a6285;margin:18px 0 26px}
.tag{display:inline-block;background:#e3efff;color:#1e6bff;padding:6px 14px;border-radius:20px;font-weight:600;margin-bottom:14px}
section{padding:56px 0}h2{font-size:30px;text-align:center;margin-bottom:8px}.sub{text-align:center;color:#5d7699;margin-bottom:30px}
.lbl{display:block;text-align:center;font-size:13px;color:#1e6bff;font-weight:700;margin-bottom:6px}
.cats{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.card{background:#fff;border-radius:20px;padding:24px;box-shadow:0 6px 24px #0a4fd514;text-align:center}
.ic{width:110px;height:110px;border-radius:50%;margin:0 auto 14px;background:radial-gradient(circle,#e3efff 60%,#fff 61%);display:flex;align-items:flex-end;justify-content:center}
.ic img{height:125px;object-fit:contain;filter:drop-shadow(0 8px 10px #1e6bff30)}
.card h3{margin-bottom:6px}.card p{color:#5d7699;font-size:14px}
.tabs{display:flex;gap:10px;justify-content:center;margin-bottom:26px;flex-wrap:wrap}.tabs span{padding:8px 18px;border-radius:20px;background:#fff;border:1px solid #cfe0ff;font-weight:600}.tabs .on{background:#1e6bff;color:#fff}
.prods{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.p{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 6px 24px #0a4fd514;border:1px solid #e3efff}
.p .th{height:190px;background:#fff;display:flex;align-items:flex-end;justify-content:center}.p .th img{height:180px;object-fit:contain}
.p .b{padding:16px}.p small{color:#1e6bff;font-weight:600}.p h4{margin:4px 0 10px}.pr{display:flex;justify-content:space-between;align-items:center}.pr b{color:#1e6bff;font-size:20px}.pr s{color:#99a;font-size:13px}
.box{background:#fff;border-radius:24px;padding:32px;box-shadow:0 6px 24px #0a4fd514}
.det{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.det .pic{background:#fff;display:flex;align-items:flex-end;justify-content:center}.det .pic img{width:80%;max-height:460px;object-fit:contain;filter:none}
.det h2{text-align:left}.det ul{margin:16px 0 20px 20px;color:#4a6285;line-height:1.9}
.plans{display:flex;gap:12px;margin:14px 0 20px}.plan{flex:1;border:2px solid #cfe0ff;border-radius:14px;padding:14px;text-align:center}.plan.on{border-color:#1e6bff;background:#eef5ff}.plan b{display:block;font-size:22px;color:#1e6bff}
.auth{display:grid;grid-template-columns:1fr 1fr;gap:0;overflow:hidden;padding:0}.auth .l{background:#fff;color:#0b2545;padding:36px;display:flex;flex-direction:column;justify-content:space-between}.auth .l img{width:70%;filter:none;align-self:center}
.auth .r{padding:36px}.ft{display:flex;gap:8px;margin-bottom:20px}.ft span{flex:1;text-align:center;padding:10px;border-bottom:3px solid #e3efff;font-weight:700;color:#7b8fae}.ft .on{border-color:#1e6bff;color:#1e6bff}
label{display:block;font-size:14px;font-weight:600;margin:12px 0 6px}input{width:100%;padding:12px 14px;border:1.5px solid #cfe0ff;border-radius:12px;font-family:inherit;font-size:15px;background:#f8fbff}
.or{text-align:center;color:#8aa;margin:16px 0;font-size:14px}.soc{display:flex;gap:10px}.soc span{flex:1;text-align:center;padding:11px;border:1.5px solid #cfe0ff;border-radius:12px;font-weight:600}
.two{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:start}
.ci{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #e6eefb}.ci .t{width:70px;height:70px;border-radius:14px;background:#fff;display:flex;justify-content:center}.ci .t img{height:100%;object-fit:contain}.ci div.n{flex:1}.ci small{color:#5d7699}.q{border:1px solid #cfe0ff;border-radius:10px;padding:4px 12px}
.sum div{display:flex;justify-content:space-between;padding:8px 0;color:#4a6285}.sum .tt{font-size:22px;font-weight:800;color:#0b2545;border-top:2px dashed #cfe0ff;margin-top:8px;padding-top:14px}.sum .tt b{color:#1e6bff}
.steps{display:flex;justify-content:center;gap:10px;margin-bottom:26px;flex-wrap:wrap}.steps span{padding:8px 18px;border-radius:20px;background:#e3efff;font-weight:600;color:#5d7699}.steps .on{background:#1e6bff;color:#fff}
.pay{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:10px 0 16px}.pay div{border:2px solid #cfe0ff;border-radius:14px;padding:14px;text-align:center;font-weight:600}.pay .on{border-color:#1e6bff;background:#eef5ff}
.qr{display:flex;gap:20px;align-items:center;background:#f3f8ff;border-radius:16px;padding:18px}.qr .c{width:140px;height:140px;background:repeating-conic-gradient(#0b2545 0 25%,#fff 0 50%) 0 0/20px 20px;border:8px solid #fff;border-radius:8px;flex:none}
.up{border:2px dashed #8fb8ff;border-radius:14px;padding:18px;text-align:center;color:#1e6bff;font-weight:600;margin-top:14px}
.dash{display:grid;grid-template-columns:260px 1fr;gap:24px}.side{background:#fff;box-shadow:0 6px 24px #0a4fd514;color:#0b2545;border-radius:20px;padding:24px;text-align:center}.side img{width:120px;height:120px;border-radius:50%;object-fit:cover;object-position:top;background:#fff;border:4px solid #bcd8ff}
.side a{display:block;text-align:left;padding:10px 12px;border-radius:10px;margin-top:6px}.side a.on{background:#1e6bff;color:#fff}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.st{background:#eef5ff;border-radius:14px;padding:16px}.st b{font-size:26px;color:#1e6bff;display:block}
.tw{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:12px;text-align:left;border-bottom:1px solid #e6eefb;white-space:nowrap}th{color:#5d7699}code{background:#eef5ff;color:#1e4fd0;padding:4px 8px;border-radius:6px}
.ok{color:#0a9d58;font-weight:600}.wait{color:#e08a00;font-weight:600}.dl{color:#1e6bff;font-weight:600}
.cta{background:#fff;border:1px solid #d6e6ff;color:#0b2545;border-radius:28px;display:grid;grid-template-columns:1fr 340px;align-items:center;padding:0 40px;overflow:hidden}.cta>img{width:100%;max-height:380px;object-fit:contain;margin-top:20px;filter:none}.cta h2{text-align:left}
footer{background:#fff;color:#1e6bff;padding:44px 0 24px;margin-top:20px;border-top:2px solid #d6e8ff}.fg{display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:28px;text-align:left}.fg h5{font-size:16px;color:#0b4fd6;margin-bottom:10px}.fg a,.fg span{display:block;color:#1e6bff;text-decoration:none;font-size:14px;margin-bottom:7px}.fcp{text-align:center;border-top:1px solid #e3edfb;margin-top:28px;padding-top:16px;font-size:14px}@media(max-width:800px){.fg{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.nav{justify-content:space-between}.hg>div>img{margin:0 auto 10px}.menu,.nav .btn.o{display:none}.hg,.det,.dash,.cta,.auth,.two{grid-template-columns:1fr}.cats{grid-template-columns:repeat(2,1fr)}.prods{grid-template-columns:1fr 1fr}.stats,.pay{grid-template-columns:1fr}h1{font-size:30px}.hg{text-align:center;padding-top:20px}.cta{padding:30px 20px 0}.p .th{height:135px}.p .th img{height:130px}.box{padding:20px}.auth .l{display:none}.qr{flex-direction:column}}
.arts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.art{background:#fff;border:1px solid #e3edfb;border-radius:18px;padding:24px}.art .ico{width:64px;height:64px;border-radius:50%;background:#eef6ff;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.art h4{font-size:18px;margin-bottom:8px}.art p{color:#5d7699;font-size:14.5px;line-height:1.6;margin-bottom:12px}.art a{color:#1e6bff;font-weight:600;text-decoration:none}
.frees{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.fr{background:#fff;border:1px solid #e3edfb;border-radius:16px;padding:26px 10px;text-align:center;font-weight:600}.fr svg{display:block;margin:0 auto 10px}.ico2{width:88px;height:88px;display:block;margin-bottom:12px}.ico2.f{width:80px;height:80px;margin:0 auto 10px}.fr.soon{color:#9fb3cc}
@media(max-width:800px){.arts{grid-template-columns:1fr}.frees{grid-template-columns:repeat(2,1fr)}}

#topup .amts{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}#topup .amt{background:#fff;border:1.5px solid #cfe0ff;border-radius:14px;padding:16px;text-align:center;font-weight:700;font-size:18px;color:#0b4fd6}#topup .amt.on{border-color:#1e6bff;background:#eef6ff}#topup .bal{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}#topup .bal b{font-size:34px;color:#1e6bff}#topup .pay2{display:grid;grid-template-columns:1fr 1fr;gap:22px}#topup .qr{width:200px;height:200px;margin:12px auto;border:2px dashed #9cc4ff;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#5d7699;background:#f8fbff}#topup .up{border:2px dashed #9cc4ff;border-radius:16px;padding:40px 16px;text-align:center;color:#5d7699;background:#f8fbff;margin:12px 0}#topup .res{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}#topup .rs{border-radius:16px;padding:18px 20px;font-weight:700;font-size:17px}#topup .rs small{display:block;font-weight:400;font-size:14px;margin-top:4px}#topup .g{background:#eafaf1;border:1.5px solid #9be0bb;color:#0a9d58}#topup .a{background:#fff6e6;border:1.5px solid #ffd28a;color:#c07400}@media(max-width:800px){.amts{grid-template-columns:repeat(2,1fr)}#topup .pay2,#topup .res{grid-template-columns:1fr}}
.flash{max-width:980px;margin:16px auto 0;padding:12px 18px;border-radius:14px;font-weight:600}.flash.ok{background:#eafaf1;border:1.5px solid #9be0bb;color:#0a9d58}.flash.err{background:#fdecec;border:1.5px solid #f3b3b3;color:#d64545}
.ann{background:#eef6ff;color:#1e6bff;text-align:center;font-size:14px;font-weight:600;padding:7px 10px;border-bottom:1px solid #d6e8ff}
.tabs a{padding:8px 18px;border-radius:20px;background:#fff;border:1px solid #cfe0ff;font-weight:600}.tabs a.on{background:#1e6bff;color:#fff}
.ft a{flex:1;text-align:center;padding:10px;border-bottom:3px solid #e3efff;font-weight:700;color:#7b8fae}.ft a.on{border-color:#1e6bff;color:#1e6bff}
.pay label{border:2px solid #cfe0ff;border-radius:14px;padding:14px;text-align:center;font-weight:600;margin:0;cursor:pointer}.pay label:has(input:checked){border-color:#1e6bff;background:#eef5ff}.pay input{display:none}
.chk{display:flex;gap:8px;align-items:flex-start;font-weight:500}.chk input{width:auto;margin-top:3px}
#topup .amts label{margin:0;cursor:pointer}#topup .amts input{display:none}#topup .amt:has(input:checked){border-color:#1e6bff;background:#eef6ff}
.qrimg{width:100%;height:100%;border-radius:12px}.qrbox{width:140px;height:140px;flex:none;background:#fff;border-radius:8px}
.up input[type=file]{display:block;margin:10px auto 0;width:auto;background:none;border:0}
.p{display:block}.side a{cursor:pointer}button.dl{background:none;border:0;font:inherit;cursor:pointer}
.rv{border-bottom:1px solid #e6eefb;padding:12px 0}.art-body{line-height:1.9;color:#33507a;white-space:pre-line}

.gbtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:12px;border:1.5px solid #cfe0f7;border-radius:12px;background:#fff;color:#1d2b45;font-weight:600;text-decoration:none;margin-top:4px}.gbtn:hover{border-color:#1e6bff;background:#f5f9ff}

/* hero-gap */.hero{margin-top:48px}@media(max-width:760px){.hero{margin-top:24px}}

.hg img.heroimg{width:100%;max-width:520px;height:auto;aspect-ratio:1157/1360;object-fit:contain;justify-self:center}
.lng{display:inline-flex;border:1px solid #cfe0ff;border-radius:999px;overflow:hidden;margin:0 6px;font-size:13px;font-weight:700}.lng a{padding:5px 10px;color:#1e6bff;background:#fff}.lng a.on{background:#1e6bff;color:#fff}
/* articles + tags (outline only, no solid fills) */
.tg{display:inline-block;border:1px solid #bcd6ff;color:#1e6bff;background:#fff;padding:5px 13px;border-radius:999px;font-size:14px;font-weight:600;margin:0 6px 8px 0;text-decoration:none}.tg:hover,.tg.on{border-color:#1e6bff;box-shadow:0 0 0 2px #1e6bff22}.tg small{color:#7a93b8;font-weight:500;margin-left:4px}
.alist{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.acard{background:#fff;border:1px solid #e3edfb;border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.acard img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#f5f9ff}.acard .b{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}.acard h3{font-size:18px;line-height:1.45;color:#0d2b5c}.acard p{color:#5d7699;font-size:14.5px;line-height:1.6;flex:1}.acard .m{font-size:13px;color:#7a93b8}
.asearch{display:flex;gap:10px;max-width:520px;margin:0 auto 18px}.asearch input{flex:1}.tagbar{text-align:center;margin-bottom:30px}
.acover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px;margin:6px 0 22px;border:1px solid #e3edfb}
.art-html{line-height:1.95;color:#33507a;font-size:16.5px}.art-html h2{text-align:left;font-size:23px;color:#0d2b5c;margin:30px 0 10px}.art-html h3{font-size:18.5px;color:#0d2b5c;margin:20px 0 6px}.art-html p{margin:0 0 14px}.art-html ul{margin:0 0 16px 22px}.art-html li{margin-bottom:6px}.art-html a{color:#1e6bff;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){.alist{grid-template-columns:1fr 1fr}}@media(max-width:600px){.alist{grid-template-columns:1fr}}

/* nav v6: single-line menu, uniform type, hamburger below 1180px */
header .w.nav{max-width:1360px;gap:16px;height:72px;align-items:center}
.nav .logo{flex:0 0 auto}
.menu{display:flex;flex:1 1 auto;justify-content:center;align-items:center;gap:clamp(12px,1.4vw,22px);min-width:0}
.menu a{white-space:nowrap;font-family:"Noto Sans Thai","Sarabun",system-ui,sans-serif;font-weight:500;font-size:15px;line-height:1;color:#33507a;padding:8px 0;font-synthesis:none}
.menu a:hover{color:#1e6bff}
.nav .lng{flex:0 0 auto;align-self:center}
.nav>.btn,.nav form .btn{white-space:nowrap;flex:0 0 auto;padding:9px 18px}
.nav>.btn+.btn,.nav>.btn+form{margin-left:-6px}
.mnu-t{display:none}.hb{display:none;font-size:26px;line-height:1;cursor:pointer;color:#1e6bff;padding:6px 8px;order:9}
@media(max-width:1180px){
 .hb{display:block}
 .nav{position:relative}
 .menu{display:none;position:absolute;top:72px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#fff;box-shadow:0 10px 24px #0a4fd522;padding:8px 20px 14px;z-index:20}
 .menu a{padding:13px 4px;border-bottom:1px solid #eef4ff}
 .mnu-t:checked~.menu{display:flex}
 .nav{justify-content:flex-start}.nav .lng{margin-left:auto}
}
@media(max-width:800px){.nav .btn.o{display:none}}

/* home arts v7 */.art2{padding:0;overflow:hidden;display:flex;flex-direction:column}.art2 .acov{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.art2 h4,.art2 p,.art2>a:last-child{margin-left:20px;margin-right:20px}.art2 h4{margin-top:16px}.art2 h4 a{color:inherit;text-decoration:none}.art2 p{flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.art2>a:last-child{margin-bottom:20px}
