/* Homepage only: palette from the supplied violet/cyan reference. */
/* The homepage has no reveal observer; keep these content cards visible. */
body.hp-v2.hp-v3 .reveal{opacity:1!important;transform:none!important}
.home-auth-open{overflow:hidden!important}
.home-auth-popup[hidden]{display:none!important}
.home-auth-popup{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:16px;background:rgba(2,3,20,.82);backdrop-filter:blur(7px)}
.home-auth-dialog{position:relative;width:min(100%,520px);height:min(90dvh,850px);overflow:hidden;border:1px solid #905bff;border-radius:24px;background:#100b32;box-shadow:0 0 38px #753cff88}
.home-auth-dialog iframe{width:100%;height:100%;border:0;display:block}
.home-auth-close{position:absolute;top:12px;right:14px;z-index:2;width:38px;height:38px;border:1px solid #84eaff;border-radius:50%;background:#241168;color:#fff;font-size:27px;line-height:1;cursor:pointer}
@media(max-width:560px){.home-auth-popup{padding:8px}.home-auth-dialog{height:calc(100dvh - 16px);border-radius:18px}}
/* The iframe owns the form surface. Keep this wrapper invisible so the dialog
   never appears as a second card behind the authentication form. */
.home-auth-dialog{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.home-auth-dialog iframe{border-radius:22px;overflow:hidden;background:transparent}
.home-auth-close{top:-10px;right:-10px;box-shadow:0 8px 24px rgba(1,0,18,.46)}
@media(max-width:560px){.home-auth-dialog iframe{border-radius:18px}.home-auth-close{top:8px;right:8px}}
body.hp-v2.hp-v3{background:#090629!important;color:#f8f5ff!important;background-image:radial-gradient(circle at 50% 12%,#38127d 0,transparent 42%),linear-gradient(#090629,#100532)!important}
body.hp-v2.hp-v3 nav{background:rgba(12,8,45,.96)!important;border:1px solid #6645d3!important;box-shadow:0 0 22px #8b39f455!important;color:#fff!important}
body.hp-v2.hp-v3 nav .nav-link,body.hp-v2.hp-v3 nav .text-3xl{color:#fff!important}
body.hp-v2.hp-v3 nav .nav-link{white-space:nowrap!important;padding:8px 7px!important;font-size:14px!important}
body.hp-v2.hp-v3 nav .space-x-8{gap:4px!important}
body.hp-v2.hp-v3 nav .text-blue-300{color:#5de9ff!important}
body.hp-v2.hp-v3 nav .nav-link:first-child,body.hp-v2.hp-v3 nav .neon-button{background:linear-gradient(110deg,#6b23ec,#05bfff)!important;color:#fff!important;box-shadow:0 0 18px #3cb7ff88!important}
body.hp-v2.hp-v3 nav .border-blue-500{border-color:#9a58ff!important;color:#fff!important}
body.hp-v3 .hp-v3-hero{margin-top:18px}
body.hp-v3 .hp-v3-hero-frame{height:clamp(310px,34vw,480px);aspect-ratio:auto;border-color:#7a4def;background:#100238;box-shadow:0 0 30px #9630ff55}
body.hp-v3 .hp-v3-hero-image{object-fit:cover;object-position:center 18%;width:100%;height:100%}
body.hp-v3 .hp-v3-domain{position:absolute;z-index:3;top:80%;left:27%;right:11%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;color:#fff;font-size:clamp(16px,2.3vw,34px);font-weight:800;letter-spacing:.03em;line-height:1;text-align:center;text-shadow:0 0 6px #fff,0 0 14px #38dfff,0 0 24px #a52cff;pointer-events:none;white-space:nowrap}
body.hp-v3 .hp-v3-hero-copy{left:30%;right:11%;top:67%;bottom:auto;transform:none;align-items:center;text-align:center;gap:2px}
body.hp-v3 .hp-v3-hero-copy span{font-size:clamp(15px,2.1vw,30px);line-height:1.2}
body.hp-v3 .hp-v3-hero-copy strong{font-size:clamp(16px,2.5vw,36px);line-height:1.2;color:#fff!important}
body.hp-v3 .hp-v3-hero-button{margin-top:8px;font-size:clamp(13px,1.25vw,19px);background:linear-gradient(110deg,#ae23f0,#087dff 65%,#04dcff);box-shadow:0 0 18px #ae36ffb3;border:1px solid #80f7ff}
body.hp-v2.hp-v3 .hp-v2-actions,body.hp-v2.hp-v3 .hp-lottery-links,body.hp-v2.hp-v3 section.py-24,body.hp-v2.hp-v3 .hp-promo-strip{background:transparent!important}
body.hp-v2.hp-v3 .hp-v2-action-card{background:linear-gradient(145deg,#21115d,#0b1e5b)!important;border:1px solid #634de1;color:#fff;box-shadow:inset 0 1px #9c70ff77,0 8px 22px #0007}
body.hp-v2.hp-v3 .hp-v2-action-card span{color:#48dcff}body.hp-v2.hp-v3 .hp-v2-action-card small{color:#c3bdeb}
body.hp-v2.hp-v3 .hp-lottery-links .hp-home-width{display:block!important;overflow:visible!important}
.hp-lottery-title{margin:4px 0 15px}.hp-lottery-title h2{font-size:26px;font-weight:800;color:#fff}.hp-lottery-title p{color:#bcb4ef;margin:2px 0 0}
.hp-lottery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.hp-v2.hp-v3 .hp-lottery-chip{position:relative;min-width:0!important;min-height:205px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:12px!important;background:radial-gradient(circle at 50% 20%,#5434ba,#1b1157 65%,#0b1544)!important;border:1px solid #8265ee;box-shadow:inset 0 1px #e7a6ff88,0 0 18px #5d45ff66;color:#fff;overflow:hidden}
body.hp-v2.hp-v3 .hp-lottery-chip:before{content:"";position:absolute;inset:auto 12% 0;height:2px;background:linear-gradient(90deg,transparent,#20dfff,#ea3aff,transparent)}
body.hp-v2.hp-v3 .hp-lottery-chip img{height:112px;max-width:100%;object-fit:contain;filter:drop-shadow(0 0 13px #12baff77)}
body.hp-v2.hp-v3 .hp-lottery-chip strong{font-size:20px;flex:none;text-shadow:0 0 8px #a940ff}
body.hp-v2.hp-v3 .hp-lottery-chip span{font-size:12px;color:#84edff}body.hp-v2.hp-v3 .hp-lottery-chip span i{font-size:10px;border:0;padding:0}
body.hp-v2.hp-v3 section.py-24 .glass-card{background:linear-gradient(145deg,#1a114f,#0d103a)!important;border:1px solid #6145c3!important;color:#f8f5ff!important;box-shadow:0 8px 22px #0006!important}
body.hp-v2.hp-v3 section.py-24 h3,body.hp-v2.hp-v3 section.py-24 h4,body.hp-v2.hp-v3 section.py-24 .text-white{color:#fff!important}
body.hp-v2.hp-v3 section.py-24 .text-gray-400,body.hp-v2.hp-v3 section.py-24 .text-gray-500{color:#bcb4e2!important}
body.hp-v2.hp-v3 section.py-24 .bg-white\/5{background:#251c65!important;border-color:#5945ae!important}
body.hp-v2.hp-v3 section.py-24 .big-number{background:linear-gradient(180deg,#fff,#82eaff,#b53fff)!important;-webkit-background-clip:text!important}
body.hp-v2.hp-v3 .hp-section-heading h2{color:#fff}body.hp-v2.hp-v3 .hp-section-heading p{color:#bcb4e2}body.hp-v2.hp-v3 .hp-section-icon{background:#27146b;border-color:#994eff;color:#5de9ff}body.hp-v2.hp-v3 .hp-outline-link{color:#fff;border-color:#994eff}
body.hp-v2.hp-v3 .hp-promo-grid a{border-color:#824ced;box-shadow:0 0 18px #813cf255}
body.hp-v2.hp-v3 .hp-promo-grid .hp-neon-promo{display:flex;align-items:center;gap:18px;min-height:142px;padding:18px 24px;background:linear-gradient(120deg,#241060,#10215d);color:#fff}
body.hp-v2.hp-v3 .hp-neon-promo img{width:78px;height:106px;object-fit:contain;flex:none}
body.hp-v2.hp-v3 .hp-neon-promo span{display:flex;flex:1;flex-direction:column;gap:3px}body.hp-v2.hp-v3 .hp-neon-promo b{font-size:22px}body.hp-v2.hp-v3 .hp-neon-promo small{color:#b5dcff}body.hp-v2.hp-v3 .hp-neon-promo>i{color:#56ebff}
body.hp-v2.hp-v3 footer{background:#080623!important;color:#fff!important;border-top:1px solid #6435ba}body.hp-v2.hp-v3 footer .text-gray-500{color:#bcb4e2!important}
@media(max-width:900px){body.hp-v3 .hp-v3-hero-frame{height:clamp(250px,44vw,390px);aspect-ratio:auto}body.hp-v3 .hp-v3-domain{top:66%;left:27%;right:11%}body.hp-v3 .hp-v3-hero-copy{left:30%;right:11%;top:62%;bottom:auto;transform:none}body.hp-v3 .hp-v3-hero-button{margin-top:8px}body.hp-v2.hp-v3 .hp-lottery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body.hp-v3 .hp-v3-hero{width:calc(100% - 16px);margin-top:10px}body.hp-v3 .hp-v3-hero-frame{height:auto;aspect-ratio:auto;overflow:visible;border:0;background:transparent;box-shadow:none}body.hp-v3 .hp-v3-hero-image{height:auto;aspect-ratio:1774/887;object-fit:contain;border-radius:16px;border:1px solid #7a4def}body.hp-v3 .hp-v3-hero-copy{position:relative;left:auto;right:auto;top:auto;bottom:auto;margin-top:8px;padding:14px;background:linear-gradient(120deg,#251166,#15104b);border:1px solid #7049d1;border-radius:16px}body.hp-v3 .hp-v3-hero-copy span{font-size:17px}body.hp-v3 .hp-v3-hero-copy strong{font-size:20px}body.hp-v3 .hp-v3-hero-button{font-size:14px;margin-top:8px}body.hp-v2.hp-v3 .hp-lottery-links .hp-home-width{display:block!important}body.hp-v2.hp-v3 .hp-lottery-grid{gap:9px}body.hp-v2.hp-v3 .hp-lottery-chip{min-height:170px;padding:9px!important}body.hp-v2.hp-v3 .hp-lottery-chip img{height:94px}body.hp-v2.hp-v3 .hp-lottery-chip strong{font-size:16px}.hp-lottery-title h2{font-size:21px}.hp-lottery-title p{font-size:12px}}

/* Final public-home polish: consistent white result numbers and equal promo tiles. */

body.hp-v2.hp-v3 .hp-model-gallery{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
body.hp-v2.hp-v3 .hp-model-gallery img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;border:1px solid #824ced;border-radius:18px;box-shadow:0 0 18px #813cf255}
@media(max-width:900px){body.hp-v2.hp-v3 .hp-model-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:560px){body.hp-v3 .hp-v3-domain{top:60%;left:27%;right:11%;font-size:clamp(12px,4vw,19px);letter-spacing:0}}

/* Keep the supplied hero artwork clean: the domain stays in its neon slot and the marketing copy sits below it. */
body.hp-v3 .hp-v3-hero-copy{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:100%;margin:8px auto 0;padding:14px 18px;align-items:center;text-align:center;gap:2px;border:1px solid #7049d1;border-radius:16px;background:linear-gradient(120deg,#251166,#15104b);text-shadow:0 2px 12px rgba(0,0,0,.5)}
body.hp-v3 .hp-v3-hero-copy span{font-size:clamp(17px,2.1vw,30px);line-height:1.2}
body.hp-v3 .hp-v3-hero-copy strong{font-size:clamp(20px,2.5vw,36px);line-height:1.2;color:#fff!important}
@media(min-width:901px){body.hp-v3 .hp-v3-hero-copy{width:min(100%,1480px);padding:18px 24px;border-radius:20px}body.hp-v3 .hp-v3-domain{top:80%}}
@media(max-width:900px){body.hp-v3 .hp-v3-hero-copy{margin-top:8px;padding:14px;border-radius:16px}body.hp-v3 .hp-v3-hero-copy span{font-size:17px}body.hp-v3 .hp-v3-hero-copy strong{font-size:20px}}

/* First-fold polish: keep the artwork prominent without making the page feel oversized. */
@media(min-width:901px){body.hp-v3 .hp-v3-hero-frame{height:clamp(300px,31vw,430px)}}
body.hp-v2.hp-v3 .hp-v2-actions{padding:18px 16px 12px!important}
.hp-trust-strip{padding:4px 16px 28px;background:transparent}
.hp-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hp-trust-card{display:flex;align-items:center;gap:12px;min-height:74px;padding:14px 16px;border:1px solid #5e47ca;border-radius:16px;background:linear-gradient(145deg,#21145f,#101143);box-shadow:inset 0 1px rgba(255,255,255,.1),0 8px 22px rgba(0,0,0,.2)}
.hp-trust-card>i{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #5a68df;border-radius:12px;background:#191965;color:#58eaff;font-size:17px;box-shadow:0 0 12px rgba(42,211,255,.18)}
.hp-trust-card div{display:grid;gap:2px;min-width:0}.hp-trust-card strong{color:#fff;font-size:15px;line-height:1.2}.hp-trust-card small{color:#bdb6e7;font-size:11px;line-height:1.35}
@media(max-width:900px){.hp-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hp-trust-card{min-height:68px;padding:11px}.hp-trust-card strong{font-size:14px}.hp-trust-card small{font-size:10px}}
@media(max-width:560px){.hp-trust-strip{padding:4px 10px 22px}.hp-trust-card{gap:8px;border-radius:13px}.hp-trust-card>i{width:32px;height:32px;border-radius:10px;font-size:14px}.hp-trust-card strong{font-size:12px}.hp-trust-card small{font-size:9px}}

/* Results and lottery cards: clear hierarchy, calmer spacing, stronger scanability. */
body.hp-v2.hp-v3 #latest-results{padding-top:64px!important;padding-bottom:64px!important;background:linear-gradient(180deg,#0a062d,#10063a)!important}
body.hp-v2.hp-v3 #latest-results .hp-results-card{position:relative;border:1px solid #7655e5!important;background:linear-gradient(145deg,#20135f,#0e103b)!important;box-shadow:0 14px 34px #0007,0 0 24px #7e37ff24!important}
body.hp-v2.hp-v3 #latest-results .hp-results-card h3{margin:0;color:#fff!important;font-size:clamp(24px,3vw,34px)!important}
.hp-results-subtitle{margin:3px 0 0;color:#bbb2e7;font-size:12px}
.hp-results-more{display:inline-flex;align-items:center;gap:7px;margin:-16px 0 14px;color:#75eaff;font-size:13px;font-weight:700;text-decoration:none}
.hp-results-more:hover{color:#fff;text-shadow:0 0 10px #36ddff}
body.hp-v2.hp-v3 .hp-lottery-links{padding-top:32px!important;padding-bottom:34px!important}
body.hp-v2.hp-v3 .hp-lottery-title{display:flex;align-items:end;justify-content:space-between;gap:16px}
body.hp-v2.hp-v3 .hp-lottery-title h2{margin:0;font-size:clamp(24px,3vw,34px);text-shadow:0 0 14px #a840ff55}
body.hp-v2.hp-v3 .hp-lottery-title p{margin:4px 0 0;color:#bdb5e8}
body.hp-v2.hp-v3 .hp-lottery-chip{min-height:190px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
body.hp-v2.hp-v3 .hp-lottery-chip:hover{transform:translateY(-5px);border-color:#4deaff;box-shadow:inset 0 1px #fff8,0 0 24px #32cfff55}
@media(max-width:560px){body.hp-v2.hp-v3 #latest-results{padding-top:42px!important;padding-bottom:44px!important}.hp-results-subtitle{font-size:10px}.hp-results-more{margin:-10px 0 10px}.hp-lottery-title{display:block!important}.hp-lottery-title h2{font-size:22px!important}}

.hp-member-cta{padding:8px 16px 34px;background:transparent}
.hp-member-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;border:1px solid #6049cd;border-radius:20px;background:linear-gradient(110deg,#21105e,#101747);box-shadow:inset 0 1px #fff2,0 12px 28px #0004}
.hp-member-kicker{color:#63eaff;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.hp-member-cta h2{margin:3px 0 2px;color:#fff;font-size:clamp(20px,2.6vw,30px)}.hp-member-cta p{margin:0;color:#c0b8e8;font-size:13px}
.hp-member-cta-actions{display:flex;align-items:center;gap:10px;flex:none}.hp-member-cta-actions .hp-v3-hero-button{margin:0;padding:11px 23px;font-size:14px}.hp-member-outline{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border:1px solid #7863eb;border-radius:999px;color:#fff;font-weight:800;font-size:14px;text-decoration:none;background:#21155f}
.hp-member-outline:hover{border-color:#45e8ff;color:#8cf4ff}
body.hp-v2.hp-v3 .hp-promo-strip{padding-top:46px!important;padding-bottom:50px!important}
body.hp-v2.hp-v3 .hp-section-heading{margin-bottom:18px!important}.hp-section-heading h2{font-size:clamp(23px,3vw,32px)!important}.hp-section-heading p{color:#beb5e7!important}
body.hp-v2.hp-v3 .hp-neon-promo{min-height:132px!important;border-radius:18px!important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
body.hp-v2.hp-v3 .hp-neon-promo:hover{transform:translateY(-4px);border-color:#47e7ff!important;box-shadow:0 0 24px #4b35ff66!important}
body.hp-v2.hp-v3 footer{padding-top:42px!important;padding-bottom:100px!important}
body.hp-v2.hp-v3 footer a:hover{color:#62eaff!important}
@media(max-width:700px){.hp-member-cta-inner{display:grid;padding:18px;gap:15px}.hp-member-cta-actions{width:100%}.hp-member-cta-actions>*{flex:1}.hp-member-cta p{font-size:11px}.hp-member-cta{padding-inline:10px}.hp-member-cta-actions .hp-v3-hero-button,.hp-member-outline{font-size:12px;padding:10px 12px}}

/* Live draw availability and result frame match the violet/cyan homepage. */
.hp-open-draws{padding:26px 16px 42px;background:transparent}
.hp-open-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
.hp-open-head h2{margin:0;color:#fff;font-size:clamp(22px,3vw,30px);font-weight:900}
.hp-open-head p{margin:3px 0 0;color:#c5baf0}
.hp-open-head>a{color:#81eaff;font-weight:800;white-space:nowrap}
.hp-open-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hp-open-card,.hp-open-empty{padding:20px;border:1px solid #8056ee;border-radius:20px;background:linear-gradient(140deg,#281374,#11205d);box-shadow:inset 0 1px #a789ff80,0 0 18px #7236ed38;color:#fff}
.hp-open-card{display:flex;flex-direction:column;gap:8px;min-height:145px}.hp-open-card strong{font-size:20px}.hp-open-card span{color:#c8c2f2}.hp-open-card b{margin-top:auto;color:#74eaff}
.hp-open-empty{grid-column:1/-1;margin:0;text-align:center;color:#d2cbf5}
body.hp-v2.hp-v3 #latest-results .hp-results-card{position:relative;isolation:isolate;overflow:hidden;border:2px solid #ad40ff!important;background:radial-gradient(circle at 50% 0%,#5122a8 0%,#1b125c 48%,#101045 100%)!important;box-shadow:0 0 0 1px #32dcff9c,0 0 28px #ae28ff72,inset 0 0 30px #7410cf55!important}
body.hp-v2.hp-v3 #latest-results .hp-results-card:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#05ddff,#b32bff,#f442e6,#05ddff);box-shadow:0 0 20px #b32bff}


body.hp-v2.hp-v3 #latest-results .hp-results-card .bg-white\/5{border:1px solid #7652d8!important;background:#241764!important;box-shadow:inset 0 1px #c287ff3d}
@media(max-width:800px){.hp-open-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hp-open-draws{padding:18px 14px 28px}.hp-open-grid{grid-template-columns:1fr}.hp-open-head{align-items:start}.hp-open-head>a{font-size:12px}.hp-open-card{min-height:115px}body.hp-v2.hp-v3 #latest-results .hp-results-card{padding:22px!important}}

/* Clear typography, correctly sized brand, and consistent real icons. */
body.hp-v2.hp-v3{font-family:"Kanit","Noto Sans Thai",system-ui,sans-serif!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.hp-v2.hp-v3 .neon-text,body.hp-v2.hp-v3 .hp-lottery-chip strong{text-shadow:none!important}
body.hp-v2.hp-v3 nav>div{padding-inline:18px!important}
body.hp-v2.hp-v3 .hp-brand{flex:0 0 auto;min-width:238px;gap:10px!important}
body.hp-v2.hp-v3 .hp-brand-mark{display:grid;place-items:center;width:62px;height:62px;flex:0 0 62px}
body.hp-v2.hp-v3 .hp-brand-mark>img{width:62px!important;height:62px!important;max-width:none;object-fit:contain;animation:none!important;filter:drop-shadow(0 0 9px rgba(45,203,255,.5))}
body.hp-v2.hp-v3 .hp-brand-copy{min-width:154px;white-space:nowrap}
body.hp-v2.hp-v3 .hp-brand-copy .text-3xl{font-size:24px!important;line-height:1!important;letter-spacing:-.035em!important}
body.hp-v2.hp-v3 .hp-brand-copy .text-\[10px\]{font-size:9px!important;letter-spacing:.12em!important;margin-top:5px}
body.hp-v2.hp-v3 nav .hidden.md\:flex{gap:2px!important}
body.hp-v2.hp-v3 nav .nav-link{display:flex;align-items:center;gap:7px;padding:9px 10px!important;font-weight:600!important;line-height:1.15}
body.hp-v2.hp-v3 nav .nav-link i{width:18px;margin:0!important;text-align:center;color:#53dfff!important;font-size:16px}
body.hp-v2.hp-v3 nav .space-x-4{gap:8px!important;white-space:nowrap}
body.hp-v2.hp-v3 nav .space-x-4>a{margin:0!important;white-space:nowrap;line-height:1.15}
body.hp-v2.hp-v3 .hp-v2-action-card span{display:grid;place-items:center;width:48px;height:48px;margin-inline:auto;border:1px solid #695be3;border-radius:15px;background:#191657;color:#62e8ff!important;font-size:22px;box-shadow:inset 0 1px #a684ff66}
body.hp-v2.hp-v3 .hp-v2-action-card strong{font-weight:700;letter-spacing:0}
body.hp-v2.hp-v3 .hp-v2-action-card small{font-weight:400;line-height:1.45}
@media(max-width:1360px){body.hp-v2.hp-v3 nav .hidden.md\:flex .nav-link:nth-last-child(-n/**/+2){display:none}}
@media(max-width:1050px){body.hp-v2.hp-v3 .hp-brand{min-width:205px}body.hp-v2.hp-v3 .hp-brand-copy{min-width:122px}body.hp-v2.hp-v3 .hp-brand-copy .text-3xl{font-size:20px!important}body.hp-v2.hp-v3 nav .nav-link{padding-inline:7px!important;font-size:13px!important}}
@media(max-width:900px){body.hp-v2.hp-v3 .hp-brand{min-width:0}body.hp-v2.hp-v3 .hp-brand-mark{width:50px;height:50px;flex-basis:50px}body.hp-v2.hp-v3 .hp-brand-mark>img{width:50px!important;height:50px!important}body.hp-v2.hp-v3 .hp-brand-copy{min-width:116px}body.hp-v2.hp-v3 .hp-brand-copy .text-3xl{font-size:18px!important}body.hp-v2.hp-v3 .hp-brand-copy .text-\[10px\]{font-size:7px!important}}
@media(max-width:560px){body.hp-v2.hp-v3 nav>div{padding-inline:10px!important}body.hp-v2.hp-v3 .hp-brand-copy{display:none!important}body.hp-v2.hp-v3 .hp-brand-mark{width:54px;height:54px;flex-basis:54px}body.hp-v2.hp-v3 .hp-brand-mark>img{width:54px!important;height:54px!important}body.hp-v2.hp-v3 nav .space-x-4>a{padding:8px 11px!important;font-size:11px!important}}

/* Supplied result mockup image with live API values placed in its blank panels. */
body.hp-v2.hp-v3 #latest-results .hp-results-card{padding:24px!important}












@media(max-width:1023px){body.hp-v2.hp-v3 #latest-results .hp-results-card{width:min(100%,620px);margin-inline:auto}}
@media(max-width:560px){body.hp-v2.hp-v3 #latest-results .hp-results-card{padding:12px!important}}

/* Values scale from the frame width, including inside narrow desktop columns. */
.hp-results-layout{display:grid;grid-template-columns:minmax(330px,1fr) minmax(0,1.35fr);align-items:start;gap:24px}
body.hp-v2.hp-v3 #latest-results .hp-results-card{min-width:0;width:100%!important;align-self:start}
.hp-model-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.hp-model-gallery>img{display:block;width:100%;height:auto;aspect-ratio:1 / 1;object-fit:cover;object-position:center;border:1px solid #8653e2;border-radius:22px;background:#170d48;box-shadow:0 0 24px #7d30ff44}
.hp-model-gallery>img:first-child{margin-top:0}














@media(max-width:1050px){.hp-results-layout{grid-template-columns:minmax(280px,.85fr) minmax(0,1.3fr);gap:18px}.hp-model-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-model-gallery>img:first-child{margin:0}.hp-model-gallery>img:nth-child(2){display:block}}
@media(max-width:700px){.hp-results-layout{grid-template-columns:1fr}.hp-model-gallery{grid-template-columns:1fr 1fr;gap:10px}.hp-model-gallery>img:nth-child(2){display:block}.hp-model-gallery>img{border-radius:15px}}

/* Result data is laid out directly, without an image frame or absolute positioning. */
.hp-result-display{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;font-family:'Noto Sans Thai','Kanit',sans-serif}
.hp-result-date{grid-column:1/-1;font-size:13px;color:var(--hp-muted);text-align:center;line-height:1.6}
.hp-result-first,.hp-result-cell,.hp-result-back{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;padding:18px 10px;border:1px solid var(--hp-line);border-radius:14px;background:var(--hp-surface)}
.hp-result-first,.hp-result-back{grid-column:1/-1}
.hp-result-first{border-color:var(--hp-line-strong);background:var(--hp-surface-2)}
.hp-result-display span{color:var(--hp-muted);font-size:13px;font-weight:500}
.hp-result-display strong{color:#fff;-webkit-text-fill-color:#fff;font-family:inherit;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.25;letter-spacing:.03em}
.hp-result-first strong{font-size:clamp(38px,4vw,52px)}
.hp-result-cell strong{font-size:28px}
.hp-result-front strong,.hp-result-back strong{font-size:24px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px}
.hp-result-display strong>span{color:inherit;font-size:inherit;font-weight:inherit}
body.hp-v2.hp-v3 .hp-home-gallery .hp-model-gallery img{object-fit:contain!important}
