html:root{color-scheme: light;--bg: #f3efe6;--surface: #fbf9f4;--surface-2: #ece6d9;--surface-3: #e4dccb;--line: #d8cfbd;--line-2: #8c7f68;--fg: #1d1a16;--fg-2: #3d3830;--fg-3: #655d50;--accent: #9e1f16;--secondary: #2f6b3f;--secondary-ink: #2f6b3f;--on-accent: #ffffff;--accent-ink: var(--accent);--accent-soft: color-mix(in oklab,var(--accent) 9%,var(--surface));--accent-line: color-mix(in oklab,var(--accent) 32%,var(--line));--ring: 0 0 0 3px color-mix(in oklab,var(--accent) 28%,transparent);--ok: #137a3a;--ok-soft: #e9f7ee;--ok-line: #a8dbb9;--warn: #9a5b00;--warn-soft: #fff6e0;--warn-line: #ecd08a;--bad: #b42318;--bad-soft: #fef0ee;--bad-line: #f1b5ad;--info-soft: color-mix(in oklab,var(--accent) 7%,var(--surface));--info-line: color-mix(in oklab,var(--accent) 25%,var(--line));--font-body: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI Variable Text","Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang TC","PingFang SC","Hiragino Sans","Microsoft JhengHei","Noto Sans CJK TC",sans-serif;--font-display: ui-serif,"New York",Charter,"Iowan Old Style","Sitka Text",Cambria,Georgia,"Songti TC","Noto Serif CJK TC",serif;--font-mono: ui-monospace,"SF Mono",SFMono-Regular,"JetBrains Mono",Menlo,Consolas,"Liberation Mono",monospace;--display-weight: 700;--display-track: -0.01em;--r-xs: 6px;--r-sm: 8px;--r-md: 3px;--r-lg: 4px;--r-xl: 10px;--r-btn: 6px;--r-pill: 999px;--sh-1: 0 1px 2px rgb(16 24 40 / .05);--sh-2: 0 1px 2px rgb(16 24 40 / .04),0 6px 16px -4px rgb(16 24 40 / .08);--sh-3: 0 1px 1px rgb(16 24 40 / .03),0 2px 6px -1px rgb(16 24 40 / .05),0 24px 48px -16px rgb(16 24 40 / .16);--sh-accent: 0 1px 2px color-mix(in oklab,var(--accent) 30%,transparent),0 6px 16px -6px color-mix(in oklab,var(--accent) 55%,transparent);--ease: cubic-bezier(.2,.7,.2,1);--dur: 160ms;--measure: 760px;--tool: 960px;--wide: 1160px;--gutter: clamp(16px,4vw,32px);--t-xs: 12.5px;--t-sm: 14px;--t-base: clamp(16px,15.2px + .25vw,17px);--t-lg: clamp(17.5px,16px + .45vw,20px);--t-h3: clamp(17.5px,16.4px + .35vw,19.5px);--t-h2: clamp(23px,18px + 1.3vw,31px);--t-h1: clamp(31px,22px + 2.6vw,50px);--t-display: clamp(38px,22px + 4.6vw,74px);--hero: none;--mark: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Crect%20width%3D%2232%22%20height%3D%2232%22%20rx%3D%224%22%20fill%3D%22%231d1a16%22%2F%3E%3Cg%20transform%3D%22translate(4%204)%22%20fill%3D%22none%22%20stroke%3D%22%23fbf9f4%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%208.5V6.2A2.2%202.2%200%200%201%206.2%204h2.3M15.5%204h2.3A2.2%202.2%200%200%201%2020%206.2v2.3M20%2015.5v2.3a2.2%202.2%200%200%201-2.2%202.2h-2.3M8.5%2020H6.2A2.2%202.2%200%200%201%204%2017.8v-2.3%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M12%204v2.4M12%2017.6V20M4%2012h2.4M17.6%2012H20%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--muted: var(--fg-3);--soft: var(--surface-2)}html:root,html:root *{--line-soft: color-mix(in oklab,var(--line) 55%,transparent)}html:root *,html:root *::before,html:root *::after{box-sizing: border-box}html:root [hidden]{display: none !important}html:root{-webkit-text-size-adjust: 100%;text-size-adjust: 100%;scroll-padding-top: 88px}html:root body{margin: 0;font: 400 var(--t-base)/1.68 var(--font-body);color: var(--fg-2);background: var(--bg);-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;text-rendering: optimizeLegibility;font-kerning: normal}@media screen{html:root body{display: flex;flex-direction: column;min-height: 100vh;min-height: 100dvh}html:root body > main{flex: 1 0 auto}}html:root ::selection{background: color-mix(in oklab,var(--accent) 22%,transparent);color: var(--fg)}html:root a{color: var(--accent-ink);text-decoration-line: underline;text-decoration-thickness: 1px;text-underline-offset: .22em;text-decoration-color: color-mix(in oklab,currentColor 38%,transparent);transition: color var(--dur) var(--ease),text-decoration-color var(--dur) var(--ease),background-color var(--dur) var(--ease)}html:root a:hover{text-decoration-color: currentColor}html:root :focus-visible{outline: 2px solid var(--accent);outline-offset: 2px;border-radius: 4px}html:root img{max-width: 100%;height: auto}html:root .wrap{max-width: var(--wide);margin: 0 auto;padding: 0 var(--gutter)}html:root h1,html:root h2,html:root h3,html:root h4{color: var(--fg);text-wrap: balance}html:root h1{font: var(--display-weight) var(--t-h1)/1.08 var(--font-display);letter-spacing: var(--display-track);margin: 12px 0 16px}html:root h2{font: 600 var(--t-h2)/1.18 var(--font-display);letter-spacing: calc(var(--display-track) * .7);margin: 48px 0 12px}html:root h3{font: 600 var(--t-h3)/1.35 var(--font-body);letter-spacing: -.008em;margin: 28px 0 8px}html:root p{margin: 0 0 16px}html:root ul,html:root ol{padding-left: 1.3em;margin: 0 0 16px}html:root li{margin: 4px 0}html:root li::marker{color: color-mix(in oklab,var(--accent) 70%,var(--fg-3))}html:root strong{color: var(--fg);font-weight: 600}html:root code{font: .9em var(--font-mono);background: var(--surface-2);border: 1px solid var(--line);border-radius: 6px;padding: .08em .35em;overflow-wrap: anywhere}html:root hr{border: 0;border-top: 1px solid var(--line-soft);margin: 40px 0}html:root .lead{color: var(--fg-2);font-size: var(--t-lg);line-height: 1.55;margin: 0 0 20px}html:root div.lead{font-size: clamp(17px,15.6px + .35vw,18.5px);line-height: 1.6}html:root .meta{font-size: var(--t-sm);color: var(--fg-3)}html:root .demo{background: var(--accent-soft);border-bottom: 1px solid var(--accent-line);color: var(--fg);font-size: var(--t-sm);padding: 8px 0}@media (prefers-reduced-motion: reduce){html:root *,html:root *::before,html:root *::after{transition-duration: 0s !important;animation-duration: 0s !important}}html:root header.top{position: sticky;top: 0;z-index: 40;background: color-mix(in oklab,var(--bg) 84%,transparent);-webkit-backdrop-filter: saturate(1.6) blur(14px);backdrop-filter: saturate(1.6) blur(14px);border-bottom: 1px solid var(--line-soft)}html:root header.top .wrap{display: flex;flex-wrap: wrap;align-items: center;gap: 6px 24px;min-height: 64px}html:root header.top .brand{display: inline-flex;align-items: center;gap: 10px;color: var(--fg);text-decoration: none;font: 700 17px/1.1 var(--font-display);letter-spacing: -.02em;padding: 8px 0}html:root header.top .brand::before{content: "";flex: none;width: 30px;height: 30px;background: var(--mark) center / contain no-repeat;box-shadow: var(--sh-1);border-radius: 4px}html:root header.top nav{display: flex;flex-wrap: wrap;gap: 2px}html:root header.top nav:not(.langs){margin-left: auto}html:root header.top nav a{display: inline-flex;align-items: center;min-height: 36px;padding: 8px 12px;border-radius: var(--r-pill);color: var(--fg-2);font-size: 15px;font-weight: 500;text-decoration: none}html:root header.top nav a:hover{color: var(--fg);background: var(--surface-2)}html:root header.top nav a[aria-current]{color: var(--fg);font-weight: 650;background: var(--surface-2)}html:root header.top .langs{margin-left: 4px;padding: 3px;border: 1px solid var(--line);border-radius: var(--r-pill);background: var(--surface);font-size: 13.5px}html:root header.top .langs a{min-height: 32px;padding: 4px 12px;font-size: 13.5px}html:root header.top .langs a[aria-current]{background: var(--fg);color: var(--bg)}html:root header.top .brand + .langs{margin-left: auto}@media (max-width: 760px){html:root{scroll-padding-top: 0}html:root header.top{position: static;-webkit-backdrop-filter: none;backdrop-filter: none;background: var(--bg)}html:root header.top .wrap{flex-direction: row;flex-wrap: nowrap;align-items: center;gap: 8px;min-height: 0;padding-top: 6px;padding-bottom: 4px}html:root header.top .brand:not(#_t){display: block;line-height: 48px;min-height: 48px;flex: 0 1 auto;min-width: 0;padding: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap}html:root header.top .brand:not(#_t)::before{display: inline-block;vertical-align: middle;margin-right: 10px;margin-top: -4px}html:root header.top nav:not(.langs){display: none}html:root header.top .langs{display: flex;flex: 0 1 auto;margin: 0 0 0 auto;padding: 0;min-width: 0;max-width: 62%;flex-wrap: nowrap;gap: 4px;overflow-x: auto;scrollbar-width: none;border: 0;background: none;border-radius: 0}html:root header.top .langs::-webkit-scrollbar{display: none}html:root header.top .langs a{flex: none;white-space: nowrap;background: none;border: 1px solid var(--line);margin: 0;min-height: 44px;padding: 4px 12px;font-size: 13px}html:root header.top .langs a[aria-current]{order: -1}html:root header.top .sf-auth-optional-note{display: none}html:root header.top .sf-session{flex: 0 0 auto;margin: 0}html:root header.top .sf-session-in,html:root header.top .sf-session-out{min-height: 44px}html:root header.top .sf-session-badge{max-width: 100px;min-height: 44px}html:root header.top .wrap:has(.sf-session) .langs{max-width: 38%}html:root header.top .wrap .langs{margin: 0 0 0 auto}}html:root main{position: relative;isolation: isolate;display: flow-root;padding: 0 0 clamp(56px,8vw,104px)}html:root.sf-locked main{z-index: 1100}html:root main::before{content: "";position: absolute;z-index: -1;inset: 0 0 auto 0;height: clamp(560px,78vh,820px);max-height: 100%;background: linear-gradient(to bottom,transparent 50%,var(--bg)),var(--hero);pointer-events: none}html:root main > .wrap > *{max-width: var(--measure);margin-left: auto;margin-right: auto}html:root main > .wrap > :is(h1,h2,h3,h4){margin-left: auto;margin-right: auto}html:root main > .wrap > :is(.ssg,.aid,.asd,.tool,.spc,.swe,.ssq,.src,.ccc){max-width: var(--measure)}html:root main > .wrap > section,html:root main > .wrap > div{margin-top: 0}html:root main > .wrap > section > :first-child{margin-top: 2em}html:root .crumbs{font-size: 13.5px;color: var(--fg-3);padding-top: clamp(18px,3.5vw,40px)}html:root .crumbs ol{list-style: none;padding: 0;margin: 0;display: flex;flex-wrap: wrap;align-items: center}html:root .crumbs li{margin: 0;display: inline-flex;align-items: center}html:root .crumbs li + li::before{content: "";width: 6px;height: 6px;margin: 0 8px;border-top: 1.5px solid var(--line-2);border-right: 1.5px solid var(--line-2);transform: rotate(45deg)}html:root .crumbs a{display: inline-block;padding: 6px 0;color: var(--fg-3);text-decoration: none}html:root .crumbs a:hover{color: var(--fg)}html:root .crumbs [aria-current]{color: var(--fg-2)}html:root .crumbs + h1{margin-top: 10px}html:root main > .wrap > h1:first-child{margin-top: clamp(28px,5vw,56px)}html:root .byline{font-size: var(--t-sm);color: var(--fg-3);margin: -8px 0 24px;display: flex;flex-wrap: wrap;align-items: center;gap: 4px}html:root .byline a{color: var(--fg-2);font-weight: 600;text-decoration: none}html:root .byline a:hover{color: var(--fg)}html:root main > .wrap > .home-h1{font-size: var(--t-display);line-height: 1.02;letter-spacing: calc(var(--display-track) * 1.1);text-align: center;max-width: 20ch;margin: clamp(32px,7vw,88px) auto 18px}html:root main > .wrap > .home-h1 + .lead{text-align: center;text-wrap: balance;max-width: 34em;margin: 0 auto clamp(24px,3.5vw,40px);font-size: clamp(17.5px,15.5px + .6vw,21px);color: var(--fg-2)}@media (max-width: 480px){html:root main > .wrap > h1.home-h1{font-size: clamp(30px,8.8vw,36px);line-height: 1.04;max-width: none;margin: 16px auto 8px;text-wrap: balance}html:root main > .wrap > .home-h1 + .lead{font-size: 16px;line-height: 1.45;margin-bottom: 14px}html:root main > .wrap > [data-tool] > :first-child{margin-top: 0}html:root main > .wrap > :is(.ow,.pcb,.kit) > h2{margin: 0 0 10px;font-size: 22px;line-height: 1.2}html:root .ow{padding: 14px}html:root .ow > p{font-size: 14px;line-height: 1.45;margin: 8px 0}html:root .ow fieldset{margin: 10px 0}html:root .ow legend{font-size: 17px}html:root .ow label{margin: .4rem 0}html:root .op-hero-cell img,html:root .op .op-hero-cell video{height: 128px;min-height: 0;object-fit: contain}html:root .rv-show{grid-template-columns: 64px minmax(0,1fr)}html:root .rv-show > video{width: 64px;max-width: 64px}html:root .rv-show > .rv-show-list{flex-wrap: nowrap;overflow-x: auto;max-width: 100%}html:root .rv-show > .rv-show-list > li{flex: none}html:root .rv-drop{padding: 8px;gap: 10px}html:root .td-wall img{width: 72px;height: 72px}html:root .td-wall li{width: 72px;min-width: 72px}}html:root main > .wrap > :is(.home-h1 ~ .ssg,.home-h1 ~ .aid,.home-h1 ~ .asd){max-width: var(--tool)}html:root main :is(p,li,dd) > img,html:root main figure > img{border-radius: var(--r-md);border: 1px solid var(--line-soft);box-shadow: var(--sh-2);background: var(--surface-2)}html:root .tablewrap{overflow-x: auto;margin: 24px auto 28px;border: 1px solid var(--line-soft);border-radius: var(--r-md);background: var(--surface);box-shadow: var(--sh-1);container-type: inline-size}html:root table{border-collapse: collapse;width: 100%;font-variant-numeric: tabular-nums;font-size: 15.5px;line-height: 1.5}html:root caption{text-align: left;font-weight: 650;color: var(--fg);padding: 12px 14px 4px;caption-side: top}html:root .tablewrap > table > caption{position: sticky;left: 0;max-width: 100cqw}html:root th,html:root td{border: 0;border-bottom: 1px solid var(--line-soft);padding: 12px 16px;text-align: left;vertical-align: top}html:root thead th{background: var(--surface-2);color: var(--fg-2);font-weight: 600;font-size: 13px;letter-spacing: .01em}html:root tbody tr:last-child > *{border-bottom: 0}html:root tbody th{color: var(--fg);font-weight: 600}html:root tbody tr:hover > *{background: color-mix(in oklab,var(--surface-2) 60%,transparent)}html:root main > .wrap > table,html:root main > .wrap div:not(.tablewrap) > table{border: 1px solid var(--line-soft);border-radius: var(--r-md);border-collapse: separate;border-spacing: 0;overflow: hidden}@media (max-width: 760px){html:root th,html:root td{padding: 8px 12px}html:root table{font-size: 14.5px}html:root main > .wrap > table,html:root main > .wrap div:not(.tablewrap) > table{display: block;overflow-x: auto;max-width: 100%}}html:root dl.facts{display: grid;grid-template-columns: fit-content(42%) minmax(0,1fr);gap: 0;margin: 24px auto;border: 1px solid var(--line-soft);border-radius: var(--r-md);background: var(--surface);overflow: hidden}html:root dl.facts dt,html:root dl.facts dd{padding: 12px 16px;border-bottom: 1px solid var(--line-soft);overflow-wrap: anywhere;min-width: 0;margin: 0}html:root dl.facts dt{color: var(--fg-3);font-size: 14.5px;background: var(--surface-2)}html:root dl.facts dd{color: var(--fg);font-weight: 500}html:root dl.facts > :nth-last-child(-n + 2){border-bottom: 0}@media (max-width: 560px){html:root dl.facts{grid-template-columns: minmax(0,1fr)}html:root dl.facts dt{border-bottom: 0;padding: 8px 16px 4px;font-size: 13.5px}html:root dl.facts dd{padding: 4px 16px 12px}}html:root .disclosure{background: var(--warn-soft);border: 1px solid var(--warn-line);color: var(--fg);padding: 12px 14px;border-radius: var(--r-md);font-size: var(--t-sm)}html:root blockquote{margin: 1.4em 0;padding: 4px 0 4px 18px;border-left: 3px solid var(--accent-line);color: var(--fg-2)}html:root .card-list{list-style: none;padding: 0;margin: 1em auto 0;display: grid;gap: 10px;grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr))}html:root .card-list li{position: relative;margin: 0;padding: 14px 44px 14px 16px;border: 1px solid var(--line);border-radius: var(--r-md);background: var(--surface);box-shadow: var(--sh-1);transition: border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease);display: flex;flex-direction: column;gap: 2px;line-height: 1.4}html:root .card-list li::after{content: "";position: absolute;right: 16px;top: 50%;width: 8px;height: 8px;margin-top: -4px;border-top: 2px solid var(--fg-3);border-right: 2px solid var(--fg-3);transform: rotate(45deg);opacity: .55;transition: transform var(--dur) var(--ease),opacity var(--dur) var(--ease),border-color var(--dur) var(--ease)}html:root .card-list li:has(a):hover{border-color: var(--accent-line);box-shadow: var(--sh-2);transform: translateY(-1px)}html:root .card-list li:has(a):hover::after{transform: translateX(3px) rotate(45deg);opacity: 1;border-color: var(--accent)}html:root .card-list a{color: var(--fg);font-weight: 600;text-decoration: none;padding: 0;display: inline}html:root .card-list a::before{content: "";position: absolute;inset: 0;border-radius: inherit}html:root .card-list li:not(:has(a))::after{display: none}html:root .card-list .meta{font-size: 13px}html:root ol.steps{list-style: none;counter-reset: sf-step;padding: 0;margin: 1.2em auto 0;display: grid;gap: 12px}html:root ol.steps > li{counter-increment: sf-step;position: relative;margin: 0;padding: 18px 20px 14px 68px;border: 1px solid var(--line);border-radius: var(--r-lg);background: var(--surface);box-shadow: var(--sh-1)}html:root ol.steps > li::before{content: counter(sf-step);position: absolute;left: 18px;top: 18px;width: 34px;height: 34px;display: grid;place-items: center;border-radius: 10px;background: var(--accent-soft);color: var(--accent-ink);border: 1px solid var(--accent-line);font: 700 15px/1 var(--font-body)}html:root ol.steps h3{margin: 4px 0 4px}html:root ol.steps li > div > :last-child{margin-bottom: 0}html:root .grid2{display: grid;gap: 12px;grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr));margin: 1.2em auto 0}html:root .grid2 > div{padding: 18px 20px 6px;border: 1px solid var(--line);border-radius: var(--r-lg);background: var(--surface);box-shadow: var(--sh-1)}html:root .grid2 > div > h3{margin-top: 0;display: flex;align-items: center;gap: 10px}html:root .grid2 > div > h3::before{content: "";flex: none;width: 8px;height: 8px;border-radius: 50%;background: var(--accent);box-shadow: 0 0 0 4px var(--accent-soft)}html:root .grid2 > div p{font-size: 15.5px}html:root .screens{display: grid;gap: 16px;grid-template-columns: repeat(auto-fill,minmax(min(100%,220px),1fr));margin-top: 1.2em}html:root .screens figure{margin: 0}html:root .screens img{width: 100%;border: 1px solid var(--line);border-radius: var(--r-md);background: var(--surface-2);box-shadow: var(--sh-2)}html:root .screens figcaption{font-size: 13.5px;color: var(--fg-3);margin-top: 8px;line-height: 1.45}html:root .cta{margin: 3em auto 0;padding: clamp(24px,4vw,40px);border: 1px solid var(--accent-line);border-radius: var(--r-xl);background: radial-gradient(120% 140% at 0% 0%,var(--accent-soft),var(--surface) 70%);text-align: center;box-shadow: var(--sh-2)}html:root .cta h2{margin-top: 0 !important}html:root .cta > div{max-width: 36em;margin: 0 auto 18px}html:root section:has(> #faq-h) > h3{margin: 0;padding: 18px 0 6px;border-top: 1px solid var(--line);font-size: var(--t-h3)}html:root section:has(> #faq-h) > h3:first-of-type{margin-top: 8px}html:root section:has(> #faq-h) > div{color: var(--fg-2)}html:root section:has(> #faq-h) > div:last-child{border-bottom: 1px solid var(--line);padding-bottom: 8px}html:root section:has(> #sources-h){font-size: 15px;color: var(--fg-3)}html:root section:has(> #sources-h) > h2{font-size: clamp(19px,16px + .6vw,22px)}html:root section:has(> #sources-h) a{color: var(--fg-2)}html:root .buy,html:root .cta > a.buy{display: inline-flex;align-items: center;justify-content: center;gap: 8px;min-height: 48px;padding: 0 22px;border-radius: var(--r-btn);background: var(--accent);color: var(--on-accent);font-weight: 650;font-size: 16px;text-decoration: none;box-shadow: var(--sh-accent);transition: transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease),filter var(--dur) var(--ease)}html:root .buy:hover{transform: translateY(-1px);filter: brightness(1.06)}html:root .buy:active{transform: translateY(0) scale(.985)}html:root .buy-box.primary{padding: 18px;border: 1px solid var(--line);border-radius: var(--r-lg);background: var(--surface);box-shadow: var(--sh-1)}html:root .buy-note,html:root .aff-tag{display: block;font-size: 13px;color: var(--fg-3);margin-top: 6px}html:root .aff-tag{display: inline}html:root .ad{margin: 28px auto;contain: layout}html:root .ad-label{display: block;font-size: 12px;color: var(--fg-3)}html:root .tool{border: 1px solid var(--line);border-radius: var(--r-xl);padding: clamp(16px,3vw,24px);margin: 24px auto;background: var(--surface);box-shadow: var(--sh-3)}html:root .tool label{display: block;font-size: 14px;color: var(--fg-3)}html:root .tool .row{display: grid;grid-template-columns: 1fr 1fr 1fr;gap: 12px}html:root .tool output{display: block;font-size: 24px;font-weight: 700;color: var(--fg);margin-top: 12px;min-height: 1.6em}html:root .author-list li{margin: .5em 0}html:root main :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea){font: inherit;color: var(--fg);background: var(--surface);border: 1px solid var(--line-2);border-radius: var(--r-sm);box-shadow: inset 0 1px 1px rgb(16 24 40 / .03);transition: border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}html:root main :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea):hover{border-color: color-mix(in oklab,var(--fg-3) 55%,var(--line-2))}html:root main :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea):focus{outline: none;border-color: var(--accent);box-shadow: var(--ring)}html:root main ::placeholder{color: color-mix(in oklab,var(--fg-3) 80%,transparent)}html:root main input[type=checkbox],html:root main input[type=radio]{accent-color: var(--accent)}html:root main details > summary{cursor: pointer}html:root footer{margin-top: 0;background: var(--surface-2);border-top: 1px solid var(--line-soft);color: var(--fg-3);font-size: 14px}html:root footer .wrap{padding: clamp(36px,5vw,56px) var(--gutter) 32px;display: grid;gap: 22px}html:root footer .wrap::before{content: "";width: 34px;height: 34px;background: var(--mark) center / contain no-repeat;border-radius: 4px;box-shadow: var(--sh-1)}html:root footer nav{display: flex;flex-wrap: wrap;gap: 2px 22px;margin: 0}html:root footer nav.pages{display: grid;grid-template-columns: repeat(auto-fill,minmax(min(100%,230px),1fr));gap: 4px 28px;padding-bottom: 24px;border-bottom: 1px solid var(--line-soft)}html:root footer a{display: inline-block;padding: 7px 0;color: var(--fg-2);text-decoration: none;line-height: 1.35}html:root footer a:hover{color: var(--fg);text-decoration: underline;text-decoration-color: var(--line-2)}html:root footer .home-link{font-weight: 650;color: var(--fg)}html:root footer p{margin: 0;color: var(--fg-3);font-size: 13.5px}html:root{--r-xs: 3px;--r-sm: 4px;--r-xl: 6px;--r-pill: 6px;--sh-1: 0 1px 0 #d8cfbd;--sh-2: 0 1px 0 #d8cfbd,0 12px 24px -16px rgb(60 40 10 / .35);--sh-3: var(--sh-2);--sh-accent: none;--on-accent: #ffffff;--case-ink: #23446d;--accent-ink: var(--case-ink);--ok: #2f6b3f;--ok-line: #2f6b3f;--ok-soft: #e8efe3;--bad: #9e1f16;--bad-line: #9e1f16;--bad-soft: #f6e9e3;--accent-soft: color-mix(in oklab,var(--accent) 7%,var(--surface));--accent-line: color-mix(in oklab,var(--accent) 35%,var(--line))}html:root header.top{background: var(--bg);-webkit-backdrop-filter: none;backdrop-filter: none;border-bottom: 1px solid var(--line);box-shadow: none}html:root header.top :is(a,button,summary){border-radius: var(--r-btn)}html:root header.top .wrap > .langs-m{border-radius: var(--r-btn)}html:root :is(.btn,a.btn,button.btn){box-shadow: none}html:root footer{border-top: 1px solid var(--line);background: var(--surface-2)}html:root .ccc,html:root .aid{background-color: var(--surface)}html:root .aid-owner .aid-btn,html:root .ccc-card,html:root .aid-code,html:root .aid-card,html:root .aid-share,html:root .aid-wall,html:root .aid-recent-item,html:root .aid-next-box,html:root .aid-sample,html:root .aid-report{background-color: var(--surface)}html:root .ccc-drop,html:root .aid-drop,html:root .aid-deep,html:root .aid-thumb{background-color: var(--surface-2)}html:root .aid-sample-note{background: var(--warn-soft);border-color: var(--warn-line);color: var(--fg)}html:root .aid-err{background: var(--bad-soft);border-color: var(--bad-line);color: var(--bad)}{background: color-mix(in oklab,var(--secondary) 10%,var(--surface));border-color: color-mix(in oklab,var(--secondary) 30%,var(--line))}html:root .ccc-card dt,html:root .aid-tool-k,html:root .aid-basis,html:root .aid-status,html:root .aid-l,html:root .aid-r-kind{color: var(--fg-2)}html:root .ccc-no,html:root .is-ai .aid-verdict{color: var(--bad)}html:root .ccc-yes,html:root .is-real .aid-verdict{color: var(--ok)}html:root .is-edited .aid-verdict{color: var(--warn)}html:root .aid-cta .aid-btn,html:root .ccc-pick span,html:root .aid-choice[aria-pressed=true]{color: var(--on-accent)}html:root :is(.ccc,.aid) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){background-color: var(--surface);color: var(--fg);border-color: var(--line-2)}html:root .aid-btn,html:root .aid-pick span,html:root .aid-url button,html:root .ccc-pick span{border-radius: var(--r-btn) !important;background: var(--accent);color: var(--on-accent);border: 1px solid color-mix(in oklab,var(--accent) 80%,#000);font-weight: 600;text-decoration: none;letter-spacing: -.005em;box-shadow: var(--sh-accent),inset 0 1px 0 rgb(255 255 255 / .16);transition: transform var(--dur) var(--ease),filter var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}html:root .aid-btn:hover,html:root .aid-pick span:hover,html:root .aid-url button:hover,html:root .ccc-pick span:hover{filter: brightness(1.07);transform: translateY(-1px)}html:root .aid-btn:active,html:root .aid-pick span:active,html:root .aid-url button:active,html:root .ccc-pick span:active{transform: translateY(0) scale(.985)}html:root .aid-ghost{border-radius: var(--r-btn) !important;background: var(--surface);color: var(--fg);border: 1px solid var(--line-2);box-shadow: var(--sh-1);font-weight: 500;text-decoration: none}html:root .aid-ghost:hover{border-color: color-mix(in oklab,var(--fg-3) 50%,var(--line-2));background: var(--surface-2);filter: none;transform: none}html:root :is(.aid,.ccc) :is(button,a):focus-visible{outline: 2px solid var(--accent);outline-offset: 2px;box-shadow: var(--ring)}html:root .aid-err{border-width: 1px;border-style: solid;border-radius: var(--r-sm)}html:root .aid-sample-note{border-width: 1px;border-style: solid;border-radius: var(--r-sm)}html:root .aid-fine,html:root .aid-quota,html:root .aid-acc,html:root .aid-meta{color: var(--fg-3)}html:root p.aid-fine,html:root p.aid-acc{max-width: 80ch;margin-inline: auto}html:root .aid{padding: clamp(16px,2.6vw,24px);border: 1px solid var(--line);border-radius: var(--r-xl);background: var(--surface);box-shadow: var(--sh-3);margin: 8px auto 40px}html:root .aid::before,html:root .aid::after{content: "";position: absolute;width: 22px;height: 22px;border: 2px solid var(--accent);pointer-events: none;opacity: .9}html:root .aid::before{top: -7px;left: -7px;border-right: 0;border-bottom: 0;border-top-left-radius: 8px}html:root .aid::after{bottom: -7px;right: -7px;border-left: 0;border-top: 0;border-bottom-right-radius: 8px}html:root .aid-drop{border: 1.5px dashed var(--line-2);border-radius: var(--r-lg);background: linear-gradient(var(--surface-2),var(--surface-2)) padding-box;padding: clamp(18px,3vw,30px) 14px;transition: border-color var(--dur) var(--ease),background var(--dur) var(--ease)}html:root .aid-drop:hover,html:root .aid-drop.is-over{border-color: var(--accent);background: var(--accent-soft)}html:root .aid-ico{color: var(--accent);width: 44px;height: 44px;padding: 9px;border-radius: 12px;background: var(--surface);border: 1px solid var(--line);box-shadow: var(--sh-1);box-sizing: content-box}html:root .aid-drop-t{color: var(--fg);font-weight: 600;font-size: 16.5px;margin: 12px 0 14px}html:root .aid-l{font-size: 14px;font-weight: 600;color: var(--fg)}html:root .aid-url input{border-radius: var(--r-sm);border-color: var(--line-2)}@media (max-width: 480px){html:root .aid-url-row{grid-template-columns: minmax(0,1fr)}html:root .aid-url-row > button{width: 100%}}html:root .aid-sample{border-color: var(--line);background: var(--surface);color: var(--fg);border-radius: var(--r-md);box-shadow: var(--sh-1);transition: border-color var(--dur) var(--ease),transform var(--dur) var(--ease)}html:root .aid-sample:hover{border-color: var(--accent-line);transform: translateY(-1px)}html:root :is(.aid-card,.aid-share,.aid-wall,.aid-next-box,.aid-report,.aid-recent-item,.aid-deep){background: var(--surface);border-color: var(--line)}html:root .aid-card{--tone: var(--fg-3);border-radius: var(--r-lg);box-shadow: var(--sh-2);border: 1px solid var(--line) !important;padding: 18px 20px;background: linear-gradient(180deg,color-mix(in oklab,var(--tone) 7%,var(--surface)),var(--surface) 120px)}html:root .aid-card.is-ai{--tone: var(--bad)}html:root .aid-card.is-real{--tone: var(--ok)}html:root .aid-card.is-edited{--tone: var(--warn)}html:root .aid-card.is-claim{border-style: dashed !important}html:root .aid-card.is-ai .aid-verdict{color: var(--bad)}html:root .aid-card.is-real .aid-verdict{color: var(--ok)}html:root .aid-verdict{font-family: var(--font-display);letter-spacing: -.02em}html:root .aid-gauge{height: 10px;border-radius: 99px;margin: 8px 0 32px}html:root .aid-gauge-band{top: -4px;height: 18px;border-radius: 6px;background: var(--fg);opacity: .82}html:root .aid-r-kind{font-family: var(--font-mono);font-size: 11.5px;letter-spacing: .02em;text-transform: uppercase;background: var(--surface-2);color: var(--fg-2);border: 1px solid var(--line)}html:root .aid-r-strong .aid-r-kind{background: var(--accent-soft);color: var(--accent-ink);border-color: var(--accent-line)}html:root .aid-limits summary,html:root .aid-linkbtn{color: var(--accent-ink)}html:root .aid-ts-note{background: var(--info-soft);border-color: var(--info-line);color: var(--fg)}html:root .aid-deep{background: var(--surface-2)}html:root .aid-settings > summary{color: var(--fg-3)}html:root .aid-choice[aria-pressed=true]{background: var(--fg);color: var(--bg);border-color: var(--fg)}html:root :is(.aid-input,.aid-report textarea){border-color: var(--line-2);background: var(--surface);color: var(--fg)}html:root .aid-acc{padding-top: 14px;border-top: 1px solid var(--line)}html:root .aid-packs{display: grid;grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr));gap: 8px;margin-bottom: 12px}html:root .aid-packs > .aid-btn{width: 100%;justify-content: center;text-align: center}html:root .aid-wall{padding: 6px 16px 16px;border-radius: var(--r-lg)}html:root .aid-wall > .aid-sub,html:root .aid-url[data-role=gift] > .aid-sub{font: 700 clamp(19px,17px + .5vw,22px)/1.25 var(--font-display);letter-spacing: -.02em;color: var(--fg);margin: 12px 0 6px}html:root .aid-url[data-role=gift] > p{margin: 0 0 12px;color: var(--fg-2)}html:root .aid-url[data-role=gift] > p > strong{color: var(--fg);font-weight: 650}html:root [data-role=gift-form] input{min-height: 52px;padding: 10px 14px;font-size: 16.5px}html:root [data-role=gift-form] .aid-actions{margin-top: 10px}html:root [data-role=gift-form] .aid-actions > .aid-btn{width: 100%;min-height: 52px;font-size: 16.5px}html:root [data-role=gift-form] > .aid-fine{margin-top: 10px;line-height: 1.5}@media (min-width: 640px){html:root [data-role=gift-form]{display: grid;grid-template-columns: minmax(0,1fr) auto;column-gap: 8px;align-items: start}html:root [data-role=gift-form] > :not(input):not(.aid-actions){grid-column: 1 / -1}html:root [data-role=gift-form] .aid-actions{margin-top: 0}html:root [data-role=gift-form] .aid-actions > .aid-btn{width: auto;white-space: nowrap;padding: 0 22px}}html:root .aid-wall[data-role=gift-offer]{background: var(--info-soft);border-color: var(--info-line);padding: 14px 16px 16px}html:root .aid-wall[data-role=gift-offer] .aid-url[data-role=gift] > p{margin-bottom: 10px}html:root .aid-gift{border-top-color: var(--line)}html:root .aid-gift[data-role=wall-more]{margin-top: 20px;padding-top: 16px}html:root .aid-gift[data-role=wall-more] > p:not(.aid-fine){font-size: 15px;line-height: 1.55;color: var(--fg-2);margin: 0 0 8px}html:root .aid-gift[data-role=wall-more] .aid-packs > .aid-btn{min-height: 44px;font-size: 15px;font-weight: 600;box-shadow: none}html:root .ccc-drop{border-color: var(--line-2);background: var(--surface-2);border-radius: var(--r-lg)}html:root .ccc-drop.is-over{border-color: var(--accent);background: var(--accent-soft)}html:root .ccc-card{background: var(--surface);border-color: var(--line);border-radius: var(--r-lg);box-shadow: var(--sh-2)}html:root .aid-result-page :is(.aid-cta,.aid-owner){border-radius: var(--r-lg)}html:root .aid{position: relative;border: 1px solid var(--line);border-top: 0;border-radius: 0 0 var(--r-xl) var(--r-xl);background: var(--surface);box-shadow: var(--sh-2);padding-top: 46px}html:root .aid::before{content: "NEW CASE · FREE";top: 0;left: clamp(16px,2.6vw,24px);right: clamp(16px,2.6vw,24px);width: auto;height: auto;padding: 14px 0 10px;border: 0;border-bottom: 1px solid var(--line);border-radius: 0;opacity: 1;font: 500 12px/1 var(--font-mono);letter-spacing: .14em;color: var(--fg-3)}html:root .aid::after{content: "";top: -5px;left: 0;right: 0;bottom: auto;width: auto;height: 10px;border: 0;border-radius: 0;opacity: 1;background: radial-gradient(circle at 5px 0,var(--bg) 3.2px,transparent 3.8px) 0 5px / 10px 10px repeat-x,linear-gradient(var(--surface),var(--surface)) 0 5px / 100% 5px no-repeat}html:root .aid-drop{border: 1.5px dashed var(--line-2);border-radius: var(--r-sm);background: var(--surface-2)}html:root .aid-ico{color: var(--fg-2);background: transparent;border: 0;box-shadow: none;padding: 0;width: 36px;height: 36px}html:root .aid-drop-t::before{content: "YOUR IMAGE";display: block;margin-bottom: 6px;font: 500 12px/1 var(--font-mono);letter-spacing: .14em;color: var(--fg-3)}html:root .aid-btn{border-radius: var(--r-btn);box-shadow: none}html:root .aid-btn:not(.aid-ghost){background: var(--accent);color: var(--on-accent);border-color: var(--accent)}html:root .aid-ghost{background: transparent;color: var(--fg);border: 1.5px solid var(--fg)}html:root .aid-url input{border-radius: var(--r-sm);border: 1px solid var(--line-2);background: var(--surface)}html:root .aid .aid-url-row > button{border-radius: var(--r-btn);background: transparent;color: var(--fg);border: 1.5px solid var(--fg);box-shadow: none}html:root .aid-l{font: 500 12px/1.4 var(--font-mono);letter-spacing: .1em;text-transform: uppercase;color: var(--fg-3)}html:root .aid-sample-row{display: grid;grid-template-columns: repeat(3,minmax(0,1fr));gap: 12px}html:root .aid-sample{position: relative;display: flex;flex-direction: column;align-items: flex-start;min-height: 44px;padding: 6px 6px 8px;border: 0;border-radius: 0;background: #fff;box-shadow: 0 1px 0 var(--line),0 6px 14px -6px rgb(60 40 10 / .35);text-align: left;font-size: 12.5px;line-height: 1.3;color: var(--fg-2)}html:root .aid-sample:nth-child(1){transform: rotate(-1.5deg)}html:root .aid-sample:nth-child(3){transform: rotate(1.2deg)}html:root .aid-sample:hover{transform: none}html:root .aid-sample img{display: block;width: 100%;height: auto;aspect-ratio: 1;object-fit: cover;margin: 0 0 6px;border-radius: 0}html:root .aid-sample > span{display: block}html:root .aid-sample::after{order: 1;display: inline-block;margin: 0 0 4px;white-space: nowrap;font: 700 11px/1 var(--font-mono);letter-spacing: .04em;padding: 3px 4px;border: 1.5px solid currentColor;border-radius: 3px}html:root .aid-sample > span{order: 2}html:root .aid-sample[data-sample=gpt-credentials]::after,html:root .aid-sample[data-sample=viral-screenshot]::after{content: "LIKELY AI";color: var(--bad)}html:root .aid-sample[data-sample=phone-photo]::after{content: "LIKELY REAL";color: var(--ok)}html:root .aid-card{--tone: var(--fg-3);border-radius: var(--r-sm);box-shadow: var(--sh-2);border: 1px solid var(--line) !important;border-top: 3px solid var(--tone) !important;background: linear-gradient(180deg,color-mix(in oklab,var(--tone) 10%,var(--surface)),var(--surface) 130px)}html:root .aid-card.is-ai{--tone: var(--bad)}html:root .aid-card.is-real{--tone: var(--ok)}html:root .aid-card.is-edited{--tone: var(--warn)}html:root .aid-verdict{font: 700 clamp(24px,21px + 1vw,28px)/1.15 var(--font-display);letter-spacing: -.01em;margin: 2px 0 6px}html:root .aid-gauge,html:root .aid-gauge-band{border-radius: 2px}html:root .aid-r-kind,html:root .aid-r-strong .aid-r-kind{padding: 2px 6px;border: 1px solid var(--line-2);border-radius: 3px;background: var(--surface-2);color: var(--fg-2)}html:root .aid-wall{border-radius: var(--r-sm)}html:root :is(.aid-wall,.sf-sheet[data-state=wall]) .aid-btn:not(.aid-ghost){background: var(--fg);border-color: var(--fg);color: var(--surface)}html:root :is(.sf-wallet,.sf-qn-bar-btn,.sf-qn button){border-radius: var(--r-btn)}html:root .aid-evi{background: var(--surface);border-color: var(--line);border-radius: var(--r-sm);box-shadow: none}html:root .sf-sheet[data-state=result] .aid-actions .aid-btn[data-act=again]{background: var(--case-ink);border-color: var(--case-ink);color: #fff}html:root .sf-sheet[data-state=result] :is(.aid-sample-note a,.aid-card a,.aid-limits summary,.aid-linkbtn){color: var(--case-ink)}html:root header.top{border-bottom-color: color-mix(in oklab,var(--line) 70%,var(--bg))}html:root header.top .sf-session{margin-left: auto}html:root header.top .wrap > .langs-m{margin-left: 0}html:root header.top .sf-session-in,html:root header.top .wrap > .langs-m{border-color: transparent;background: transparent;font-weight: 500;color: var(--fg-2);padding-inline: 10px}@media (max-width: 480px){html:root header.top .brand:not(#_t){width: 44px;flex: none;font-size: 0;letter-spacing: 0}html:root main > .wrap > h1.home-h1{font-size: 34px;line-height: 1.08}}html:root main > .wrap > h1.home-h1{letter-spacing: -0.022em}html:root #check.aid .aid-drop{border: 1.5px dashed color-mix(in oklab,var(--line-2) 55%,var(--surface-2))}html:root #check.aid .aid-url input{border-color: var(--line)}html:root #check.aid .aid-url-row > button[type="submit"]{border: 1px solid var(--line-2);color: var(--fg);min-height: 50px;font-weight: 600}html:root #check.aid .aid-drop .sf-cam{border: 1px solid var(--line-2);background: transparent;color: var(--fg-2);border-radius: var(--r-btn)}html:root #check.aid .aid-drop .aid-fine{line-height: 1.55;margin-top: 10px}html:root .aid-l,html:root .aid::before,html:root .aid-drop-t::before{letter-spacing: .08em}html:root .aid-sample-row{align-items: stretch}html:root .aid-sample:nth-child(1){transform: rotate(-1deg)}html:root .aid-sample:nth-child(3){transform: rotate(.8deg)}
html[data-mobile=app] { -webkit-tap-highlight-color: transparent; --m-surface: var(--surface, #fff); --m-surface-2: var(--surface-2, var(--soft, #f6f8fa)); --m-fg: var(--fg, #1b1f24); --m-fg-2: var(--fg-2, var(--fg, #1b1f24)); --m-fg-3: var(--fg-3, var(--muted, #57606a)); --m-line: var(--line, #d0d7de); --m-on-accent: var(--on-accent, #fff); --m-fill: color-mix(in srgb, var(--m-fg) 9%, transparent); --m-material: color-mix(in srgb, var(--m-surface) 80%, transparent); --m-spring: cubic-bezier(.32,.72,0,1); --m-safe-b: env(safe-area-inset-bottom, 0px); }
html[data-mobile=app] :is(a, button, label, summary, input, select, textarea) { touch-action: manipulation; }
html[data-mobile=app] body { min-height: 100vh; min-height: 100dvh; }
html[data-mobile=app] :is(header.top, main, footer) > .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
html[data-mobile=app].sf-has-bar body { padding-bottom: calc(76px + var(--m-safe-b)); }
html.sf-locked, html.sf-locked body { overflow: hidden; }
@media (max-width: 700px), (pointer: coarse) and (max-height: 500px) and (max-width: 1000px) {
  html[data-mobile=app]:not([data-design=v2]) body { font-size: 17px; line-height: 1.55; }
  html[data-mobile=app]:not([data-design=v2]) main h1 { font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: -0.022em; margin: 14px 0 8px; }
  html[data-mobile=app]:not([data-design=v2]) main h2 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.012em; margin: 32px 0 10px; }
  html[data-mobile=app]:not([data-design=v2]) main h3 { font-size: 20px; line-height: 25px; font-weight: 600; letter-spacing: -0.008em; }
  html[data-mobile=app]:not([data-design=v2]) .lead { font-size: 17px; line-height: 1.45; }
  html[data-mobile=app]:not([data-design=v2]) header.top .brand { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; }
  html[data-mobile=app] :is(input, select, textarea) { font-size: max(16px, 1em); }
  html:root[data-mobile=app] :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]), select, textarea) { font-size: max(16px, 1em); }
  html[data-mobile=app] :is(.crumbs a, footer nav a, footer .pages a, footer .home-link) { min-height: 44px; display: inline-flex; align-items: center; }
  html[data-mobile=app] header.top .langs, html[data-mobile=app] .sf-seg { display: flex; gap: 0; margin: 6px 0 10px; padding: 2px; border-radius: 10px; background: var(--m-fill); overflow-x: auto; scrollbar-width: none; font-size: 15px; }
  html[data-mobile=app] header.top .langs::-webkit-scrollbar { display: none; }
  html[data-mobile=app] :is(header.top .langs, .sf-seg) > :is(a, button) { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 min(12px, 1.4vw); border: 0; border-radius: 8px; background: transparent; color: var(--m-fg); font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; }
  html[data-mobile=app] :is(header.top .langs, .sf-seg) > :is([aria-current], [aria-pressed=true], [aria-selected=true]) { background: var(--m-surface); box-shadow: 0 3px 8px rgb(0 0 0 / .12), 0 3px 1px rgb(0 0 0 / .04); }
}
.sf-sheet { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; transition: visibility 0s linear 260ms; }
.sf-sheet[open] { visibility: visible; pointer-events: auto; transition: none; }
.sf-sheet-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .38); opacity: 0; transition: opacity 260ms ease; touch-action: none; }
.sf-sheet[open] .sf-sheet-backdrop { opacity: 1; transition-duration: 380ms; }
.sf-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: calc(100vh - 24px); max-height: calc(100dvh - max(24px, env(safe-area-inset-top, 0px) + 10px)); background: var(--m-surface); color: var(--m-fg); border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgb(0 0 0 / .2); transform: translateY(105%); transition: transform 260ms cubic-bezier(.4,0,1,1); outline: none; }
.sf-sheet[open] .sf-sheet-panel { transform: translateY(var(--m-drag, 0px)); transition: transform 380ms var(--m-spring); }
.sf-sheet.is-dragging .sf-sheet-panel { transition: none; }
.sf-sheet-grab { flex: none; height: 44px; display: flex; justify-content: center; padding-top: 7px; touch-action: none; cursor: grab; }
.sf-sheet-grab::before { content: ""; width: 36px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--m-fg) 22%, transparent); }
.sf-sheet-close { position: absolute; top: 4px; right: 6px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; padding: 0; background: transparent; color: var(--m-fg-3); cursor: pointer; }
.sf-sheet-close::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--m-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 2.5l7 7m0-7l-7 7' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sf-sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.sf-sheet-body::after { content: ""; display: block; height: max(16px, var(--m-safe-b)); }
.sf-sheet-body > :first-child { margin-top: 0; }
.sf-sticky { position: sticky; bottom: 0; z-index: 1; margin: 12px -16px 0; padding: 10px 16px max(12px, var(--m-safe-b)); background: var(--m-material); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-top: 1px solid color-mix(in srgb, var(--m-line) 70%, transparent); }
.sf-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) max(10px, var(--m-safe-b)) max(16px, env(safe-area-inset-left, 0px)); background: var(--m-material); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-top: 1px solid color-mix(in srgb, var(--m-line) 70%, transparent); transform: translateY(110%); transition: transform 280ms var(--m-spring); }
.sf-bar[data-show] { transform: none; }
.sf-bar[hidden] { display: none !important; }
.sf-bar-btn { flex: 1 1 auto; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--accent); color: var(--m-on-accent); font-size: 17px; line-height: 22px; font-weight: 600; cursor: pointer; }
.sf-bar-icon { flex: none; width: 50px; min-height: 50px; display: grid; place-items: center; padding: 0; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-surface); color: var(--accent); cursor: pointer; }
.sf-tiles { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px !important; }
.sf-tiles > button, .sf-tiles > .sf-wallet-row > button:not(.sf-wallet), .sf-tile { min-height: 60px !important; min-width: 0; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 1px; margin: 0 !important; padding: 6px 4px !important; border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--m-line)) !important; border-radius: 12px !important; background: var(--m-surface) !important; color: var(--m-fg) !important; box-shadow: none !important; text-align: center; cursor: pointer; }
.sf-tiles > button:disabled, .sf-tiles > .sf-wallet-row > button:disabled { opacity: .55; }
.sf-tiles > .sf-wallet-row { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
.sf-tiles > .sf-wallet-row > .sf-wallet { width: 100%; min-height: 40px; padding: 0 6px; font-size: 14px; }
.sf-tile-k { font-size: 13px; line-height: 1.2; font-weight: 600; color: var(--m-fg-2); }
.sf-tile-v { font-size: 19px; line-height: 1.2; font-weight: 700; color: var(--accent); letter-spacing: -0.01em; }
.sf-step-in { animation: sf-step-in 220ms ease-out both; }
@keyframes sf-step-in { from { opacity: 0; transform: translateY(8px); } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
@media (prefers-reduced-motion: reduce) {
  .sf-sheet, .sf-sheet-panel, .sf-sheet-backdrop, .sf-bar { transition: none !important; }
  .sf-step-in { animation: none; }
}

/* touch targets >= 44px：触屏或窄屏才生效，电脑宽屏的版面不动 */
@media (pointer:coarse),(max-width:700px){
header.top .brand:not(#_t),header.top nav a:not(#_t),footer nav a:not(#_t),footer .pages a:not(#_t),footer .home-link:not(#_t),nav.pages a:not(#_t),nav.langs a:not(#_t),.langs a:not(#_t),.crumbs a:not(#_t),.card-list a:not(#_t),.home-link:not(#_t),.byline a:not(#_t),li>a:only-child:not(#_t),p>a:only-child:not(#_t),h1>a:only-child:not(#_t),h2>a:only-child:not(#_t),h3>a:only-child:not(#_t),h4>a:only-child:not(#_t),td>a:only-child:not(#_t),dd>a:only-child:not(#_t),figcaption>a:only-child:not(#_t){display:inline-flex;align-items:center;min-height:44px;min-width:44px;box-sizing:border-box}
header.top nav a:not(#_t),nav.langs a:not(#_t),.langs a:not(#_t){justify-content:center;padding-inline:min(10px,1.4vw)}
.crumbs ol{row-gap:0}
.sf-auth a:not(#_t),.sf-auth button:not(#_t),[class*="signin"]:not(#_t),[class*="sign-in"]:not(#_t),.auth-btn:not(#_t){min-height:44px;min-width:44px;box-sizing:border-box}
button:not(#_t),input[type=button]:not(#_t),input[type=submit]:not(#_t),input[type=reset]:not(#_t),select:not(#_t),summary:not(#_t),[role=button]:not(#_t){min-height:44px;min-width:44px;box-sizing:border-box}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not(#_t),textarea:not(#_t){min-height:44px;box-sizing:border-box}
input[type=range]:not(#_t),input[type=color]:not(#_t),input[type=file]:not(#_t){min-height:44px;min-width:44px;box-sizing:border-box}
label:has(>input[type=checkbox]):not(#_t),label:has(>input[type=radio]):not(#_t){min-height:44px;min-width:44px;box-sizing:border-box}
/* 没自己排版（没写 class）的勾选框标签才改成横排：写了 class 的标签自己有网格 / 弹性布局，改 display 会把版面撑出横向滚动（圣诞写真的场景卡片） */
label:not([class]):has(>input[type=checkbox]):not(#_t),label:not([class]):has(>input[type=radio]):not(#_t){display:inline-flex;align-items:center;gap:10px}
input[type=checkbox]:not(#_t),input[type=radio]:not(#_t){width:24px;height:24px;flex:none;margin:10px}
label>input[type=checkbox]:not(#_t),label>input[type=radio]:not(#_t){margin:0}
}

@media print{@page{margin:0}}