:root {
  color-scheme: dark;
  --surface: #1A0B24;
  --surface-2: #2A1238;
  --surface-3: #321743;
  --ink: #E9DDF3;
  --ink-soft: #BCA8CE;
  --line: rgba(233, 221, 243, .15);
  --accent: #F5C451;
  --accent-deep: #B98A2C;
  --on-accent: #1A0B24;
  --accent-soft: rgba(245, 196, 81, .12);
  --accent-2: #B0347E;
  --accent-2-deep: #F08CC8;
  --on-accent-2: #FFFFFF;
  --demo: #F5C451;
  --demo-ink: #F5C451;
  --demo-bg: #2A1238;
  --on-demo: #1A0B24;
  --band: #12071A;
  --band-2: #2A1238;
  --band-ink: #F4ECFA;
  --band-soft: #C9B7D9;
  --band-line: rgba(233, 221, 243, .16);
  --footer: #0E0515;
  --footer-ink: #D9CBE6;
  --footer-soft: #AC98BE;
  --hero-bg: radial-gradient(90% 120% at 82% 18%, #3D1953 0%, rgba(61, 25, 83, 0) 62%), radial-gradient(70% 90% at 0% 100%, #2B1139 0%, rgba(43, 17, 57, 0) 70%), #1A0B24;
  --hero-ink: #F4ECFA;
  --hero-soft: #D3C2E2;
  --focus: #F5C451;
  --focus-band: #F5C451;
  --shadow: 0 14px 30px rgba(6, 1, 10, .45);
  --shade: #0e0515;
  --veil: rgba(14, 5, 21, .78);
  --radius: 12px;
  --radius-sm: calc(var(--radius) * .75);
  --radius-btn: calc(var(--radius) * .875);
  --font-display: "Kanit", "Kanit", "Trebuchet MS", system-ui, sans-serif;
  --font-text: "Public Sans", "Sarabun", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/kanit/kanit-latin-500.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; }
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/kanit/kanit-latin-600.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; }
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kanit/kanit-latin-700.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; }
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/kanit/kanit-latin-ext-500.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/kanit/kanit-latin-ext-600.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kanit/kanit-latin-ext-700.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/public-sans/public-sans-latin.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; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/public-sans/public-sans-latin-ext.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/kanit/kanit-thai-500.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/kanit/kanit-thai-600.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kanit/kanit-thai-700.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/sarabun/sarabun-thai-400.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sarabun/sarabun-thai-600.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/sarabun/sarabun-thai-700.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
*, *::before, *::after { box-sizing: border-box; }
:root { --wrap: 1200px; --gutter: 24px; --header-h: 72px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-text); font-weight: 400; font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2-deep); text-decoration-color: var(--accent-2); }
b, strong { font-weight: 700; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: 0; }
h1 { font-weight: 700; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; }
h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; }
p, figure { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
body:lang(th) { line-height: 1.8; }
:lang(th) h1 { line-height: 1.32; }
:lang(th) h2 { line-height: 1.36; }
:lang(th) h3 { line-height: 1.42; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.header :focus-visible, .hero :focus-visible, .footer :focus-visible, .playbar :focus-visible, .lost :focus-visible, .on-band :focus-visible { outline-color: var(--focus-band); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
.i { flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 26px; border: 2px solid transparent; border-radius: var(--radius-btn);
  font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.15; text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease; }
.btn:hover { text-decoration: none; }
:lang(th) .btn { line-height: 1.35; }
.btn--play { background: var(--accent); color: var(--on-accent); border-color: var(--accent-2); box-shadow: 0 5px 0 var(--accent-deep); }
.btn--play:hover { color: var(--on-accent); filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 6px 0 var(--accent-deep); }
.btn--play:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--accent-deep); }
.btn--demo { background: var(--demo-bg); color: var(--demo-ink); border-color: var(--demo); box-shadow: 0 4px 0 var(--demo); }
.btn--demo:hover { color: var(--demo-ink); filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 5px 0 var(--demo); }
.btn--demo:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--demo); }
.btn--line { background: transparent; color: inherit; border-color: currentColor; }
.btn--sm { min-height: 44px; padding: 5px 18px; font-size: 16.5px; border-radius: calc(var(--radius-btn) * .86); }
span.btn { -webkit-user-select: none; user-select: none; }
[data-off] { cursor: default; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } html { scroll-behavior: auto; } }
@media (max-width: 600px) {
  :root { --gutter: 18px; --header-h: 64px; }
  body { font-size: 16.5px; }
  .btn--sm { padding: 5px 14px; font-size: 16px; }
}
@media (max-width: 420px) {
  :root { --gutter: 14px; }
  .btn--sm { padding: 5px 12px; font-size: 15.5px; }
}
.header { position: sticky; top: 0; z-index: 50; background: var(--band); color: var(--band-ink); }
.header__in { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.header__logo { flex: 0 1 auto; display: flex; align-items: center; min-width: 0; min-height: 44px; margin-right: auto; padding: 4px 0; color: var(--band-ink); text-decoration: none; }
.header__logo:hover { color: var(--band-ink); }
.header__logo .logo-pic { width: auto; max-width: 100%; height: 60px; object-fit: contain; object-position: left center; }
.logo-text { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; white-space: nowrap; }
.logo-text__b { color: var(--accent); }
.nav { min-width: 0; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--band-ink); font-family: var(--font-display); font-weight: 500; font-size: 17.5px; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.nav__list a:hover { background: var(--band-2); color: var(--accent); }
:lang(th) .nav__list a { line-height: 1.4; }
.header__play { flex: none; }
.flag { flex: none; width: 24px; height: 16px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px color-mix(in srgb, var(--shade) 35%, transparent); }
.lang-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--band-line); border-radius: calc(var(--radius) * .75);
  background: none; color: var(--band-ink); font: inherit; font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; }
