:root {
  color-scheme: light;
  --surface: #fbf4e4;
  --surface-2: #fffbf2;
  --surface-3: #f6ecd5;
  --ink: #1e1b2e;
  --ink-soft: #554e66;
  --line: #dccaa2;
  --accent: #c0281c;
  --accent-deep: #8e1c13;
  --on-accent: #fff8ea;
  --accent-soft: #f8e4d8;
  --accent-2: #c0281c;
  --accent-2-deep: #8e1c13;
  --on-accent-2: #fff8ea;
  --demo: #2f7d6b;
  --demo-ink: #23614f;
  --demo-bg: #fffbf2;
  --on-demo: #ffffff;
  --band: #f1e6cc;
  --band-2: #e6d6ae;
  --band-ink: #1e1b2e;
  --band-soft: #4e4760;
  --band-line: rgba(30, 27, 46, .2);
  --footer: #f1e6cc;
  --footer-ink: #2b2739;
  --footer-soft: #554e66;
  --hero-bg: url("../images/woodblock-clouds.svg") center top / 236px auto repeat, #f1e6cc;
  --hero-ink: #1e1b2e;
  --hero-soft: #4a4459;
  --focus: #1e1b2e;
  --focus-band: #2f7d6b;
  --shadow: 0 1px 0 rgba(94, 70, 20, .06), 0 6px 16px rgba(94, 70, 20, .07);
  --shade: #1e1b2e;
  --veil: rgba(30, 27, 46, .78);
  --radius: 8px;
  --radius-sm: calc(var(--radius) * .75);
  --radius-btn: calc(var(--radius) * .875);
  --font-display: "Fraunces", "Trirong", "Trebuchet MS", system-ui, sans-serif;
  --font-text: "Source Sans 3", "Sarabun", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces/fraunces-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: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces/fraunces-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: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3/source-sans-3-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: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3/source-sans-3-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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Trirong"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/trirong/trirong-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: "Trirong"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/trirong/trirong-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: 1246px) {
.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: 17.25px; }
}
@media (min-width: 1160px) and (max-width: 1245px) {
.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: 1159px) {
.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--wheel .hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "text art"; align-items: center; gap: 28px 56px; }
.hero--wheel .hero__text { grid-area: text; }
.hw { grid-area: art; display: flex; justify-content: center; min-width: 0; }
.hw .wh__ring { width: 100%; max-width: 500px; }
.hw .wh__list::before { border-color: color-mix(in srgb, var(--hero-ink) 22%, transparent); }
.hw .wh__disc { background: var(--surface-2); }
.hw .wh__year { color: var(--hero-ink); }
.hw .wh__animal { color: var(--hero-soft); }
.hw .wh__pl--next .wh__animal { color: var(--hero-ink); }
.hw .wh__pl--later .wh__disc { border-color: color-mix(in srgb, var(--hero-ink) 32%, transparent); color: var(--hero-soft); }
.hw .wh__pl--later .wh__year, .hw .wh__pl--later .wh__animal { color: var(--hero-soft); }
.hw .wh__mid-title { color: var(--hero-ink); }
@container (max-width: 399px) {
  .hw .wh__list { --k: 1.109; height: 100cqi; }
  .hw .wh__pl { --r: 6.2; }
  .hw .wh__pl--next { --r: 7.4; }
  .hw .wh__year, .hw .wh__animal, .hw .wh__tag, .hw .wh__mid-text { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%);
    white-space: nowrap; text-indent: 4px; }
  .hw .wh__seal { width: 27cqi; height: 27cqi; border-radius: 3.6cqi; }
}
@media (max-width: 900px) {
  .hero--wheel .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 24px 32px; }
}
@media (max-width: 720px) and (min-width: 601px) {
  .hero--wheel .hero__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "text"; }
  .hw .wh__ring { max-width: 440px; }
}
@media (max-width: 600px) {
  .hero--wheel { --gap-top: 11px; }
  .hero--wheel .hw { container-type: size; align-items: center; min-height: 150px; max-height: min(calc(100vw - 2 * var(--gutter)), 400px); margin-top: 4px; margin-bottom: 4px; }
  .hw .wh__ring { width: min(100cqw, 100cqh); max-width: none; }
}
@media (max-width: 600px) {
  .hero--wheel:lang(th) { --gap-top: 14px; }
}
@media (max-width: 600px) and (max-height: 655px) {
  .hero--wheel { --gap-top: 4px; }
  .hero--wheel:lang(th) { --gap-top: 7px; }
}
.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%; }
}
.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; }
}
.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; }
}
.tl { margin-top: 22px; container-type: inline-size; }
.prose .tl__caption { margin: 0 0 14px; font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.3; }
.tl__list { --w: 96px; --d: 52px; list-style: none; margin: 0; padding: 0; }
.tl__st { position: relative; display: grid; grid-template-columns: var(--w) var(--d) minmax(0, 1fr); align-items: start; padding-bottom: 14px; }
.tl__st:last-child { padding-bottom: 0; }
.tl__st::before { content: ""; position: absolute; left: calc(var(--w) + var(--d) / 2 - 2px); top: 0; bottom: 0; width: 4px; background: var(--accent-2); }
.tl__st:first-child::before { top: calc(var(--d) / 2); }
.tl__st--next::before { bottom: auto; height: calc(var(--d) / 2); background: repeating-linear-gradient(180deg, var(--accent-2) 0 5px, transparent 5px 10px); }
.prose .tl__when { display: flex; flex-direction: column; align-items: flex-end; margin: 0; padding: 5px 14px 0 0; line-height: 1.15; text-align: right; }
.tl__year { font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tl__animal { margin-top: 2px; font-size: 14.5px; color: var(--ink-soft); }
.tl__dot { position: relative; z-index: 1; display: grid; place-items: center; width: var(--d); height: var(--d); border-radius: 50%; overflow: hidden;
  background: var(--surface-2); box-shadow: 0 0 0 3px var(--accent-2), 0 0 0 7px var(--surface); }
.tl__icon { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tl__dot--open { background: var(--surface); box-shadow: none; border: 3px dashed var(--accent-2); color: var(--accent-2); }
.tl__dot--open .tl__char { width: 62%; height: 62%; }
.tl__body { min-width: 0; margin-left: 14px; padding: 12px 18px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tl__st--next .tl__body { background: transparent; box-shadow: none; border: 2px dashed var(--line); }
.prose .tl__game { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 18.5px; line-height: 1.25; }
.prose .tl__game--next { color: var(--accent-2); }
.prose .tl__fact { margin: 4px 0 0; font-size: 15.5px; line-height: 1.4; }
.tl__k { color: var(--ink-soft); }
.tl__v { font-weight: 500; }
.tl__gap { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; line-height: 1.3;
  background: var(--surface-3); border: 1px solid var(--line); }
.prose p.tl__gap { margin: 9px 0 0; }
.tl__gap--before { background: color-mix(in srgb, var(--demo) 14%, var(--surface-2)); border-color: color-mix(in srgb, var(--demo) 45%, transparent); }
.tl__gap--after { background: color-mix(in srgb, var(--accent-2) 11%, var(--surface-2)); border-color: color-mix(in srgb, var(--accent-2) 40%, transparent); }
@container (min-width: 640px) {
  .tl__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 4px 18px; }
  .prose .tl__fact { margin: 0; }
  .tl__k { display: block; font-size: 13.5px; line-height: 1.3; }
  .prose p.tl__gap { margin: 0; justify-self: start; }
  .tl__st--next .tl__game { grid-column: 1 / 3; }
  .tl__st--next .tl__fact--lny { grid-column: 3; }
}
@container (max-width: 420px) {
  .tl__list { --w: 64px; --d: 44px; }
  .prose .tl__when { padding: 4px 10px 0 0; }
  .tl__year { font-size: 19px; }
  .tl__animal { font-size: 13.5px; }
  .tl__body { margin-left: 10px; padding: 10px 12px 12px; }
  .prose .tl__game { font-size: 17px; }
  .prose .tl__fact { font-size: 14.5px; }
  .tl__gap { font-size: 13.5px; padding: 2px 9px; }
}
.tl-table th, .tl-table td { vertical-align: middle; }
.tl__sub { color: var(--ink-soft); font-size: .92em; }
.tl-table tbody th { white-space: nowrap; }
.tl__name, .tl__next { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.tl-table .tl__icon { flex: none; width: 32px; height: 32px; border-radius: 8px; }
.tl-table .tl__char { flex: none; width: 26px; height: 26px; color: var(--accent-2); }
.tl-table .tl__gap { white-space: nowrap; }
.tl-table tbody tr:last-child > * { background: var(--accent-soft); }
@media (max-width: 600px) {
  .tl-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-table tbody th { grid-column: 1 / -1; }
  .tl-table tbody th .tl__sub { color: var(--band-soft); }
  .tl-table tbody td + td { border-top: 0 !important; }
  .tl-table tbody td { border-top: 1px solid var(--line) !important; }
  .tl-table tbody td:nth-of-type(even) { border-left: 1px solid var(--line); }
  .tl-table .tl__gap { white-space: normal; }
  .tl-table tbody tr:last-child > td { background: var(--accent-soft) !important; }
}
.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; }
.wh--block { container: whb / inline-size; margin: 22px 0 0; }
.wh--block .wh__body { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px 32px; padding: 22px 22px 20px;
  border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.wh--block .wh__ring { max-width: 620px; }
.wh__key { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0; padding: 0; font-size: 15.5px; line-height: 1.35; }
.wh__key-item { position: relative; padding-left: 30px; }
.wh__key-item::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; box-sizing: border-box; }
.wh__key-item--game::before { background: var(--surface-2); box-shadow: 0 0 0 3px var(--accent-2); left: 3px; width: 16px; height: 16px; margin-top: -8px; }
.wh__key-item--next::before { background: var(--accent-2); box-shadow: 0 0 0 3px var(--accent); }
.wh__key-item--later::before { border: 2px dashed var(--ink-soft); }
.prose .wh__caption, .wh__caption { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
@container whb (min-width: 860px) {
  .wh--block .wh__body { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); align-items: center; justify-items: stretch; }
  .wh__key { flex-direction: column; justify-content: flex-start; gap: 14px; }
}
@container whb (max-width: 539px) {
  .wh--block .wh__body { padding: 14px 12px 14px; gap: 14px; }
  .wh--block .wh__ring { container-type: normal; display: flex; flex-direction: column; }
  .wh--block .wh__list { order: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; height: auto; }
  .wh--block .wh__list::before { content: none; }
  .wh--block .wh__pl { position: static; width: auto; margin: 0; padding: 10px 4px 10px; border-radius: var(--radius-sm); background: var(--surface-3); border: 1px solid var(--line); }
  .wh--block .wh__disc { width: 52px; height: 52px; box-shadow: 0 0 0 3px var(--accent-2); }
  .wh--block .wh__pl--next { background: var(--accent-soft); border-color: var(--accent-2); }
  .wh--block .wh__pl--next .wh__disc { width: 52px; height: 52px; box-shadow: 0 0 0 3px var(--accent); }
  .wh--block .wh__pl--later .wh__disc { border-width: 2px; }
  .wh--block .wh__year { margin-top: 6px; font-size: 17px; }
  .wh--block .wh__animal { font-size: 14px; }
  .wh--block .wh__game { display: block; margin-top: 3px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; line-height: 1.2; }
  .wh--block .wh__tag { margin-top: 4px; padding: 1px 9px; font-size: 13px; }
  .wh--block .wh__mid { order: 1; position: static; flex-direction: row; gap: 12px; width: auto; height: auto; margin: 0 0 12px; text-align: left; }
  .wh--block .wh__seal { flex: none; width: 58px; height: 58px; border-radius: 10px; box-shadow: inset 0 0 0 3px var(--accent-2), inset 0 0 0 5px var(--on-accent-2); }
  .wh--block .wh__mid-text { align-items: flex-start; }
  .wh--block .wh__mid-title { display: block; margin: 0; font-size: 18px; }
  .wh--block .wh__mid-dates { display: block; margin: 2px 0 0; font-size: 14.5px; }
  .wh__key { justify-content: flex-start; gap: 8px 16px; font-size: 14.5px; }
}
.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; }
.wh__ring { position: relative; container-type: inline-size; width: 100%; }
.wh__list { position: relative; list-style: none; height: 104cqi; margin: 0; padding: 0; }
.wh__list::before { content: ""; position: absolute; left: calc((50 - 39.5 * var(--k, 1)) * 1cqi); top: calc((50 - 39.5 * var(--k, 1)) * 1cqi);
  width: calc(79cqi * var(--k, 1)); height: calc(79cqi * var(--k, 1)); border-radius: 50%; border: .5cqi solid var(--line); }
.wh__pl { --r: 5; position: absolute; left: calc((50 + (var(--x) - 50) * var(--k, 1)) * 1cqi); top: calc((50 + (var(--y) - 50) * var(--k, 1) - var(--r)) * 1cqi);
  display: flex; flex-direction: column; align-items: center;
  width: 17cqi; margin-left: -8.5cqi; line-height: 1.1; text-align: center; }
.wh__disc { display: grid; place-items: center; width: calc(var(--r) * 2cqi); height: calc(var(--r) * 2cqi); border-radius: 50%; overflow: hidden;
  background: var(--surface-2); box-shadow: 0 0 0 .45cqi var(--accent-2); }
.wh__icon { width: 100%; height: 100%; object-fit: cover; }
.wh__char { width: 64%; height: 64%; }
.wh__year { margin-top: 1cqi; font-family: var(--font-display); font-weight: 700; font-size: max(13px, 3.1cqi); line-height: 1.1; font-variant-numeric: tabular-nums; }
.wh__animal { font-size: max(12px, 2.6cqi); line-height: 1.2; color: var(--ink-soft); }
.wh__game { display: none; }
.wh__tag { margin-top: .5cqi; padding: .15cqi 1.2cqi; border-radius: 99px; background: var(--accent-2); color: var(--on-accent-2); font-family: var(--font-display); font-weight: 600; font-size: 2.3cqi; line-height: 1.3; }
.wh__pl--next { --r: 6.2; }
.wh__pl--next .wh__disc { background: var(--accent-2); color: var(--on-accent-2); box-shadow: 0 0 0 .6cqi var(--accent), 0 0 0 1.6cqi color-mix(in srgb, var(--accent) 30%, transparent); }
.wh__pl--next .wh__char { width: 66%; height: 66%; }
.wh__pl--next .wh__animal { color: var(--ink); font-weight: 600; }
.wh__pl--later .wh__disc { background: transparent; box-shadow: none; border: .4cqi dashed var(--line); color: var(--ink-soft); }
.wh__pl--later .wh__year, .wh__pl--later .wh__animal { color: var(--ink-soft); font-weight: 500; }
.wh__pl--later .wh__char { opacity: .7; }
.wh__mid { position: absolute; left: 50cqi; top: 50cqi; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50cqi; margin: -25cqi 0 0 -25cqi;
  height: 50cqi; text-align: center; line-height: 1.2; }
.wh__seal { display: grid; place-items: center; width: 17cqi; height: 17cqi; border-radius: 2.4cqi; background: var(--accent-2); color: var(--on-accent-2);
  box-shadow: inset 0 0 0 .7cqi var(--accent-2), inset 0 0 0 1.1cqi var(--on-accent-2); }
.wh__seal .zodiac { width: 70%; height: 70%; }
.wh__mid-text { display: flex; flex-direction: column; align-items: center; }
.wh__mid-title { margin-top: 2cqi; font-family: var(--font-display); font-weight: 700; font-size: 3.6cqi; line-height: 1.15; }
.wh__mid-dates { margin-top: 1cqi; font-size: 2.6cqi; line-height: 1.3; color: var(--ink-soft); }
:root { --ochre: #b8860b; --ochre-ink: #7d5c07; --jade: #276b5b; --rule: #cdac63; --paper-deep: #f1e6cc;
  --frame: url("../images/almanac-frame.svg"); --clouds: url("../images/woodblock-clouds.svg"); }
body { font-size: 17.5px; line-height: 1.66; }
h1, h2, h3 { letter-spacing: -.01em; }
h1 { font-weight: 700; }
h2 { font-weight: 650; }
h3 { font-weight: 620; }
:lang(th) h1, :lang(th) h2, :lang(th) h3 { letter-spacing: 0; }
::selection { background: color-mix(in srgb, var(--accent-2) 22%, transparent); }
.btn { font-weight: 600; letter-spacing: .005em; }
.btn--play { background: var(--accent); color: var(--on-accent); border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px rgba(255, 248, 234, .78), 0 3px 0 var(--accent-deep); }
.btn--play:hover { background: #a92218; border-color: #a92218; color: var(--on-accent); filter: none;
  box-shadow: inset 0 0 0 2px #a92218, inset 0 0 0 3px rgba(255, 248, 234, .82), 0 4px 0 var(--accent-deep); }
.btn--play:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px rgba(255, 248, 234, .78), 0 0 0 var(--accent-deep); }
.header { background: var(--surface); box-shadow: 0 1px 0 var(--rule), 0 4px 0 var(--surface), 0 5px 0 var(--rule); }
.nav__list a { color: var(--ink); font-weight: 560; border-radius: 4px; }
.nav__list a:hover { background: transparent; color: var(--accent-2); text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.lang-btn, .burger { border-color: color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 6px; }
.lang-btn:hover { background: var(--band); }
.header.is-compact .nav { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 0;
  box-shadow: 0 1px 0 var(--rule), 0 4px 0 var(--surface), 0 5px 0 var(--rule), 0 22px 30px rgba(60, 44, 10, .14); }
.header.is-compact .nav__list li + li { border-top: 1px solid var(--line); }
.header.is-compact .nav__list a:hover { text-decoration: none; background: var(--band); }
.hero { border-bottom: 3px double var(--rule); }
.hero__title { color: var(--ink); letter-spacing: -.018em; }
.hero__lead { color: var(--hero-soft); }
@media (min-width: 601px) {
  .hero { padding: 62px 0 64px; }
  .hero--wheel .hero__title { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.05; }
  .hero--wheel .hero__lead { margin-top: 22px; }
  .hero--wheel .hero__lead { font-size: 19px; line-height: 1.6; }
  .hero::before { content: ""; position: absolute; inset: 14px; border: 30px solid transparent; border-image: var(--frame) 30 stretch; pointer-events: none; }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .hero::before { inset: 7px; border-width: 21px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero--wheel .hero__lead { font-size: 17.5px; line-height: 1.55; }
  .hero--wheel .hero__title { font-size: 33px; }
}
.wh__list::before { border: max(3px, .7cqi) double color-mix(in srgb, var(--ochre) 75%, transparent); }
.hw .wh__list::before { border-color: color-mix(in srgb, var(--ochre) 75%, transparent); }
.wh__disc { background: var(--surface-2); box-shadow: 0 0 0 .45cqi var(--surface-2), 0 0 0 .85cqi var(--ochre); }
.wh__year { color: var(--ink); }
.wh__year, .wh__animal, .wh__tag { text-shadow: 0 0 2px var(--surface-2), 0 0 4px var(--surface-2), 0 0 7px var(--surface-2); }
.hw .wh__year, .hw .wh__animal { text-shadow: 0 0 2px var(--paper-deep), 0 0 4px var(--paper-deep), 0 0 7px var(--paper-deep); }
.wh__tag { text-shadow: none; }
.wh__pl--next .wh__disc { border-radius: 1.2cqi; background: var(--accent-2); color: var(--on-accent-2);
  box-shadow: inset 0 0 0 .75cqi var(--accent-2), inset 0 0 0 1.1cqi var(--on-accent-2), 0 0 0 .55cqi var(--surface-2), 0 0 0 .95cqi var(--ochre); }
.wh__pl--next .wh__char { width: 70%; height: 70%; }
.wh__tag { border-radius: .6cqi; padding: .1cqi 1.1cqi .25cqi; }
.wh__pl--later .wh__disc { background: color-mix(in srgb, var(--surface-2) 55%, transparent); border: max(1.5px, .35cqi) dashed color-mix(in srgb, var(--ochre) 85%, transparent); }
.hw .wh__pl--later .wh__disc { border-color: color-mix(in srgb, var(--ochre) 85%, transparent); color: var(--hero-soft); }
.wh__pl--later .wh__char { opacity: .62; }
.wh__seal { border-radius: 1.6cqi; }
.wh__mid-title { color: var(--ink); }
.hw .wh__mid { padding: 0 7cqi; }
.hw .wh__mid-title { line-height: 1.08; text-align: center; }
.hw .wh__list::after { content: ""; position: absolute; z-index: -1; left: 24cqi; top: 24cqi; width: 52cqi; height: 52cqi; border-radius: 50%;
  background: radial-gradient(closest-side, var(--surface-2) calc(87% - 1px), var(--ochre) calc(87% - 1px) 87%, transparent 87%),
    repeating-conic-gradient(from 14.6deg, var(--ochre-ink) 0 .8deg, transparent .8deg 30deg),
    radial-gradient(closest-side, transparent 93.5%, var(--surface-2) 93.5%),
    repeating-conic-gradient(from -.35deg, color-mix(in srgb, var(--ochre) 80%, transparent) 0 .7deg, transparent .7deg 5deg), var(--surface-2);
  box-shadow: 0 0 0 1.5px var(--ochre), 0 0 0 .9cqi var(--paper-deep), 0 0 0 calc(.9cqi + 1px) color-mix(in srgb, var(--ochre) 70%, transparent); }
@container (max-width: 399px) {
  .hw .wh__list::after { left: 17cqi; top: 17cqi; width: 66cqi; height: 66cqi; }
}
@media (prefers-reduced-motion: no-preference) {
  .hw .wh__seal { animation: fg-stamp .55s cubic-bezier(.2, .7, .3, 1) .2s both; }
  @keyframes fg-stamp { from { transform: scale(1.22) rotate(-6deg); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
}
.updated { border-radius: 4px; }
.toc { background: transparent; border: 0; border-top: 3px double var(--rule); border-bottom: 3px double var(--rule); border-radius: 0; padding: 14px 2px 14px; }
.toc__list > li { border-left: 0; padding-left: 0; }
.toc__list > li + li { border-top: 1px solid var(--line); }
.toc__list > li::before { color: var(--accent-2); font-weight: 700; }
.toc__list a:hover { color: var(--accent-2-deep); }
.js .toc__arrow { border-width: 1.5px; }
.sec + .sec { position: relative; margin-top: 60px; padding-top: 54px; border-top: 3px double var(--rule); }
.sec + .sec::before { content: ""; position: absolute; left: 50%; top: -7px; width: 9px; height: 9px; margin-left: -5px; background: var(--surface); border: 1.5px solid var(--ochre); transform: rotate(45deg); }
.sec > h2::before { width: .5em; height: .5em; margin: 0 .42em .1em 0; background: var(--accent-2); transform: none; border-radius: .07em;
  box-shadow: inset 0 0 0 .06em var(--accent-2), inset 0 0 0 .1em rgba(255, 248, 234, .85); }
.prose a, .prose p a, .prose li a { color: var(--jade); text-decoration-color: color-mix(in srgb, var(--jade) 45%, transparent); text-decoration-thickness: 1.5px; }
.prose a:hover, .prose p a:hover, .prose li a:hover { color: var(--accent-2-deep); text-decoration-color: var(--accent-2); }
.list li::before { left: 6px; top: .64em; width: 7px; height: 7px; background: var(--ochre); border: 0; }
.cd--block.cd--digits { position: relative; padding: 30px 34px 24px; border-radius: 0; background: var(--clouds) 0 0 / 320px auto repeat, var(--band); color: var(--ink); box-shadow: none; }
.cd--block.cd--digits::before, .wh--block .wh__body::before, .cta-box::before { content: ""; position: absolute; inset: 5px; border: 22px solid transparent; border-image: var(--frame) 30 stretch; pointer-events: none; }
.cd--block .cd__label { color: var(--ink); }
.cd--digits.cd--block .cd__cell { position: relative; padding: 16px 6px 10px; border-radius: 0 0 4px 4px; background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: inset 0 9px 0 var(--accent-2), 0 2px 0 rgba(94, 70, 20, .08); }
.cd--digits.cd--block .cd__n { color: var(--ink); line-height: 1.24; }
.cd--digits.cd--block .cd__unit, .cd--digits.cd--block .cd__at { color: var(--ink-soft); }
.wh--block .wh__body { position: relative; background: var(--surface-2); border: 0; border-radius: 0; box-shadow: none; padding: 34px 32px 28px; }
.wh__key-item--game::before { background: var(--surface-2); box-shadow: 0 0 0 2px var(--surface-2), 0 0 0 3.5px var(--ochre); }
.wh__key-item--next::before { border-radius: 3px; background: var(--accent-2); box-shadow: inset 0 0 0 3px var(--accent-2), inset 0 0 0 4px var(--on-accent-2); }
.wh__key-item--later::before { border-color: var(--ochre); }
.gm--rows { gap: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.gm--rows .gm__card { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 22px 2px 24px; }
.gm--rows .gm__card + .gm__card { border-top: 1px solid var(--line); }
.gm__icon { border-radius: 14px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ochre); }
.prose .gm__name { font-weight: 650; font-size: 21px; }
.gm__figs { background: transparent; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; }
.gm__fig + .gm__fig { border-left-color: var(--line); }
.gm__fig dd { color: var(--ink); font-size: 18px; }
.gm--rows .gm__play { flex: 0 1 auto; }
.gm__play.btn--play { min-height: 46px; padding: 6px 22px; font-size: 17px; background: transparent; color: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 2px 0 color-mix(in srgb, var(--accent-2) 30%, transparent); }
.gm__play.btn--play:hover { background: var(--accent-2); color: var(--on-accent-2); box-shadow: 0 3px 0 var(--accent-deep); }
.status--list { background: transparent; border: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); border-radius: 0; }
.status--list .status__row, .status--list .status__row--yes, .status--list .status__row--no, .status--list .status__row--unknown { box-shadow: none; padding-left: 2px; padding-right: 2px; }
.status__mark--unknown { color: var(--ochre-ink); }
.prose .status__label { font-weight: 620; }
.table-wrap { border: 1.5px solid var(--ink); border-radius: 0; background: var(--surface-2); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--rule); }
.table caption { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.table thead th { background: var(--surface-3); color: var(--ink); font-weight: 650; border-bottom: 3px double var(--ink); }
.table th + th, .table th + td, .table td + td { border-left: 1px solid var(--line); }
.table tbody tr:nth-child(even) > * { background: transparent; }
.tl-table .tl__icon { border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ochre); }
.tl__gap { border-radius: 3px; }
.note { background: color-mix(in srgb, var(--ochre) 9%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--ochre) 32%, transparent); border-left: 4px solid var(--ochre); border-radius: 2px 6px 6px 2px; }
.note__icon { color: var(--ochre-ink); }
.note--warn { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent-2) 30%, transparent); border-left-color: var(--accent-2); }
.note--warn .note__icon { color: var(--accent-2); }
.step::before { border-radius: 5px; background: var(--accent-2); color: var(--on-accent-2); box-shadow: inset 0 0 0 3px var(--accent-2), inset 0 0 0 4.5px rgba(255, 248, 234, .8); }
.step:not(:last-child)::after { width: 0; background: none; border-left: 1.5px dashed var(--rule); }
.cta-box { position: relative; padding: 34px 38px; border-radius: 0; background: var(--clouds) 0 0 / 320px auto repeat, var(--band); color: var(--ink); }
.cta-box > * { position: relative; z-index: 1; }
.prose .cta-box__text { font-weight: 650; font-size: 21px; }
.faq__list { border-top: 3px double var(--ink); }
.faq__q button { font-weight: 620; }
.faq__icon { border-width: 1.5px; }
.faq__item.is-open .faq__icon { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent-2); }
.footer { background: var(--clouds) center top / 320px auto repeat, var(--footer); border-top: 1px solid var(--rule); box-shadow: inset 0 3px 0 var(--footer), inset 0 4px 0 var(--rule); }
.footer a:hover { color: var(--accent-2-deep); }
.footer__provider-logo { background: var(--ink); border-radius: 4px; }
.footer__mark:has(img) { padding: 6px 10px; background: var(--ink); border-radius: 4px; }
.footer__langs a { border-color: color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 4px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.footer__langs a[aria-current] { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent-2); }
.social a { border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.footer__help, .footer__langs, .footer__bottom { border-top-color: var(--rule); }
.age { background: var(--surface-2); color: var(--accent-2-deep); border-width: 2.5px; border-radius: 6px; }
.playbar { background: var(--surface); border-top: 0; box-shadow: 0 -1px 0 var(--rule), 0 -4px 0 var(--surface), 0 -5px 0 var(--rule), 0 -14px 28px rgba(60, 44, 10, .12); }
.totop { background: var(--surface-2); border: 1.5px solid var(--accent-2); color: var(--accent-2); box-shadow: 0 6px 16px rgba(60, 44, 10, .18); }
.totop:hover { background: var(--accent-soft); }
.langs__backdrop { background: rgba(30, 27, 46, .55); }
.langs__box { border-radius: 10px; box-shadow: 0 0 0 1px var(--rule), 0 24px 60px rgba(30, 27, 46, .35); }
.langs__list a[aria-current] { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent-2); }
.lost__code { color: var(--accent-2); }
@media (max-width: 600px) {
  body { font-size: 17px; }
  .sec + .sec { margin-top: 46px; padding-top: 44px; }
  .cd--block.cd--digits { padding: 24px 22px 20px; }
  .cd--block.cd--digits::before, .wh--block .wh__body::before, .cta-box::before { inset: 4px; border-width: 16px; }
  .wh--block .wh__body { padding: 24px 20px 20px; }
  .cta-box { padding: 26px 22px; }
  .langs__box { box-shadow: 0 0 0 1px var(--rule), 0 -12px 40px rgba(30, 27, 46, .3); }
}
@media (max-width: 600px) {
  .hero--wheel { --gap-top: 14px; --gap-end: 10px; }
  .hero--wheel:lang(th) { --gap-top: 15px; --gap-end: 12px; }
}
@media (max-width: 600px) and (max-height: 655px) {
  .hero--wheel { --gap-top: 7px; --gap-end: 5px; }
  .hero--wheel:lang(th) { --gap-top: 9px; --gap-end: 6px; }
}
.footer__mark img { width: auto; height: 30px; }
@container gmb (min-width: 860px) {
  .gm--rows .gm__card { grid-template-columns: minmax(0, 250px) minmax(0, 290px) minmax(0, 1fr); column-gap: 22px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .hero--wheel .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 28px 40px; }
  .hero--wheel .hero__title { font-size: 40px; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .hero--wheel .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 24px 28px; }
  .hero--wheel .hero__title { font-size: 30px; }
}
