@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--base:#100b1b;--panel:#1b132a;--line:#3d2c4d;--gold:#edc979;--muted:#c0b1cd;--light:#f9f3ff;--width:1200px}*{box-sizing:border-box}body{margin:0;background:var(--base);color:var(--light);font:16px/1.75 Outfit,'Noto Sans Thai',sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}img{display:block;width:100%;object-fit:cover}button,input,select{font:inherit}button,summary{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.wrap{width:min(var(--width),calc(100% - 64px));margin-inline:auto}.top{position:relative;z-index:2;background:#140e21;border-bottom:1px solid #372648}.bar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;font-size:22px;font-weight:800;letter-spacing:-.03em}.brand b{color:var(--gold)}.brand img{width:43px;height:43px}.links,.actions{display:flex;align-items:center;gap:20px;font-size:14px;white-space:nowrap}.links details{position:relative}.links summary{list-style:none}.links summary::-webkit-details-marker{display:none}.links summary::after{content:'⌄';margin-left:6px;color:var(--gold)}.dropdown{position:absolute;padding:10px;top:32px;background:var(--panel);border:1px solid var(--line);border-radius:12px;min-width:170px}.dropdown a{display:block;padding:6px 12px}.button,.lang{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:8px 15px;border:1px solid var(--line);font-weight:700;white-space:nowrap}.button.primary{color:#211509;border-color:#edc979;background:linear-gradient(120deg,#f4d998,#cea455)}.lang{padding-inline:10px;color:var(--gold)}.hero{position:relative;overflow:hidden;margin:26px auto 34px;min-height:400px;border-radius:22px;border:1px solid #50375e;background:radial-gradient(ellipse at 80% 45%,#563487,#201032 50%,#170d26 75%);display:flex;align-items:center}.hero img{position:absolute;inset:0;height:100%;object-position:right center}.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#180e27 4%,#180e27ef 30%,#180e2766 55%,transparent 85%)}.hero-text{position:relative;z-index:1;padding:42px 54px;width:min(650px,100%)}.eyebrow,.meta{color:var(--gold);font-size:14px;font-weight:600}.hero h1{font-size:clamp(36px,5.3vw,74px);line-height:1.17;margin:10px 0 15px;letter-spacing:-.055em}.hero h1 span{display:block;color:var(--gold)}.hero p{color:#e3d4ef;max-width:430px;margin:0 0 24px}.section{margin-block:34px 58px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}.section-head h2,.section h2{margin:0;font-size:clamp(23px,3.6vw,34px)}.section-head a{color:var(--gold);font-size:14px}.categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.category{border:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,#231735,#191224);display:flex;align-items:center;gap:10px;padding:16px 11px;min-height:80px}.category:hover,.card:hover{border-color:#b5915e}.flag{display:grid;place-items:center;border:1px solid #674d78;background:#302041;color:var(--gold);font-size:20px;border-radius:9px;width:44px;height:44px;flex:none}.category strong{display:block;line-height:1.4;font-size:15px}.category small{display:block;color:var(--muted);font-size:12px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{display:flex;flex-direction:column;overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:14px;transition:border-color .15s}.cover{position:relative;overflow:hidden;background:#271937}.cover img{aspect-ratio:16/9;filter:saturate(.68) brightness(.85)}.cover::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#38205455,transparent 70%);pointer-events:none}.chip{position:absolute;z-index:1;bottom:12px;left:12px;background:#21142aee;border:1px solid #85683e;color:#f1ce83;border-radius:7px;padding:2px 9px;font-size:12px}.card-body{padding:16px 18px}.card .post-card-title{font-size:19px;line-height:1.45;margin:4px 0 7px}.card p,.muted{color:var(--muted)}.card p{font-size:14px;margin:0}.prose{max-width:820px;margin:38px auto 65px}.prose p{color:#ddd0e8}.prose a,.crumb a{color:var(--gold)}.prose h2,.prose h3{line-height:1.45}.prose h2{margin-top:35px}.prose img{max-height:420px;border-radius:14px}.prose figure{margin:30px 0}.prose figcaption,.crumb{color:var(--muted);font-size:14px}.crumb{margin:24px 0 14px}.page-title{font-size:clamp(32px,5vw,56px);line-height:1.18;letter-spacing:-.035em;margin:0 0 15px}.article-top{max-width:950px;margin:auto}.article-top .cover{border:1px solid var(--line);border-radius:16px;margin:22px 0}.article-top .cover img{aspect-ratio:2.5;max-height:410px}.toc,.faq details,.filters{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:15px 20px}.toc ul{margin-bottom:0}.faq details{margin:12px 0}.filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}.filters input,.filters select{background:#120c1e;border:1px solid #675277;color:var(--light);border-radius:8px;padding:8px 12px;min-width:0}.filters input{flex:1 1 220px}.pagination{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}.pagination a{min-width:42px;padding:6px;text-align:center;border:1px solid var(--line);border-radius:8px}.pagination [aria-current]{color:#20150c;background:var(--gold)}.foot{padding:30px 0;background:#140e21;border-top:1px solid var(--line)}.foot nav{display:flex;flex-wrap:wrap;gap:12px 20px;margin:15px 0}.foot p{font-size:14px;color:var(--muted)}.mobile-search{font-size:20px}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:5;background:var(--base);padding:12px}
@media(max-width:1080px){.bar{flex-wrap:wrap;gap:12px;padding:13px 0}.links{order:3;width:100%;padding-top:7px;border-top:1px solid var(--line)}.actions{margin-left:auto}.category{align-items:flex-start;flex-direction:column}}
@media(max-width:740px){.wrap{width:calc(100% - 32px)}.hero{min-height:340px;margin-top:16px}.hero-text{padding:30px 22px}.hero img{object-position:65% center}.hero::after{background:linear-gradient(90deg,#180e27fb,#180e27c9 48%,#180e2738)}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.section{margin-bottom:38px}.links,.actions{gap:10px}.links{flex-wrap:wrap}.actions .button{padding:5px 8px;font-size:12px}.brand{font-size:17px;gap:5px}.brand img{width:32px;height:32px}.card-body{padding:10px}.card .post-card-title{font-size:16px}.article-top .cover img{aspect-ratio:1.8}}
@media(max-width:375px){.bar{column-gap:4px}.actions{gap:5px}.lang{padding:4px 6px}.category strong{font-size:13px}.hero p{font-size:15px}.links{font-size:12px}}

/* Editorial treatment shared by the cover art and section banners. */
.hero{isolation:isolate;background:#1b112a}
.hero img{filter:saturate(.78) contrast(1.06)}
.hero::before{content:'';position:absolute;inset:12px;z-index:1;border:1px solid #e5bf6b56;border-radius:14px;pointer-events:none;background:linear-gradient(90deg,var(--gold),var(--gold)) 24px 0/52px 1px no-repeat,linear-gradient(90deg,var(--gold),var(--gold)) calc(100% - 24px) 100%/52px 1px no-repeat}
.hero-text .eyebrow{display:flex;align-items:center;gap:12px;letter-spacing:.065em}
.hero-text .eyebrow::before{content:'';height:1px;width:26px;background:var(--gold)}
.categories{counter-reset:lottery}
.category{position:relative;overflow:hidden;transition:border-color .18s,transform .18s;isolation:isolate}
.category::after{content:'';position:absolute;z-index:-1;right:-25px;bottom:-48px;width:125px;aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 10px,#e0bd7128 10px 11px,transparent 11px 16px)}
.category:hover{transform:translateY(-2px)}
.cover{isolation:isolate}
.cover img{filter:saturate(.56) contrast(1.12) brightness(.84);transition:transform .55s cubic-bezier(.2,.66,.35,1)}
.cover::before{content:'';position:absolute;z-index:1;inset:8px;pointer-events:none;border:1px solid #f2cd7a59;border-radius:3px;background:linear-gradient(var(--gold),var(--gold)) 12px 0/34px 1px no-repeat,linear-gradient(var(--gold),var(--gold)) calc(100% - 12px) 100%/34px 1px no-repeat}
.cover::after{background:repeating-radial-gradient(ellipse at 100% 0%,transparent 0 19px,#ffe4a448 20px,transparent 21px 28px),linear-gradient(125deg,#351d5555 20%,transparent 65%),linear-gradient(0deg,#160c24b8,transparent 50%);opacity:.85}
.card:hover .cover img{transform:scale(1.045)}
.chip{bottom:15px;left:15px;border-radius:3px;background:#1e1429;padding-inline:10px}
.article-top .cover::before{inset:13px;border-radius:6px}
.article-top .cover::after{background:repeating-radial-gradient(ellipse at 100% 0%,transparent 0 35px,#ffe4a448 36px,transparent 37px 48px),linear-gradient(115deg,#351d5555 20%,transparent 70%)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}

/* Brand artwork and banner treatment. */
body{
  background-color:#100b1b;
  background-image:linear-gradient(180deg,#100b1b30 0,#100b1b66 32rem,#100b1bcc 70rem),url("aubergine-paper.webp");
  background-position:top center;
  background-size:100% 90rem,max(100%,1100px) auto;
  background-repeat:no-repeat;
}
.top,.foot{background:#170e23ed}
.brand{gap:10px;font-weight:800;color:#fff5e2}
.brand img{width:49px;height:49px;object-fit:contain;filter:drop-shadow(0 3px 5px #07030c99)}
.brand b{margin-inline-start:2px;color:#efcc87}
.hero{
  min-height:clamp(385px,43vw,520px);
  margin-top:30px;
  border-color:#b286596e;
  border-radius:24px;
  background:
    radial-gradient(ellipse at 85% 35%,#492b61,#20112f 64%),
    #20112f;
  box-shadow:0 30px 64px #08040daa,inset 0 1px #eed2a733;
}
.hero img{object-position:76% 50%;filter:none}
.hero::before{
  inset:14px;
  border-color:#e9c88367;
  background:
    linear-gradient(var(--gold),var(--gold)) 18px 0/88px 1px no-repeat,
    linear-gradient(var(--gold),var(--gold)) calc(100% - 18px) 100%/88px 1px no-repeat;
}
.hero::after{
  background:linear-gradient(90deg,#1b1028 1%,#1b1028f5 28%,#1b102880 51%,transparent 70%),
    linear-gradient(0deg,#160d21a8,transparent 29%);
}
.hero-text{padding:54px 60px}
.hero h1{font-size:clamp(40px,5.15vw,70px);letter-spacing:-.045em}
.hero h1 span{color:#f0d190}
.hero p{color:#eadcf2}
.hero .button{min-height:46px;box-shadow:0 7px 16px #160a26a0}
.article-top .cover{border-color:#b286596e;box-shadow:0 16px 35px #08040d66}
.cover.banner img{object-position:76% 52%}
@media(max-width:740px){
  body{background-size:100% 70rem,1100px auto}
  .brand{gap:5px}
  .brand img{width:36px;height:36px}
  .hero{min-height:420px;margin-top:16px;border-radius:17px;align-items:flex-end}
  .hero img{height:70%;object-position:85% center}
  .hero::before{inset:9px;border-radius:10px}
  .hero::after{
    background:linear-gradient(0deg,#1a0f25 0%,#1a0f25 22%,#1a0f25dc 46%,#1a0f2540 72%,transparent 100%);
  }
  .hero-text{padding:20px 22px 30px}
  .hero h1{font-size:clamp(34px,7.8vw,54px);margin:6px 0 10px}
  .hero p{margin-bottom:15px}
}

/* The horizontal wordmark is also the home link in both languages. */
.brand{flex:none;line-height:0}
.brand img{
  width:clamp(170px,17vw,210px);
  height:auto;
  aspect-ratio:3.02;
  object-fit:contain;
  filter:drop-shadow(0 3px 5px #08040bcc);
}
.foot .brand img{width:180px}
@media(max-width:740px){
  .brand img{width:144px}
}
@media(max-width:375px){
  .bar .brand img{width:132px}
}

.homepage-hero{
  min-height:clamp(415px,42vw,520px);
  margin-bottom:0;
  border-color:#dab471a3;
  box-shadow:0 22px 55px #07030acc;
}
.homepage-hero img{object-position:78% center}
.homepage-hero::after{
  background:linear-gradient(90deg,#080f2a 0%,#080f2af5 20%,#080f2aad 41%,#080f2a33 62%,transparent 76%),linear-gradient(0deg,#1a0c27aa,transparent 22%);
}
.homepage-hero .hero-text{width:min(100%,650px)}
.homepage-hero h1{font-size:clamp(36px,4.2vw,66px);font-weight:800;text-wrap:balance}
.homepage-hero h1 span{margin-bottom:6px;color:#f8d894;text-shadow:0 3px 12px #1b0d24}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.hero-actions .button{min-width:122px;padding-inline:22px}
.hero-login{background:#2a163ee6;border-color:#c09962;color:#ffe7b9}
.quick-links{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin:-18px 18px 0;
  border:1px solid #9e744f;
  border-radius:16px;
  padding:10px;
  background:linear-gradient(155deg,#301a42,#1a1127);
  box-shadow:0 10px 32px #08040c8c;
}
.quick-links a{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:5px;
  border:1px solid #cfad6355;
  border-radius:9px;
  background:linear-gradient(145deg,#38234b,#211432);
  font-weight:700;
  font-size:clamp(.75rem,1.3vw,.95rem);
  line-height:1.4;
}
.quick-links a:hover{border-color:#e5bd73}
.quick-links a span{
  display:grid;place-items:center;flex:none;
  width:31px;height:31px;border-radius:50%;
  background:#170e25;border:1px solid #b38859;color:#f3ce82;
  font-size:16px;
}
.gallery-section{margin-top:42px}
.gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.gallery-card{
  position:relative;
  min-height:210px;
  isolation:isolate;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  padding:15px;
  border:1px solid #97704c;
  border-radius:14px;
  background:#211331;
  box-shadow:0 12px 24px #08030d6b;
}
.gallery-card:hover{border-color:#f3ca79}
.gallery-card img{position:absolute;inset:0;height:100%;object-position:60% center;transition:transform .38s ease}
.gallery-card:hover img{transform:scale(1.045)}
.gallery-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,#140a21 2%,#140a21e8 17%,#1c0c2a52 66%,transparent 95%);
}
.gallery-copy{position:relative;z-index:1}
.gallery-copy strong,.gallery-copy small{display:block;line-height:1.5}
.gallery-copy strong{font-size:1.05rem;color:#fff3de}
.gallery-copy small{font-size:.82rem;color:#e3cdae}
@media(max-width:920px){
  .gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
  .quick-links a{flex-direction:column;text-align:center}
}
@media(max-width:740px){
  .homepage-hero{min-height:470px}
  .homepage-hero img{height:69%;object-position:85% top}
  .homepage-hero::after{background:linear-gradient(0deg,#080f2a 6%,#080f2a 24%,#080f2ab0 49%,#080f2a14 73%,transparent)}
  .homepage-hero .hero-text{padding-bottom:32px}
  .homepage-hero h1{font-size:clamp(29px,7vw,43px)}
  .hero-actions .button{min-width:0;padding-inline:14px}
  .quick-links{grid-template-columns:repeat(3,minmax(0,1fr));margin:-10px 7px 0;gap:6px;padding:7px}
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .gallery-card{min-height:170px;padding:11px}
}
.gallery-card::after{
  background:linear-gradient(0deg,#140a21 0%,#140a21dc 19%,#1c0c2a3a 60%,#1c0c2a18 95%);
}
.gallery-medal{
  position:absolute;z-index:1;top:12px;left:12px;
  width:38px;height:38px;
  display:grid;place-items:center;
  border:1px solid #edc77e;border-radius:50%;
  color:#f8df9c;background:linear-gradient(135deg,#4c2d57,#251433);
  font-size:20px;box-shadow:inset 0 0 0 2px #bd935c42,0 3px 9px #0c0515a8;
}
@media(prefers-reduced-motion:reduce){.gallery-card img{transition:none}.gallery-card:hover img{transform:none}}
.gallery-card{aspect-ratio:4/5;min-height:0}
.gallery-card img{object-position:center 34%}
@media(min-width:741px) and (max-width:920px){
  .gallery-card{aspect-ratio:1}
}

.grouped-gallery{
  display:grid;
  grid-template-columns:minmax(0,1fr) repeat(2,minmax(0,2fr));
  align-items:start;
  gap:14px;
}
.lottery-group{
  min-width:0;
  padding:12px;
  border:1px solid #9a714b86;
  border-radius:16px;
  background:linear-gradient(145deg,#241531,#160e23);
}
.lottery-group summary{
  min-height:43px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  color:#f4d595;
  font-size:clamp(.86rem,1.55vw,1.1rem);
  font-weight:750;
  list-style:none;
  line-height:1.3;
}
.lottery-group summary::-webkit-details-marker{display:none}
.lottery-group summary::after{
  content:"";
  width:8px;height:8px;flex:none;
  border-right:1px solid currentColor;border-bottom:1px solid currentColor;
  transform:rotate(45deg);
  margin:0 5px 3px;
}
.lottery-group[open] summary::after{transform:rotate(225deg);margin-bottom:-4px}
.lottery-group .gallery{display:flex;gap:9px}
.lottery-group .gallery-card{flex:1;min-width:0}
.mobile-dock{display:none}
@media(max-width:850px){
  .grouped-gallery{grid-template-columns:1fr}
  .lottery-group .gallery-card{aspect-ratio:auto;min-height:120px}
  .lottery-group .gallery-card img{object-position:center 42%}
}
@media(max-width:740px){
  body{padding-bottom:calc(75px + env(safe-area-inset-bottom))}
  .mobile-dock{
    position:fixed;z-index:3;bottom:0;left:0;right:0;
    padding:4px max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-left));
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    background:#1d112dee;border-top:1px solid #af824d;
    backdrop-filter:blur(12px);
  }
  .mobile-dock a{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    min-height:56px;line-height:1.4;padding:3px;
    text-align:center;color:#ebdef7;font-size:.76rem;
  }
  .mobile-dock a span{font-size:1.15rem;color:#ebc177}
  .mobile-dock a[aria-current]{color:#f7d389;background:#392349;border-radius:8px}
  body:has(input:focus) .mobile-dock, body:has(.top details[open]) .mobile-dock{display:none}
}

.home-rotator{position:relative}
.home-rotator [hidden]{display:none}
.home-slide .slide-title{
  margin:0 0 14px;color:#f8d894;
  font-size:clamp(34px,4.5vw,58px);line-height:1.2;
}
.home-slide .hero-text{padding-bottom:70px}
.slide-controls{
  position:absolute;z-index:2;right:26px;bottom:33px;
  display:flex;align-items:center;gap:7px;padding:3px;
  border-radius:99px;background:#170e29ed;border:1px solid #c19767;
  color:#ffe3aa;
}
.slide-controls button{
  width:40px;height:40px;border-radius:50%;border:0;
  background:#3c2651;color:#ffe3aa;font-size:1.6rem;line-height:1;
}
.slide-controls button:hover{background:#573766}
.slide-controls span{font-size:.84rem;min-width:40px;text-align:center}
.home-highlights .home-section-label{margin-bottom:14px}
.highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.highlight-card{
  min-width:0;display:flex;align-items:center;gap:12px;padding:9px;
  border:1px solid #ae845a99;border-radius:14px;
  background:linear-gradient(145deg,#321d45,#1b112a);
}
.highlight-card:hover{border-color:#edc979}
.highlight-card img{width:74px;height:70px;border-radius:8px;flex:none;object-position:center 37%}
.highlight-card strong,.highlight-card small{display:block;line-height:1.45}
.highlight-card small{color:#e0cce8;font-size:.8rem;margin-top:3px}
@media(max-width:740px){
  .home-slide .hero-text{padding-bottom:78px}
  .slide-controls{right:14px;bottom:24px}
  .slide-controls button{width:44px;height:44px}
  .home-slide .slide-title{font-size:clamp(28px,7vw,43px)}
  .highlight-grid{grid-template-columns:1fr}
}

.lottery-group .lottery-card{
  aspect-ratio:auto;
  min-height:248px;
  display:grid;
  grid-template-rows:auto minmax(114px,1fr) auto;
  align-items:center;
  gap:8px;
  padding:13px 9px 11px;
  text-align:center;
  color:#fff2da;
  background:radial-gradient(ellipse at 50% 43%,#4e2c69,#261638 57%,#170f24 95%);
}
.lottery-card::after{display:none}
.lottery-card>strong{font-size:clamp(.9rem,1.5vw,1.13rem);line-height:1.35}
.lottery-art{
  display:grid;place-items:center;position:relative;
  width:min(100%,156px);aspect-ratio:1;margin:auto;
}
.lottery-art::before{
  content:"";position:absolute;inset:14% 2%;border:1px solid #f5d78c59;
  border-radius:50%;transform:rotate(-31deg) scaleY(.72);
  box-shadow:0 0 12px #e9b25252;
}
.lottery-orb{
  --surface:linear-gradient(145deg,#854fb3,#241334);
  position:relative;isolation:isolate;display:grid;place-items:center;
  width:75%;aspect-ratio:1;overflow:hidden;border-radius:50%;
  background:var(--surface);color:#ffdb7b;
  box-shadow:0 13px 21px #10061cad,0 0 0 1px #f1d5a17a;
  transform:rotate(-11deg);transition:transform .22s ease;
  font-size:clamp(2.1rem,5.1vw,3.8rem);
}
.lottery-orb::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(ellipse at 31% 19%,#fff9 0,transparent 27%),
    linear-gradient(148deg,#fff4 0,transparent 41%,#160a2c33 64%,#110919d4 100%);
  box-shadow:inset 0 1px 3px #fff9,inset 0 -4px 7px #08040b55;
}
.lottery-gov .lottery-orb{
  --surface:linear-gradient(#ba2742 0 16.67%,#fff 16.67% 33.33%,#263d8c 33.33% 66.67%,#fff 66.67% 83.33%,#ba2742 83.33%);
}
.lottery-laos .lottery-orb{
  --surface:radial-gradient(circle,#fff 0 24%,transparent 25%),linear-gradient(#ce2541 0 25%,#1d4594 25% 75%,#ce2541 75%);
}
.lottery-my .lottery-orb{
  --surface:repeating-linear-gradient(#ce2541 0 7.14%,#fff 7.14% 14.28%);
}
.lottery-my .lottery-orb::before{
  content:"☪";position:absolute;inset:0 38% 43% 0;
  display:grid;place-items:center;background:#142c70;color:#ffdb54;
  font-size:clamp(1rem,2.5vw,2rem);
}
.lottery-card:hover .lottery-orb,.lottery-card:focus-visible .lottery-orb{transform:rotate(-4deg) scale(1.05)}
.lottery-art i{
  position:absolute;top:16%;right:3%;display:grid;place-items:center;
  width:24%;aspect-ratio:1;border:1px solid #fff0aa;border-radius:50%;
  background:linear-gradient(145deg,#fff09b,#cf8d24 58%,#ffc658);
  box-shadow:inset 0 0 0 2px #f7c85e,0 4px 9px #12091a99;
  transform:rotate(24deg) scaleX(.83);color:#703d0b;font-style:normal;
}
.lottery-art i:last-child{top:auto;right:auto;left:1%;bottom:10%;transform:rotate(-29deg) scaleX(.78)}
.lottery-caption{display:grid;justify-items:center;gap:5px}
.lottery-caption small{color:#dfcce7;line-height:1.3}
.lottery-caption span{
  display:inline-block;border:1px solid #d1a463;border-radius:99px;
  padding:2px 9px;color:#ffdda0;background:#392449;font-size:.74rem;
}
@media(max-width:850px){
  .lottery-group .lottery-card{min-height:224px;max-width:310px}
  .lottery-group .lottery-card:only-child{max-width:none}
}
@media(max-width:375px){
  .lottery-group .lottery-card{padding-inline:5px;min-height:208px}
}
@media(prefers-reduced-motion:reduce){.lottery-orb{transition:none}}

.quick-links a span svg{width:20px;height:20px}
.quick-links a span:has(svg){background:radial-gradient(circle at 35% 20%,#50346b,#1c1128);color:#ffdaa0}
.highlight-card img{width:88px;height:82px;object-position:center}
.lottery-group .lottery-card{
  border:1px solid #c0945e;
  outline:1px solid #f9cf792e;outline-offset:-5px;
  background:
    repeating-conic-gradient(from 15deg at 50% 46%,#d3a96a0a 0 1deg,transparent 1deg 14deg),
    radial-gradient(ellipse at 50% 41%,#683f83,#29193f 53%,#140d21 92%);
  box-shadow:0 10px 23px #07040f88,inset 0 0 24px #9f6ab626;
  padding-block:19px 15px;
}
.lottery-group .lottery-card:hover{border-color:#ffe2a1}
.lottery-art::before{
  inset:11% -1%;
  border:2px solid #f3d5929c;
  box-shadow:0 0 13px #e7ac6170,inset 0 0 9px #d3934d58;
}
.lottery-orb{
  box-shadow:0 0 0 2px #f0c17a,0 0 0 5px #543175,0 11px 25px #0b061bdb;
}
.lottery-orb svg{width:51%;height:51%;color:#ffdc8b;filter:drop-shadow(0 3px 2px #28102a)}
.lottery-caption span{
  background:linear-gradient(150deg,#fff0b7,#d0a05d);
  color:#26152e;font-weight:700;padding:3px 12px;
}

.lottery-group .lottery-card{
  --card-tone:#543065;
  background:radial-gradient(ellipse at 50% 48%,var(--card-tone),#211532 70%,#150e21);
  grid-template-rows:auto minmax(112px,1fr) auto;
}
.lottery-group .lottery-laos{--card-tone:#403364}
.lottery-group .lottery-my{--card-tone:#563351}
.lottery-group .lottery-stock{--card-tone:#42325f}
.lottery-group .lottery-yeekee{--card-tone:#633a6e}
.lottery-emblem{position:relative;display:block;min-width:0}
.lottery-group .lottery-emblem img{
  position:static;width:100%;height:auto;max-width:226px;margin:auto;
  object-fit:contain;filter:drop-shadow(0 7px 11px #11071ca8);
}
.lottery-card:hover .lottery-emblem img{transform:translateY(-3px) scale(1.035)}

.lottery-group .collection-card{
  display:flex;align-items:flex-end;justify-content:stretch;
  min-height:270px;aspect-ratio:4/5;
  padding:0;text-align:left;outline:0;
  background:radial-gradient(ellipse at center,#5d386b,#1e122c);
  border-color:#b98452;border-radius:13px;
}
.collection-card .lottery-emblem{
  position:absolute;inset:0;
}
.lottery-group .collection-card .lottery-emblem img{
  width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 31%;
}
.collection-card::after{
  display:block;inset:0;
  background:linear-gradient(0deg,#190d26 5%,#190d26ef 22%,#190d2640 52%,transparent 77%);
}
.collection-card .lottery-caption{
  width:100%;padding:15px;position:relative;z-index:1;
  justify-items:start;background:none;
}
.collection-card strong{font-size:clamp(1.04rem,2vw,1.25rem);color:#fff1d5;line-height:1.2}
.collection-card .lottery-caption span{border-radius:5px;margin-top:4px}
.result-panel,.featured-reading{
  padding:clamp(14px,3vw,32px);
  border:1px solid #c296655e;
  border-radius:17px;
  background:linear-gradient(150deg,#2b1c3e,#191024);
  box-shadow:0 14px 33px #09051070;
}
.result-panel p{margin:5px 0 14px}
.result-scroll{overflow-x:auto;border:1px solid #9f774d80;border-radius:10px}
.result-table{width:100%;min-width:565px;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}
.result-table th,.result-table td{padding:12px 14px;border-bottom:1px solid #70527b70}
.result-table thead{background:#3d2851;color:#ffe0a8}
.result-table tbody tr:nth-child(odd){background:#150c24aa}
.result-table tbody tr:last-child>*{border-bottom:0}
.result-link{color:#f3cb87;text-decoration:underline;text-underline-offset:3px}
@media(max-width:850px){
  .lottery-group .collection-card{min-height:192px;aspect-ratio:4/5}
  .lottery-group .collection-card:only-child{max-width:none;aspect-ratio:2/1}
}
@media(max-width:520px){
  .result-table{min-width:0;font-size:.78rem}
  .result-table th,.result-table td{padding:8px 5px;overflow-wrap:anywhere;line-height:1.4}
  .result-table th:nth-child(2),.result-table td:nth-child(2){min-width:59px}
  .collection-card .lottery-caption{padding:9px}
}

.reference-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(9px,1.6vw,20px);
}
.reference-grid .reference-card{
  aspect-ratio:3/4;
  min-height:252px;
  display:grid;grid-template-rows:auto minmax(100px,1fr) auto;align-items:center;
  padding:13px 9px 11px;gap:7px;text-align:center;
  border:1px solid #c69965ad;border-radius:15px;color:#fff5de;
  background:
    linear-gradient(145deg,#a47ac416,transparent 42%),
    radial-gradient(ellipse at 58% 45%,#654186,#29173e 55%,#1a1028 85%);
  box-shadow:0 9px 21px #08040da0,inset 0 0 0 3px #ebbc7d16;
}
.reference-grid .reference-card:hover{border-color:#ffe3a7}
.reference-card::before{
  content:"";position:absolute;inset:7px;z-index:-1;border:1px solid #d4a46e28;border-radius:10px;
  background:repeating-conic-gradient(from 8deg at 54% 46%,#e9c68711 0 1deg,transparent 1deg 19deg);
}
.reference-card .lottery-art{width:min(100%,175px)}
.reference-card .lottery-orb{width:80%;transform:rotate(-14deg)}
.reference-card .lottery-orb::after{
  background:radial-gradient(ellipse at 30% 20%,#fff9 0%,transparent 24%),
    radial-gradient(ellipse at 74% 29%,#fff3 0 8%,transparent 15%),
    linear-gradient(145deg,#fff5,transparent 38%,#0f062448 65%,#100521e8);
}
.reference-card .lottery-art i{
  z-index:1;font-weight:800;font-size:.82rem;
  box-shadow:inset 0 0 0 2px #f7c85e,inset 0 0 0 4px #b27528,0 5px 10px #100718a8;
}
.reference-card .lottery-art i:first-of-type{right:0;top:9%}
.reference-card .lottery-art i:last-of-type{left:0;bottom:6%}
.reference-caption{position:relative;display:grid;justify-items:center;gap:6px}
.reference-caption small{color:#e7d5ed;line-height:1.2}
.reference-caption span{
  position:relative;isolation:isolate;border:1px solid #f4d18b;border-radius:99px;padding:3px 11px;
  background:linear-gradient(145deg,#fff3c0,#d5a365);color:#281635;
  font-size:.76rem;font-weight:750;
}
@media(max-width:1000px){.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){
  .reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reference-grid .reference-card{min-height:213px;padding:12px 6px}
}

.draw-board>h2{margin-bottom:3px}
.draw-board>.muted{margin:0 0 18px}
.draw-board>.muted a{color:#f0c980;text-decoration:underline;text-underline-offset:.2em}
.draw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:stretch}
.draw-card{
  --draw-accent:#b781d2;
  min-width:0;
  display:flex;flex-direction:column;gap:11px;
  border:1px solid color-mix(in srgb,var(--draw-accent) 55%,#5c3d63);
  border-radius:20px;padding:clamp(14px,2vw,25px);
  background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--draw-accent) 26%,#241530),transparent 62%),#20152d;
  box-shadow:0 13px 30px #08040cb0,inset 0 0 0 4px #dfba7f12;
}
.draw-gov{--draw-accent:#818dc9}.draw-gsb{--draw-accent:#d17da7}.draw-baac{--draw-accent:#aaa15d}
.draw-laos{--draw-accent:#d9a85b}.draw-hanoi{--draw-accent:#c48866}.draw-stock{--draw-accent:#6dafa0}
.draw-card header{min-width:0;display:flex;align-items:center;gap:10px}
.draw-card .draw-card-title{display:block;margin:0;color:#fff0d3;font-size:1.12rem;line-height:1.35}
.draw-card header p{margin:3px 0 0;color:#ded0e5;font-size:.85rem}
.draw-icon{
  flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;
  border:1px solid #d8ad72;background:#20122d;color:#f5cc84;font-size:1.15rem;
}
.draw-status{
  align-self:flex-start;border:1px solid #b98b6066;border-radius:99px;
  padding:2px 10px;background:#21152f;color:#f0d29e;font-size:.74rem;
}
.draw-prizes{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(98px,1fr));gap:12px 10px}
.draw-prize-primary{grid-column:1 / -1}
.draw-prize{min-width:0}
.draw-prize dt{color:#e9d8ee;font-size:.81rem;margin-bottom:5px;line-height:1.35}
.draw-prize dd{margin:0;display:grid;gap:4px}
.draw-digits{max-width:100%}
.draw-digits>span{display:flex;gap:3px}
.draw-digits>span>span{
  display:grid;place-items:center;min-width:0;width:28px;aspect-ratio:1;
  border:1px solid #b88b64;border-radius:50%;background:#39264b;color:#ffe8bc;
  font-size:1rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;
}
.draw-prize-primary .draw-digits>span>span{
  width:clamp(26px,3.4vw,41px);font-size:clamp(1rem,1.65vw,1.5rem);
  border-color:#f7d58c;background:radial-gradient(circle at 32% 23%,#fff2bf,#e7b35b 73%,#be8842);
  color:#2a1633;box-shadow:0 3px 8px #0903108c;
}
.draw-footer{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 9px;margin-top:auto;
  padding-top:9px;border-top:1px dashed #a686a466;font-size:.76rem;color:#f2ca84;
}
.draw-footer a:focus-visible,.draw-footer a:hover{text-decoration:underline}
.draw-board-single .draw-grid{grid-template-columns:minmax(0,530px)}
@media(max-width:900px){.draw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.draw-grid{grid-template-columns:1fr}}

.article-hero{position:relative;display:flex;min-height:clamp(225px,38vw,410px);align-items:end;background:#21132b}
.article-top .article-hero img{position:absolute;inset:0;height:100%;width:100%;max-height:none;object-position:70% center;filter:brightness(.88) saturate(.85)}
.article-hero::after{background:linear-gradient(0deg,#150b20 1%,#150b20de 28%,#150b2061 67%,transparent 90%);opacity:1}
.article-cover-title{z-index:1;position:relative;padding:clamp(25px,5vw,58px);width:100%}
.article-cover-title .page-title{margin:0;line-height:1.25;color:#fff0d4;font-size:clamp(24px,4.2vw,52px);text-shadow:0 3px 8px #110617}
.editorial-thumb img{filter:brightness(.92) saturate(.86)}
.editorial-thumb .chip{background:#211328;border-color:#e0b56f;color:#ffdf9c}
.article-reading .toc,.long-category .toc{margin-bottom:24px}
.article-copy h2,.long-category h2{scroll-margin-top:22px}
.article-reading figure{margin-top:30px}
.article-reading figure img{border-radius:14px}
.article-reading figure figcaption{margin-top:9px}
@media(max-width:740px){
  .mobile-dock{grid-template-columns:repeat(5,minmax(0,1fr))}
  .mobile-dock a{font-size:clamp(.64rem,2.3vw,.76rem)}
}

.article-top .lottery-banner{
  margin:18px 0 28px;
  border:1px solid #e2b777a3;
  border-radius:16px;
  background:#1c1127;
  box-shadow:0 14px 30px #09050e96;
}
.article-top .lottery-banner img{
  width:100%;height:auto;aspect-ratio:3/1;max-height:none;
  object-fit:cover;object-position:center;filter:none;
}
.article-top .lottery-banner::before{
  inset:8px;border:1px solid #ffe1a44d;border-radius:10px;
}
.article-top .lottery-banner::after{
  background:linear-gradient(0deg,#160a1c58,transparent 24%);
  opacity:1;
}
@media(max-width:620px){
  .article-top .lottery-banner{border-radius:12px;margin:12px 0 21px}
  .article-top .lottery-banner img{aspect-ratio:2.45/1}
  .article-top .lottery-banner::before{inset:5px;border-radius:8px}
}

a.contextual-link{
  color:#f4ce8d;
  text-decoration:underline;
  text-decoration-color:#d8ac70b0;
  text-underline-offset:.19em;
  text-decoration-thickness:.07em;
}
a.contextual-link:hover,a.contextual-link:focus-visible{
  color:#ffe5b8;
  text-decoration-color:currentColor;
}

.home-section-label,.draw-board p.results-heading{
  color:var(--light);font-weight:700;
  margin:0;font-size:clamp(23px,3.6vw,34px);
}
.draw-board p.results-heading{margin-bottom:3px}
.card .post-card-title{display:block}
.home-slide .hero-text .slide-title{max-width:none;margin:0 0 14px;font-weight:800}
.home-guide>section+section{margin-top:34px}