.lang-btn:hover { background: var(--band-2); }
.lang-btn__chev { width: 12px; height: 12px; }
.lang-btn__name, .lang-btn--menu { display: none; }
.burger { display: none; flex: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--band-line); border-radius: calc(var(--radius) * .75); background: none; cursor: pointer; }
.burger span { display: block; width: 22px; height: 3px; margin: 4px auto; border-radius: 2px; background: var(--band-ink); transition: transform .18s ease, opacity .18s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }
@media (max-width: 600px) {
  .header__in { gap: 12px; }
  .header__logo .logo-pic { height: 48px; }
  .logo-text { font-size: 22px; }
  .lang-btn { padding: 0 9px; gap: 6px; }
  .lang-btn:not(.lang-btn--menu) .lang-btn__code { display: none; }
}
@media (max-width: 420px) {
  .header__in { gap: 9px; }
  .header__logo .logo-pic { height: 44px; }
  .logo-text { font-size: 19px; }
  .header .lang-btn:not(.lang-btn--menu) .lang-btn__chev { display: none; }
  .header .lang-btn:not(.lang-btn--menu) { padding: 0 8px; }
}
@media (max-width: 389px) {
  .header .lang-btn:not(.lang-btn--menu) { display: none; }
}
@media (max-width: 359px) {
  .logo-text { font-size: 17px; }
}
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); padding: 40px 0 44px; }
.hero__in { position: relative; z-index: 1; }
.hero__title { color: var(--hero-ink); }
.hero__lead { margin-top: 16px; font-size: 18.5px; line-height: 1.6; color: var(--hero-soft); }
.hero__lead a, .hero__lead strong { color: var(--hero-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 26px; }
.hero__fill--pic img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) {
  .hero { --gap-top: 14px; --gap-bottom: 23px; --gap-end: 13px; display: flex !important; flex-direction: column !important; min-height: calc(100vh - var(--header-h)) !important; min-height: calc(100svh - var(--header-h)) !important;
    height: auto !important; padding: 10px 0 8px; }
  .hero__in { display: contents !important; }
  .hero__in > * { position: relative; z-index: 1; }
  .hero__fill { flex: 1 1 0; min-height: 54px; margin: 0 var(--gutter); }
  .hero__fill--pic { --ratio: 2; max-height: calc((100vw - 2 * var(--gutter)) / var(--ratio)); }
  .hero__fill--pic img { width: 100%; height: 100%; object-fit: contain; }
  .hero__text { margin-top: auto !important; margin-bottom: auto !important; padding: var(--gap-top) var(--gutter) var(--gap-bottom); }
  .hero__text:last-child { padding-bottom: var(--gap-end); }
  .hero__title { font-size: 25px; line-height: 1.06; }
  .hero__title:lang(th) { line-height: 1.3; }
  .hero__lead { margin-top: 8px; font-size: 14.5px; line-height: 1.42; }
  .hero__lead:lang(th) { line-height: 1.6; }
  .hero__actions { margin-top: 14px; gap: 10px 12px; }
  .hero__actions .btn { flex: 1 1 140px; min-height: 50px; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 600px) and (max-height: 655px) {
  .hero { --gap-top: 8px; --gap-bottom: 17px; --gap-end: 8px; padding: 6px 0; }
  .hero__title { font-size: 23px; }
  .hero__lead { margin-top: 6px; font-size: 14px; line-height: 1.38; }
  .hero__actions { margin-top: 12px; }
  .hero__actions .btn { min-height: 48px; }
}
@media (max-width: 359px) {
  .hero__actions .btn { padding-left: 8px; padding-right: 8px; font-size: 16px; }
}
.hero { --logotype-h: 112px; }
.hero__logotype { container-type: size; height: var(--logotype-h); margin: 0 0 20px; line-height: 0; font-size: 0; grid-column: 1 / -1; }
.hero__logotype-pic { display: inline-block; vertical-align: top; width: auto; height: calc(100cqh * var(--lt-scale, 1)); max-height: var(--lt-max, none);
  max-width: 100%; margin-top: calc(100cqh * var(--lt-shift, 0) * -1); object-fit: contain; }
@media (max-width: 960px) {
  .hero { --logotype-h: 92px; }
  .hero__logotype { margin-bottom: 16px; }
}
@media (max-width: 600px) {
  .hero { --logotype-h: clamp(44px, calc(22svh - 90px), 84px); --lt-room: calc(var(--logotype-pad, 2px) + 8px); }
  .hero.hero--logotype { max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); }
  .hero.hero--logotype .hero__text--logotype { display: flex; flex-direction: column; min-height: 0; }
  .hero.hero--logotype .hero__text--logotype > * { flex: none; }
  .hero.hero--logotype .hero__text--logotype > .hero__logotype { flex: 0 1 calc(var(--logotype-h) + var(--lt-room)); align-self: stretch; height: auto; min-height: 0; margin: 0; }
  .hero--logotype .hero__logotype-pic { --lt-in: max(0px, calc(100cqh - var(--lt-room))); height: calc(var(--lt-in) * var(--lt-scale, 1));
    margin-top: calc(var(--logotype-pad, 2px) - var(--lt-in) * var(--lt-shift, 0)); }
}
@media (max-width: 600px) and (max-height: 655px) {
  .hero { --logotype-h: 40px; --lt-room: calc(var(--logotype-pad, 2px) + 6px); }
}
.doc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 0 56px; align-items: start; padding-top: 44px; padding-bottom: 84px; }
.doc__side { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.doc__main { min-width: 0; }
.updated { display: inline-flex; flex-wrap: wrap; align-items: stretch; max-width: 100%; margin: 0 0 16px; border: 2px solid var(--demo); border-radius: var(--radius-sm); overflow: hidden;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.15; }
.updated__label { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 8px 12px 8px 14px; background: var(--demo); color: var(--on-demo); }
.updated time { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 8px 14px 8px 12px; background: var(--surface-2); color: var(--ink); }
.toc { padding: 18px 18px 20px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.toc__head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: default; }
.toc__title { flex: 1 1 auto; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.15; }
.toc__word, .toc__arrow { display: none; }
.js .toc__head { cursor: pointer; }
.js .toc__word { display: inline; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--accent-deep); text-underline-offset: 3px; }
.js .toc__arrow { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; transition: transform .25s ease; }
.toc__arrow .i { width: 14px; height: 14px; }
.toc__head[aria-expanded="true"] .toc__arrow { transform: rotate(180deg); }
.toc__list[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .js .toc__arrow { transition: none; } }
.toc__list { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.toc__list > li { counter-increment: toc; display: flex; gap: 10px; padding: 0 0 0 12px; border-left: 2px solid var(--line); font-size: 15.5px; line-height: 1.35; }
.toc__list > li::before { content: counter(toc); flex: none; min-width: 1.4em; padding-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--accent-2); }
.toc__list a { display: block; min-height: 40px; padding: 9px 0; font-weight: 500; text-decoration: none; }
.toc__list a:hover { text-decoration: underline; }
.sec + .sec { margin-top: 64px; }
.sec > h2::before { content: ""; display: inline-block; width: .4em; height: .4em; margin: 0 .5em .12em .08em; background: var(--accent-2); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--accent-soft); vertical-align: middle; }
.prose p { margin-top: 14px; }
.sec > h2 + p { margin-top: 16px; }
.prose h3 { margin-top: 34px; }
.prose h3 + p { margin-top: 10px; }
.prose a { color: inherit; }
.prose p a, .prose li a { text-decoration-color: var(--accent-deep); }
@media (max-width: 1180px) {
  .doc { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .doc__side { position: static; max-height: none; overflow: visible; margin-bottom: 40px; }
  .toc__list { columns: 2; column-gap: 34px; }
  .toc__list > li { break-inside: avoid; }
}
@media (max-width: 600px) {
  .doc { padding-top: 24px; padding-bottom: 60px; }
  .doc__side { margin-bottom: 34px; }
  .toc { padding: 14px 14px 16px; }
  .toc__list { columns: 1; }
  .sec + .sec { margin-top: 52px; }
  .prose h3 { margin-top: 28px; }
}
@media (max-width: 359px) {
  .toc__head { gap: 8px; }
  .js .toc__word { font-size: 13.5px; }
}
.table-box { margin-top: 22px; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); overflow-x: auto; }
.table-wrap:focus-visible { outline-offset: 2px; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.table caption { padding: 12px 16px 10px; caption-side: top; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.3; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table thead th { background: var(--band); color: var(--band-ink); font-family: var(--font-display); font-weight: 500; font-size: 15.5px; line-height: 1.25; vertical-align: bottom; }
.table tbody tr + tr > * { border-top: 1px solid var(--line); }
.table tbody th { font-weight: 600; }
.table tbody tr:nth-child(even) > * { background: var(--surface-3); }
.table-hint { display: none; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; font-size: 14px; line-height: 1.3; color: var(--ink-soft); text-align: center; }
.table-hint .i { color: var(--accent-2); }
.table-box--scroll.is-scroll .table-hint { display: flex; }
.table--scroll th, .table--scroll td { white-space: nowrap; }
@media (max-width: 600px) {
  .table { font-size: 15.5px; }
  .table th, .table td { padding: 10px 12px; }
  html:not(.js) .table-box--scroll .table-hint { display: flex; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .table--stack caption { display: block; }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack th, .table--stack td { display: block; }
  .table--stack tbody tr + tr > * { border-top: 0; }
  .table--stack tbody th { background: var(--band) !important; color: var(--band-ink); font-size: 16px; }
  .table--stack tbody th[data-label]::before { content: attr(data-label) ": "; font-weight: 400; color: var(--band-soft); }
  .table--stack tbody td, .table--stack tbody tr:nth-child(even) td { background: var(--surface-2) !important; padding-top: 8px; padding-bottom: 10px; text-align: left; white-space: normal; }
  .table--stack tbody td.num { text-align: left; white-space: normal; }
  .table--stack tbody td + td { border-top: 1px solid var(--line) !important; }
  .table--stack td::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
}
.faq__list { margin-top: 22px; border-top: 3px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { font-family: var(--font-text); font-size: inherit; margin: 0 !important; }
.faq__q button { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 48px; padding: 18px 2px 18px 0; border: 0; background: none;
  font-family: var(--font-display); font-weight: 600; font-size: 19.5px; line-height: 1.3; color: inherit; text-align: left; cursor: pointer; }
.faq__q button:hover { color: var(--accent-2-deep); }
.faq__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid currentColor; transition: transform .3s cubic-bezier(.4, 0, .2, 1), background-color .2s ease; }
.faq__icon .i { width: 16px; height: 16px; }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent-deep); color: var(--on-accent); }
.faq__a { display: grid; grid-template-rows: 1fr; }
.faq__a-in { min-height: 0; overflow: hidden; }
.faq__a p { margin: 0; padding: 0 52px 22px 0; }
.js .faq__a { grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.4, 0, .2, 1); }
.js .faq__a-in { visibility: hidden; transition: visibility 0s linear .3s; }
.js .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.js .faq__item.is-open .faq__a-in { visibility: visible; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .js .faq__a, .js .faq__a-in, .faq__icon { transition: none; } }
@media (max-width: 600px) {
  .faq__q button { font-size: 18px; padding: 15px 2px 15px 0; gap: 12px; }
  .faq__icon { width: 32px; height: 32px; }
  .faq__a p { padding: 0 0 18px; }
}
.footer { background: var(--footer); color: var(--footer-ink); padding: 56px 0 36px; font-size: 15.5px; }
.footer a { color: var(--band-ink); }
.footer a:hover { color: var(--accent); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px 56px; align-items: start; }
.footer__logo { color: var(--band-ink); }
.footer__logo .logo-pic { width: auto; height: 60px; }
.footer__about { margin-top: 14px; }
.footer__title { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--band-ink); }
.footer__title--sub { margin-top: 20px; }
.footer__note { margin-top: 4px; font-size: 14.5px; color: var(--footer-soft); }
.footer__studio p { margin-top: 8px; }
.footer__provider-logo { display: inline-flex; margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.footer__provider-logo img { width: 120px; height: auto; }
.footer__provider-site { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--band-line); border-radius: 50%; }
.social a:hover { background: var(--band-2); border-color: var(--accent); }
.social svg { width: 20px; height: 20px; }
.footer__creds { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--band-line); }
.creds { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 16px; }
.creds__label { font-size: 13.5px; font-weight: 500; color: var(--footer-ink); }
.creds__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; list-style: none; }
.cred { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px; border-radius: 10px; background: #fff; }
.cred img { display: block; width: auto; height: 24px; }
a.cred:hover { background: #fff1c9; }
.footer__help { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--band-line); }
.footer__adults { display: flex; align-items: center; gap: 16px; }
.age { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 3px solid var(--accent-2); border-radius: 50%; background: #fff; color: #9e1520;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.footer__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: 18px; list-style: none; }
.footer__mark { display: inline-flex; align-items: center; min-height: 44px; color: var(--band-ink); text-decoration: none; opacity: .92; }
.footer__mark:hover { opacity: 1; }
.footer__mark img { width: auto; height: var(--mark-h, 30px); object-fit: contain; }
.footer__mark-text { font-weight: 500; font-size: 15px; }
.footer__langs { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--band-line); }
.footer__langs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.footer__langs a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid var(--band-line); border-radius: 999px; font-weight: 500; font-size: 14.5px; line-height: 1.1; text-decoration: none; }
.footer__langs a:hover { background: var(--band-2); }
.footer__langs a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.footer__langs .flag { width: 21px; height: 14px; }
.footer__bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--band-line); font-size: 14.5px; color: var(--footer-soft); }
@media (max-width: 760px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .footer { padding-top: 44px; }
  .footer__marks { gap: 8px 22px; }
  .footer__adults { align-items: flex-start; }
}
.totop { position: fixed; right: 18px; bottom: calc(18px + var(--bar-h, 0px)); z-index: 60; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 2px solid var(--accent); border-radius: 50%;
  background: var(--band); color: var(--accent); cursor: pointer; box-shadow: 0 8px 20px color-mix(in srgb, var(--shade) 35%, transparent); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, bottom .25s ease, visibility 0s linear .2s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.totop:hover { background: var(--band-2); }
.totop:focus-visible { outline-color: var(--accent-2); }
.totop[hidden] { display: none; }
.playbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--band); color: var(--band-ink); border-top: 3px solid var(--accent-2);
  box-shadow: 0 -10px 30px color-mix(in srgb, var(--shade) 30%, transparent); visibility: hidden; transform: translateY(100%); transition: transform .25s ease, visibility 0s linear .25s; }
