@font-face { font-family: "Overpass"; src: url(./fonts/overpass-latin.48e0d621.woff2) format("woff2"); font-weight: 300 900; font-display: swap;
unicode-range: U+0000-00B6, U+00B8-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: "Overpass"; src: url(./fonts/overpass-latin-ext.8bf45d94.woff2) format("woff2"); font-weight: 300 900; font-display: swap;
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: "Overpass"; src: url(./fonts/overpass-vietnamese.865f76ea.woff2) format("woff2"); font-weight: 300 900; font-display: swap;
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Overpass"; src: url(./fonts/overpass-cyrillic.01a0cf3e.woff2) format("woff2"); font-weight: 300 900; font-display: swap;
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Overpass"; src: url(./fonts/overpass-cyrillic-ext.2857d3d4.woff2) format("woff2"); font-weight: 300 900; font-display: swap;
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
:root {
--bg: #f4f3ee; --bg-2: #eceae2; --card: #ffffff; --ink: #14233d; --ink-2: #47546b; --ink-3: #5c687d;
--rule: rgba(20, 35, 61, .12); --rule-2: rgba(20, 35, 61, .24);
--go: #157347; --on-go: #ffffff; --go-soft: #e1f0e7; --go-text: #126a41;
--sig: #e2552b; --sig-text: #b13d15; --sig-soft: #fbe7dd;
--focus: #1f63d6;
--d-easy: #146c42; --d-medium: #2a63c4; --d-hard: #a14a0a; --d-expert: #c0263b;
--shadow: 0 1px 2px rgba(20, 35, 61, .06), 0 14px 34px -20px rgba(20, 35, 61, .3);
--shadow-pop: 0 2px 6px rgba(20, 35, 61, .08), 0 24px 48px -16px rgba(20, 35, 61, .35);
--r: 12px; --r-lg: 20px;
--hdr: 56px;
--wrap: 1200px;
--sans: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
"Yu Gothic UI", "PingFang SC", "PingFang TC", "Microsoft YaHei", "Microsoft JhengHei", "Apple SD Gothic Neo", "Malgun Gothic",
"Noto Sans CJK SC", "Geeza Pro", "Segoe UI Arabic", "Noto Sans Arabic", "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari",
"Sukhumvit Set", "Thonburi", "Leelawadee UI", "Noto Sans Thai", "Noto Sans Thai Looped", sans-serif;
--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
--track: .08em;   
color-scheme: light;
}
html[data-theme="dark"] {
--bg: #0c1422; --bg-2: #111b2d; --card: #15203a; --ink: #e9eef6; --ink-2: #b0bccf; --ink-3: #95a3b9;
--rule: rgba(233, 238, 246, .11); --rule-2: rgba(233, 238, 246, .24);
--go: #3fbf83; --on-go: #06261a; --go-soft: rgba(63, 191, 131, .14); --go-text: #5fd39b;
--sig: #ff7a45; --sig-text: #ff9a6e; --sig-soft: rgba(255, 122, 69, .14);
--focus: #8db5ff;
--d-easy: #5fd39b; --d-medium: #8db5ff; --d-hard: #ffa45c; --d-expert: #ff7a8a;
--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -20px rgba(0, 0, 0, .7);
--shadow-pop: 0 2px 8px rgba(0, 0, 0, .35), 0 28px 56px -16px rgba(0, 0, 0, .75);
color-scheme: dark;
}
@media (min-width: 900px) { :root { --hdr: 60px; } }
:lang(ja), :lang(zh), :lang(ko), :lang(ar), :lang(hi), :lang(th) { --track: 0; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body.signal { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
font-kerning: normal; text-rendering: optimizeLegibility; }
:lang(ja) body.signal, :lang(zh) body.signal, :lang(ko) body.signal { line-height: 1.75; }
:lang(ar) body.signal { font-size: 17px; line-height: 1.7; }
.signal a { color: inherit; }
.signal [hidden] { display: none !important; }
.signal :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.signal img, .signal svg { max-width: 100%; }
.signal h1, .signal h2, .signal h3 { text-wrap: balance; }
.signal p, .signal li { text-wrap: pretty; }
:lang(ja) .signal h1, :lang(ja) .signal h2, :lang(ja) .signal h3 { word-break: auto-phrase; }
.sg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg);
border-radius: 10px; font-weight: 700; text-decoration: none; }
.sg-skip:focus { top: 8px; }
.sg-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .sg-wrap { padding: 0 28px; } }
.sg-num { font-variant-numeric: tabular-nums; }
body.signal .ag {
--ag-bg: var(--card); --ag-ink: #14233d; --ag-soft: #56637a; --ag-green: #1f9a62; --ag-red: #e2552b; --ag-hover: #157347;
--ag-focus: #1f63d6; --ag-board: rgba(20, 35, 61, .028); --ag-card: #ffffff; --ag-btn: #ffffff; --ag-line: rgba(20, 35, 61, .13);
--ag-grey: #d6d6cf; --ag-radius: var(--r-lg);
font-family: var(--sans); border: 1px solid var(--rule); box-shadow: var(--shadow);
}
body.signal .ag[data-theme="dark"] {
--ag-bg: #121c31; --ag-ink: #e9eef6; --ag-soft: #a7b4c8; --ag-green: #3fbf83; --ag-red: #ff7046; --ag-hover: #7fe0b0;
--ag-focus: #8db5ff; --ag-board: rgba(233, 238, 246, .035); --ag-card: #19253f; --ag-btn: #19253f; --ag-line: rgba(233, 238, 246, .14);
--ag-grey: #36435c; --ag-face: #24324d;
}
body.signal .ag-top { padding: 10px 16px 6px; }
body.signal .ag-name { font-weight: 800; font-size: 18px; letter-spacing: 0; }
body.signal .ag-diff { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 11.5px; letter-spacing: var(--track); color: var(--ag-soft); }
body.signal .ag-diff::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
body.signal .ag-diff:empty::before { display: none; }
body.signal .ag-diff[data-d="easy"] { color: #146c42; }
body.signal .ag-diff[data-d="medium"] { color: #2a63c4; }
body.signal .ag-diff[data-d="hard"] { color: #a14a0a; }
body.signal .ag-diff[data-d="expert"] { color: #c0263b; }
body.signal .ag[data-theme="dark"] .ag-diff[data-d="easy"] { color: #5fd39b; }
body.signal .ag[data-theme="dark"] .ag-diff[data-d="medium"] { color: #8db5ff; }
body.signal .ag[data-theme="dark"] .ag-diff[data-d="hard"] { color: #ffa45c; }
body.signal .ag[data-theme="dark"] .ag-diff[data-d="expert"] { color: #ff7a8a; }
body.signal .ag-lives { gap: 5px; }
body.signal .ag-lives i { width: 17px; height: 17px; }
body.signal .ag-progress { height: 4px; margin: 0 16px; border-radius: 4px; }
body.signal .ag-line { font-size: 14.5px; line-height: 1.35; }
body.signal .ag-bar { gap: 8px; padding: 2px 12px 12px; }
body.signal .ag-btn { min-height: 46px; border-radius: 14px; border-width: 1.5px; font-weight: 700; font-size: 14.5px; padding: 0 16px; }
body.signal .ag-btn.ag-primary { background: var(--ag-green); border-color: var(--ag-green); color: #fff; }
body.signal .ag[data-theme="light"] .ag-btn.ag-primary, body.signal .ag:not([data-theme="dark"]) .ag-btn.ag-primary { background: #157347; border-color: #157347; }
body.signal .ag[data-theme="dark"] .ag-btn.ag-primary { color: #06261a; }
body.signal .ag-btn.ag-primary:hover { opacity: .92; }
body.signal .ag-btn:focus-visible { outline: 3px solid var(--ag-focus); }
body.signal .ag-card-in { border-radius: 20px; padding: 26px 22px 20px; box-shadow: var(--shadow-pop); }
body.signal .ag-card h3 { font-size: 26px; font-weight: 850; letter-spacing: -.01em; }
body.signal .ag-stage:focus-visible { box-shadow: inset 0 0 0 3px var(--ag-focus); border-radius: 14px; }
@media (max-width: 380px) { body.signal .ag-btn { padding: 0 14px; } }
.sg-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
border: 1.5px solid var(--rule-2); border-radius: 14px; background: var(--card); color: var(--ink); font: 700 15px/1 var(--sans);
text-decoration: none; cursor: pointer; transition: border-color .15s, transform .1s, background .15s; }
.sg-btn:hover { border-color: var(--ink); }
.sg-btn:active { transform: scale(.98); }
.sg-btn.is-go { background: var(--go); border-color: var(--go); color: var(--on-go); }
.sg-btn.is-go:hover { filter: brightness(1.06); }
.sg-btn.is-ink { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.sg-icon { width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none; border: 0; border-radius: 12px;
background: transparent; color: var(--ink); cursor: pointer; list-style: none; font: 700 12px var(--sans); letter-spacing: .04em; }
.sg-icon::-webkit-details-marker { display: none; }
.sg-icon:hover, .sg-pop[open] > .sg-icon { background: var(--bg-2); }
.sg-kicker { margin: 0 0 8px; font: 800 12px/1.2 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--go-text); }
.sg-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--bg-2);
font: 700 12px/1 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.sg-chip[data-d]::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
[data-d="easy"] { --d: var(--d-easy); } [data-d="medium"] { --d: var(--d-medium); } [data-d="hard"] { --d: var(--d-hard); } [data-d="expert"] { --d: var(--d-expert); }
.sg-chip[data-d] { color: var(--d); }
.sg-header { position: relative; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--rule); }
.sg-header .sg-wrap { display: flex; align-items: center; gap: 4px; height: var(--hdr); }
.sg-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-inline-end: auto; text-decoration: none; color: var(--ink); }
.sg-brand svg { width: 34px; height: 34px; flex: none; }
.sg-wordmark { font: 850 21px/1 var(--sans); letter-spacing: -.02em; white-space: nowrap; padding-top: 3px; }
.sg-wordmark b { font-weight: 850; color: var(--sig); margin-inline-start: .22em; }   
.sg-mark-bg { fill: var(--go); }
.sg-mark-line { fill: none; stroke: var(--on-go); }
.sg-mark-head { fill: var(--on-go); }
.sg-nav { display: none; }
.sg-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none;
font: 700 15px/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
.sg-nav a:hover { color: var(--ink); background: var(--bg-2); }
.sg-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--go); border-radius: 10px 10px 0 0; }
.sg-lang > summary { width: auto; padding: 0 10px; gap: 6px; display: inline-flex; align-items: center; }
.sg-lang > summary span { font: 800 12px/1 var(--sans); letter-spacing: .06em; }
@media (max-width: 359px) { .sg-lang > summary span { display: none; } }
html[data-theme="dark"] .sg-theme .moon, html:not([data-theme="dark"]) .sg-theme .sun { display: none; }
@media (min-width: 1000px) {
.sg-brand svg { width: 38px; height: 38px; }
.sg-wordmark { font-size: 23px; }
.sg-nav { display: flex; gap: 2px; margin-inline-end: 12px; }
.sg-menu { display: none; }
}
.sg-pop { position: relative; }
.sg-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 50; min-width: 240px; max-width: calc(100vw - 24px);
margin: 0; padding: 8px; list-style: none; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow-pop); }
.sg-panel a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 12px;
border-radius: 10px; text-decoration: none; font-size: 15.5px; font-weight: 600; }
.sg-panel a:hover { background: var(--bg-2); }
.sg-panel a[aria-current] { background: var(--go-soft); color: var(--go-text); }
.sg-panel small { font: 700 11px var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.sg-langlist { width: 360px; max-height: min(70svh, 560px); overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.sg-langlist a { padding: 0 10px; font-size: 14.5px; }
.sg-menu .sg-panel { position: fixed; inset-inline: 10px; top: calc(var(--hdr) + 6px); min-width: 0; max-width: none; padding: 10px;
max-height: calc(100svh - var(--hdr) - 20px); overflow: auto; }
.sg-menu .sg-panel a { font-size: 17px; font-weight: 700; min-height: 50px; }
.sg-menu .sg-panel a .sg-i { color: var(--ink-3); }
.sg-menu .sg-panel hr { border: 0; border-top: 1px solid var(--rule); margin: 6px 4px; }
.sg-menu[open] > summary .open, .sg-menu:not([open]) > summary .close { display: none; }
.sg-menu[open]::before { content: ""; position: fixed; inset: var(--hdr) 0 0; background: rgba(8, 14, 26, .35); z-index: 45; }
.sg-play { display: flex; flex-direction: column; height: calc(100svh - var(--hdr)); min-height: 500px; max-height: 1000px;
max-width: 880px; margin: 0 auto; padding: 8px 10px 10px; }
.sg-playhead { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 0 4px 8px; }
.sg-playhead h1 { margin: 0; min-width: 0; font: 850 19px/1.2 var(--sans); letter-spacing: -.01em; }
.sg-playhead h1 span { font-weight: 600; color: var(--ink-2); }
.sg-meta { margin: 0; font: 700 13px/1.2 var(--sans); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sg-meta b { color: var(--sig-text); font-weight: 800; }
.sg-meta i { font-style: normal; margin: 0 .4em; color: var(--ink-3); }
@media (max-width: 719px) { .sg-playhead .sg-meta { display: none; } .sg-playhead h1 { font-size: 18px; } }
.sg-playhead .sg-modes { grid-column: 1 / -1; margin-top: 8px; }
.sg-playhead .sg-crumbs { grid-column: 1 / -1; }
.sg-slot { position: relative; flex: 1 1 auto; min-height: 0; }
.sg-slot > .ag, .sg-slot > [data-sg-game] { height: 100%; }
.sg-slot > [data-sg-game]:not(.ag) { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); }
@media (min-width: 720px) {
.sg-play { padding: 8px 16px 10px; }
.sg-playhead { display: flex; align-items: center; gap: 6px 14px; padding: 0 2px 8px; }
body.signal .sg-play .ag-line { min-height: 1.9em; }
.sg-playhead h1 { font-size: 22px; flex: 0 1 auto; }
.sg-playhead .sg-meta { flex: none; }
.sg-playhead .sg-modes { flex: none; margin: 0 0 0 auto; margin-inline-start: auto; }
.sg-playhead.is-level .sg-step { margin-inline-start: auto; }
}
@media (min-width: 720px) and (max-height: 820px) { .sg-playhead h1 span { display: none; } }
.sg-modes { display: flex; gap: 3px; padding: 3px; border-radius: 14px; background: var(--bg-2); overflow-x: auto; scrollbar-width: none; }
.sg-modes::-webkit-scrollbar { display: none; }
.sg-modes a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 12px;
border-radius: 11px; text-decoration: none; white-space: nowrap; font: 750 14px/1 var(--sans); color: var(--ink-2); }
.sg-modes a:hover { color: var(--ink); background: color-mix(in srgb, var(--card) 60%, transparent); }
.sg-modes a[aria-current] { background: var(--ink); color: var(--bg); }
.sg-modes .sg-i { width: 17px; height: 17px; stroke-width: 2.2; }
@media (max-width: 459px) { .sg-modes .sg-i { display: none; } .sg-modes a { padding: 0 8px; font-size: 13.5px; } }
@media (max-width: 359px) { .sg-modes a { padding: 0 5px; font-size: 13px; } }
@media (min-width: 720px) { .sg-modes a { flex: none; min-height: 36px; } }
.sg-step { display: inline-flex; gap: 4px; }
.sg-step a, .sg-step button { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--rule-2);
background: var(--card); color: var(--ink); cursor: pointer; text-decoration: none; }
.sg-step a:hover, .sg-step button:hover:not(:disabled) { border-color: var(--ink); }
.sg-step [aria-disabled="true"], .sg-step :disabled { opacity: .35; pointer-events: none; }
[dir="rtl"] .sg-step .sg-i, [dir="rtl"] .sg-flip { transform: scaleX(-1); }
.sg-crumbs { font-size: 14px; color: var(--ink-2); }
.sg-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.sg-crumbs li { display: inline-flex; align-items: center; }
.sg-crumbs li:not(:last-child)::after { content: "/"; margin: 0 6px; color: var(--ink-3); }   
.sg-crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.sg-crumbs a:hover { text-decoration: underline; text-decoration-color: var(--go); text-underline-offset: 3px; }
.sg-crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.sg-howto { padding: 34px 0 10px; }
.sg-howto ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.sg-howto li { counter-increment: s; position: relative; padding: 12px 14px 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.sg-howto li svg { display: block; width: 100%; height: auto; aspect-ratio: 120 / 64; margin-bottom: 8px; }
.sg-howto b { display: block; font: 800 15.5px/1.25 var(--sans); }
.sg-howto b::before { content: counter(s) ". "; color: var(--go-text); }
.sg-howto span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 900px) { .sg-howto ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.sg-pic .dot { fill: var(--ink); fill-opacity: .18; }
.sg-pic .arr { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linejoin: miter; }
.sg-pic .head { fill: var(--ink); }
.sg-pic .go { stroke: var(--go); } .sg-pic .head.go { fill: var(--go); stroke: none; }
.sg-pic .bad { stroke: var(--sig); } .sg-pic .head.bad { fill: var(--sig); stroke: none; }
.sg-pic .trail { fill: none; stroke: var(--go); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 5; }
.sg-pic .tap { fill: none; stroke: var(--focus); stroke-width: 2; }
.sg-pic .tapdot { fill: var(--focus); }
.sg-pic .edge { stroke: var(--rule-2); stroke-width: 1.5; stroke-dasharray: 3 3; }
.sg-pic .life { fill: var(--sig); } .sg-pic .life.off { fill: var(--rule-2); }
.sg-pic .check { fill: none; stroke: var(--go); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.sg-pic .bump { fill: none; stroke: var(--sig); stroke-width: 2.5; stroke-linecap: round; }
.sg-section { padding: 44px 0; }
.sg-section + .sg-section { border-top: 1px solid var(--rule); }
.sg-section h2, .sg-h2 { margin: 0 0 6px; font: 850 clamp(24px, 3.4vw, 32px)/1.15 var(--sans); letter-spacing: -.015em; }
.sg-lede { margin: 0 0 22px; max-width: 42em; font-size: 16.5px; color: var(--ink-2); }
.sg-band { background: var(--bg-2); }
.sg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.sg-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; min-height: 44px; background: var(--card);
border: 1px solid var(--rule); border-radius: 18px; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.sg-card:hover { border-color: var(--rule-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.sg-card .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--go-soft); color: var(--go-text); margin-bottom: 6px; }
.sg-card .ico .sg-i { width: 22px; height: 22px; }
.sg-card h3 { margin: 0; font: 800 19px/1.2 var(--sans); }
.sg-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.sg-card .more { margin-top: auto; padding-top: 8px; font: 800 14px var(--sans); color: var(--go-text); display: inline-flex; align-items: center; gap: 6px; }
.sg-card .more .sg-i { width: 16px; height: 16px; }
.sg-card .fig { margin: -4px -4px 8px; border-radius: 12px; overflow: hidden; background: #f7f7f2; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.sg-card .fig svg { width: 100%; height: 100%; }
.sg-card .meta { font: 700 12.5px var(--sans); color: var(--ink-3); }
.sg-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1px; margin: 0; border-radius: 16px; overflow: hidden;
border: 1px solid var(--rule); background: var(--rule); }
.sg-stats > div { padding: 14px 16px; background: var(--card); }
.sg-stats dt { font: 700 12px/1.3 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-3); }
.sg-stats dd { margin: 4px 0 0; font: 850 26px/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.sg-stats dd small { font: 600 13px var(--sans); color: var(--ink-2); margin-inline-start: 4px; }
.sg-levelinfo { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .sg-levelinfo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; } }
.sg-steps { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
.sg-steps .fig { background: #f7f7f2; display: grid; place-items: center; padding: 10px; }
.sg-steps .fig svg { display: block; width: 100%; height: auto; max-height: 540px; }
.sg-steps .ctl { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); }
.sg-steps .count { flex: 1; text-align: center; font: 800 15px var(--sans); font-variant-numeric: tabular-nums; }
.sg-steps .count small { display: block; font: 600 12.5px var(--sans); color: var(--ink-2); }
.sg-steps .say { margin: 0; padding: 0 16px 14px; min-height: 3.2em; font-size: 15px; color: var(--ink-2); }
.sg-steps .say b { color: var(--ink); }
.sg-steps input[type="range"] { display: block; width: calc(100% - 32px); margin: 14px 16px 2px; padding: 0; accent-color: var(--go); height: 28px; }
.sg-chapter { margin: 0 0 36px; }
.sg-chapter-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.sg-chapter-head h2, .sg-chapter-head h3 { margin: 0; font: 850 22px/1.2 var(--sans); }
.sg-chapter-head .range { font: 700 13.5px var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sg-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.sg-tile { position: relative; display: grid; place-items: center; min-height: 48px; border-radius: 11px; background: var(--card); border: 1px solid var(--rule);
text-decoration: none; font: 750 15px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.sg-tile::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 3px; border-radius: 2px; background: var(--d, transparent); opacity: .9; }
.sg-tile:hover { border-color: var(--ink); }
.sg-tile.is-boss { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sg-tile.is-done { background: var(--go-soft); border-color: transparent; color: var(--go-text); }
.sg-tile.is-next { box-shadow: inset 0 0 0 2px var(--go); }
.sg-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.sg-legend li { display: inline-flex; align-items: center; gap: 6px; }
.sg-legend li::before { content: ""; width: 14px; height: 4px; border-radius: 2px; background: var(--d); }
.sg-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sg-chapters a { display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; align-items: center; padding: 14px 16px; min-height: 44px; border-radius: 16px;
background: var(--card); border: 1px solid var(--rule); text-decoration: none; }
.sg-chapters a:hover { border-color: var(--rule-2); box-shadow: var(--shadow); }
.sg-chapters .n { grid-row: span 3; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: var(--ink); color: var(--bg);
font: 850 22px/1 var(--sans); font-variant-numeric: tabular-nums; }
.sg-chapters b { font: 800 18px/1.2 var(--sans); }
.sg-chapters li { display: flex; } .sg-chapters li > a { flex: 1; }
.sg-chapters small { font: 600 13px var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sg-diffbar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--bg-2); }
.sg-diffbar i { display: block; height: 100%; background: var(--d); }
.sg-hero { padding: 26px 0 8px; }
.sg-hero h1 { margin: 0 0 10px; font: 900 clamp(32px, 6vw, 56px)/1.02 var(--sans); letter-spacing: -.025em; }
.sg-hero .intro { margin: 0; max-width: 40em; font-size: 17.5px; line-height: 1.55; color: var(--ink-2); }
:lang(ja) .sg-hero h1, :lang(zh) .sg-hero h1, :lang(ko) .sg-hero h1 { line-height: 1.25; letter-spacing: 0; }
:lang(ar) .sg-hero h1 { line-height: 1.3; letter-spacing: 0; }
.sg-hubtabs { display: inline-flex; max-width: 100%; margin: 18px 0 26px; }
.sg-article { padding: 4px 0 20px; }
.sg-arthead { max-width: 820px; padding: 14px 0 26px; }
.sg-arthead h1 { margin: 6px 0 14px; font: 900 clamp(31px, 5.2vw, 50px)/1.06 var(--sans); letter-spacing: -.025em; }
:lang(ja) .sg-arthead h1, :lang(zh) .sg-arthead h1, :lang(ko) .sg-arthead h1, :lang(ar) .sg-arthead h1 { line-height: 1.3; letter-spacing: 0; }
.sg-dek { margin: 0 0 20px; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.sg-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--ink-2); }
.sg-byline .who { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.sg-byline .who svg { width: 36px; height: 36px; }
.sg-byline .who a { text-decoration: none; }
.sg-byline .who a:hover { text-decoration: underline; }
.sg-byline .dot::before { content: "·"; margin-inline-end: 14px; color: var(--ink-3); }
@media (min-width: 720px) { .sg-byline .who + .dot::before { content: none; } .sg-byline .who { margin-inline-end: 6px; } }
@media (max-width: 719px) {
.sg-byline { display: block; line-height: 1.7; }
.sg-byline .who { display: flex; margin-bottom: 8px; }
.sg-byline .dot::before { margin: 0 6px; }
.sg-byline .who + .dot::before { content: none; }
}
.sg-byline time, .sg-byline .num { font-variant-numeric: tabular-nums; }
.sg-artgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 56px; }
@media (min-width: 1080px) { .sg-artgrid { grid-template-columns: minmax(0, 720px) 260px; justify-content: space-between; } .sg-artgrid .sg-toc { grid-column: 2; grid-row: 1 / span 3; } }
.sg-toc { align-self: start; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.sg-toc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; cursor: pointer; list-style: none;
font: 800 13px var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); }
.sg-toc > summary::-webkit-details-marker { display: none; }
.sg-toc > summary::after { content: ""; width: 9px; height: 9px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.sg-toc[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.sg-toc ol { margin: 0; padding: 0 8px 10px; list-style: none; counter-reset: t; }
.sg-toc li { counter-increment: t; }
.sg-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 2px; padding: 8px 8px; border-radius: 10px; text-decoration: none; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.sg-toc a::before { content: counter(t); font: 800 12.5px/1.6 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sg-toc a:hover { background: var(--bg-2); color: var(--ink); }
.sg-toc a[aria-current="true"] { background: var(--go-soft); color: var(--go-text); font-weight: 700; }
.sg-toc a[aria-current="true"]::before { color: var(--go-text); }
@media (pointer: coarse) { .sg-toc a { min-height: 44px; align-items: center; } }
@media (min-width: 1080px) { .sg-toc { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; } }
.sg-prose { font-size: 17.5px; line-height: 1.7; min-width: 0; }
.sg-prose > :is(p, ul, ol, h2, h3, h4, blockquote, hr, .sg-short, .sg-faqs, .sg-sources, .sg-moves) { max-width: 46em; }
:lang(ja) .sg-prose, :lang(zh) .sg-prose, :lang(ko) .sg-prose { font-size: 16.5px; line-height: 1.85; }
:lang(ar) .sg-prose { font-size: 18px; line-height: 1.85; }
.sg-prose > :first-child { margin-top: 0; }
.sg-prose p { margin: 0 0 1.05em; }
.sg-prose h2 { position: relative; margin: 2.1em 0 .55em; font: 850 clamp(24px, 3vw, 30px)/1.2 var(--sans); letter-spacing: -.015em; scroll-margin-top: 16px; }
.sg-prose h3 { margin: 1.6em 0 .4em; font: 800 20px/1.3 var(--sans); }
:lang(ja) .sg-prose h2, :lang(zh) .sg-prose h2, :lang(ko) .sg-prose h2, :lang(ar) .sg-prose h2 { letter-spacing: 0; line-height: 1.4; }
.sg-anchor { position: absolute; inset-inline-end: 100%; top: 0; width: 34px; height: 100%; min-height: 34px; display: grid; place-items: center;
text-decoration: none; color: var(--ink-3); font-weight: 700; opacity: 0; transition: opacity .15s; }
.sg-prose h2:hover .sg-anchor, .sg-anchor:focus-visible { opacity: 1; }
@media (max-width: 899px) { .sg-anchor { position: static; display: inline-grid; width: auto; height: auto; min-height: 0; margin-inline-end: 8px; opacity: 1; color: var(--rule-2); } }
.sg-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--go); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sg-prose a:hover { color: var(--go-text); }
.sg-prose strong { font-weight: 800; }
.sg-prose ul, .sg-prose ol { margin: 0 0 1.1em; padding-inline-start: 1.4em; }
.sg-prose li { margin: .35em 0; padding-inline-start: .2em; }
.sg-prose ul li::marker { color: var(--go); }
.sg-prose ol li::marker { font-weight: 800; color: var(--go-text); }
.sg-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-inline-start: 4px solid var(--go); font-size: 19px; color: var(--ink); }
.sg-prose code { font: 14.5px var(--mono); background: var(--bg-2); padding: .12em .38em; border-radius: 6px; }
.sg-prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.sg-short { margin: 1.4em 0 1.6em; padding: 18px 20px; border-radius: 16px; background: var(--go-soft); border: 1px solid color-mix(in srgb, var(--go) 30%, transparent); }
.sg-short > b:first-child { display: block; margin-bottom: 4px; font: 800 12.5px var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--go-text); }
.sg-short p:last-child { margin: 0; }
.sg-figure { margin: 1.6em 0; }
.sg-figure .plate { display: grid; place-items: center; padding: 14px; border-radius: 18px; background: #f7f7f2; border: 1px solid var(--rule); overflow-x: auto; }
.sg-figure .plate svg { display: block; width: 100%; height: auto; max-height: 640px; }
.sg-figure figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.sg-figure figcaption b { color: var(--ink); }
.sg-figure figcaption .n { font-weight: 800; color: var(--ink-3); margin-inline-end: 6px; }
.sg-tablewrap { margin: 1.4em 0 1.8em; overflow-x: auto; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.sg-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.sg-table caption { caption-side: top; text-align: start; padding: 14px 16px 4px; font: 800 15px var(--sans); }
.sg-table th { text-align: start; padding: 10px 16px; font: 800 12px/1.3 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-3);
border-bottom: 1.5px solid var(--rule-2); white-space: nowrap; }
.sg-table td { padding: 10px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.sg-table tr:last-child td { border-bottom: 0; }
.sg-table td.r, .sg-table th.r { text-align: end; }
.sg-table a { font-weight: 700; }
.sg-tryit { margin: 1.8em 0; padding: 14px; border-radius: 22px; background: var(--bg-2); }
.sg-tryit .head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 2px 6px 12px; }
.sg-tryit .head b { font: 800 17px var(--sans); }
.sg-tryit .head span { font-size: 14px; color: var(--ink-2); }
.sg-tryit .sg-slot { height: min(78svh, 560px); }
.sg-faqs { margin: .6em 0 1.6em; border-top: 1px solid var(--rule); }
.sg-faq { border-bottom: 1px solid var(--rule); }
.sg-faq > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none;
font: 800 18px/1.35 var(--sans); }
.sg-faq > summary::-webkit-details-marker { display: none; }
.sg-faq > summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--bg-2) no-repeat center / 14px
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%235c687d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .2s; }
.sg-faq[open] > summary::after { transform: rotate(45deg); }
.sg-faq > div { padding: 0 0 16px; color: var(--ink-2); max-width: 44em; }
.sg-faq > div p { margin: 0 0 .7em; }
.sg-sources { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.sg-sources ol { padding-inline-start: 1.3em; }
.sg-sources li { margin: .4em 0; overflow-wrap: anywhere; }
.sg-playcta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; margin: 2em 0; padding: 22px; border-radius: 22px;
background: var(--ink); color: var(--bg); }
.sg-playcta h2, .sg-playcta h3 { margin: 0 0 4px; font: 850 24px/1.2 var(--sans); color: inherit; }
.sg-playcta p { margin: 0; color: color-mix(in srgb, var(--bg) 78%, transparent); font-size: 15.5px; }
.sg-playcta .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-playcta .sg-btn { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.sg-playcta .sg-btn.is-go { background: var(--go); border-color: var(--go); color: var(--on-go); }
html[data-theme="dark"] .sg-playcta { background: var(--card); color: var(--ink); border: 1px solid var(--rule); }
html[data-theme="dark"] .sg-playcta p { color: var(--ink-2); }
html[data-theme="dark"] .sg-playcta .sg-btn:not(.is-go) { color: var(--ink); border-color: var(--rule-2); }
@media (min-width: 720px) { .sg-playcta { grid-template-columns: minmax(0, 1fr) auto; padding: 26px 28px; } }
.sg-related { margin-top: 1.2em; }
.sg-related .sg-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.sg-endh { margin: 2.2em 0 .5em; font: 850 24px/1.2 var(--sans); letter-spacing: -.01em; }
.sg-lost { display: grid; gap: 20px; align-items: center; padding: 40px 0 60px; }
.sg-lost svg.sg-pic { width: min(100%, 420px); height: auto; }
.sg-lost .code { font: 900 clamp(64px, 14vw, 120px)/.9 var(--sans); letter-spacing: -.04em; color: var(--sig-text); margin: 0; font-variant-numeric: tabular-nums; }
.sg-lost h1 { margin: 8px 0 10px; font: 850 clamp(26px, 4vw, 36px)/1.15 var(--sans); }
.sg-lost p { margin: 0 0 20px; color: var(--ink-2); font-size: 17px; max-width: 30em; }
.sg-lost .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .sg-lost { grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 0 100px; } }
.sg-footer { margin-top: 40px; padding: 40px 0 34px; background: var(--bg-2); border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); }
.sg-footer .top { display: grid; gap: 28px; }
.sg-footer .about { max-width: 26em; }
.sg-footer .about p { margin: 12px 0 0; }
.sg-footer .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sg-footer h2 { margin: 0 0 4px; font: 800 12px var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-3); }
.sg-footer ul { margin: 0; padding: 0; list-style: none; }
.sg-footer li a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 600; }
.sg-footer li a:hover { text-decoration: underline; text-decoration-color: var(--go); text-underline-offset: 3px; }
.sg-footer .langs { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }
.sg-footer .langs ul { display: flex; flex-wrap: wrap; gap: 0 4px; }
.sg-footer .langs a { padding: 0 8px; font-weight: 500; font-size: 14px; color: var(--ink-2); border-radius: 8px; }
.sg-footer .langs a[aria-current] { color: var(--ink); font-weight: 800; }
.sg-footer .legal { margin: 22px 0 0; font-size: 13px; line-height: 1.6; max-width: 60em; }
@media (min-width: 900px) {
.sg-footer .top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.sg-footer .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sg-playhead, .sg-hero > *, .sg-arthead > * { animation: sg-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sg-rise { from { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
.signal *, .signal *::before, .signal *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
.sg-header, .sg-footer, .sg-slot, .sg-tryit, .sg-playcta, .sg-toc { display: none !important; }
body.signal { background: #fff; color: #000; }
}
.sg-pic .face { fill: var(--card); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.sg-pic .face.front { fill: var(--bg-2); }
.sg-pic .facel { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; opacity: .5; }
.sg-pic .orbit { fill: none; stroke: var(--focus); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 5; }
.sg-pic .orbit + .head { fill: var(--focus); }
.sg-pic .foldline { stroke: var(--go); stroke-width: 2; stroke-dasharray: 3 3; }
.sg-pic .plate { fill: var(--card); stroke: var(--rule); stroke-width: 1.5; }
.sg-pic .wall { stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.sg-howto li .sg-pic { background: var(--bg); border-radius: 10px; padding: 4px; }
.sg-playhead.is-level { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.sg-playhead.is-level .sg-step { grid-column: 4; justify-self: end; }
@media (min-width: 720px) { .sg-playhead.is-level { grid-template-columns: auto auto minmax(0, 1fr) auto; } }
@media (min-width: 720px) { .sg-card.is-feature { grid-column: span 2; } .sg-card.is-feature .fig { aspect-ratio: 21 / 9; } .sg-card.is-feature h3 { font-size: 24px; } }
@media (max-width: 719px) {
.sg-lang .sg-panel { position: fixed; inset-inline: 10px; top: calc(var(--hdr) + 6px); width: auto; min-width: 0; max-width: none; }
}
body.signal .ag.ag-fit { justify-content: flex-start; }
body.signal .ag .ag-stage { flex: 1 1 auto !important; }
.sg-wordmark { direction: ltr; unicode-bidi: isolate; }
body.signal .ag-btn { white-space: nowrap; }
@media (max-width: 459px) {
body.signal .ag-bar [data-act="undo"] span, body.signal .ag-bar [data-act="restart"] span {
position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.signal .ag-bar [data-act="undo"], body.signal .ag-bar [data-act="restart"] { padding: 0 14px; min-width: 52px; }
body.signal .ag-bar [data-act="hint"] { padding: 0 22px; }
body.signal .ag-bar [data-act="hint"] span { display: inline !important; }
}
.sg-cals { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.sg-cal { max-width: 420px; }
.sg-cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 6px; }
.sg-cal-head h3 { margin: 0; font: 800 19px/1.2 var(--sans); }
.sg-cal-head a { display: inline-flex; align-items: center; min-height: 44px; font: 700 14px var(--sans); color: var(--go-text); text-decoration: none; }
.sg-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.sg-dow { padding-bottom: 4px; text-align: center; font: 700 11.5px var(--sans); color: var(--ink-3); }
.sg-day { position: relative; aspect-ratio: 1; min-height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--card);
border: 1px solid var(--rule); text-decoration: none; font: 700 14.5px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.sg-day::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--d, transparent); }
a.sg-day:hover { border-color: var(--ink); }
.sg-day.is-future { background: transparent; border-style: dashed; color: var(--ink-3); }
.sg-day.is-solved { background: var(--go); border-color: var(--go); color: var(--on-go); }
.sg-day.is-solved::after { background: var(--on-go); }
.sg-day.is-today { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--sig); }
.sg-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; }
.sg-pager a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; border-radius: 16px; background: var(--card);
border: 1px solid var(--rule); text-decoration: none; font: 800 16px/1.25 var(--sans); }
.sg-pager a:hover { border-color: var(--ink); }
.sg-pager .next { justify-content: flex-end; text-align: end; }
.sg-pager small { display: block; font: 700 12px var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-3); }
.sg-pager .sg-i { color: var(--ink-3); }
html[data-theme="dark"] .sg-card .fig, html[data-theme="dark"] .sg-steps .fig, html[data-theme="dark"] .sg-figure .plate { filter: brightness(.9); }
.sg-prose a.sg-card, .sg-prose a.sg-btn { text-decoration: none; color: var(--ink); }
.sg-prose a.sg-btn.is-go { color: var(--on-go); }
.sg-prose .sg-playcta a.sg-btn:not(.is-go) { color: var(--bg); }
html[data-theme="dark"] .sg-prose .sg-playcta a.sg-btn:not(.is-go) { color: var(--ink); }
.sg-prose .sg-card h3 { margin: 0; }
.sg-figure .plate svg { max-height: 540px; }
.sg-moves { margin-top: 14px; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.sg-moves > summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; cursor: pointer; list-style: none; font: 800 15px var(--sans); }
.sg-moves > summary::-webkit-details-marker { display: none; }
.sg-moves > summary::after { content: "+"; font: 700 20px var(--sans); color: var(--go-text); }
.sg-moves[open] > summary::after { content: "−"; }
.sg-moves ol { margin: 0; padding: 4px 16px 14px 44px; columns: 2 220px; column-gap: 28px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sg-moves li { break-inside: avoid; padding: 2px 0; }
.sg-moves li::marker { font-weight: 800; color: var(--ink-3); }
.sg-figure .plate img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: contain; }
.sg-steps .fig img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: contain; }
.sg-card .fig img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sg-stats > div:last-child { grid-column: auto / -1; }
:lang(th) body.signal { line-height: 1.7; }
:lang(th) .sg-prose, :lang(hi) .sg-prose { line-height: 1.85; }
:lang(th) .sg-hero h1, :lang(th) .sg-arthead h1, :lang(th) .sg-prose h2, :lang(th) .sg-section h2, :lang(th) .sg-h2, :lang(th) .sg-playhead h1,
:lang(th) .sg-lost h1, :lang(th) .sg-card h3, :lang(th) .sg-chapters b, :lang(th) .ag-card h3 { letter-spacing: 0; line-height: 1.35; }
:lang(hi) .sg-hero h1, :lang(hi) .sg-arthead h1, :lang(hi) .sg-prose h2, :lang(hi) .sg-section h2, :lang(hi) .sg-h2, :lang(hi) .sg-playhead h1,
:lang(hi) .sg-lost h1, :lang(hi) .sg-card h3, :lang(hi) .sg-chapters b, :lang(hi) .ag-card h3 { letter-spacing: 0; line-height: 1.3; }
:lang(th) .sg-wordmark, :lang(hi) .sg-wordmark { letter-spacing: 0; }
:lang(th) h1, :lang(th) h2, :lang(th) h3, :lang(th) p, :lang(th) li { word-break: normal; overflow-wrap: normal; line-break: auto; }
:lang(th) .sg-faq > summary, :lang(hi) .sg-faq > summary { line-height: 1.5; }
.sg-table th, .sg-table td:first-child, .sg-table td.r, .sg-table td.nw { white-space: nowrap; }
.sg-table .sg-chip { height: 24px; font-size: 11px; }
body.signal .sg-slot #game > .ax-pre { visibility: visible; height: 100%; display: grid; place-items: center; padding: 45px 6px 99px; box-sizing: border-box; }
@media (min-width: 720px) { body.signal .sg-slot #game > .ax-pre { padding-bottom: 88px; } }
body.signal #game > .ax-pre svg { width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
body.signal #game > .ax-pre [fill="#efefe9"] { fill: #f8f8f9; }
html[data-theme="dark"] body.signal #game > .ax-pre [fill="#efefe9"] { fill: #1b2539; }
html[data-theme="dark"] body.signal #game > .ax-pre [stroke="#172844"] { stroke: #e9eef6; }
html[data-theme="dark"] body.signal #game > .ax-pre [fill="#172844"] { fill: #e9eef6; }
@media (max-width: 719px) {
.sg-play:has(.sg-slot[style*="--sg-ratio"]) { height: auto; min-height: 0; max-height: none; }
.sg-play .sg-slot[style*="--sg-ratio"] { flex: none;
height: min(calc(100svh - var(--hdr) - 116px), calc(156px + min((100vw - 33px) * var(--sg-ratio), 56px * var(--sg-rows, 999)))); min-height: min(380px, calc(100svh - var(--hdr) - 116px)); }
}
html.sg-locked, html.sg-locked body { overflow: hidden; overscroll-behavior: none; }
.sg-menu[open]::before { touch-action: none; }
.sg-day.is-off { background: transparent; border-color: transparent; color: var(--ink-3); opacity: .55; }
.sg-cal-head h3 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font: inherit; }
.sg-cal-head h3 a:hover { text-decoration: underline; text-decoration-color: var(--go); text-underline-offset: 4px; }
.sg-day.is-solved { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.sg-day.is-solved::after { background: var(--d, var(--bg)); box-shadow: 0 0 0 1.5px var(--ink); }
.sg-legend li.solved::before { background: var(--ink); height: 14px; border-radius: 4px; }
.sg-legend li.boss::before { width: 12px; height: 12px; background: var(--card); border: 2.5px solid var(--ink); border-radius: 4px; }
.sg-legend li.here::before { width: 12px; height: 12px; background: var(--go); border-radius: 4px; }
.sg-stats > div:last-child { grid-column: auto / -1; }
@media (max-width: 459px) { .sg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sg-table { font-size: 14.5px; }
.sg-table th, .sg-table td { padding: 9px 12px; }
.sg-table th { white-space: normal; min-width: 5em; vertical-align: bottom; }
.sg-table td { min-width: 6.5em; }
.sg-table td:first-child, .sg-table td.r, .sg-table td.nw { min-width: 0; }
.sg-tablewrap {
background:
linear-gradient(to right, var(--card) 40%, transparent) left / 28px 100% no-repeat local,
linear-gradient(to left, var(--card) 40%, transparent) right / 28px 100% no-repeat local,
radial-gradient(farthest-side at 0 50%, rgba(20, 35, 61, .2), transparent) left / 12px 100% no-repeat scroll,
radial-gradient(farthest-side at 100% 50%, rgba(20, 35, 61, .2), transparent) right / 12px 100% no-repeat scroll,
var(--card); }
html[data-theme="dark"] .sg-tablewrap {
background:
linear-gradient(to right, var(--card) 40%, transparent) left / 28px 100% no-repeat local,
linear-gradient(to left, var(--card) 40%, transparent) right / 28px 100% no-repeat local,
radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .55), transparent) left / 12px 100% no-repeat scroll,
radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .55), transparent) right / 12px 100% no-repeat scroll,
var(--card); }
@media (max-width: 719px) {
.sg-table { font-size: 14px; }
.sg-table th, .sg-table td { padding: 8px 10px; }
.sg-table td { min-width: 7.5em; }
.sg-table caption { padding-inline-end: 10px; }
}
.sg-byline .dot, .sg-byline time, .sg-byline .num { white-space: nowrap; }
.sg-tile.is-boss { background: var(--card); color: var(--ink); border: 2.5px solid var(--ink); }
.sg-tile[aria-current] { background: var(--go); border-color: var(--go); color: var(--on-go); }
.sg-tile[aria-current]::after { background: var(--on-go); }
@media (max-width: 559px) { .sg-lost .btns { display: grid; grid-template-columns: 1fr; } .sg-lost .btns .sg-btn { width: 100%; } }
@media (min-width: 1000px) { body:has(.sg-play .sg-modes) .sg-nav a[data-mode] { display: none; } }
.sg-crumbs:not(:last-child) { margin-bottom: 14px; }
.sg-figure .plate img { width: auto; min-width: min(100%, 480px); max-width: 100%; height: auto; max-height: 540px; object-fit: contain; }
.sg-figure figcaption { text-wrap: pretty; }
.sg-figure figcaption a { white-space: nowrap; }
.sg-playhead h1 .sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-crumbs a { min-width: 24px; justify-content: center; }
[dir="rtl"] .sg-table :is(td.r, td.nw, .num) { unicode-bidi: isolate; direction: ltr; }
[dir="rtl"] .sg-table td.r, [dir="rtl"] .sg-table th.r { text-align: left; }
.sg-playstrip { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0 0 26px;
padding: 10px 12px 10px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); text-decoration: none; color: var(--ink);
transition: border-color .15s, box-shadow .15s; }
.sg-playstrip:hover { border-color: var(--rule-2); box-shadow: var(--shadow); }
.sg-playstrip .thumb { width: 64px; height: 64px; border-radius: 12px; background: #f7f7f2; display: grid; place-items: center; overflow: hidden; }
.sg-playstrip .thumb img, .sg-playstrip .thumb svg { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
html[data-theme="dark"] .sg-playstrip .thumb { filter: brightness(.9); }
.sg-playstrip .txt { min-width: 0; }
.sg-playstrip small { display: block; font: 800 12px/1.3 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--go-text); }
.sg-playstrip b { display: block; font: 800 18px/1.25 var(--sans); }
.sg-playstrip .go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 13px; background: var(--go); color: var(--on-go); font: 800 15px var(--sans); white-space: nowrap; }
@media (max-width: 459px) { .sg-playstrip { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; } .sg-playstrip .thumb { width: 56px; height: 56px; } .sg-playstrip .go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .sg-playstrip .go { padding: 0 14px; } }
.sg-figure .plate { position: relative; }
.sg-figure .plate .ax-zoom { display: grid; place-items: center; width: 100%; cursor: zoom-in; border-radius: 12px; }
.sg-figure .plate .ax-zoomhint { position: absolute; top: 10px; inset-inline-end: 10px; margin: 0; padding: 5px 10px; border-radius: 9px;
background: rgba(20, 35, 61, .78); color: #fff; font: 700 12px/1.2 var(--sans); letter-spacing: .01em; pointer-events: none; }
body.signal .ag-top { align-items: flex-start; }
body.signal .ag-title { flex-wrap: wrap; row-gap: 2px; min-width: 0; }
body.signal .ag-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
body.signal .ag-lives { flex: none; margin-top: 3px; }
.sg-stats { gap: 0; background: var(--card); }
.sg-stats > div { grid-column: auto; background: transparent; box-shadow: 1px 0 0 var(--rule), 0 1px 0 var(--rule); }
@media (max-width: 459px) { .sg-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.sg-langlist a { white-space: nowrap; }
@media (max-width: 399px) { .sg-langlist small { display: none; } .sg-langlist a { padding: 0 8px; } }
.sg-figure .plate .ax-zoomhint { position: static; justify-self: end; margin-top: 8px; }
@media (max-width: 459px) { body.signal .ag-name { font-size: 16px; } body.signal .ag-diff { font-size: 10.5px; letter-spacing: .04em; } body.signal .ag-lives { gap: 4px; } body.signal .ag-lives i { width: 15px; height: 15px; } }
:lang(zh) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3) { word-break: keep-all; overflow-wrap: anywhere; }
.sg-nobr { white-space: nowrap; }
[dir="rtl"] .sg-meta b, [dir="rtl"] .sg-playstrip small bdi { unicode-bidi: isolate; direction: ltr; }
.sg-stats > div:last-child { grid-column: auto; }
@media (max-width: 459px) { .sg-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
