.guide{width:min(760px,100%);color:var(--body);font-family:var(--reader-font);font-size:var(--reader-font-size);font-kerning:normal;font-optical-sizing:auto;margin-inline:auto;line-height:1.78;container-type:inline-size}.guide :where(h1,h2,h3,h4,p,li,figcaption,blockquote,td,th,dd,dt,a){overflow-wrap:break-word}.guide :where(h1,h2,h3,h4){color:var(--ink);text-wrap:balance}.guide :where(p,li,figcaption,blockquote){text-wrap:pretty}.guide a,.guide a:visited{color:var(--blue);text-underline-offset:.16em}.guide-header{padding-top:clamp(56px,9vw,104px)}.guide-context{color:var(--blue);margin:0 0 16px;font-size:.875em;font-weight:600}.guide-title-group{gap:18px;display:grid}.guide-title{font:inherit;gap:18px;margin:0;display:grid}.guide-title-en{letter-spacing:-.035em;max-width:14ch;margin:0;font-size:clamp(2.25em,1.4em + 3.8vw,3.8em);font-weight:700;line-height:1.05;display:block}.guide-title-th{max-width:620px;color:var(--body);margin:0;font-size:1.5em;font-weight:500;line-height:1.45;display:block}html[data-title-mode=en] .guide-title-th,html[data-title-mode=th] .guide-title-en,.guide[data-title-mode=en] .guide-title-th,.guide[data-title-mode=th] .guide-title-en{display:none}.guide .guide-meta{color:var(--muted);margin:28px 0 0;font-size:.75em}.guide-introduction{border-top:1px solid var(--line);margin-top:clamp(52px,8vw,76px);padding-top:30px}.guide-introduction>:first-child{margin-top:0}.guide-introduction>:last-child{margin-bottom:0}.guide p{max-width:70ch;margin:0 0 22px}.challenge-list{margin-top:clamp(72px,10vw,112px)}.challenge{border-top:2px solid var(--line-strong);scroll-margin-top:calc(var(--header-height) + 28px);padding:clamp(46px,8vw,72px) 0}.challenge-heading{letter-spacing:0;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:0 .34em;margin:0 0 28px;font-size:1.9em;font-weight:700;line-height:1.25;display:grid}.challenge-number{color:var(--blue);font-variant-numeric:tabular-nums}.challenge-title,.objective-title{flex-wrap:wrap;align-items:baseline;gap:0 .32em;min-width:0;display:flex}.challenge-title-en,.challenge-title-th,.objective-title-en,.objective-title-th{min-width:0;color:var(--ink);font:inherit;overflow-wrap:break-word}.challenge-title-en,.objective-title-en{letter-spacing:-.02em}.challenge-title-separator,.objective-title-separator{color:var(--muted);font-weight:400}html[data-title-mode=en] :where(.challenge-title-th,.challenge-title-separator),html[data-title-mode=th] :where(.challenge-title-en,.challenge-title-separator),html[data-title-mode=en] :where(.objective-title-th,.objective-title-separator),html[data-title-mode=th] :where(.objective-title-en,.objective-title-separator),.guide[data-title-mode=en] :where(.challenge-title-th,.challenge-title-separator),.guide[data-title-mode=th] :where(.challenge-title-en,.challenge-title-separator),.guide[data-title-mode=en] :where(.objective-title-th,.objective-title-separator),.guide[data-title-mode=th] :where(.objective-title-en,.objective-title-separator){display:none}.content-heading{margin:34px 0 16px;line-height:1.4}h2.content-heading{font-size:1.45em}h3.content-heading{font-size:1.2em}h4.content-heading{font-size:1.05em}.content-list{color:var(--body);margin:14px 0 20px;padding-left:1.35em}.content-list li+li{margin-top:7px}.content-list .content-list{margin:7px 0 0}.objective{border-bottom:1px solid var(--line);color:var(--body);grid-template-columns:10px minmax(0,1fr);gap:0 18px;padding:24px 0;display:grid}.objective:first-of-type{border-top:1px solid var(--line);margin-top:26px}.objective:last-of-type{border-bottom:0}.objective-marker{background:var(--blue);border-radius:50%;width:7px;height:7px;margin-top:.68em}.objective-body{min-width:0}.objective-heading{color:var(--ink);flex-wrap:wrap;align-items:baseline;gap:0 .34em;margin:0 0 9px;font-size:1.08em;font-weight:600;line-height:1.45;display:flex}.objective-content>:last-child{margin-bottom:0}.objective-content>p{margin-bottom:16px}.inline-asset{vertical-align:-.3em;object-fit:contain;width:1.22em;height:1.22em;margin-inline:.22em}.callout{border:1px solid var(--line);background:var(--note);color:var(--body);border-radius:8px;margin:20px 0 0;padding:18px 20px}.callout[data-tone=tip]{background:var(--tip-soft)}.callout[data-tone=warning]{background:var(--warning-soft)}.callout[data-tone=comment]{background:var(--comment-soft)}.guide .callout-label{color:var(--blue);font-family:var(--ui-font);align-items:center;gap:.35em;margin:0 0 8px;font-size:1em;font-weight:600;line-height:1.5;display:flex}.callout[data-tone=tip] .callout-label{color:var(--tip)}.callout[data-tone=warning] .callout-label{color:var(--warning)}.callout[data-tone=comment] .callout-label{color:var(--comment)}.guide .callout-title{color:var(--ink);margin:0;font-size:.9em;font-weight:600;line-height:1.6}.callout-content{font-size:.9em}.callout-title+.callout-content{margin-top:5px}.callout-content>p{margin:0;line-height:1.6}.callout-content>:last-child{margin-bottom:0}[data-text-color=muted]{color:var(--muted)}[data-text-color=accent]{color:var(--blue)}[data-text-color=success]{color:var(--tip)}[data-text-color=warning]{color:var(--warning)}[data-text-color=danger]{color:var(--danger)}.guide :not(pre)>code{background:var(--surface-strong);color:var(--ink);border-radius:4px;padding:.08em .32em;font-size:.88em}.code-block{border:1px solid var(--line);background:var(--surface);border-radius:8px;margin:22px 0;overflow:hidden}.code-block-header{border-bottom:1px solid var(--line);min-height:42px;color:var(--muted);font-family:var(--ui-font);justify-content:space-between;align-items:center;gap:16px;padding:7px 10px 7px 14px;font-size:.78em;display:flex}.code-copy-button{min-height:30px;color:var(--blue);background:0 0;border:0;border-radius:5px;padding:3px 8px}.code-copy-button:hover{background:var(--blue-soft)}.code-block pre{color:var(--ink);tab-size:2;margin:0;padding:18px;font:500 .9em/1.7 ui-monospace,Cascadia Code,SFMono-Regular,Consolas,monospace;overflow-x:auto}.code-block pre code{color:inherit;font:inherit;background:0 0;border-radius:0;padding:0}.figure{margin:24px 0 0}.figure-medium{width:75%}.figure-compact{width:50%}.figure-align-left{margin-right:auto}.figure-align-center{margin-left:auto;margin-right:auto}.figure-align-right{margin-left:auto}.image-zoom-button{background:var(--surface);cursor:zoom-in;border:0;border-radius:8px;width:100%;padding:0;line-height:0;display:block;overflow:hidden}.image-zoom-button img{object-fit:contain;width:100%;height:auto;transition:opacity .18s ease-out;display:block}.image-zoom-button:hover img{opacity:.86}.guide figcaption{color:var(--muted);text-align:center;margin-top:10px;font-size:.75em}.content-columns{align-items:start;gap:clamp(20px,3.5vw,32px);margin-top:24px;display:grid}.content-columns[data-ratio="50/50"]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.content-columns[data-ratio="60/40"]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.content-columns[data-ratio="40/60"]{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}.content-column{min-width:0}.content-column>:first-child{margin-top:0}.content-column>:last-child{margin-bottom:0}.content-column p{max-width:none}.content-column .figure{width:100%;margin-top:0}.table-scroll{border:1px solid var(--line);background:var(--page);border-radius:8px;margin-top:28px;overflow-x:auto}.guide table{border-collapse:collapse;width:100%;min-width:620px;font-size:1em}.guide :where(th,td){border-bottom:1px solid var(--line);vertical-align:top;padding:14px 15px}.guide thead{background:var(--surface-strong)}.guide th{color:var(--ink);font-weight:600}.guide td{color:var(--body)}.guide tbody tr{transition:background-color .14s ease-out}.guide tbody tr:hover{background:var(--surface)}.guide tbody tr:last-child>*{border-bottom:0}.guide blockquote{border-left:1px solid var(--line-strong);max-width:66ch;color:var(--ink);margin:22px 0;padding:2px 0 2px 18px}.guide blockquote p{margin-bottom:8px}.guide cite{color:var(--muted);font-size:.82em}.content-divider{background:var(--line);border:0;height:1px;margin:30px 0}.reference-link{flex-wrap:wrap;align-items:baseline;gap:4px 14px;font-size:.875em;display:flex}.guide-introduction>.reference-link{margin:22px 18px 0 0;display:inline-flex}.reference-link span{color:var(--muted)}.embed{margin:38px 0 0}.embed-youtube iframe{aspect-ratio:16/9;background:var(--surface);border:0;border-radius:10px;width:100%;display:block}.embed-youtube[data-aspect-ratio="4/3"] iframe{aspect-ratio:4/3}.embed-youtube[data-aspect-ratio="1/1"] iframe{aspect-ratio:1}.embed-link-preview{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;gap:3px;margin:22px 0;padding:14px 16px;text-decoration:none;display:grid}.embed-link-preview:hover{border-color:var(--line-strong)}.embed-link-preview span{color:var(--muted);font-size:.8em}@container (width<=620px){.challenge-heading{font-size:1.5em}.content-columns{grid-template-columns:minmax(0,1fr)!important}.figure-medium,.figure-compact{width:100%}}@media (prefers-reduced-motion:reduce){.image-zoom-button img,.guide tbody tr{transition:none}}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/bai-jamjuree-thai-400.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/bai-jamjuree-latin-ext-400.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Bai Jamjuree;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/bai-jamjuree-latin-400.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/bai-jamjuree-thai-500.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/bai-jamjuree-latin-ext-500.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Bai Jamjuree;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/bai-jamjuree-latin-500.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/bai-jamjuree-thai-600.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/bai-jamjuree-latin-ext-600.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Bai Jamjuree;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/bai-jamjuree-latin-600.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/bai-jamjuree-thai-700.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/bai-jamjuree-latin-ext-700.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Bai Jamjuree;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/bai-jamjuree-latin-700.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Serif Thai;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/noto-serif-thai-thai-400.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Serif Thai;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/noto-serif-thai-latin-ext-400.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Noto Serif Thai;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/noto-serif-thai-latin-400.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Serif Thai;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/noto-serif-thai-thai-500.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Serif Thai;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/noto-serif-thai-latin-ext-500.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Noto Serif Thai;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/noto-serif-thai-latin-500.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Serif Thai;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/noto-serif-thai-thai-600.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Serif Thai;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/noto-serif-thai-latin-ext-600.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Noto Serif Thai;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/noto-serif-thai-latin-600.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Serif Thai;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/noto-serif-thai-thai-700.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Serif Thai;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/noto-serif-thai-latin-ext-700.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Noto Serif Thai;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/noto-serif-thai-latin-700.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sarabun-thai-400.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sarabun-latin-ext-400.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sarabun-latin-400.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sarabun;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sarabun-thai-500.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sarabun-latin-ext-500.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Sarabun;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sarabun-latin-500.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sarabun;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sarabun-thai-600.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sarabun-latin-ext-600.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Sarabun;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sarabun-latin-600.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sarabun-thai-700.woff2)format("woff2");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sarabun-latin-ext-700.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sarabun-latin-700.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:dark;--page:oklch(15% .014 255);--surface:oklch(19% .016 255);--surface-strong:oklch(23% .018 255);--line:oklch(30% .02 255);--line-strong:oklch(43% .035 253);--ink:oklch(89% .008 255);--body:oklch(75% .014 255);--muted:oklch(61% .018 255);--blue:oklch(68% .145 253);--blue-soft:oklch(24% .045 253);--note:oklch(21% .028 253);--tip:oklch(73% .12 152);--tip-soft:oklch(21% .026 152);--warning:oklch(78% .12 82);--warning-soft:oklch(22% .028 82);--danger:oklch(72% .15 28);--danger-soft:oklch(22% .03 28);--comment:oklch(72% .105 302);--comment-soft:oklch(22% .025 302);--scrollbar-thumb:oklch(38% .025 255);--scrollbar-thumb-hover:oklch(50% .055 253);--overlay-ink:oklch(94% .006 255);--overlay-body:oklch(82% .012 255);--reader-font-size:1rem;--reader-font:"Sarabun", "Leelawadee UI", Tahoma, sans-serif;--ui-font:"Bai Jamjuree", "Leelawadee UI", Tahoma, sans-serif;--header-height:64px;--z-sticky:30;--z-drawer-backdrop:31;--z-drawer:32;--z-popover:34;--z-modal:50;--z-toast:60}html[data-theme=light]{color-scheme:light;--page:oklch(90% .01 255);--surface:oklch(93% .008 255);--surface-strong:oklch(85% .014 255);--line:oklch(73% .018 255);--line-strong:oklch(56% .045 253);--ink:oklch(21% .03 255);--body:oklch(33% .026 255);--muted:oklch(45% .024 255);--blue:oklch(40% .16 253);--blue-soft:oklch(82% .04 253);--note:oklch(85% .025 253);--tip:oklch(35% .12 152);--tip-soft:oklch(86% .035 152);--warning:oklch(38% .11 72);--warning-soft:oklch(86% .04 82);--danger:oklch(43% .15 28);--danger-soft:oklch(86% .035 28);--comment:oklch(42% .12 302);--comment-soft:oklch(86% .035 302);--scrollbar-thumb:oklch(61% .025 255);--scrollbar-thumb-hover:oklch(47% .07 253)}html[data-reader-size=default]{--reader-font-size:1rem}html[data-reader-size=medium]{--reader-font-size:1.125rem}html[data-reader-size=large]{--reader-font-size:1.25rem}html[data-reader-size=xlarge]{--reader-font-size:1.375rem}html[data-reader-font=sarabun]{--reader-font:"Sarabun", "Leelawadee UI", Tahoma, sans-serif}html[data-reader-font=bai-jamjuree]{--reader-font:"Bai Jamjuree", "Leelawadee UI", Tahoma, sans-serif}html[data-reader-font=noto-serif-thai]{--reader-font:"Noto Serif Thai", "Th Sarabun New", serif}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px;scroll-padding-top:calc(var(--header-height) + 28px);scrollbar-color:var(--scrollbar-thumb) var(--page);scrollbar-width:thin;scrollbar-gutter:stable}body{background:var(--page);min-width:320px;min-height:100dvh;color:var(--body);font-family:var(--ui-font);-webkit-font-smoothing:antialiased;flex-direction:column;margin:0;font-size:17px;line-height:1.78;display:flex}body>main{flex:1 0 auto}button,input,select,textarea{font:inherit}button:not(:disabled),summary{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}img{max-width:100%}:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.toc-handle:focus-visible,.reading-settings-trigger:focus-visible{outline-offset:-3px}::selection{background:var(--blue-soft);color:var(--ink)}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:var(--page)}::-webkit-scrollbar-thumb{border:3px solid var(--page);background:var(--scrollbar-thumb);border-radius:6px;min-height:48px}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:var(--z-toast);background:var(--blue);color:var(--page);padding:8px 12px;position:fixed;top:-60px;left:16px}.skip-link:focus{top:12px}.progress{z-index:calc(var(--z-sticky) + 1);width:var(--reading-progress,0%);background:var(--blue);height:2px;position:fixed;inset:0 auto auto 0}.site-header{z-index:var(--z-sticky);height:var(--header-height);border-bottom:1px solid var(--line);background:var(--page);position:sticky;top:0}.header-inner{align-items:center;gap:12px;width:min(1180px,100%);height:100%;margin:0 auto;padding:0 24px;display:flex}.brand{color:var(--ink);letter-spacing:-.015em;white-space:nowrap;flex:none;margin-right:auto;font-size:17px;font-weight:700;text-decoration:none}.brand-accent{color:var(--blue)}.brand-compact{display:none}.plain-button{border:1px solid var(--line);min-height:38px;color:var(--body);background:0 0;border-radius:8px;padding:0 12px;font-size:13px}.plain-button:hover{border-color:var(--muted);color:var(--ink)}.icon-button{width:38px;min-width:38px;height:38px;color:var(--muted);background:0 0;border:0;border-radius:7px;flex:0 0 38px;place-items:center;padding:0;display:inline-grid}.icon-button:hover{background:var(--surface-strong);color:var(--ink)}.theme-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;grid-area:1/1;width:18px;height:18px;display:block}.theme-icon-sun,html[data-theme=light] .theme-icon-moon{opacity:0}html[data-theme=light] .theme-icon-sun{opacity:1}::view-transition-old(root),::view-transition-new(root){animation-duration:.26s;animation-timing-function:ease}.game-switch{border:1px solid var(--line);border-radius:8px;align-items:center;gap:2px;padding:3px;display:flex}.game-button{min-height:30px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:5px;place-items:center;padding:0 10px;font-size:12px;font-weight:600;text-decoration:none;display:grid}.game-button:hover{color:var(--ink)}.game-button.active{background:var(--blue-soft);color:var(--blue)}.league-menu{position:relative}.league-menu summary{border:1px solid var(--line);min-width:142px;min-height:38px;color:var(--body);border-radius:8px;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:10px;padding:0 9px 0 12px;list-style:none;display:grid}.league-menu summary::-webkit-details-marker{display:none}.league-menu summary:hover{border-color:var(--muted)}.league-menu[open] summary{border-color:var(--blue);background:var(--surface)}.league-current{white-space:nowrap;align-items:baseline;gap:7px;min-width:0;display:flex}.league-current-name{color:var(--ink);text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.league-current-version,.league-option-version{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.league-chevron{fill:none;width:14px;height:14px;stroke:var(--muted);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;transition:transform .16s ease-out}.league-menu[open] .league-chevron{transform:rotate(180deg)}.league-options{z-index:var(--z-popover);border:1px solid var(--line);background:var(--surface);border-radius:9px;width:min(236px,100vw - 20px);padding:8px;position:absolute;top:calc(100% + 8px);right:0}.league-options-label{color:var(--muted);margin:0;padding:5px 8px 8px;font-size:12px}.league-option-list{gap:2px;margin:0;padding:0;list-style:none;display:grid}.league-option{min-height:40px;color:var(--body);background:0 0;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:0 9px 0 10px;font-size:13px;font-weight:600;text-decoration:none;display:flex}.league-option:hover{background:var(--surface-strong);color:var(--ink)}.league-option.active,.league-option.active:hover{background:var(--blue-soft);color:var(--blue)}.league-option-side{align-items:center;gap:8px;display:flex}.league-check{fill:none;width:14px;height:14px;stroke:var(--blue);stroke-width:2px}.mobile-toc-button{display:none}.guide-main{width:min(1180px,100% - 48px);margin:0 auto;padding-bottom:96px}.guide-feedback{border-top:1px solid var(--line);width:min(760px,100%);color:var(--muted);font-family:var(--ui-font);justify-content:space-between;align-items:center;gap:24px;margin:42px auto 0;padding:22px 0;font-size:13px;display:flex}.guide-feedback p{margin:0}.guide-feedback strong{color:var(--ink);margin-bottom:2px;font-size:14px;display:block}.feedback-button{border:1px solid var(--line-strong);min-height:38px;color:var(--body);background:0 0;border-radius:7px;flex:none;padding:0 13px;font-size:13px;font-weight:600}.feedback-button:hover{border-color:var(--blue);color:var(--blue)}.toc-rail{top:var(--header-height);z-index:var(--z-drawer);width:384px;height:calc(100vh - var(--header-height));pointer-events:none;position:fixed;right:0}.toc-handle{pointer-events:auto;background:0 0;border:0;place-items:center;width:34px;height:224px;padding:0;display:grid;position:absolute;top:38%;right:0;transform:translateY(-50%)}.toc-ticks{flex-direction:column;align-items:flex-end;gap:9px;display:flex}.toc-ticks i{background:var(--muted);opacity:.55;transform-origin:100%;width:22px;height:1px;transition:transform .15s ease-out,background .15s ease-out,opacity .15s ease-out;display:block;transform:scaleX(.55)}.toc-ticks i:nth-child(3n+1){transform:scaleX(.82)}.toc-handle:hover .toc-ticks i,.toc-handle:focus-visible .toc-ticks i,.toc-rail.open .toc-ticks i{background:var(--blue);opacity:1;transform:scaleX(1)}.toc-panel{border-left:1px solid var(--line);background:var(--surface);pointer-events:auto;flex-direction:column;width:min(360px,100%);transition:transform .22s cubic-bezier(.22,1,.36,1);display:flex;position:absolute;inset:0 0 0 auto;transform:translate(100%)}.toc-rail.open .toc-panel{transform:translate(0)}.toc-header{border-bottom:1px solid var(--line);padding:20px}.toc-title-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.toc-title-row h2{color:var(--ink);margin:0;font-size:21px}.toc-title-actions{align-items:center;gap:2px;display:flex}.toc-pin-button,.close-button{width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.toc-pin-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:18px;height:18px}.close-button{font-size:22px;line-height:1}.toc-pin-button:hover,.close-button:hover{background:var(--surface-strong);color:var(--ink)}.toc-pin-button.active{background:var(--blue-soft);color:var(--blue)}.toc-close-button{font-size:22px;display:none}.toc-search{border:1px solid var(--line);background:var(--page);width:100%;height:42px;color:var(--ink);border-radius:7px;margin-top:16px;padding:0 12px}.toc-search::placeholder{color:var(--muted);opacity:1}.toc-list{scrollbar-color:var(--scrollbar-thumb) var(--surface);flex:1;min-height:0;margin:0;padding:10px 12px 18px;font-size:15px;list-style:none;overflow-y:auto}.toc-list a{color:var(--body);border-radius:6px;grid-template-columns:26px minmax(0,1fr);gap:9px;padding:9px 8px;line-height:1.35;text-decoration:none;display:grid}.toc-list a:hover,.toc-list a[aria-current=location]{background:var(--surface-strong);color:var(--ink)}.toc-number{color:var(--blue);font-variant-numeric:tabular-nums;padding-top:1px;font-size:13px}.toc-name{gap:1px;min-width:0;display:grid}.toc-name-en,.toc-name-th{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.toc-name-en{color:var(--ink);font-size:14px;font-weight:500}.toc-name-th{color:var(--muted);font-size:13px}html[data-title-mode=en] .toc-name-th,html[data-title-mode=th] .toc-name-en{display:none}html[data-title-mode=th] .toc-name-th{color:var(--body);font-size:14px;font-weight:500}.toc-backdrop{inset:var(--header-height) 0 0;z-index:var(--z-drawer-backdrop);background:oklch(8% .01 255/.72);border:0;display:none;position:fixed}.reading-settings-trigger{z-index:var(--z-popover);border:1px solid var(--line);background:var(--surface);width:40px;height:44px;color:var(--ink);letter-spacing:-.04em;border-right:0;border-radius:8px 0 0 8px;place-items:center;padding:0;font-size:15px;font-weight:600;transition:opacity .15s ease-out,border-color .15s ease-out,background-color .15s ease-out;display:grid;position:fixed;top:min(72vh,50% + 144px);right:0}.reading-settings-trigger:hover{border-color:var(--muted);background:var(--surface-strong)}.toc-rail.open~.toc-backdrop+.reading-settings-trigger,body.toc-open .reading-settings-trigger{opacity:0;pointer-events:none}.reading-settings-panel{border:1px solid var(--line);background:var(--surface);width:min(320px,100vw - 80px);max-height:calc(100vh - 96px);color:var(--body);border-radius:10px;margin:0;padding:0;font-size:14px;position:fixed;inset:50% 54px auto auto;overflow-y:auto;transform:translateY(-50%)}.reading-settings-panel::backdrop{background:0 0}.reading-settings-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.reading-settings-heading{min-width:0}.reading-settings-heading h2{color:var(--ink);margin:0;font-size:18px;line-height:1.3}.reader-settings-summary{color:var(--muted);margin:3px 0 0;font-size:12px;line-height:1.4}.reader-settings-content{gap:20px;padding:18px;display:grid}.reader-setting-label{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.title-display-options{border:1px solid var(--line);border-radius:7px;padding:3px;display:flex}.title-display-options button{min-height:30px;color:var(--muted);background:0 0;border:0;border-radius:4px;flex:1;padding:0 7px;font-size:12px}.reader-size-options{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.reader-size-options button,.reader-font-options button{border:1px solid var(--line);min-height:38px;color:var(--body);background:0 0;border-radius:6px}.title-display-options button:hover,.reader-size-options button:hover,.reader-font-options button:hover{color:var(--ink)}.title-display-options button.active,.reader-size-options button.active,.reader-font-options button.active{border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}.reader-font-options{gap:6px;display:grid}.reader-font-options button{text-align:left;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 10px;display:flex}.reader-font-options button[data-value=sarabun]{font-family:Sarabun,sans-serif}.reader-font-options button[data-value=bai-jamjuree]{font-family:Bai Jamjuree,sans-serif}.reader-font-options button[data-value=noto-serif-thai]{font-family:Noto Serif Thai,serif}.reader-font-options small{color:var(--muted);font-size:12px}.media-lightbox{width:100vw;max-width:none;height:100vh;max-height:none;color:var(--overlay-ink);background:0 0;border:0;margin:0;padding:0;overflow:hidden}.media-lightbox[open]{animation:.18s ease-out lightbox-dialog-in}.media-lightbox::backdrop{background:oklch(7% .012 255/.72);animation:.18s linear lightbox-backdrop-in}.lightbox-layout{cursor:zoom-out;place-items:center;width:100%;height:100%;padding:clamp(56px,7vh,84px) clamp(18px,4vw,56px) clamp(32px,5vh,64px);display:grid;position:relative}.lightbox-content{cursor:default;flex-direction:column;align-items:center;gap:clamp(24px,3.5vh,38px);min-width:0;max-width:min(90vw,1500px);max-height:100%;animation:.22s cubic-bezier(.22,1,.36,1) lightbox-content-in;display:flex}.lightbox-close{width:40px;height:40px;color:var(--overlay-body);background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:grid;position:absolute;top:18px;right:18px}.lightbox-close:hover{color:var(--overlay-ink);background:oklch(12% .012 255/.52)}.lightbox-close svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8px;width:20px;height:20px}.lightbox-image-wrap{flex:auto;place-items:center;min-height:0;display:grid}.lightbox-image{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:calc(100vh - 210px)}.lightbox-caption{max-width:80ch;color:var(--overlay-body);font-family:var(--reader-font);font-size:var(--reader-font-size);text-align:center;margin:0 auto;padding:0 20px;line-height:1.55}.toast{z-index:var(--z-toast);background:var(--ink);max-width:calc(100% - 24px);color:var(--page);opacity:0;pointer-events:none;border-radius:7px;padding:9px 12px;font-size:13px;transition:opacity .16s ease-out,transform .16s ease-out;position:fixed;bottom:18px;left:50%;transform:translate(-50%,8px)}.toast.show{opacity:1;transform:translate(-50%)}.site-footer{border-top:1px solid var(--line-strong);background:var(--surface);color:var(--muted);margin-top:64px;font-size:13px;line-height:1.55}.footer-inner{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:24px;width:min(960px,100% - 48px);margin:0 auto;padding:32px 0;display:grid}.footer-brand{justify-self:start;max-width:38ch}.footer-brand-mark{color:var(--ink);letter-spacing:-.02em;font-size:20px;font-weight:700;display:inline-block}.footer-brand p,.footer-support-copy p{margin:8px 0 0}.footer-social{justify-self:center}.social-links{flex-wrap:wrap;gap:8px;display:flex}.footer-social h2{color:var(--ink);margin:0 0 8px;font-size:13px;font-weight:600}.social-link{border:1px solid var(--line);width:38px;height:38px;color:var(--body);background:0 0;border-radius:8px;place-items:center;padding:0;display:grid}.social-link:hover{border-color:var(--blue);color:var(--blue)}.social-link svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:21px;height:21px}.social-link .social-icon-play{fill:currentColor;stroke:none}.footer-support{justify-self:end;align-items:center;gap:16px;display:flex}.footer-coffee-art{background:var(--blue-soft);width:72px;height:72px;color:var(--blue);border-radius:50%;flex:none;place-items:center;display:grid}.footer-coffee-art svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;width:44px;height:44px}.support-link{background:var(--blue);min-height:38px;color:var(--page);border:0;border-radius:7px;margin-top:10px;padding:0 13px;font-weight:600}.support-link:hover{filter:brightness(1.08)}.footer-bottom{border-top:1px solid var(--line)}.footer-bottom-inner{width:min(960px,100% - 48px);margin:0 auto;padding:8px 0 12px;font-size:11px}.footer-meta-row{justify-content:space-between;align-items:baseline;gap:16px;min-height:44px;display:flex}.footer-copyright{min-width:0;margin:0;line-height:1.6}.footer-rights{display:block}.footer-text-link{min-height:44px;color:var(--muted);white-space:nowrap;text-underline-offset:3px;background:0 0;border:0;align-items:center;padding:0;font-size:11px;text-decoration:underline;display:inline-flex}.footer-text-link:hover{color:var(--ink)}.back-to-top{z-index:20;border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--muted);opacity:0;visibility:hidden;pointer-events:none;border-radius:7px;place-items:center;padding:0;transition:opacity .16s ease-out,transform .16s ease-out,visibility 0s linear .16s;display:grid;position:fixed;bottom:18px;right:18px;transform:translateY(8px)}.back-to-top.visible{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s;transform:translateY(0)}.back-to-top:hover{color:var(--blue)}.back-to-top svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px;height:20px}.foundation-home{width:min(680px,100% - 40px);margin:12vh auto}.foundation-home h1{max-width:14ch;color:var(--ink);letter-spacing:-.035em;text-wrap:balance;margin:0;font-size:clamp(2.25rem,7vw,4.5rem);line-height:1.05}.foundation-home p{max-width:65ch}.foundation-home ul{gap:10px;margin:28px 0 0;padding:0;list-style:none;display:grid}.foundation-home a{color:var(--blue);text-decoration:none}.foundation-home a:hover{text-underline-offset:3px;text-decoration:underline}@keyframes lightbox-dialog-in{0%{opacity:0}to{opacity:1}}@keyframes lightbox-backdrop-in{0%{background:oklch(7% .012 255/0)}to{background:oklch(7% .012 255/.72)}}@keyframes lightbox-content-in{0%{opacity:0;transform:scale(.975)}to{opacity:1;transform:scale(1)}}@media (hover:none),(width<=780px){.toc-handle,.toc-pin-button{display:none}.mobile-toc-button,.toc-close-button{place-items:center;display:inline-grid}.toc-rail{width:min(360px,92vw)}.toc-backdrop.open{display:block}}@media (width<=760px){.guide-feedback{flex-direction:column;align-items:flex-start}.footer-inner{grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;width:min(100% - 28px,760px)}.footer-brand,.footer-social,.footer-support{justify-self:start}.footer-bottom-inner{width:min(100% - 28px,760px)}}@media (width<=640px){:root{--header-height:58px}body{font-size:16px}.header-inner{gap:6px;padding:0 10px}.brand{font-size:15px}.game-switch{gap:0;padding:2px}.game-button{min-height:28px;padding:0 7px}.league-menu summary{gap:7px;min-width:92px;max-width:104px;min-height:34px}.league-options{top:calc(var(--header-height) + 6px);width:min(236px,100vw - 20px);position:fixed;right:10px}.league-current-version{display:none}.plain-button{min-height:34px;padding:0 9px}.icon-button{flex-basis:34px;width:34px;min-width:34px;height:34px}.guide-main{width:min(100% - 28px,760px);padding-bottom:64px;padding-right:28px}.reading-settings-trigger{top:62%}.reading-settings-panel{width:min(320px,100vw - 28px);max-height:calc(100vh - 94px);inset:50% 14px auto auto}.lightbox-content{gap:24px}.lightbox-image{max-height:calc(100vh - 180px)}.lightbox-caption{padding:0 16px;font-size:1rem}.footer-meta-row{flex-direction:column;gap:8px}}@media (width<=340px){.brand-full{display:none}.brand-compact{display:inline}.league-menu summary{min-width:78px;max-width:86px;padding-left:9px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}html.theme-transition,html.theme-transition body,html.theme-transition *,html.theme-transition :before,html.theme-transition :after,.league-chevron,.toc-panel,.toc-ticks i,.toast,.back-to-top{transition:none}.media-lightbox[open],.media-lightbox::backdrop,.lightbox-content{animation:none}}.empty-catalog{border:1px solid var(--line);border-radius:12px;margin-top:28px;padding:18px 20px}.empty-catalog strong{color:var(--ink);font-size:1.05rem;display:block}.empty-catalog p{margin:8px 0 0}.prose-page h2{color:var(--ink);margin:32px 0 8px;font-size:1.15rem}.prose-page code{background:var(--code-bg,#ffffff14);border-radius:4px;padding:1px 5px;font-size:.9em}.image-unavailable{border:1px dashed var(--line);color:var(--muted);border-radius:8px;margin:0;padding:10px 12px;font-size:.9rem}.embed-fallback{color:var(--muted);margin:8px 0 0;font-size:.9rem}.embed-fallback a{color:var(--blue)}.primary-button,.secondary-button{font:inherit;cursor:pointer;border:1px solid #0000;border-radius:7px;padding:9px 16px;font-size:.9rem}.primary-button{background:var(--blue);color:var(--page)}.primary-button:hover{filter:brightness(1.08)}.secondary-button{border-color:var(--line-strong);color:var(--body);background:0 0}.secondary-button:hover{color:var(--ink);border-color:var(--blue)}.form-actions{justify-content:flex-end;gap:8px;display:flex}.no-break{white-space:nowrap}.chat-shell{right:max(18px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));z-index:46;font-family:var(--ui-font);position:fixed}body.chat-open .toc-handle,body.chat-open .reading-settings-trigger{opacity:0;visibility:hidden;pointer-events:none}.chat-trigger{background:var(--blue);width:52px;height:52px;color:var(--page);cursor:pointer;border:0;border-radius:50%;place-items:center;margin-left:auto;padding:0;display:grid;position:relative}.chat-trigger:hover{filter:brightness(1.08)}.chat-trigger-icon{place-items:center;display:grid}.chat-trigger-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.chat-unread{background:var(--danger);color:#fff;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;display:grid;position:absolute;top:-3px;right:-3px}.chat-unread[hidden],.chat-shell.open .chat-trigger{display:none}.chat-panel{border:1px solid var(--line-strong);background:var(--surface);width:min(420px,100vw - 32px);height:min(620px,100dvh - 96px);color:var(--body);border-radius:12px;flex-direction:column;display:none;position:absolute;bottom:0;right:0;overflow:hidden}.chat-shell.open .chat-panel{display:flex}.chat-panel-header{border-bottom:1px solid var(--line);background:var(--surface-strong);padding:10px 12px}.chat-header-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.chat-room-status{align-items:center;gap:12px;min-width:0;display:flex}.chat-room-tabs{gap:4px;display:inline-flex}.chat-room-tab{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:5px 10px;font-size:13px;position:relative}.chat-room-tab.active{background:var(--surface);color:var(--blue)}.chat-room-unread{background:var(--danger);color:#fff;border-radius:8px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:10px;display:grid;position:absolute;top:-4px;right:-4px}.chat-room-unread[hidden]{display:none}.chat-presence{color:var(--muted);align-items:center;gap:5px;margin:0;font-size:11px;display:flex}.chat-presence[hidden]{display:none}.chat-presence svg{fill:none;width:18px;height:18px;stroke:var(--tip);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.chat-presence strong{color:var(--body);font-weight:600}.chat-panel-close,.chat-profile-button{color:var(--muted);cursor:pointer;background:0 0;border:0}.chat-panel-close svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:22px;height:22px}.chat-meta-row{margin-top:8px}.chat-meta-row[hidden]{display:none}.chat-profile-button{color:var(--body);align-items:center;gap:5px;padding:0;font-size:11px;display:inline-flex}.chat-profile-button:hover{color:var(--blue)}.chat-profile-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.chat-status{border-bottom:1px solid var(--line);background:var(--surface-strong);color:var(--body);align-items:center;gap:8px;padding:8px 13px;font-size:12px;display:flex}.chat-status[hidden]{display:none}.chat-status svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.chat-status.reconnecting{color:var(--warning)}.chat-status.reconnecting svg{animation:1.1s linear infinite chat-spin}.chat-status.slow{color:var(--tip)}@keyframes chat-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.chat-status.reconnecting svg{animation:none}}.chat-name-step{flex-direction:column;justify-content:center;padding:28px 22px;display:flex;overflow-y:auto}.chat-name-form{width:100%}.chat-name-heading{text-align:center;text-wrap:balance}.chat-name-step[hidden]{display:none}.chat-name-heading{color:var(--ink);text-align:center;margin:0 0 22px;font-size:17px}.chat-name-control input{border:1px solid var(--line);background:var(--page);width:100%;height:42px;color:var(--ink);font:inherit;border-radius:7px;padding:0 12px}.chat-name-hint{color:var(--muted);text-align:center;margin:10px 0 18px;font-size:12px}.chat-name-error{color:var(--danger);text-align:center;margin:12px 0 0;font-size:12px}.chat-name-error[hidden]{display:none}.chat-conversation{flex:1;grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid}.chat-name-step,.chat-unavailable{flex:1;min-height:0}.chat-conversation[hidden]{display:none}.chat-messages{scrollbar-color:var(--scrollbar-thumb) var(--surface);flex-direction:column;gap:11px;min-height:0;margin:0;padding:14px 13px 16px;list-style:none;display:flex;overflow-y:auto}.chat-empty{color:var(--muted);text-align:center;margin:auto;padding:24px 16px;font-size:12.5px}.chat-message{flex-direction:column;align-items:flex-start;width:min(82%,310px);display:flex}.chat-message.own{align-self:flex-end;align-items:flex-end}.chat-message.system{align-items:center;width:100%}.chat-message-meta{align-items:baseline;gap:7px;margin:0 4px 3px;display:flex}.chat-message-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.chat-message-time{color:var(--muted);flex:none;font-size:10px}.chat-message p{background:var(--surface-strong);color:var(--body);overflow-wrap:anywhere;border-radius:10px 10px 10px 3px;margin:0;padding:8px 10px;font-size:13px;line-height:1.5}.chat-message.own p{background:var(--blue-soft);color:var(--ink);border-radius:10px 10px 3px}.chat-message.system .chat-message-meta{display:none}.chat-message.system p{color:var(--muted);background:0 0;padding:0;font-size:11px;font-style:italic}.chat-external-link{color:var(--blue);text-underline-offset:2px;font-weight:500}.chat-external-link svg{vertical-align:-.1em;fill:none;stroke:currentColor;stroke-width:1.8px;width:12px;height:12px;margin-inline-start:3px}.chat-compose-area{border-top:1px solid var(--line);background:var(--surface)}.chat-composer{padding:10px}.chat-composer[hidden]{display:none}.chat-compose-box{display:grid;position:relative}.chat-message-count{color:var(--muted);opacity:0;pointer-events:none;font-size:10px;position:absolute;bottom:5px;left:10px}.chat-message-count.visible{opacity:1}.chat-composer textarea{border:1px solid var(--line);background:var(--page);width:100%;min-height:52px;max-height:112px;color:var(--ink);resize:none;font:inherit;border-radius:7px;padding:10px 48px 21px 11px;font-size:13px;line-height:1.45}.chat-composer textarea:disabled{opacity:.55;cursor:not-allowed}.chat-send{background:var(--blue);width:34px;height:34px;color:var(--page);cursor:pointer;border:0;border-radius:7px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.chat-send svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.chat-send:disabled{opacity:.45;pointer-events:none}.chat-unavailable{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:40px 28px;display:flex}.chat-unavailable[hidden]{display:none}.chat-unavailable svg{fill:none;width:34px;height:34px;stroke:var(--muted);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.chat-unavailable h3{color:var(--ink);margin:0;font-size:15px}.chat-unavailable p{max-width:34ch;margin:0;font-size:12.5px;line-height:1.6}.external-link-dialog{border:1px solid var(--line-strong);background:var(--surface);width:min(400px,100vw - 32px);color:var(--body);border-radius:10px;padding:22px}.external-link-dialog::backdrop{background:oklch(8% .01 255/.6)}.external-link-dialog h2{color:var(--ink);margin:0 0 8px;font-size:16px}.external-link-dialog p{overflow-wrap:anywhere;margin:0 0 18px;font-size:13px;line-height:1.5}.external-link-dialog strong{color:var(--ink)}.chat-toast{left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:var(--z-toast);background:var(--surface-strong);border:1px solid var(--line-strong);max-width:min(320px,100vw - 32px);color:var(--ink);text-align:center;opacity:0;pointer-events:none;border-radius:8px;padding:10px 16px;font-size:13px;transition:opacity .2s,transform .2s;position:fixed;transform:translate(-50%,12px)}.chat-toast.show{opacity:1;transform:translate(-50%)}@media (prefers-reduced-motion:reduce){.chat-toast{transition:none}}@media (width<=640px){.chat-shell.open{inset:0}.chat-shell.open .chat-panel{width:100%;max-height:none;padding-bottom:env(safe-area-inset-bottom);border:0;border-radius:0;position:fixed;inset:0}}.suggestion-invite{border:1px solid var(--line);background:var(--surface);max-width:760px;font-family:var(--ui-font);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:32px auto 0;padding:20px 24px;display:flex}.suggestion-invite p{color:var(--body);margin:0;font-size:.95rem}.suggestion-dialog{border:1px solid var(--line-strong);background:var(--surface);width:min(520px,100vw - 32px);color:var(--body);font-family:var(--ui-font);border-radius:10px;padding:22px}.suggestion-dialog::backdrop{background:oklch(8% .01 255/.6)}.suggestion-form h2{color:var(--ink);margin:0 0 16px;font-size:18px}.suggestion-field{margin-bottom:14px;display:block}.suggestion-field span{color:var(--muted);margin-bottom:6px;font-size:.8rem;display:block}.suggestion-field select,.suggestion-field textarea{border:1px solid var(--line);background:var(--page);width:100%;color:var(--ink);font:inherit;border-radius:7px;padding:10px 11px;font-size:.9rem}.suggestion-field textarea{resize:vertical;min-height:96px}.suggestion-foot{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.suggestion-warning{color:var(--warning);margin:0;font-size:.8rem;font-weight:600}.suggestion-count{color:var(--muted);font-size:.75rem}.suggestion-error{color:var(--danger);margin:0 0 10px;font-size:.8rem}.suggestion-error[hidden],.suggestion-form[hidden]{display:none}.suggestion-success{text-align:center;padding:28px 8px 8px}.suggestion-success[hidden]{display:none}.suggestion-success p{color:var(--ink);margin:0 0 22px;font-size:1.05rem}.consent-banner{left:50%;bottom:max(18px, env(safe-area-inset-bottom));z-index:var(--z-modal);border:1px solid var(--line-strong);background:var(--surface);width:min(680px,100vw - 32px);color:var(--body);font-family:var(--ui-font);text-align:center;border-radius:10px;padding:20px 22px 16px;position:fixed;transform:translate(-50%)}.consent-banner[hidden]{display:none}.consent-banner h2{color:var(--ink);margin:0 0 6px;font-size:17px}.consent-banner>p{max-width:62ch;margin:0 auto 14px;font-size:.85rem;line-height:1.6}.consent-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.consent-choice{min-width:200px}.consent-details{color:var(--muted);margin-top:12px;font-size:.8rem}.consent-details summary{cursor:pointer;width:max-content;margin:0 auto}.consent-details p{max-width:62ch;margin:8px auto 0;line-height:1.55}body.consent-pending .chat-shell{visibility:hidden}.footer-links{align-items:baseline;gap:14px;display:inline-flex}button.footer-text-link{font:inherit;cursor:pointer;background:0 0;border:0;padding:0}