.playbar.is-on { visibility: visible; transform: none; transition-delay: 0s; }
.playbar__in { display: flex; align-items: center; gap: 14px; min-height: 68px; padding-top: 9px; padding-bottom: 11px; }
.playbar__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent); }
.playbar__text { flex: 1 1 auto; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: 18.5px; line-height: 1.2; color: var(--band-ink); }
.playbar__go { flex: none; }
.playbar__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--band-line); border-radius: 50%; background: none; color: var(--band-ink); cursor: pointer; }
.playbar__close:hover { background: var(--band-2); }
@media (prefers-reduced-motion: reduce) { .totop, .playbar { transition: none; } }
@media (max-width: 600px) {
  .totop { right: 12px; bottom: calc(12px + var(--bar-h, 0px)); width: 46px; height: 46px; }
  .playbar__in { gap: 10px; min-height: 62px; }
  .playbar__text { font-size: 15.5px; line-height: 1.25; }
  .playbar__icon { width: 40px; height: 40px; }
  .playbar__close { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
  .playbar__icon { display: none; }
}
.lost { background: var(--hero-bg); color: var(--hero-ink); padding: 64px 0 72px; text-align: center; }
.lost__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 12vw, 120px); line-height: 1; color: var(--accent); }
.lost h1 { margin-top: 10px; color: var(--hero-ink); }
.lost__text { margin-top: 14px; font-size: 18.5px; color: var(--hero-soft); }
.lost__actions { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 600px) {
  .lost { padding: 44px 0 52px; }
  .lost__text { font-size: 16.5px; }
}
.is-locked { overflow: hidden; }
.langs { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.langs[hidden] { display: none; }
.langs__backdrop { position: absolute; inset: 0; background: var(--veil); }
.langs__box { position: relative; width: min(640px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain; background: var(--surface); color: var(--ink); border-radius: calc(var(--radius) * 1.25);
  box-shadow: 0 0 0 3px var(--accent), 0 26px 60px color-mix(in srgb, var(--shade) 50%, transparent); padding: 20px 22px 24px; }
.langs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.langs__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.15; }
.langs__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid currentColor; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.langs__close:hover { background: var(--accent-soft); }
.langs__list { list-style: none; margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.langs__list a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: inherit;
  font-weight: 500; font-size: 16.5px; line-height: 1.15; text-decoration: none; }
.langs__list a:hover { background: var(--accent-soft); }
.langs__list a[aria-current] { background: var(--accent); border-color: var(--accent-deep); color: var(--on-accent); }
.langs__list .flag { width: 30px; height: 20px; }
@media (max-width: 600px) {
  .langs { align-items: flex-end; padding: 0; }
  .langs__box { width: 100%; max-height: 88vh; border-radius: 20px 20px 0 0; box-shadow: 0 0 0 3px var(--accent); padding: 16px 14px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .langs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
  .langs__list a { min-height: 50px; padding: 0 11px; gap: 10px; font-size: 16px; }
}
@media (min-width: 1243px) {
.header .header__in { gap: 12px; }
.header .nav__list { gap: 2px; }
.header .nav__list a { display: flex; align-items: center; min-height: 40px; padding-left: 8px; padding-right: 8px; font-size: 16.25px; }
}
@media (min-width: 1193px) and (max-width: 1242px) {
.header .header__in { gap: 12px; }
.header .nav__list { gap: 2px; }
.header .nav__list a { display: flex; align-items: center; min-height: 40px; padding-left: 8px; padding-right: 8px; font-size: 15px; }
}
@media (max-width: 1192px) {
.header .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow: auto; overscroll-behavior: contain;
  background: var(--band); border-top: 1px solid var(--band-line); border-bottom: 3px solid var(--accent-2); padding: 10px 14px 18px; margin: 0; }
.header .nav.is-open { display: block; }
.header .nav__list { flex-direction: column; gap: 0; }
.header .nav__list a { padding: 13px 12px; font-size: 19.5px; white-space: normal; }
.header .burger { display: block; }
.header .lang-btn--menu { display: flex; width: 100%; min-height: 52px; margin-top: 10px; padding: 0 14px; font-size: 17px; gap: 12px; }
.header .lang-btn--menu .lang-btn__name { display: inline; }
.header .lang-btn--menu .lang-btn__code { display: none; }
.header .lang-btn--menu .lang-btn__chev { margin-left: auto; }
}
.header.is-snug .header__in { gap: 12px; }
.header.is-snug .nav__list { gap: 2px; }
.header.is-snug .nav__list a { display: flex; align-items: center; min-height: 40px; padding-left: 8px; padding-right: 8px; font-size: 15px; }
.header.is-tight .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow: auto; overscroll-behavior: contain;
  background: var(--band); border-top: 1px solid var(--band-line); border-bottom: 3px solid var(--accent-2); padding: 10px 14px 18px; margin: 0; }
