body[data-section=test]{--screen-muted:#5c5a53;--screen-accent:color-mix(in srgb,var(--accent) 50%,#132b22)}html[data-theme=dark] body[data-section=test]{--screen-muted:#c6c0b5;--screen-accent:var(--accent)}html[lang=ja] body[data-section=test]{font-family:Noto Sans,Noto Sans JP,sans-serif}.screen-main{width:100%;max-width:1100px;align-self:center;padding:32px clamp(18px,4vw,54px) 48px;flex:1;min-width:0}.screen-heading{text-align:center;margin:4px auto 28px;max-width:700px}.screen-eyebrow{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:600;color:var(--screen-accent);margin:0 0 12px}.screen-eyebrow .tilo-icon{font-size:18px}.screen-heading h1{font-size:clamp(28px,3.2vw,36px);font-weight:600;line-height:1.3;letter-spacing:-.04em;margin:0 0 12px}.screen-intro{font-size:13px;line-height:1.8;color:var(--screen-muted);margin:0 auto;max-width:570px}.screen-workbench{border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden}.screen-mode-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:8px;border-bottom:1px solid var(--line)}.screen-mode{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:70px;padding:10px 5px;border-radius:9px;border:1px solid transparent;font:inherit;font-size:12px;line-height:1.5;background:transparent;color:var(--screen-muted);cursor:pointer;overflow-wrap:anywhere}.screen-mode .tilo-icon{font-size:22px;flex-shrink:0}.screen-mode:hover{background:var(--hover)}.screen-mode[aria-selected=true]{background:var(--success-soft);color:var(--screen-accent);border-color:color-mix(in srgb,var(--screen-accent) 38%,transparent);font-weight:600}.screen-test-panel{text-align:center;padding:28px 22px 0;min-height:142px}.screen-test-panel h2{font-size:20px;letter-spacing:-.025em;font-weight:600;margin:0 0 9px}.screen-test-panel>p{font-size:13px;line-height:1.8;color:var(--screen-muted);margin:0 auto;max-width:590px}.screen-test-panel>.screen-look-for{font-size:12px;margin-top:6px;max-width:610px}.screen-color-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;max-width:680px;margin:18px auto 0}.screen-swatch{display:block;flex-shrink:0;width:18px;height:18px;border-radius:4px;border:1px solid var(--screen-muted);box-shadow:inset 0 0 0 1px #ffffff60;overflow:hidden;color-scheme:only light;forced-color-adjust:none}.screen-start{padding:20px 20px 24px;text-align:center}.screen-brightness-notice{display:flex;align-items:center;justify-content:center;gap:12px;max-width:540px;margin:0 auto 12px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--screen-accent) 38%,transparent);border-radius:10px;background:var(--success-soft);color:var(--screen-accent);text-align:left}.screen-brightness-notice>.tilo-icon{font-size:24px;flex-shrink:0}.screen-brightness-notice strong{display:block;font-size:13px;line-height:1.7;font-weight:600}.screen-brightness-notice p{font-size:11px;line-height:1.7;margin:3px 0 0;color:var(--screen-muted)}.screen-start-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;min-width:210px;padding:13px 28px;border:0;border-radius:10px;background:var(--screen-accent);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.screen-start-button:hover{filter:brightness(1.08)}html[data-theme=dark] .screen-start-button{color:#142b22}.screen-start-button .tilo-icon{font-size:22px}.screen-start>p{font-size:11px;line-height:1.8;color:var(--screen-muted);margin:12px 0 0}.screen-choice{display:flex;align-items:center;justify-content:center;width:40px;height:44px;padding:6px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--screen-muted);font:inherit;cursor:pointer}.screen-choice .screen-swatch{width:24px;height:24px}.screen-swatch:not([data-renderer=plain]):after{content:"";display:block;width:100%;height:100%}.screen-swatch[data-renderer=dark-patches]:after{background:linear-gradient(90deg,#000,#303030)}.screen-swatch[data-renderer=light-patches]:after{background:linear-gradient(90deg,#cfcfcf,#fff)}.screen-swatch[data-renderer=rgb-ramps]:after{background:linear-gradient(90deg,#000,red) 0 0/100% 25%,linear-gradient(90deg,#000,#0f0) 0 33.333%/100% 25%,linear-gradient(90deg,#000,#00f) 0 66.667%/100% 25%,linear-gradient(90deg,#000,#fff) 0 100%/100% 25%;background-repeat:no-repeat}.screen-swatch[data-renderer=rgb-steps]:after{background:linear-gradient(90deg,#000 25%,transparent 25% 50%,#0006 50% 75%,transparent 75%),linear-gradient(red 25%,#0f0 25% 50%,#00f 50% 75%,#fff 75%)}.screen-swatch[data-renderer=gamma-reference]:after{background:linear-gradient(90deg,transparent 30%,#808080 30% 70%,transparent 70%),repeating-linear-gradient(0deg,#000 0 1px,#fff 1px 2px)}.screen-swatch[data-renderer=sample-text]:after{content:"Aa";font:12px/22px Arial,sans-serif;text-align:center;color:var(--ink);background:var(--paper)}.screen-swatch[data-renderer=alignment]:after{width:16px;height:16px;margin:2px;border:1px solid #fff;border-radius:50%;background:linear-gradient(90deg,transparent 45%,#fff 45% 55%,transparent 55%),linear-gradient(0deg,transparent 45%,#fff 45% 55%,transparent 55%)}.screen-choice:hover{background:var(--hover)}.screen-choice[aria-pressed=true]{background:var(--success-soft);border-color:var(--screen-accent)}.screen-test-panel>.screen-selected-pattern{font-size:12px;font-weight:600;color:var(--screen-accent);margin:10px auto 0}.screen-instructions{margin:24px 0 30px;padding-bottom:22px;border-bottom:1px solid var(--line)}.screen-instructions h2{font-size:15px;font-weight:600;margin:0 0 12px}.screen-instructions ol{margin:0;padding-left:22px;color:var(--text);font-size:12px;line-height:1.9}.screen-instructions li+li{margin-top:5px}.screen-instructions>p{color:var(--screen-muted);font-size:11px;line-height:1.8;margin:12px 0 0}.screen-about{margin:30px 0}.screen-about>h2{font-size:18px;font-weight:600;letter-spacing:-.02em;margin:0 0 20px}.screen-about h3{font-size:14px;font-weight:600;margin:24px 0 8px;line-height:1.7}.screen-about p{font-size:12px;line-height:1.95;color:var(--screen-muted);margin:0}.screen-limit-note{color:var(--screen-muted);font-size:11px;line-height:1.9;margin:24px 0 0}.screen-main .site-faq details p{color:var(--screen-muted)}.screen-no-script{color:var(--danger);font-size:13px}.screen-pattern{position:absolute;inset:0;overflow:hidden;background-color:#000;isolation:isolate;color-scheme:only light;forced-color-adjust:none}[data-pattern=white]{background:#fff}[data-pattern=black]{background:#000}[data-pattern=red]{background:red}[data-pattern=green]{background:#0f0}[data-pattern=blue]{background:#00f}[data-pattern=cyan]{background:#0ff}[data-pattern=magenta]{background:#f0f}[data-pattern=yellow]{background:#ff0}[data-pattern=gray]{background:gray}[data-pattern=dark-gray]{background:#202020}[data-pattern=light-gray]{background:#d0d0d0}[data-pattern=gray-gradient]{background:linear-gradient(90deg,#000,#fff)}[data-pattern=color-gradient]{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f)}[data-pattern=gray-steps]{background:linear-gradient(90deg,#000 0% 6.25%,#111 6.25% 12.5%,#222 12.5% 18.75%,#333 18.75% 25%,#444 25% 31.25%,#555 31.25% 37.5%,#666 37.5% 43.75%,#777 43.75% 50%,#888 50% 56.25%,#999 56.25% 62.5%,#aaa 62.5% 68.75%,#bbb 68.75% 75%,#ccc 75% 81.25%,#ddd 81.25% 87.5%,#eee 87.5% 93.75%,#fff 93.75% 100%)}[data-pattern=grid]{background-color:#fff;background-image:repeating-linear-gradient(0deg,#000 0 1px,transparent 1px 8px),repeating-linear-gradient(90deg,#000 0 1px,transparent 1px 8px)}[data-pattern=lines]{background:repeating-linear-gradient(90deg,#000 0 1px,#fff 1px 2px)}[data-pattern=text]{background:#fff}.screen-swatch[data-pattern=text]{background:repeating-linear-gradient(0deg,#fff 0 4px,#000 4px 5px,#fff 5px 8px)}[data-pattern=near-black]{background:#000}[data-pattern=near-white]{background:#fff}.screen-swatch[data-pattern=near-black]{background:linear-gradient(90deg,#000,#303030)}.screen-swatch[data-pattern=near-white]{background:linear-gradient(90deg,#cfcfcf,#fff)}.screen-level-sample{display:none;position:absolute;inset:12%;grid-template-columns:repeat(6,minmax(0,1fr));align-content:center;gap:48px 18px}.screen-level-sample>span{position:relative;aspect-ratio:1.2;background:var(--level);font:12px/1 Arial,sans-serif;color:transparent}.screen-pattern[data-renderer=dark-patches] .screen-level-dark,.screen-pattern[data-renderer=light-patches] .screen-level-light{display:grid}.screen-text-sample{display:none;position:absolute;inset:0;align-content:center;padding:clamp(12px,5vw,70px);color:var(--ink,#000);background:var(--paper,#fff);font-family:Arial,sans-serif;line-height:1.7;text-align:center;overflow:hidden}.screen-pattern[data-renderer=sample-text] .screen-text-sample{display:grid}.screen-text-sample p{margin:8px 0;font-size:24px}.screen-text-sample p:nth-child(2){font-size:16px}.screen-text-sample p:nth-child(3){font-size:12px}.screen-text-sample p:nth-child(4){font-size:10px}.screen-viewer{position:fixed;inset:0;width:100%;height:100%;height:100dvh;z-index:10000;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;outline:none;background:#000;isolation:isolate;cursor:none;overscroll-behavior:none;-webkit-touch-callout:none}.screen-viewer:fullscreen{width:100%;height:100%;margin:0;padding:0;border:0}.screen-viewer:-webkit-full-screen{width:100%;height:100%;margin:0;padding:0;border:0}.screen-viewer::backdrop{background:#000}.screen-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}body[data-section=test] button:focus-visible,body[data-section=test] a:focus-visible,body[data-section=test] summary:focus-visible{outline:3px solid var(--screen-accent);outline-offset:3px}body[data-section=test] .site-footer{color:var(--screen-muted)}@media(max-width:720px){.screen-main{padding:24px 16px 32px}.screen-heading{margin-bottom:22px}.screen-heading h1{font-size:28px}.screen-intro{font-size:12px}.screen-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:7px}.screen-mode{min-height:62px;font-size:11px;padding:8px 4px;gap:5px}.screen-mode .tilo-icon{font-size:20px}.screen-test-panel{padding:24px 16px 0;min-height:142px}.screen-test-panel h2{font-size:19px}.screen-test-panel>p{font-size:12px}.screen-start{padding:18px 16px 22px}.screen-start-button{width:100%}.screen-start>p{font-size:10px}.screen-about{margin-top:26px}.screen-about>h2{font-size:17px}.screen-level-sample{inset:14% 8%;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 14px}.screen-level-sample>span{aspect-ratio:1.5}.screen-text-sample p{font-size:20px}}@media(max-height:480px)and (orientation:landscape){.screen-level-sample{inset:14% 10%;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 16px}}@media(prefers-reduced-motion:no-preference){.screen-mode,.screen-start-button{transition:background .15s,border-color .15s}}.screen-auto-setting{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0 0 12px;color:var(--screen-muted);font-size:12px;cursor:pointer}.screen-auto-setting input{width:18px;height:18px;margin:0;accent-color:var(--screen-accent)}.screen-start-button:disabled{opacity:.65;cursor:wait}.screen-start>.screen-run-status{font-size:12px;color:var(--screen-accent);margin:16px auto 0;max-width:520px;line-height:1.8}.screen-start>.screen-run-status[data-error=true]{color:var(--text)}.screen-test-panel>.screen-pattern-total{min-height:0;font-size:10px;line-height:1.6;margin:8px 0 0}.screen-channel-ramps,.screen-channel-steps{display:none;position:absolute;inset:0;grid-template-rows:repeat(4,minmax(0,1fr))}.screen-pattern[data-renderer=rgb-ramps] .screen-channel-ramps,.screen-pattern[data-renderer=rgb-steps] .screen-channel-steps{display:grid}.screen-gamma-reference{display:none;position:absolute;inset:0;align-items:center;justify-content:space-evenly;background:repeating-linear-gradient(0deg,#000 0 1px,#fff 1px 2px)}.screen-gamma-reference>span{display:block;width:20%;height:40%;background:var(--patch)}.screen-pattern[data-renderer=gamma-reference] .screen-gamma-reference{display:flex}.screen-alignment{display:none;position:absolute;inset:1px;border:1px solid #fff;align-items:center;justify-content:center}.screen-alignment>div{width:70vmin;aspect-ratio:1;border:1px solid #fff;border-radius:50%}.screen-alignment>span{position:absolute;inset:0;background:linear-gradient(0deg,transparent calc(50% - .5px),#fff calc(50% - .5px) calc(50% + .5px),transparent calc(50% + .5px)),linear-gradient(90deg,transparent calc(50% - .5px),#fff calc(50% - .5px) calc(50% + .5px),transparent calc(50% + .5px))}.screen-pattern[data-renderer=alignment] .screen-alignment{display:flex}.screen-gesture-guide{position:absolute;z-index:2;top:42%;left:50%;transform:translate(-50%,-50%);width:min(360px,calc(100% - 48px));border:1px solid #ffffff30;border-radius:14px;background:#24231ff0;color:#fff;padding:22px;pointer-events:none}.screen-gesture-guide>div{display:flex;justify-content:space-between;gap:20px}.screen-gesture-guide span{display:flex;align-items:center;gap:12px;font-size:14px}.screen-gesture-guide b{font-size:24px;font-weight:400}.screen-gesture-guide p{margin:14px 0 0;font-size:11px;line-height:1.7;color:#ddd9d0;text-align:center}.screen-gesture-guide>.screen-mouse-hint{justify-content:center}.screen-touch-hint,.screen-gesture-guide>.screen-touch-hint{display:none}@media(pointer:coarse){.screen-mouse-hint,.screen-gesture-guide>.screen-mouse-hint{display:none}.screen-touch-hint{display:inline}.screen-gesture-guide>div.screen-touch-hint{display:flex}.screen-gesture-guide>p.screen-touch-hint{display:block}}
