/* thai */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/N0ba2SRONuN4SDnED2xx.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/N0ba2SRONuN4SCLED2xx.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/N0ba2SRONuN4SCPED2xx.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/N0ba2SRONuN4SC3EDw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QN7nGkdQJObW.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QN7nGlxQJObW.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QN7nGl1QJObW.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QN7nGlNQJA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QPLgGkdQJObW.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QPLgGlxQJObW.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QPLgGl1QJObW.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QPLgGlNQJA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QJbhGkdQJObW.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QJbhGlxQJObW.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QJbhGl1QJObW.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mali';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/N0bV2SRONuN4QJbhGlNQJA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
800;900&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#111413;--surface:#191f1b;--fg:#f4f6ed;--muted:#9ba79c;--line:#333c32;--accent:#c5f564;--accent-ink:#15200b;--chip:#242c24;--red:#ff6475;--card:#faf9f3;--shadow:#0005}[data-theme=light]{color-scheme:light;--bg:#f4f6ef;--surface:#e5ebdf;--fg:#18241b;--muted:#596855;--line:#bcc8b4;--accent:#375e13;--accent-ink:#fff;--chip:#d5e0cd;--red:#c02c49;--shadow:#19240b22}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font-family:'Mali',sans-serif;transition:background .25s,color .25s}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}header{max-width:1200px;margin:auto;padding:26px 36px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}a{color:inherit;text-decoration:none}.brand{font-weight:700;font-size:22px;letter-spacing:-1px}.brand span{font-size:14px;font-weight:400;color:var(--muted);letter-spacing:0}nav{display:flex;gap:8px}nav button{width:44px;height:40px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--fg);font-size:14px}main{max-width:1040px;padding:38px 36px 0;margin:auto}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:30px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:600;color:var(--muted);margin:0 0 8px}h1{font-family:'Mali',sans-serif;font-size:clamp(48px,7vw,88px);line-height:.95;letter-spacing:-1px;margin:0 0 18px}h1 em{color:var(--accent);font-style:normal}.intro p:last-child{font-size:16px;color:var(--muted);margin:0}.edition{color:var(--muted);font-size:12px;letter-spacing:1px;padding-bottom:5px}.table{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px 32px 0;box-shadow:0 20px 60px var(--shadow);overflow:hidden}.table-top,.table-bottom{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted)}.pill{padding:6px 12px;border-radius:6px;background:var(--accent);color:var(--accent-ink);font-weight:600}.steps{display:flex;justify-content:space-between;list-style:none;padding:0;margin:24px 0 28px;gap:12px}.steps li{flex:1;padding:8px 0;border-top:2px solid var(--line);color:var(--muted);font-size:14px}.steps li.active{border-color:var(--accent);color:var(--fg)}.steps li.done{border-color:var(--accent);color:var(--accent)}.steps b{font-size:12px;margin-right:10px}.cards{display:flex;justify-content:center;gap:18px;perspective:1000px;margin:0 auto 25px}.card{width:clamp(75px,14vw,134px);aspect-ratio:2/2.85;border-radius:12px;position:relative;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.2,.75,.2,1);flex-shrink:0}.card.revealed{transform:rotateY(180deg)}.face{position:absolute;inset:0;backface-visibility:hidden;border-radius:12px;box-shadow:0 7px 18px var(--shadow)}.back{border:1px solid #688344;background:repeating-linear-gradient(45deg,transparent,transparent 5px,#c5f5640a 5px,#c5f5640a 6px),#263421;display:grid;place-items:center;color:#c5f564}.back:before{content:'';position:absolute;inset:8px;border:1px solid #c5f56455;border-radius:6px}.back span{font-family:'Mali',sans-serif;font-size:36px;border:1px solid #c5f56455;width:55px;height:66px;display:grid;place-items:center;border-radius:50%}.card.current .back{border:2px solid var(--accent);box-shadow:0 0 24px #c5f56415}.front{transform:rotateY(180deg);background:var(--card);color:#17241c;padding:10px;display:flex;align-items:center;justify-content:center}.front.red{color:#d63d54}.corner{position:absolute;top:10px;left:12px;font-family:'Mali',sans-serif;font-size:23px;line-height:1}.corner small{display:block;font-size:19px;margin-top:3px}.corner.bottom{top:auto;left:auto;bottom:10px;right:12px;transform:rotate(180deg)}.suit{font-family:'Mali',sans-serif;font-size:64px}.prompt{text-align:center}.prompt .eyebrow{letter-spacing:1px}h2{font-size:30px;line-height:1.4;margin:0 0 6px;letter-spacing:-.5px}#hint{color:var(--muted);font-size:14px;margin:0 0 20px}.choices{display:flex;gap:12px;justify-content:center}.choice{background:var(--chip);color:var(--fg);border:1px solid var(--line);border-radius:12px;min-width:160px;padding:14px 22px;font-size:18px;font-weight:600;transition:transform .15s,border-color .15s}.choice:hover{transform:translateY(-3px);border-color:var(--accent)}.choice:disabled{opacity:.45;transform:none;cursor:default}.choice.red-choice{color:var(--red)}.choice .icon{margin-right:12px;font-family:'Mali',sans-serif;font-size:24px}.choice.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.feedback{height:38px;text-align:center;padding-top:8px;color:var(--accent);font-size:14px}.table-bottom{border-top:1px solid var(--line);padding:15px 0}.table-bottom button{background:none;color:var(--muted);border:0;font-size:14px}.rules{margin:26px 0 30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;color:var(--muted);font-size:14px}.rules summary{cursor:pointer;color:var(--fg);font-size:16px;list-style:none}.rules ol{padding-left:22px;line-height:2}.rules p{line-height:1.8}footer{display:flex;justify-content:space-between;gap:16px;padding-bottom:28px;font-size:12px;color:var(--muted);letter-spacing:.5px}footer span:first-child{font-weight:700}.win{animation:winPulse 1s ease}.lose{animation:shake .5s ease;border-color:var(--red)}.lose h2{color:var(--red)}.win h2{color:var(--accent)}#particles{position:fixed;inset:0;pointer-events:none;overflow:hidden}.particle{position:absolute;top:-20px;width:8px;height:14px;background:var(--accent);animation:fall 2.8s ease-in forwards}@keyframes fall{to{transform:translateY(110vh) rotate(600deg)}}@keyframes winPulse{50%{box-shadow:0 0 90px #c5f56455}}@keyframes shake{20%,60%{transform:translateX(-8px)}40%,80%{transform:translateX(8px)}}@media(max-width:600px){header{padding:18px 20px}main{padding:26px 16px 0}.intro{margin-bottom:24px}.edition{display:none}.table{padding:18px 16px 0;border-radius:18px}.steps{gap:8px;margin:20px 0}.steps li{font-size:12px}.steps b{display:block;margin:0 0 5px}.cards{gap:9px;margin-bottom:24px}.card{width:calc((100vw - 95px)/4);max-width:100px;border-radius:8px}.face{border-radius:8px}.back span{font-size:24px;width:38px;height:47px}.suit{font-size:42px}.corner{font-size:18px;top:7px;left:7px}.corner small{font-size:14px}.corner.bottom{bottom:7px;right:7px}h2{font-size:27px}.choice{min-width:0;flex:1;padding:13px 9px;font-size:16px}.choice .icon{margin-right:5px;font-size:22px}footer span:nth-child(2){display:none}#deck-label{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.particle{display:none}}

.back span{white-space:nowrap;display:flex;align-items:center;justify-content:center;width:72px;height:72px;line-height:1;letter-spacing:0}.choices{min-height:58px}@media(max-width:600px){.back span{width:48px;height:48px;font-size:23px}}
.hub-back{font-size:14px;color:var(--muted);display:inline-flex;align-items:center;margin-right:8px}nav{align-items:center}