.header.is-tight .nav.is-open { display: block; }
.header.is-tight .nav__list { flex-direction: column; gap: 0; }
.header.is-tight .nav__list a { padding: 13px 12px; font-size: 19.5px; white-space: normal; }
.header.is-tight .burger { display: block; }
.header.is-tight .lang-btn--menu { display: flex; width: 100%; min-height: 52px; margin-top: 10px; padding: 0 14px; font-size: 17px; gap: 12px; }
.header.is-tight .lang-btn--menu .lang-btn__name { display: inline; }
.header.is-tight .lang-btn--menu .lang-btn__code { display: none; }
.header.is-tight .lang-btn--menu .lang-btn__chev { margin-left: auto; }
.hero--board .hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); grid-template-areas: "text art"; align-items: center; gap: 28px 52px; }
.hero--board .hero__text { grid-area: text; }
.hb { grid-area: art; min-width: 0; }
.hb__board { padding: 14px 16px 12px; border-radius: var(--radius); background: var(--band); color: var(--band-ink);
  box-shadow: inset 0 0 0 1px var(--band-line), 0 18px 40px rgba(0, 0, 0, .35); }
.hb__table { width: 100%; border-collapse: separate; border-spacing: 0 5px; font-family: var(--font-display); }
.hb__title { caption-side: top; padding: 0 4px 6px; font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: .05em; text-align: left; text-transform: uppercase; color: var(--band-soft); }
.hb__table thead th { padding: 2px 10px 0; font-weight: 500; font-size: 13.5px; line-height: 1.2; text-align: left; color: var(--band-soft); vertical-align: bottom; }
.hb__row > * { padding: 8px 10px; font-weight: 600; font-size: 17px; line-height: 1.25; text-align: left; white-space: nowrap; color: var(--accent);
  background: var(--band-2) linear-gradient(180deg, transparent calc(50% - .5px), rgba(0, 0, 0, .42) calc(50% - .5px), rgba(0, 0, 0, .42) calc(50% + .5px), transparent calc(50% + .5px)); }
