*{box-sizing:border-box}
html,body{margin:0;background:#120C2E}
body{color:#F5F3FA;font-family:'IBM Plex Sans Thai',Tahoma,sans-serif;display:flex;justify-content:center}
#app{width:100%;max-width:440px;min-height:100vh;background:radial-gradient(120% 60% at 50% 18%,#4B2FB8 0%,#24176A 45%,#120C2E 80%) #120C2E;display:flex;flex-direction:column}
.demo{background:#F2C94C;color:#120C2E;text-align:center;font-size:12px;font-weight:600;padding:6px 12px}
.scr{flex:1;display:flex;flex-direction:column;gap:14px;padding:18px 22px 26px}
.top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.lang{display:flex;padding:3px;gap:2px;border-radius:999px;background:rgba(18,12,46,.8)}
.lang button{min-width:44px;height:36px;border:none;border-radius:999px;font:600 13px inherit;font-family:inherit;background:transparent;color:#F5F3FA;cursor:pointer}
.lang button[aria-pressed="true"]{background:#B8F03C;color:#120C2E}
.k{font-family:Kanit,sans-serif;font-style:italic}
.tag{align-self:flex-start;transform:skewX(-12deg);background:#B8F03C;color:#120C2E;padding:3px 14px;font-family:Kanit,sans-serif;font-weight:700;font-style:italic;font-size:14px}
h1{margin:0;font-family:Kanit,sans-serif;font-weight:800;font-style:italic;line-height:1.05}
.lime{color:#B8F03C}
.muted{color:#C9C2E8;font-size:13px}
p{margin:0}
.hero{position:relative;height:300px;margin:0 -22px -10px}
.hero img{width:100%;height:300px;object-fit:cover;object-position:center 30%;display:block}
.hero .fade{position:absolute;left:0;right:0;bottom:0;height:110px;background:linear-gradient(180deg,rgba(18,12,46,0),#120C2E)}
.hero .bar{position:absolute;top:14px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center}
.chip{padding:6px 12px;border-radius:8px;background:rgba(18,12,46,.75);font-size:13px;font-weight:600}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hud{position:relative;display:flex;align-items:center;gap:10px;padding:8px;background:rgba(42,31,102,.85);border:1px solid #4A3C96;border-radius:6px}
.hud::before,.hud::after{content:'';position:absolute;width:14px;height:14px;border:0 solid #B8F03C}
.hud::before{top:-2px;left:-2px;border-width:3px 0 0 3px}.hud::after{bottom:-2px;right:-2px;border-width:0 3px 3px 0}
.hud img{width:52px;height:52px;object-fit:cover;border-radius:4px;flex:none}
.cta{display:flex;justify-content:center;align-items:center;height:56px;width:100%;border:none;background:#B8F03C;color:#120C2E;text-decoration:none;font-family:Kanit,sans-serif;font-weight:800;font-style:italic;font-size:21px;cursor:pointer;clip-path:polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%)}
.cta[disabled]{background:#4A3C96;color:#C9C2E8;cursor:not-allowed}
.ghost{height:48px;width:100%;border:1px solid #B8F03C;background:transparent;color:#F5F3FA;font:600 15px inherit;font-family:inherit;border-radius:6px;cursor:pointer}
.back{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:8px;background:rgba(42,31,102,.9);border:none;cursor:pointer}
label.f{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.fld{width:100%;height:48px;padding:0 14px;border-radius:6px;border:1px solid #5A4BA8;background:rgba(18,12,46,.75);color:#F5F3FA;font:inherit;font-size:16px}
.fld::placeholder{color:#9C93C4}
fieldset{margin:0;padding:0;border:none;display:flex;flex-direction:column;gap:8px}
legend{font-size:14px;font-weight:600;margin-bottom:8px}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.opt{min-height:40px;padding:0 12px;border-radius:6px;font:13px inherit;font-family:inherit;border:1px solid #5A4BA8;background:rgba(18,12,46,.75);color:#F5F3FA;cursor:pointer}
.opt[aria-pressed="true"]{border-color:#B8F03C;background:#B8F03C;color:#120C2E;font-weight:600}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:#D9D4F0}
.consent input{width:20px;height:20px;margin-top:2px;accent-color:#B8F03C;flex:none}
.err{color:#FFB4B4;font-size:13px;min-height:18px}
.card{align-self:center;width:270px;padding:18px;border:3px solid #B8F03C;background:linear-gradient(160deg,#6A4BE0 0%,#3A2492 45%,#1C1050 100%);clip-path:polygon(0 0,100% 0,100% 88%,50% 100%,0 88%);display:flex;flex-direction:column;align-items:center;gap:10px;padding-bottom:46px}
.avatar{width:110px;height:110px;border-radius:50%;border:3px solid #F5F3FA;background:#2A1F66;display:flex;align-items:center;justify-content:center;font-family:Kanit,sans-serif;font-style:italic;font-weight:800;font-size:44px;color:#B8F03C}
.kvl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;font-size:13px;width:100%}
.kvl span:nth-child(even){text-align:right;font-weight:600}
.qrbox{display:flex;gap:14px;align-items:center;padding:14px;background:rgba(42,31,102,.9);border:1px solid #5A4BA8;border-radius:8px}
.qrbox .q{padding:8px;background:#F5F3FA;border-radius:6px;flex:none;line-height:0}
.qrbox .q svg{width:104px;height:104px}
.bars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.bars div{height:8px;transform:skewX(-20deg);background:#2A1F66}.bars div.on{background:#B8F03C}
.mis{display:flex;align-items:center;gap:12px;padding:8px;border-radius:8px;text-align:left;font-family:inherit;color:#F5F3FA;background:rgba(28,20,70,.88);border:1px solid #4A3C96;width:100%;cursor:pointer}
.mis.on{background:rgba(56,40,130,.92);border-color:#B8F03C}
.mis img{width:72px;height:54px;object-fit:cover;border-radius:4px;flex:none}
.mis .t{flex:1;display:flex;flex-direction:column;gap:2px}
.mis .dot{width:34px;height:34px;flex:none;border-radius:50%;border:2px dashed #6E62A8;display:flex;align-items:center;justify-content:center}
.mis.on .dot{border:none;background:#B8F03C}
.wheelwrap{position:relative;align-self:center;width:320px;height:320px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,rgba(184,240,60,.28) 0%,rgba(91,63,209,.25) 45%,rgba(18,12,46,0) 70%)}
.wheel{width:290px;height:290px;border-radius:50%;border:6px solid #B8F03C;overflow:hidden;transition:transform 3s cubic-bezier(.15,.8,.2,1)}
.wheel svg{width:100%;height:100%;display:block}
.pin{position:absolute;top:2px;left:149px;z-index:2}
.ballc{position:absolute;width:88px;height:88px;border-radius:50%;object-fit:cover;border:4px solid #120C2E}
.prize{align-self:center;width:150px;height:150px;border:2px dashed #B8F03C;border-radius:12px;background:rgba(42,31,102,.9);display:flex;align-items:center;justify-content:center;text-align:center;font-family:Kanit,sans-serif;font-style:italic;font-weight:800;font-size:44px;color:#B8F03C}
.tour{padding:16px;background:#5B3FD1;border-radius:8px;display:flex;flex-direction:column;gap:8px}
.tour a{display:flex;justify-content:center;align-items:center;height:46px;background:#B8F03C;color:#120C2E;font-weight:600;font-size:16px;text-decoration:none;border-radius:6px}
.foot{border-top:1px solid #3A2F7A;padding-top:10px;text-align:center;font-size:12px;letter-spacing:.5px;color:#B9B2D9}
.sp{flex:1}
.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar.sm{width:44px;height:44px;font-size:18px;border-width:2px}
.photo{display:flex;align-items:center;gap:14px}
.photo .avatar{width:88px;height:88px;flex:none;font-size:0;border:2px dashed #B8F03C}
.pbtns{display:flex;flex-direction:column;gap:8px;flex:1}
.pbtn{display:flex;align-items:center;justify-content:center;width:100%;font-size:14px;font-weight:600;cursor:pointer}
.kv{position:relative;margin:0 -22px -16px;display:flex;flex-direction:column;align-items:center}
.kv .el{position:absolute;top:40px;left:0;width:100%;opacity:.55;pointer-events:none}
.kv .logo{position:relative;width:62%;max-width:250px;z-index:2;filter:drop-shadow(0 4px 12px rgba(0,0,0,.5))}
.kv .ban{position:relative;width:100%;margin-top:-6px;z-index:1;display:block}
.kv .fade{position:absolute;left:0;right:0;bottom:0;height:70px;z-index:1;background:linear-gradient(180deg,rgba(18,12,46,0),#120C2E)}
.tagline{width:100%;display:block;position:relative;z-index:2}
.foot img{width:100%;display:block}
.modal{position:fixed;inset:0;z-index:20;background:rgba(8,5,22,.78);display:flex;align-items:center;justify-content:center;padding:16px}
.mbox{width:100%;max-width:360px;background:#1C1446;border:2px solid #B8F03C;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:10px}
