@font-face{font-family:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(sarabun-thai-400.woff2) format('woff2');unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(sarabun-latin-400.woff2) format('woff2')}
@font-face{font-family:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(sarabun-thai-700.woff2) format('woff2');unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(sarabun-latin-700.woff2) format('woff2')}
@font-face{font-family:GoogleSans;font-style:normal;font-weight:400 700;font-display:swap;src:url(googlesans-thai.woff2) format('woff2');unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:GoogleSans;font-style:normal;font-weight:400 700;font-display:swap;src:url(googlesans-latin.woff2) format('woff2')}
:root{--ink:#30113b;--muted:#776a89;--violet:#8263bb;--line:#08a948;--telegram:#149dde;--border:#e9e1f0;--body-font:Sarabun,system-ui,sans-serif;--heading-font:GoogleSans,Sarabun,system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}.login-page{margin:0;color:var(--ink);background:#fff;font-family:var(--body-font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}.login-page [hidden]{display:none!important}.login-page a{color:inherit}.login-page button,.login-page input{font:inherit}.login-page button,.login-page a{-webkit-tap-highlight-color:transparent}.login-page button{cursor:pointer}.login-page a:focus-visible,.login-page button:focus-visible,.login-page summary:focus-visible,.login-page input:focus-visible{outline:3px solid #6c48a9;outline-offset:5px}.login-page svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0!important;height:0!important;overflow:hidden}.wrap{width:min(1184px,calc(100% - 96px));margin-inline:auto}.skip-link{position:fixed;top:8px;left:12px;z-index:20;background:white;padding:12px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}
.site-header{display:flex;justify-content:space-between;align-items:center;min-height:104px;position:relative;z-index:2}.brand{display:flex;gap:12px;align-items:center;text-decoration:none}.brand img{object-fit:contain;filter:drop-shadow(0 4px 5px #9b7eae22)}.brand span{font-family:var(--heading-font);font-size:28px;font-weight:700;line-height:1.05;letter-spacing:-1px}.brand small{display:block;font-family:var(--body-font);font-size:11px;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:7px}.site-header nav{display:flex;gap:38px}.site-header nav a{text-decoration:none;font-size:15px;padding:12px 0;border-bottom:1px solid transparent}.site-header nav a:hover{border-color:#a77bc5}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;position:relative;padding-top:36px;padding-bottom:70px;min-height:710px;isolation:isolate}.hero:before{content:'';position:absolute;z-index:-2;inset:-105px min(-48px,calc((1184px - 100vw)/2)) 0;background:radial-gradient(ellipse at 83% 20%,#dfeaffaa,transparent 46%),radial-gradient(ellipse at 61% 77%,#f8dce988,transparent 47%),linear-gradient(140deg,#fff 10%,#fdf9fd 75%,#fff)}.hero-copy{z-index:2;padding-right:30px;align-self:center}.hero h1{font-family:var(--heading-font);font-size:clamp(48px,5.2vw,74px);letter-spacing:-2.5px;line-height:1.2;margin:0 0 24px;font-weight:700}.hero h1 span{white-space:nowrap}.hero-lead{font-size:19px;line-height:1.8;color:var(--muted);margin:0 0 30px;max-width:480px}.login-panel{max-width:440px;background:#ffffffeb;padding:22px;border:1px solid #fff;border-radius:26px;box-shadow:0 16px 50px #64467a0d,0 3px 12px #6e487808}.login-btn{display:flex;align-items:center;justify-content:center;gap:13px;min-height:58px;border-radius:14px;text-decoration:none;color:#fff!important;font-size:16px;font-weight:700;padding:13px 17px;box-shadow:inset 0 2px 0 #ffffff44,0 5px 12px #81758b12;transition:transform .2s,box-shadow .2s}.login-btn+.login-btn{margin-top:12px}.login-btn>svg:first-child{width:30px;height:30px}.login-btn .arrow{width:19px;height:19px;margin-left:auto;opacity:.8}.login-btn span{flex:1}.line-btn{background:linear-gradient(140deg,#09bd50,#079b41)}.telegram-btn{background:linear-gradient(140deg,#23adf3,#0b93d4)}.login-btn:hover,.channel-btn:hover{transform:translateY(-2px);box-shadow:inset 0 2px 0 #ffffff44,0 8px 18px #78658d26}.login-btn:active,.channel-btn:active{transform:translateY(1px)}
#code-box{margin-top:20px;border-top:1px solid var(--border)}#code-box summary{display:flex;justify-content:center;align-items:center;gap:13px;list-style:none;cursor:pointer;padding:17px 0 6px;color:var(--muted);font-size:14px}#code-box summary::-webkit-details-marker{display:none}#code-box summary svg{width:16px;height:16px;transition:transform .2s}#code-box[open] summary svg{transform:rotate(180deg)}.code-help{font-size:13px;color:var(--muted);line-height:1.6;margin:12px 0}#code-form label{font-size:12px;display:block;margin-bottom:6px}.code-input-row{display:flex;align-items:stretch;gap:8px}.code-input-row input{width:100%;min-width:0;border:1px solid #d9cce5;background:#fdfaff;border-radius:12px;padding:12px 14px;color:var(--ink);letter-spacing:2px;font-size:16px}.code-input-row button{display:grid;place-items:center;flex:0 0 48px;border:none;border-radius:12px;background:#8361bd;color:white}.code-input-row button:disabled{opacity:.5;cursor:wait}.iphone-link{display:flex;gap:8px;align-items:center;color:#8064a3!important;font-size:12px;margin-top:18px;text-decoration:none}.iphone-link span:nth-child(2){text-decoration:underline;text-underline-offset:3px}.iphone-link svg{width:19px;height:19px}.iphone-link span:last-child{margin-left:auto;font-size:21px}.error{background:#fff0f2;color:#99334d;border:1px solid #f2c4ce;padding:12px;border-radius:12px;font-size:14px;margin:0 0 14px}
.hero-art{align-self:stretch;position:relative;display:flex;align-items:center;justify-content:center;min-width:0}.art-halo{position:absolute;inset:15% -5% 8%;background:radial-gradient(ellipse,#eadbfcaa,transparent 69%);filter:blur(20px);z-index:-1}.hero-scene{width:122%;max-width:730px;height:auto;object-fit:contain;position:relative;left:-2%;animation:scene-float 6s ease-in-out infinite;will-change:transform;filter:drop-shadow(0 18px 22px #9b76b116)}.motion-toggle{position:absolute;bottom:0;right:10px;display:flex;align-items:center;gap:7px;background:#ffffffaa;border:1px solid #e7deec;border-radius:30px;padding:7px 12px;color:#877390;font-size:11px!important;z-index:3}.motion-mark{font-family:Arial,sans-serif;font-weight:700}.motion-toggle:hover{background:white}.motion-paused .hero-scene{animation-play-state:paused}@keyframes scene-float{0%,100%{transform:translateY(0) rotate(-.6deg)}50%{transform:translateY(-12px) rotate(.6deg)}}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);padding-block:48px 52px;gap:26px}.benefits article{display:flex;gap:20px;align-items:center;position:relative}.benefits article+article:before{content:'';position:absolute;left:-16px;height:62px;width:1px;background:#eae3f1}.benefits h2{font:700 21px/1.4 var(--heading-font);margin:0 0 7px}.benefits p{color:var(--muted);font-size:14px;line-height:1.7;margin:0}.benefit-icon{width:68px;height:74px;border-radius:23px;display:grid;place-items:center;flex-shrink:0;box-shadow:inset 1px 2px 0 #ffffffc9}.benefit-icon svg{width:33px;height:33px;stroke-width:2.6;filter:drop-shadow(0 3px 0 #ffffffaa)}.pink{color:#e873a3;background:#ffe7f1}.violet{color:#a18ae3;background:#f0eafd}.cyan{color:#20accd;background:#e2f7fd}
.channels{background:radial-gradient(ellipse at 8% 100%,#f9e0ee88,transparent 40%),radial-gradient(ellipse at 92% 70%,#e9e0ff99,transparent 40%),linear-gradient(180deg,#f7f2ff,#fcfaff);padding:62px 0 30px;border-radius:50% 50% 0 0/24px 24px 0 0}.channels h2{font:700 clamp(27px,3vw,40px)/1.4 var(--heading-font);text-align:center;letter-spacing:-.6px;margin:0 0 12px}.section-lead{text-align:center;font-size:16px;color:var(--muted);margin:0 0 38px}.channel-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.channel-card{display:grid;grid-template-columns:1fr 176px;align-items:center;gap:16px;background:#ffffffeb;padding:28px;border:1px solid #fff;border-radius:26px;box-shadow:0 10px 28px #77618b06}.channel-heading{display:flex;align-items:center;gap:12px}.channel-logo{display:grid;place-items:center;width:48px;height:50px;flex-shrink:0;border-radius:15px;color:white;box-shadow:inset 0 2px 0 #ffffff44,0 4px 9px #ad9abc22}.channel-logo svg{width:31px;height:31px}.line-bg{background:linear-gradient(145deg,#08c853,#009f37)}.telegram-bg{background:linear-gradient(145deg,#33b9fa,#0397db)}.channel-heading h3{font:700 19px/1.4 var(--heading-font);margin:0 0 3px;white-space:nowrap}.channel-id{font-size:15px;color:var(--muted);margin:0}.channel-description{font-size:15px;line-height:1.7;color:var(--muted);margin:22px 0 19px}.channel-btn{display:flex;justify-content:center;gap:12px;align-items:center;min-height:48px;border-radius:12px;text-decoration:none;font-size:15px;font-weight:700;color:#fff!important;transition:transform .2s,box-shadow .2s;box-shadow:inset 0 2px 0 #ffffff44;padding:10px 12px}.channel-btn svg{width:18px;height:18px}.qr-figure{margin:0;text-align:center;align-self:center}.qr-figure>a{display:flex;justify-content:center;align-items:center;border:1px solid #eae0f5;border-radius:17px;padding:8px;background:#fff;min-height:184px}.qr-figure img{display:block;width:100%;height:auto;object-fit:contain}.qr-figure .line-qr{width:154px;max-width:100%}.telegram-figure img{max-height:184px;width:auto;max-width:100%}.qr-figure figcaption{font-size:11px;color:var(--muted);margin-top:10px;white-space:nowrap}.channels footer{text-align:center;margin-top:58px;padding-bottom:12px}.footer-brand{font:700 34px/1 var(--heading-font);letter-spacing:-1px;text-decoration:none;position:relative}.brand-heart{font-size:17px;color:#ee69a4;position:absolute;top:-3px;right:-9px}.channels footer p{font-size:12px;color:#9986a7;margin:10px 0 0}.mobile-break{display:none}
@media(min-width:1500px){.hero{min-height:760px}.hero:before{inset:-105px calc((1184px - 100vw)/2) 0}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{min-height:650px;padding-top:28px}.hero h1{font-size:56px;letter-spacing:-2px}.hero-copy{padding-right:10px}.hero-lead{font-size:17px}.hero-scene{width:125%}.channel-card{grid-template-columns:1fr 135px;padding:22px;gap:12px}.channel-heading h3{font-size:16px}.channel-logo{width:40px;height:43px;border-radius:12px}.qr-figure>a{min-height:153px}.telegram-figure img{max-height:154px}.channel-btn{font-size:13px;padding:10px 8px}.benefits article{gap:13px}.benefits h2{font-size:18px}.benefit-icon{width:55px;height:64px}.benefits p{font-size:13px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.site-header{min-height:80px}.brand span{font-size:24px}.brand img{width:42px;height:42px}.brand small{font-size:10px}.site-header nav{gap:0}.site-header nav a{font-size:12px}.site-header nav a:first-child{display:none}.hero{display:flex;flex-direction:column;min-height:0;padding-top:0;padding-bottom:28px}.hero:before{inset:-80px -20px 0;background:radial-gradient(ellipse at 90% 14%,#e5eaffaa,transparent 48%),radial-gradient(ellipse at 12% 39%,#fce7f2bb,transparent 50%),#fdfbff}.hero-art{order:0;align-self:center;width:min(340px,85vw);height:290px;display:block;margin:0 auto 16px}.hero-scene{width:100%;height:100%;left:0;object-fit:contain;max-width:none}.hero-copy{order:1;padding-right:0;text-align:center;width:100%}.hero h1{font-size:clamp(37px,9.4vw,52px);line-height:1.25;letter-spacing:-1.5px;margin-bottom:16px}.hero h1 br{display:none}.hero h1 span{display:block}.hero-lead{font-size:15px;line-height:1.8;max-width:360px;margin:0 auto 24px}.desktop-break{display:none}.login-panel{text-align:left;width:100%;max-width:440px;margin:auto;padding:19px;border-radius:24px}.login-btn{min-height:55px;font-size:15px}.iphone-link{font-size:11px}.motion-toggle{right:0;bottom:0;font-size:10px!important;padding:5px 9px}.benefits{display:flex;flex-direction:column;gap:24px;max-width:390px;padding:34px 0 40px}.benefits article{gap:19px}.benefits article+article:before{display:none}.benefit-icon{width:59px;height:64px}.benefits h2{font-size:19px;margin:0 0 4px}.benefits p{font-size:14px}.benefits p br{display:none}.channels{padding-top:40px}.channels h2{font-size:29px;line-height:1.45}.mobile-break{display:block}.section-lead{font-size:14px;line-height:1.8;max-width:330px;margin:0 auto 25px}.channel-grid{grid-template-columns:1fr;gap:16px;max-width:460px;margin:auto}.channel-card{grid-template-columns:1fr 136px;padding:22px 20px;gap:14px}.channel-heading h3{font-size:16px}.channel-heading{gap:9px}.channel-id{font-size:13px}.channel-description{font-size:13px;margin:17px 0}.channel-logo{width:34px;height:38px;border-radius:11px}.channel-logo svg{width:25px;height:25px}.channel-btn{font-size:13px;min-height:43px;gap:6px}.qr-figure figcaption{font-size:10px}.channels footer{margin-top:38px}.footer-brand{font-size:30px}}
@media(max-width:370px){.wrap{width:calc(100% - 28px)}.hero-art{height:244px}.hero:before{inset:-80px -14px 0}.hero h1{font-size:37px}.hero-lead{font-size:14px}.channel-card{padding:18px 13px;gap:10px;grid-template-columns:1fr 117px}.channel-heading h3{font-size:14px}.channel-logo{display:none}.qr-figure>a{min-height:135px;padding:6px}.telegram-figure img{max-height:137px}.channel-btn{font-size:12px}.login-panel{padding:16px}.login-btn{font-size:14px}.iphone-link{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-scene{animation:none!important}.login-page *{transition:none!important}.motion-toggle{display:none}}

/* Keep decorative art inside the page and its intended stage. */
.login-page{overflow-x:clip}
@media(min-width:761px){.hero-art{height:570px;align-self:center}.hero-scene{height:100%;width:112%;max-width:none}.hero{min-height:700px}.hero:before{left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2)}}

@media(max-width:370px){.channel-heading h3{white-space:normal}.channel-card{grid-template-columns:1fr}.channel-logo{display:grid}.channel-description br{display:none}.channel-description{margin:12px 0}.qr-figure{width:170px;justify-self:center}.telegram-figure img{max-height:175px}.qr-figure>a{min-height:170px}.qr-figure .line-qr{width:154px}}
html{overflow-x:hidden}
/* จอแท็บเล็ต 761–960px: การ์ดช่องทางสองคอลัมน์แคบเกินจนล้นจอ → เรียงคอลัมน์เดียว */
.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:960px){.channel-grid{grid-template-columns:minmax(0,1fr);max-width:560px;margin:auto}}
.footer-links a{color:#7a5a8f;text-decoration:underline;text-underline-offset:3px}
/* เมนูหัวเว็บบนมือถือ: ลิงก์ที่เหลือหลังซ่อนลิงก์แรก ต้องมีระยะห่าง (เพิ่มลิงก์ /about 10 ต.ค. 2569) */
@media(max-width:760px){.site-header nav{gap:14px}}
@media(max-width:370px){.site-header nav{gap:10px}}
/* จอแคบมาก (320px): เมนูหดหรือขึ้นบรรทัดใหม่ได้ ไม่ดันหัวเว็บล้นจอ */
.site-header{gap:12px}.site-header nav{min-width:0;flex-wrap:wrap;justify-content:flex-end}.brand{flex-shrink:0}
@media(max-width:340px){.site-header nav{gap:2px 10px}.site-header nav a{padding:6px 0;text-align:right}.brand span{font-size:22px}.brand img{width:38px;height:38px}}

/* เปิดอยู่ในเบราว์เซอร์ในแอปแชท (ดีไซน์ v2 ชุด 2) */
.inapp-note { display: grid; gap: 6px; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid #f3dca4; background: #fff7e3; color: #5b3d00; font-size: 14px; text-align: left; }
.inapp-note strong { font-size: 15px; }
.inapp-note p { margin: 0; }
.inapp-open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border-radius: 13px; background: #a84077; color: #fff; font-weight: 700; text-decoration: none; }
.inapp-open:focus-visible { outline: 3px solid #9e3c73; outline-offset: 2px; }