.hb__row > :first-child { border-radius: 7px 0 0 7px; }
.hb__row > :last-child { border-radius: 0 7px 7px 0; }
.hb__row > * + * { border-left: 2px solid var(--band); }
.hb__year { font-variant-numeric: tabular-nums; color: var(--band-ink) !important; }
.hb__game { letter-spacing: .03em; text-transform: uppercase; }
.hb__table .hb__num { text-align: right; font-variant-numeric: tabular-nums; }
.hb__row--next > * { color: var(--band-ink); background-color: color-mix(in srgb, var(--accent-2) 42%, var(--band-2)); }
.hb__open { text-align: right !important; letter-spacing: .03em; text-transform: uppercase; color: var(--band-ink) !important; }
:lang(th) .hb__row > * { line-height: 1.45; }
@media (max-width: 1000px) {
  .hero--board .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 24px 32px; }
  .hb__row > * { padding: 7px 8px; font-size: 15px; }
  .hb__table thead th { padding: 2px 8px 0; font-size: 12.5px; }
}
@media (max-width: 760px) and (min-width: 601px) {
  .hero--board .hero__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "text"; }
}
@media (max-width: 600px) {
  .hero--board { --gap-top: 9px; }
  .hb { container: hb / size; display: flex; flex-direction: column; justify-content: flex-end; max-height: 322px; margin-top: 4px; margin-bottom: 4px; }
  .hb__board { padding: 8px 8px 4px; box-shadow: inset 0 0 0 1px var(--band-line); }
  .hb__table { border-spacing: 0 4px; }
  .hb__title { height: 24px; padding: 0 4px 4px; font-size: 12.5px; line-height: 20px; white-space: nowrap; }
  .hb__table thead tr { height: 26px; }
  .hb__table thead th { padding: 0 6px; font-size: 11.5px; line-height: 1.1; white-space: normal; }
  .hb__row { height: 27px; }
  .hb__row > * { padding: 0 6px; font-size: 13.5px; line-height: 1.2; vertical-align: middle; }
  :lang(th) .hb__row > * { line-height: 1.3; }
  .hb__row > :first-child { border-radius: 5px 0 0 5px; }
  .hb__row > :last-child { border-radius: 0 5px 5px 0; }
  .hb__game { letter-spacing: .01em; }
}
@media (max-width: 600px) and (max-height: 655px) {
  .hero--board { --gap-top: 3px; }
}
@media (max-width: 374px) {
  .hb__board { padding-left: 6px; padding-right: 6px; }
  .hb__table thead th { padding: 0 4px; font-size: 11px; }
  .hb__row > * { padding: 0 4px; font-size: 12.5px; }
  .hb__game, .hb__open { letter-spacing: 0; text-transform: none; }
}
@container hb (max-height: 319px) { .hb__row:nth-child(-n+1) { display: none; } }
@container hb (max-height: 288px) { .hb__row:nth-child(-n+2) { display: none; } }
@container hb (max-height: 257px) { .hb__row:nth-child(-n+3) { display: none; } }
@container hb (max-height: 226px) { .hb__row:nth-child(-n+4) { display: none; } }
@container hb (max-height: 195px) { .hb__row:nth-child(-n+5) { display: none; } }
@container hb (max-height: 164px) { .hb__row:nth-child(-n+6) { display: none; } .hb__title { display: none; } }
.cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; padding: 20px 22px 22px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); border-top: 4px solid var(--accent-2); box-shadow: var(--shadow); }
.prose .card__title { margin: 0; font-size: 20px; }
.prose .card__text { margin-top: 8px; font-size: 16px; line-height: 1.55; }
@media (max-width: 1000px) {
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cards, .cards--3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card { padding: 16px 16px 18px; }
}
.cd--block { container-type: inline-size; margin-top: 22px; }
.prose .cd--block p { margin: 0; }
.cd--block.cd--digits { padding: 20px 24px 18px; border-radius: var(--radius); background: var(--band); color: var(--band-ink); box-shadow: var(--shadow); }
.cd--block .cd__label { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.cd--block .cd__label a, .cd--block .cd__done a { color: inherit; }
.cd--digits.cd--block .cd__face { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.cd--digits.cd--block .cd__cell { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 12px 6px 10px; border-radius: var(--radius-sm);
  background: var(--band-2); border: 1px solid var(--band-line); }
.cd--digits.cd--block .cd__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 10cqi, 64px); line-height: 1.05; color: var(--accent); }
.cd--digits.cd--block .cd__unit { margin-top: 4px; font-size: 15px; line-height: 1.25; color: var(--band-soft); text-align: center; }
.cd--digits.cd--block .cd__at { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--band-soft); }
html:not(.js) .cd--digits.cd--block .cd__at { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--accent); }
.cd--digits.cd--block .cd__done { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--accent); }
.cd--block.cd--plain { padding: 16px 20px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); border-left: 5px solid var(--accent-2); }
.js .cd--plain.cd--block:not(.is-done) .cd__face { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 20px; margin-top: 6px; }
.cd--plain.cd--block .cd__part { display: inline-flex; align-items: baseline; gap: 6px; }
.cd--plain.cd--block .cd__n { display: inline-block; min-width: 1.25em; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.15; text-align: right; color: var(--accent-2); }
.cd--plain.cd--block .cd__unit { font-size: 17px; }
.cd--plain.cd--block .cd__at { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
html:not(.js) .cd--plain.cd--block .cd__at { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); }
.cd--plain.cd--block .cd__done { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
@container (max-width: 420px) {
  .cd--digits.cd--block .cd__face { gap: 8px; }
  .cd--digits.cd--block .cd__unit { font-size: 13.5px; }
}
@media (max-width: 600px) {
  .cd--block.cd--digits { padding: 16px 14px 14px; }
  .cd--block .cd__label { font-size: 17.5px; }
  .cd--block.cd--plain { padding: 14px 14px 14px 12px; }
  .cd--plain.cd--block .cd__n { font-size: 28px; }
}
.cta-box { display: flex; align-items: center; gap: 18px 28px; margin-top: 26px; padding: 22px 26px; border-radius: var(--radius); background: var(--band); color: var(--band-ink); }
.prose .cta-box__text { flex: 1 1 auto; min-width: 0; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.cta-box__btn { flex: none; }
.cta-box :focus-visible { outline-color: var(--focus-band); }
@media (max-width: 700px) {
  .cta-box { flex-direction: column; align-items: stretch; padding: 20px 18px; }
  .prose .cta-box__text { font-size: 18.5px; }
  .cta-box__btn { width: 100%; }
}
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.duo__col { min-width: 0; padding: 20px 22px 22px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); border-top: 5px solid var(--demo); }
.duo__col--right { border-top-color: var(--accent-2); }
.prose .duo__title { margin: 0; font-size: 20px; }
.duo__list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.duo__list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; }
.duo__list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--demo)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.duo__col--right li::before { background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
:lang(th) .duo__list li::before { top: .3em; }
@media (max-width: 760px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .duo__col { padding: 16px 16px 18px; }
}
.gm-box { container: gmb / inline-size; margin-top: 22px; }
.gm { list-style: none; margin: 0; padding: 0; }
.gm__card { container-type: inline-size; min-width: 0; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gm__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gm__icon { flex: none; width: 72px; height: 72px; border-radius: 16px; }
.gm__id { min-width: 0; }
.prose .gm__name { margin: 0; font-size: 20px; line-height: 1.2; }
.prose .gm__year { margin: 3px 0 0; font-size: 14.5px; line-height: 1.35; color: var(--ink-soft); }
.gm__figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-radius: var(--radius-sm); background: var(--surface-3); border: 1px solid var(--line); }
.gm__fig { min-width: 0; padding: 8px 8px 9px; }
.gm__fig + .gm__fig { border-left: 1px solid var(--line); }
.gm__fig dt { font-size: 13.5px; line-height: 1.25; color: var(--ink-soft); }
.gm__fig dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 17.5px; line-height: 1.15; color: var(--accent-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose .gm__text { margin: 0; font-size: 16px; line-height: 1.55; }
.gm__go { display: flex; }
.gm__play { flex: 1 1 auto; }
.gm--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.gm--cards .gm__card { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 20px; border-top: 4px solid var(--accent-2); }
.gm--cards .gm__go { margin-top: auto; }
@container gmb (min-width: 618px) and (max-width: 935.98px) {
  .gm--cards > .gm__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.gm--rows { display: grid; gap: 14px; }
.gm--rows .gm__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 18px; padding: 16px 18px; border-left: 5px solid var(--accent-2); }
.gm--rows .gm__text { grid-column: 1 / -1; }
.gm--rows .gm__go { grid-column: 1 / -1; }
@container (max-width: 350px) {
  .gm__figs { grid-template-columns: minmax(0, 1fr); }
  .gm__fig { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 5px 10px 6px; }
  .gm__fig + .gm__fig { border-left: 0; border-top: 1px solid var(--line); }
  .gm__fig dd { margin: 0; }
}
@container gmb (min-width: 860px) {
  .gm--rows .gm__card { grid-template-columns: minmax(0, 230px) minmax(0, 330px) minmax(0, 1fr); align-items: center; }
  .gm--rows .gm__text { grid-column: 3; grid-row: 1 / span 2; }
  .gm--rows .gm__go { grid-column: 1 / span 2; }
}
@container gmb (max-width: 560px) {
  .gm--rows .gm__card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .gm--cards { gap: 14px; }
  .gm--cards .gm__card { padding: 16px 14px 16px; gap: 12px; }
  .gm--rows .gm__card { padding: 14px 14px; }
  .gm__icon { width: 64px; height: 64px; border-radius: 14px; }
  .gm__fig { padding: 7px 7px 8px; }
  .gm__fig dd { font-size: 17px; }
}
@media (max-width: 340px) {
  .gm__fig dd { font-size: 15.5px; }
}
.note { display: flex; gap: 14px; margin-top: 22px; padding: 16px 20px 16px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); border-left: 5px solid var(--accent-deep); }
.note--warn { background: color-mix(in srgb, var(--accent-2) 9%, var(--surface-2)); border-left-color: var(--accent-2); }
.note__icon { flex: none; padding-top: 2px; color: var(--accent-deep); }
.note--warn .note__icon { color: var(--accent-2); }
.note__body { flex: 1 1 auto; min-width: 0; }
.note__title { margin: 0 0 4px !important; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.prose .note__text { margin: 0; font-size: 16px; }
@media (max-width: 600px) {
  .note { gap: 10px; padding: 14px 14px 14px 12px; }
}
.series-box .table-box { margin-top: 22px; }
.series th, .series td { vertical-align: middle; }
.series tbody th { white-space: nowrap; }
.series__game { display: inline-flex; align-items: center; gap: 10px; }
.series__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.series__name { font-family: var(--font-display); font-weight: 600; }
.series__sub { color: var(--ink-soft); font-size: .9em; }
.series__date { white-space: nowrap; }
@media (min-width: 601px) {
  .series tbody tr.is-me > * { background: var(--accent-soft) !important; }
  .series tbody tr.is-me > th { box-shadow: inset 5px 0 0 var(--accent-2); }
  .series tbody tr.is-me .series__name { font-weight: 700; }
}
.series--7 th, .series--7 td, .series--6 th, .series--6 td { padding-left: 12px; padding-right: 12px; }
.series--7 { font-size: 15px; }
.series--7 .series__date, .series--6 .series__date { white-space: normal; }
@media (max-width: 1000px) {
  .series--6 .series__icon, .series--7 .series__icon { width: 32px; height: 32px; border-radius: 8px; }
  .series--6 .series__game, .series--7 .series__game { gap: 8px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .series--6, .series--7 { font-size: 14.5px; }
  .series--6 th, .series--6 td, .series--7 th, .series--7 td { padding: 10px 8px; }
  .series--6 tbody th, .series--7 tbody th { white-space: normal; }
}
@media (max-width: 600px) {
  .series tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series tbody th { grid-column: 1 / -1; white-space: normal; }
  .series tbody th[data-label]::before { content: none; }
  .series tbody td + td { border-top: 0 !important; }
  .series tbody td { border-top: 1px solid var(--line) !important; }
  .series tbody td:nth-of-type(even) { border-left: 1px solid var(--line); }
  .series tbody td:last-child:nth-of-type(odd) { grid-column: 1 / -1; }
  .series .num { text-align: left; }
  .series__icon { width: 36px; height: 36px; }
  .series tbody tr.is-me > th { box-shadow: inset 0 -4px 0 var(--accent-2); color: var(--accent); }
  .series tbody tr.is-me > td { background: var(--accent-soft) !important; }
}
.status-box { container-type: inline-size; margin-top: 22px; }
.status { list-style: none; margin: 0; padding: 0; }
.status__mark { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; line-height: 1.2; white-space: nowrap; }
.status__shape { flex: none; width: 22px; height: 22px; }
.status__mark--yes { color: var(--demo); }
.status__mark--no { color: var(--accent-2); }
.status__mark--unknown { color: var(--accent-deep); }
.status__mark .status__word { color: var(--ink); }
.status__mark--yes .status__k { stroke: var(--on-demo); }
.status__mark--no .status__k { stroke: var(--on-accent-2); }
.prose .status__label { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 17.5px; line-height: 1.3; }
.prose .status__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.status--list { display: grid; grid-template-columns: minmax(0, 1fr) max-content; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.status--list .status__row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; gap: 4px 16px; padding: 13px 18px 14px; }
.status--list .status__row + .status__row { border-top: 1px solid var(--line); }
.status--list .status__row--yes { box-shadow: inset 4px 0 0 var(--demo); }
.status--list .status__row--no { box-shadow: inset 4px 0 0 var(--accent-2); }
.status--list .status__row--unknown { box-shadow: inset 4px 0 0 var(--accent-deep); }
.status--list .status__text { grid-column: 1 / -1; }
@container (min-width: 700px) {
  .status--list { grid-template-columns: minmax(0, 34%) max-content minmax(0, 1fr); }
  .status--list .status__row { gap: 4px 20px; }
  .status--list .status__text { grid-column: auto; }
}
.status--board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.status--board .status__row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 14px 18px 16px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line); border-top: 5px solid var(--accent-deep); box-shadow: var(--shadow); }
.status--board .status__row--yes { border-top-color: var(--demo); }
.status--board .status__row--no { border-top-color: var(--accent-2); }
.status--board .status__row--unknown { border-top-style: dashed; }
.status--board .status__mark { order: -1; padding: 4px 11px 4px 7px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line); }
@media (max-width: 600px) {
  .status--list .status__row { padding: 12px 14px 13px; }
  .prose .status__label { font-size: 16.5px; }
  .prose .status__text { font-size: 15.5px; }
  .status--board { gap: 10px; }
  .status--board .status__row { padding: 12px 14px 14px; }
}
.steps { list-style: none; display: grid; gap: 0; margin-top: 20px; counter-reset: step; }
.step { position: relative; counter-increment: step; padding: 0 0 22px 60px; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; z-index: 1; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent-deep); font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 2px; width: 2px; background: var(--line); }
.step:last-child { padding-bottom: 0; }
.prose .step__title { margin: 0; padding-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.prose .step__text { margin-top: 4px; }
@media (max-width: 600px) {
  .step { padding-left: 52px; }
  .step::before { width: 36px; height: 36px; font-size: 17px; }
  .step:not(:last-child)::after { left: 17px; top: 40px; }
  .prose .step__title { padding-top: 5px; font-size: 18px; }
}
.list { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.list li { position: relative; padding-left: 30px; line-height: 1.55; }
.list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; background: var(--accent); border: 2px solid var(--accent-deep); transform: rotate(45deg); }
:lang(th) .list li::before { top: .62em; }
.cd__face { display: none; }
.js .cd__face { display: grid; }
.cd__done[hidden] { display: none; }
.cd.is-done .cd__label, .cd.is-done .cd__face, .cd.is-done .cd__at { display: none; }
.cd__n { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.cd__unit { display: inline-grid; justify-items: center; }
.cd__w { grid-area: 1 / 1; }
.cd__w--one { visibility: hidden; }
.cd__unit.is-one .cd__w--one { visibility: visible; }
.cd__unit.is-one .cd__w--other { visibility: hidden; }
.cd--plain .cd__unit { justify-items: start; }
:root {
  --gold-line: rgba(245, 196, 81, .55);
  --gold-faint: rgba(245, 196, 81, .2);
  --rose: #D2559D;
  --velvet-deep: #12071A;
  --fig: "Public Sans", "Sarabun", "Segoe UI", system-ui, sans-serif;
  --bead: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 20'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFE7A1'/%3E%3Cstop offset='.45' stop-color='%23F5C451'/%3E%3Cstop offset='1' stop-color='%23A97A22'/%3E%3C/linearGradient%3E%3Cpath id='b' d='M8 .8c2.2 0 7.2 6.7 7.2 9.2S10.2 19.2 8 19.2.8 12.5.8 10 5.8.8 8 .8z'/%3E%3C/defs%3E%3Cg fill='url(%23g)' stroke='%237A5514' stroke-width='.8'%3E%3Cuse href='%23b'/%3E%3Cuse href='%23b' x='16'/%3E%3Cuse href='%23b' x='32'/%3E%3Cuse href='%23b' x='48'/%3E%3Cuse href='%23b' x='64'/%3E%3Cuse href='%23b' x='80'/%3E%3Cuse href='%23b' x='96'/%3E%3C/g%3E%3C/svg%3E");
  --bead-open: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 1.2c2.1 0 6.8 6.4 6.8 8.8S10.1 18.8 8 18.8 1.2 12.4 1.2 10 5.9 1.2 8 1.2z' fill='%231A0B24' stroke='%23D2559D' stroke-width='1.4' stroke-dasharray='2.2 1.6'/%3E%3C/svg%3E");
  --coin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23F5C451' fill-rule='evenodd' d='M10 .8a9.2 9.2 0 1 1 0 18.4A9.2 9.2 0 0 1 10 .8zM7.2 7.2v5.6h5.6V7.2z'/%3E%3Ccircle cx='10' cy='10' r='7.4' fill='none' stroke='%23A97A22' stroke-width='.9'/%3E%3C/svg%3E");
}
body { font-size: 17px; line-height: 1.7; }
h1, h2, h3 { letter-spacing: -.005em; }
b, strong { color: #FFF7FF; }
::selection { background: rgba(245, 196, 81, .35); color: #FFF7FF; }
.btn { border-radius: 999px; font-weight: 600; letter-spacing: .005em; }
.btn--play { background: linear-gradient(180deg, #FFDC82 0%, #F5C451 55%, #EBB43E 100%); color: var(--on-accent); border-color: transparent;
  box-shadow: 0 4px 0 #946A1C, 0 9px 20px rgba(6, 1, 10, .45); }
.btn--play:hover { color: var(--on-accent); filter: brightness(1.05); box-shadow: 0 5px 0 #946A1C, 0 11px 22px rgba(6, 1, 10, .5); }
.btn--play:active { box-shadow: 0 1px 0 #946A1C, 0 3px 8px rgba(6, 1, 10, .4); }
.header { background: var(--velvet-deep); box-shadow: inset 0 -1px 0 var(--gold-faint); }
.lang-btn, .burger { border-color: var(--gold-faint); }
@media (min-width: 601px) {
  .hero { padding: 54px 0 92px; }
  .hero::after { content: ""; position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 30px; height: 26px;
    background: var(--bead) left center / auto 26px no-repeat, var(--bead-open) right center / auto 26px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) center / 100% 2px no-repeat; pointer-events: none; }
  .hero--board .hero__text { container-type: inline-size; }
  .hero__title { font-size: min(60px, 100cqi / 9.3); line-height: 1.06; letter-spacing: -.01em; }
  .hero__title:lang(id) { font-size: min(60px, 100cqi / 10.7); }
  .hero__title:lang(th) { line-height: 1.3; }
  .hero__lead { font-size: 18px; line-height: 1.65; }
}
.hero--board .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 28px 64px; }
.hb__board { position: relative; padding: 16px 18px 14px; border-radius: 10px; background: linear-gradient(180deg, #170A21, #0F0516); border: 1px solid var(--gold-line);
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--gold-faint), 0 26px 50px rgba(4, 0, 8, .6); }
.hb__title { padding: 0 4px 8px; font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--accent); }
.hb__table thead th { font-family: var(--font-text); font-weight: 600; font-size: 13px; color: var(--band-soft); }
.hb__row > * { color: var(--accent); background: #251031 linear-gradient(180deg, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) calc(50% - .5px), rgba(0, 0, 0, .55) calc(50% - .5px), rgba(0, 0, 0, .55) calc(50% + .5px), transparent calc(50% + .5px)); }
.hb__row > * + * { border-left: 2px solid #0F0516; }
.hb__year { font-family: var(--fig); font-weight: 700; color: var(--band-ink) !important; }
.hb__game { font-weight: 500; letter-spacing: .04em; }
.hb__table .hb__num { font-family: var(--fig); font-weight: 700; font-variant-numeric: tabular-nums; }
.hb__row--next > * { color: var(--band-ink); background-color: #4A1640; }
.hb__row--next > :first-child { box-shadow: inset 3px 0 0 var(--rose); }
.hb__open { font-weight: 500; letter-spacing: .05em; color: #FFE3F2 !important; }
@media (prefers-reduced-motion: no-preference) {
  .hb__row > * { animation: hb-flip .45s cubic-bezier(.25, .8, .35, 1) both; }
  .hb__row:nth-child(2) > * { animation-delay: .05s; }
  .hb__row:nth-child(3) > * { animation-delay: .1s; }
  .hb__row:nth-child(4) > * { animation-delay: .15s; }
  .hb__row:nth-child(5) > * { animation-delay: .2s; }
  .hb__row:nth-child(6) > * { animation-delay: .25s; }
  .hb__row:nth-child(7) > * { animation-delay: .3s; }
  .hb__row:nth-child(8) > * { animation-delay: .38s; }
}
@keyframes hb-flip { from { transform: perspective(320px) rotateX(-80deg); opacity: .15; } 55% { opacity: 1; } to { transform: none; opacity: 1; } }
.doc { padding-top: 52px; }
.updated { border-color: var(--accent); }
.updated__label { background: var(--accent); color: var(--on-accent); }
.toc { background: transparent; border: 1px solid var(--gold-faint); }
.toc__list > li { border-left-color: var(--gold-faint); }
.toc__list > li::before { font-family: var(--fig); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent); }
.toc__list a { color: var(--ink); }
.toc__list a:hover { color: var(--accent); }
.sec + .sec { margin-top: 58px; }
.sec > h2::before { content: none; }
.sec + .sec > h2::before { content: ""; display: block; width: 100%; height: 20px; margin: 0 0 30px; transform: none; box-shadow: none;
  background: var(--bead) left center / auto 20px no-repeat, var(--bead-open) right center / auto 20px no-repeat,
  linear-gradient(var(--gold-faint), var(--gold-faint)) center / 100% 2px no-repeat; }
.sec > h2 { font-size: clamp(27px, 2.7vw, 36px); line-height: 1.12; }
.prose p a, .prose li a { text-decoration-color: var(--accent); }
.list li::before { left: 2px; top: .38em; width: 14px; height: 14px; border: 0; transform: none; background: var(--coin) center / contain no-repeat; }
:lang(th) .list li::before { top: .55em; }
.note { background: rgba(245, 196, 81, .08); border-left-color: var(--accent); }
.note--warn { background: rgba(176, 52, 126, .16); border-left-color: var(--rose); }
.note__icon { color: var(--accent); }
.note--warn .note__icon { color: var(--rose); }
.note__title { font-weight: 600; }
.table-wrap { border: 1px solid var(--gold-line); border-radius: 8px; outline: 1px solid var(--gold-faint); outline-offset: 3px; background: var(--surface-2); }
.table caption { font-weight: 500; color: var(--ink); }
.table thead th { background: var(--velvet-deep); color: var(--band-soft); font-family: var(--font-text); font-weight: 600; font-size: 14px; }
.table .num { font-family: var(--fig); font-variant-numeric: tabular-nums; }
.table tbody tr:nth-child(even) > * { background: #261033; }
.series tbody .num { font-weight: 700; color: var(--accent); }
.series__name { font-weight: 500; }
.series__icon { border-radius: 10px; box-shadow: 0 0 0 1px var(--gold-line); }
.status-box { margin-top: 24px; }
.status--board { gap: 12px; }
.status--board .status__row { border-radius: 8px; border: 1px dashed rgba(210, 85, 157, .7); border-top-width: 1px; background: rgba(176, 52, 126, .08); box-shadow: none; }
.status--board .status__row--yes { border: 1px solid var(--gold-line); background: rgba(245, 196, 81, .1); }
.status--board .status__mark { background: var(--velvet-deep); border-color: transparent; }
.status__mark--no { color: var(--rose); }
.status__mark--yes { color: var(--accent); }
.cards { gap: 16px; }
.card { border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 12px; box-shadow: none; }
.duo__col { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; }
.duo__col--right { border-top-color: var(--rose); }
.duo__list li::before { background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8' fill='none' stroke='%231A0B24' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.duo__col--right li::before { background-color: var(--rose);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' fill='none' stroke='%231A0B24' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.step::before { background: linear-gradient(180deg, #FFDC82, #F5C451 60%, #E2A834); color: var(--on-accent); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--gold-line);
  font-family: var(--fig); font-weight: 800; }
.step:not(:last-child)::after { background: var(--gold-faint); }
.gm--cards { gap: 16px; }
.gm__card { border: 1px solid var(--gold-line); border-radius: 10px; box-shadow: none; }
.gm--cards .gm__card { border-top: 1px solid var(--gold-line); }
.gm__icon { border-radius: 14px; box-shadow: 0 0 0 1px var(--gold-line); }
.prose .gm__name { font-weight: 600; }
.gm__figs { background: var(--velvet-deep); border-color: var(--gold-faint); border-radius: 8px; }
.gm__fig + .gm__fig { border-left-color: var(--gold-faint); }
.gm__fig dd { font-family: var(--fig); font-weight: 800; color: var(--accent); }
@container gmb (min-width: 616px) {
  .gm--cards .gm__card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 14px 24px; }
  .gm--cards .gm__card:last-child:nth-child(odd) .gm__go { margin-top: 0; }
}
.cd--block.cd--plain { border: 1px solid var(--gold-line); border-left: 1px solid var(--gold-line); border-radius: 8px; outline: 1px solid var(--gold-faint); outline-offset: 3px; background: var(--velvet-deep); }
.cd--plain.cd--block .cd__n { font-family: var(--fig); font-weight: 800; font-size: 44px; color: var(--accent); }
@container (max-width: 460px) {
  .js .cd--plain.cd--block:not(.is-done) .cd__face { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
  .cd--plain.cd--block .cd__part { flex-direction: column; align-items: flex-start; gap: 0; }
  .cd--plain.cd--block .cd__n { min-width: 0; text-align: left; }
  .cd--plain.cd--block .cd__unit { font-size: 15px; line-height: 1.3; }
}
.cta-box { background: var(--velvet-deep); border: 1px solid var(--gold-line); border-radius: 12px; }
.faq__list { border-top: 2px solid var(--gold-line); }
.prose .faq__q { color: var(--ink); }
.faq__q button { font-weight: 500; }
.faq__q button:hover { color: var(--accent); }
.faq__icon { border-color: var(--gold-line); color: var(--accent); }
.faq__item.is-open .faq__icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.footer { position: relative; padding-top: 72px; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 22'%3E%3Cpath d='M0 11h36' stroke='%23B98A2C' stroke-width='1.4'/%3E%3Cpath fill='%23F5C451' fill-rule='evenodd' d='M18 2a9 9 0 1 1 0 18 9 9 0 0 1 0-18zM15.2 8.2v5.6h5.6V8.2z'/%3E%3Ccircle cx='18' cy='11' r='7.2' fill='none' stroke='%23A97A22' stroke-width='.9'/%3E%3C/svg%3E") left center / 36px 22px repeat-x; opacity: .9; }
.footer__langs a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.playbar { border-top: 1px solid var(--gold-line); }
.totop { border-color: var(--gold-line); }
.langs__box { box-shadow: 0 0 0 1px var(--gold-line), 0 0 0 5px var(--surface), 0 0 0 6px var(--gold-faint), 0 26px 60px rgba(4, 0, 8, .6); }
.langs__list a[aria-current] { border-color: var(--accent); }
.lost { position: relative; padding-bottom: 104px; }
.lost::after { content: ""; position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 36px; height: 22px;
  background: var(--bead) left center / auto 22px no-repeat, var(--bead-open) right center / auto 22px no-repeat, linear-gradient(var(--gold-line), var(--gold-line)) center / 100% 2px no-repeat; }
@media (max-width: 1180px) {
  .hero--board .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 490px); gap: 24px 48px; }
}
@media (max-width: 1000px) {
  .hero--board .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 24px 36px; }
}
@media (max-width: 900px) and (min-width: 601px) {
  .hero { padding-top: 44px; }
  .hero--board .hero__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "art"; gap: 34px; }
  .hero__title { font-size: min(60px, 100cqi / 14.4); }
  .hero__title:lang(es) { font-size: min(60px, 100cqi / 17.8); }
  .hero__title:lang(pt) { font-size: min(60px, 100cqi / 16.4); }
  .hero__title:lang(th) { font-size: min(60px, 100cqi / 14.3); }
  .hero__title:lang(fr) { font-size: min(60px, 100cqi / 16.3); }
  .hero__title:lang(de) { font-size: min(60px, 100cqi / 18.1); }
  .hero__title:lang(id) { font-size: min(60px, 100cqi / 20.4); }
}
@media (max-width: 600px) {
  .hb { max-height: 450px; }
  .hb__board { flex: 1 1 auto; display: flex; flex-direction: column; padding: 8px 8px 4px; border: 0; box-shadow: inset 0 0 0 1px var(--gold-line); }
  .hb__table { flex: 1 1 auto; height: 100%; }
  .hb__title { padding: 0 4px 4px; font-size: 13.5px; }
  .hb__table thead th { font-size: 11.5px; }
  .sec + .sec > h2::before { height: 16px; margin-bottom: 24px; background-size: auto 16px, auto 16px, 100% 2px; }
  .cd--plain.cd--block .cd__n { font-size: 36px; }
  .langs__box { box-shadow: 0 0 0 1px var(--gold-line), 0 -20px 50px rgba(4, 0, 8, .55); }
}
@media (max-width: 600px) {
  .hero--board:lang(th) { --gap-top: 7px; --gap-end: 15px; }
}
@media (max-width: 600px) and (max-height: 655px) {
  .hero--board:lang(th) { --gap-top: 1px; --gap-end: 10px; }
}
@media (max-width: 600px) and (min-height: 730px) {
  .hb__title { font-size: 14.5px; }
  .hb__table thead th { font-size: 12.5px; }
  .hb__row > * { font-size: 14px; }
}
