:root{--paper:#fffaf8;--ink:#493540;--muted:#75616b;--accent:#bf4550;--accent-hover:#a33442;--line:#eddee1;--coral:#fbe6e0;--plum:#30242c;--white:#fff;--focus:#005c99;--radius:16px;--shadow:0 22px 65px rgb(73 53 64 / 12%)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px;scrollbar-color:#b38e9a var(--paper)}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Hiragino Sans","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:17px;line-height:1.65;font-weight:400;font-variant-numeric:tabular-nums}::selection{background:#f3c8bd;color:var(--ink)}button,input{font:inherit;color:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none;text-underline-offset:5px}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:5px}button:focus:not(:focus-visible){outline:none}button[hidden],[hidden]{display:none!important}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.3;font-weight:700;letter-spacing:-.025em;text-wrap:balance}p{text-wrap:pretty}h2{font-size:clamp(32px,3.2vw,48px)}h3{font-size:22px}.wrap{max-width:1240px;margin-inline:auto;width:calc(100% - 96px)}.section-space{padding-block:112px}.icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:12px;background:var(--white);padding:12px;z-index:100;transform:translateY(-160%)}.skip-link:focus{transform:none}.site-header{height:108px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px;font-size:25px;font-weight:700;line-height:1.2}.brand:hover{text-decoration:none}.brand-en{display:block;font-size:12px;letter-spacing:.04em;font-weight:600;color:var(--muted);margin-top:4px}.site-header nav{display:flex;align-items:center;gap:34px;font-size:15px;font-weight:600}.site-header nav a{display:inline-flex;align-items:center;gap:8px;min-height:44px}.nav-download{border-bottom:1px solid var(--ink)}.menu-button{display:none!important}.icon-button{border:0;background:none;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;padding:10px}.icon-button:hover{background:var(--coral)}.button{min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:14px 25px;border-radius:9px;border:0;font-weight:600;line-height:1.5;text-decoration:none}.button:hover{text-decoration:none}.button.primary{background:var(--accent);color:white}.button.primary:hover{background:var(--accent-hover)}.button.outline{border:1px solid var(--line);background:white}.button.outline:hover{border-color:var(--ink)}.button.small{min-height:46px;padding:10px 17px;font-size:14px;gap:10px}.text-link{display:inline-flex;gap:10px;align-items:center;font-weight:600;font-size:15px;min-height:44px}.text-link:hover{text-decoration:underline}.text-link .icon{width:19px;height:19px}button.text-link{background:none;border:0;padding:0}.hero{display:grid;grid-template-columns:.97fr 1.03fr;gap:66px;align-items:center;padding-top:48px;padding-bottom:75px}.hero h1{font-size:clamp(42px,4.3vw,66px);line-height:1.33;letter-spacing:-.035em}.hero h1>span{display:block}.accent-word{color:var(--accent)}.hero-description{margin-top:27px;font-size:18px;color:var(--muted);line-height:1.9}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:34px}.hero-note{font-size:14px;color:var(--muted);margin-top:17px}.hero-mascot{display:flex;align-items:center;gap:15px;margin-top:34px}.hero-mascot img{width:112px;height:112px;object-fit:contain}.hero-mascot p{font-size:14px;color:var(--muted)}.demo-area{scroll-margin-top:22px;min-width:0}.demo-disclosure{font-size:12px;color:var(--muted)}.workbench{padding:22px 25px 14px;background:white;border-radius:var(--radius);box-shadow:var(--shadow)}.workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.workbench-heading h2{font-size:19px;letter-spacing:0}.workbench-heading p{font-size:12px;color:var(--muted);margin-top:3px}.board-controls{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:16px}.segmented{display:flex;background:var(--paper);border-radius:6px;padding:3px;font-size:12px}.segmented button{border:0;border-radius:4px;min-height:34px;padding:5px 13px;background:transparent;color:var(--muted);font-weight:600}.segmented button[aria-pressed=true]{background:var(--ink);color:white}.focus-button{display:flex;align-items:center;justify-content:center;gap:5px;background:none;border:0;border-radius:6px;min-height:40px;padding:4px 6px;font-size:12px;font-weight:600}.focus-button .icon{width:16px;height:16px}.focus-button[aria-pressed=true]{background:var(--coral);color:#8e2839}#board-mount{padding:17px 0}.grid-row{display:contents}.bead-grid{width:100%;max-width:440px;margin-inline:auto;display:grid;grid-template-columns:repeat(var(--columns,20),1fr);aspect-ratio:var(--ratio,1);gap:3px;background:#fff;touch-action:manipulation}.bead-grid .loading-text{grid-column:1/-1;align-self:center;justify-self:center;font-size:15px}.cell,.empty-cell{position:relative;min-width:0;min-height:0;aspect-ratio:1;border:0;padding:0;display:flex;align-items:center;justify-content:center}.cell{background:var(--bead);border-radius:50%;isolation:isolate}.cell::after{content:"";position:absolute;width:32%;height:32%;border-radius:50%;background:#fff;z-index:0}.cell.white-bead{border:1px solid #a9979e}.empty-cell::after{content:"";height:13%;width:13%;background:#ded8db;border-radius:50%}.cell .bead-number{display:none;font-size:12px;font-weight:700;line-height:1;z-index:1;color:var(--bead-ink)}.cell .check{display:none;position:absolute;width:65%;height:65%;color:var(--bead-ink);z-index:2;stroke-width:2.4}.cell.done{outline:1px solid var(--ink);outline-offset:1px;animation:stamp .2s cubic-bezier(.16,1,.3,1)}.cell.done::after{display:none}.cell.done .check{display:block}.cell:focus-visible{outline:2px solid #005c99;outline-offset:2px;z-index:3}.bead-grid.numbered{gap:1px;background:#dcd3d8;padding:1px}.numbered .cell,.numbered .empty-cell{border-radius:0}.numbered .cell::after{display:none}.numbered .cell .bead-number{display:block}.numbered .cell.done .bead-number{display:none}.cell.dimmed::before{content:"";position:absolute;inset:0;background:rgb(0 0 0 / 70%);border-radius:inherit;z-index:4;pointer-events:none}.palette-picker{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;padding-block:1px 12px}.palette-color{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;background:none;border:1px solid transparent;padding:6px;border-radius:50%}.palette-color .swatch{width:25px;height:25px;border-radius:50%;background:var(--bead);border:1px solid #9f8b96}.palette-color[aria-pressed=true]{border-color:var(--ink)}.demo-progress{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:11px;border-top:1px solid var(--line)}#selected-code{font-size:13px;font-weight:600}#demo-count{color:var(--muted);font-size:12px;margin-top:3px}.demo-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;font-size:12px;color:var(--muted)}.demo-foot .icon-button{width:34px;height:34px;padding:7px}.demo-foot .icon{width:17px;height:17px}.under-board{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--muted);margin-top:20px}.under-board .icon{width:15px;height:15px;color:var(--accent)}.play-loop{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:27px;display:flex;justify-content:space-between;align-items:center;font-size:16px;font-weight:600;gap:16px}.play-loop .icon{color:#b49aa6;width:20px}.section-copy>p{color:var(--muted);margin-top:24px;line-height:1.9;max-width:38ch}.photo-section{display:grid;grid-template-columns:.78fr 1.22fr;gap:90px;align-items:center}.photo-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.photo-presets button,.brand-options button{border:1px solid #cfb9c2;border-radius:6px;background:none;font-size:13px;min-height:44px;padding:8px 13px;font-weight:600}.photo-presets button[aria-pressed=true],.brand-options button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.small-note{font-size:13px!important;color:var(--muted)!important;line-height:1.85!important}.section-copy>.small-note{margin-top:17px}.comparison{--split:52%;position:relative;overflow:hidden;border-radius:var(--radius);aspect-ratio:451/300;background:white}.comparison img{display:block;width:100%;height:100%;object-fit:fill}.comparison-result{position:absolute;inset:0;clip-path:inset(0 0 0 var(--split));pointer-events:none}.comparison-result img{image-rendering:pixelated}.comparison-divider{position:absolute;left:var(--split);height:100%;top:0;border-left:2px solid white;pointer-events:none}.comparison-divider span{position:absolute;left:0;top:50%;transform:translate(-50%,-50%);background:var(--white);color:var(--ink);height:42px;width:42px;display:grid;place-items:center;border-radius:50%;font-size:23px;font-family:inherit}.comparison input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}.comparison:focus-within{outline:3px solid var(--focus);outline-offset:5px}.image-label{position:absolute;top:17px;background:rgb(255 255 255 / 94%);padding:5px 11px;border-radius:4px;font-size:12px;font-weight:600;pointer-events:none}.original-label{left:17px}.result-label{right:17px}.comparison-figure figcaption{display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:12px;margin-top:12px}.palette-section{background:#f9ede9}.palette-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.brand-options{display:flex;gap:10px;margin-top:28px}.brand-options button{min-width:88px;font-size:15px}.section-copy>.palette-explanation{font-size:14px;margin-top:15px}.materials-proof{min-width:0}.materials-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:19px}.materials-heading h3{font-size:20px}.materials-heading p{font-size:13px;color:var(--muted);margin-top:6px}.material-total{white-space:nowrap;font-size:15px;font-weight:600}.materials-table-wrap{overflow:auto;background:var(--white);border-radius:12px}table{border-collapse:collapse;width:100%;font-size:14px}th{font-size:12px;color:var(--muted);text-align:left;font-weight:600;padding:14px 18px;border-bottom:1px solid var(--line)}td{padding:12px 18px;border-bottom:1px solid #f2e7eb}tr:last-child td{border-bottom:0}td:nth-child(n+2),th:nth-child(n+2){text-align:right;white-space:nowrap}.table-color{display:inline-flex;align-items:center;gap:10px}.table-color i{display:inline-block;width:16px;height:16px;flex-shrink:0;background:var(--bead);border:1px solid #ac969f;border-radius:50%}.materials-note{font-size:12px;color:var(--muted);line-height:1.8;margin-top:15px}.materials-proof>.text-link{margin-top:10px}.craft-section{display:grid;grid-template-columns:.92fr 1.08fr;gap:100px;align-items:center}.phone-visual{justify-self:center;max-width:275px;position:relative}.phone-frame{background:var(--plum);padding:8px;border-radius:37px;box-shadow:0 24px 50px rgb(73 53 64 / 13%)}.phone-frame img{width:100%;height:auto;display:block;border-radius:30px}.phone-visual>p{font-size:12px;color:var(--muted);text-align:center;margin-top:16px}.craft-tabs{display:flex;gap:0;border-bottom:1px solid #d7c2ca;margin-top:30px}.craft-tabs button{flex:1;border:0;min-height:49px;background:none;padding:10px 8px;color:var(--muted);font-weight:600;font-size:15px;border-bottom:2px solid transparent}.craft-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}#craft-panel{padding-block:22px;min-height:150px}#craft-panel h3{font-size:20px}#craft-panel p{color:var(--muted);font-size:15px;margin-top:11px}.craft-benefits{padding:0;margin:0 0 20px;list-style:none}.craft-benefits li{display:flex;align-items:center;gap:10px;line-height:1.8;font-size:14px;padding:6px 0}.craft-benefits .icon{width:18px;height:18px;color:var(--accent)}.originals-section{background:var(--plum);color:var(--paper)}.originals-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:35px}.originals-heading p{margin-top:18px;font-size:16px;color:#ddc8d0}.original-count{font-size:13px;color:#ddc8d0;max-width:16ch}.theme-tabs{display:flex;gap:8px;margin-top:36px;margin-bottom:28px;flex-wrap:wrap}.theme-tabs button{background:none;color:#ddc8d0;min-height:45px;border:1px solid #78616d;border-radius:6px;padding:8px 19px;font-size:14px;font-weight:600}.theme-tabs button[aria-selected=true]{background:var(--paper);color:var(--ink);border-color:var(--paper)}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.pattern-card{border:0;background:none;color:var(--paper);padding:0;text-align:left;min-width:0}.pattern-art{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#fff;border-radius:12px;overflow:hidden;padding:18px}.pattern-art canvas{max-width:100%;max-height:100%;height:auto;image-rendering:pixelated}.pattern-card h3{font-size:17px;margin-top:16px;letter-spacing:0}.pattern-card p{font-size:12px;margin-top:6px;color:#ddc8d0}.pattern-card .pattern-action{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-top:10px}.pattern-action .icon{width:18px}.pattern-card:hover .pattern-action{text-decoration:underline;text-underline-offset:4px}.gallery-hint{margin-top:28px;font-size:12px;color:#ddc8d0}.keep-section{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:start}.keep-options>div+div{border-top:1px solid var(--line);margin-top:29px;padding-top:29px}.keep-options h3{font-size:21px}.keep-options p{color:var(--muted);font-size:15px;margin-top:12px}.keep-options .text-link{margin-top:12px}.privacy-line{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:19px}.privacy-line .icon{width:17px;height:17px}.download-section{background:var(--accent);color:var(--white);padding-block:82px}.download-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.download-layout>div>p{color:#fffaf8;margin-top:20px}.download-actions{max-width:420px}.button.light{background:var(--paper);color:var(--ink);width:100%;justify-content:space-between;text-align:left;min-height:82px;gap:17px}.button.light:hover{background:white}.button.light small{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:4px}.button.light>span{flex:1}.download-status{font-size:12px;color:#fff1ed!important;margin-top:13px!important}.ios-status{font-size:12px;margin-top:10px!important;color:#fff1ed!important}.cancel-download{background:none;border:1px solid #f7cdc7;color:white;min-height:44px;padding:5px 15px;margin-top:10px;border-radius:6px;font-size:13px}.faq-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.faq-section h2{font-size:30px;max-width:8em}.faq-list details{border-bottom:1px solid var(--line)}summary{font-size:16px;font-weight:600;min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;padding-block:17px}summary::-webkit-details-marker{display:none}.faq-close{display:none}.faq-list details[open] .faq-open{display:none}.faq-list details[open] .faq-close{display:block}.faq-list p{font-size:14px;color:var(--muted);padding-bottom:24px;line-height:1.9}.site-footer{border-top:1px solid var(--line);padding-block:34px;display:flex;align-items:center;gap:35px;justify-content:space-between}.site-footer .brand{font-size:22px}.site-footer>p{font-size:13px;color:var(--muted)}.site-footer>div{display:flex;flex-direction:column;align-items:flex-end;gap:5px;font-size:12px;color:var(--muted)}.site-footer>div a{min-height:32px;display:flex;align-items:center}.retry-button{margin:12px auto;display:flex}dialog{border:0;border-radius:16px;padding:24px;max-width:calc(100vw - 32px);width:880px;height:min(940px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden;background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}dialog[open]{display:flex;flex-direction:column;gap:12px}dialog::backdrop{background:rgb(30 21 28 / 76%)}dialog>header{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-shrink:0}dialog>header h2{font-size:23px}dialog>header p{font-size:12px;color:var(--muted);margin-top:5px}.zoom-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}.zoom-controls output{width:55px;font-size:14px;text-align:center;font-weight:600}.fit-button{border:1px solid var(--line);border-radius:6px;background:white;min-height:44px;padding:6px 12px;font-size:13px;margin-left:8px}.fullscreen-help{font-size:12px;color:var(--muted);margin-left:auto}#fullscreen-mount{flex:1;min-height:100px;overflow:auto;overscroll-behavior:contain;touch-action:none;background:white;border-radius:12px;cursor:grab;scrollbar-color:#b38e9a white}#fullscreen-mount.dragging{cursor:grabbing}#fullscreen-stage{width:max(100%,calc(var(--board-width) + 24px));min-height:100%;display:grid;place-items:center;padding:12px}#fullscreen-mount .bead-grid{width:var(--board-width);max-width:none;margin:0;touch-action:none}#fullscreen-mount .bead-number{font-size:16px}#fullscreen-mount .overview .bead-number{display:none}#fullscreen-palette .palette-picker{padding:0;gap:5px}#fullscreen-count{font-size:13px;color:var(--muted);flex-shrink:0;text-align:center}.fullscreen-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-shrink:0;flex-wrap:wrap}.fullscreen-controls .button{min-height:46px;font-size:14px;padding:10px 17px}.fullscreen-controls [aria-pressed=true]{border-color:var(--ink);background:var(--coral)}.no-script{position:fixed;bottom:0;left:0;right:0;background:var(--ink);color:white;padding:15px;font-size:14px;z-index:90;text-align:center}.no-script a{text-decoration:underline}.sources-page{max-width:820px;padding-block:60px 100px}.sources-page h1{font-size:40px}.sources-page h2{font-size:23px;margin-top:44px}.sources-page p,.sources-page li{color:var(--muted);margin-top:16px;line-height:1.9}.sources-page a{text-decoration:underline}.sources-page .button{margin-top:30px}.sources-page .button.primary{color:white;text-decoration:none}@keyframes stamp{from{transform:scale(1.12)}to{transform:scale(1)}}
@media(min-width:1600px){.hero{gap:90px}.hero h1{font-size:67px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{gap:32px}.hero h1{font-size:48px}.hero-description{font-size:16px}.hero-actions{gap:15px}.hero-actions .button{padding-inline:17px;font-size:15px}.hero-actions .text-link{font-size:13px}.workbench{padding:18px 18px 10px}.photo-section,.palette-layout,.craft-section,.keep-section,.download-layout,.faq-section{gap:50px}.gallery{gap:15px}.hero-mascot{margin-top:21px}.demo-foot{font-size:12px}.under-board{font-size:12px}.brand-en{font-size:12px}.comparison-figure figcaption{flex-direction:column;gap:3px}.materials-heading h3{font-size:18px}}
@media(max-width:780px){.wrap{width:calc(100% - 40px)}.site-header{height:85px}.site-header nav{gap:20px;font-size:13px}.brand{font-size:23px}.site-header nav a:nth-child(2){display:none}.site-header nav a:nth-child(3){display:none}.hero{grid-template-columns:1fr;gap:35px;padding-top:29px;padding-bottom:50px;max-width:580px}.hero h1{font-size:clamp(37px,7.8vw,52px);line-height:1.3}.hero-description{font-size:16px;margin-top:19px;line-height:1.8}.hero-description br.desktop-break{display:none}.hero-actions{margin-top:25px;gap:25px}.hero-actions .button{font-size:16px;padding:13px 20px}.hero-note{font-size:12px;margin-top:13px}.hero-mascot{display:none}.demo-area{width:100%}.workbench{padding:20px 22px 12px}.under-board{font-size:12px;margin-top:17px;gap:7px}.demo-foot{font-size:12px}.cell .bead-number{font-size:12px}.play-loop{display:grid;grid-template-columns:1fr 20px 1fr;row-gap:15px;font-size:13px;padding-block:23px}.play-loop>svg:nth-of-type(2){display:none}.play-loop>span:nth-of-type(3){grid-column:1}.section-space{padding-block:67px}.photo-section,.palette-layout,.craft-section,.keep-section,.download-layout,.faq-section{grid-template-columns:1fr;gap:34px}.section-copy>p{max-width:100%;margin-top:18px;font-size:16px}.section-copy>h2{font-size:36px;line-height:1.35}.photo-section{max-width:580px}.photo-presets{margin-top:20px}.comparison-figure figcaption{font-size:12px;flex-direction:row}.palette-layout{max-width:580px}.brand-options{margin-top:23px}.materials-heading h3{font-size:19px}.materials-heading{padding-top:5px}.materials-table-wrap{font-size:13px}.craft-section{max-width:580px}.phone-visual{grid-row:2;width:230px;margin-top:5px}.craft-tabs{margin-top:23px}#craft-panel{min-height:125px}.craft-benefits li{font-size:13px}.originals-heading{display:block}.originals-heading h2{font-size:32px}.originals-heading p{font-size:14px;max-width:27ch;margin-top:14px}.original-count{display:none}.theme-tabs{margin-top:26px;gap:7px}.theme-tabs button{padding-inline:15px;font-size:13px}.gallery{grid-template-columns:repeat(2,1fr);gap:25px 17px}.pattern-art{padding:12px}.pattern-card h3{font-size:15px;margin-top:12px}.pattern-card p{font-size:12px}.pattern-action{font-size:12px!important}.gallery-hint{line-height:1.8}.keep-options>div+div{margin-top:24px;padding-top:24px}.keep-options p{font-size:14px}.download-section{padding-block:58px}.download-layout{gap:28px;max-width:580px}.download-layout h2{font-size:38px}.download-actions{max-width:none}.download-layout>div>p{font-size:15px;margin-top:16px}.faq-section{gap:23px;max-width:580px}.faq-section h2{font-size:29px;max-width:none}.faq-list summary{font-size:15px}.site-footer{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-block:28px}.site-footer>p{grid-column:1/-1;grid-row:2;font-size:12px}.site-footer>div{gap:2px;font-size:12px}.site-footer .brand{font-size:22px}.site-footer .brand-en{font-size:12px}dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}dialog>header h2{font-size:20px}.fullscreen-help{display:none}.fullscreen-controls{gap:7px}.fullscreen-controls .button{font-size:12px;min-height:45px;padding:10px 12px;gap:8px}#fullscreen-count{font-size:12px}.sources-page{padding-top:35px}.sources-page h1{font-size:32px}.sources-page p,.sources-page li{font-size:15px}}
@media(max-width:360px){.wrap{width:calc(100% - 32px)}.site-header nav a:first-child{display:none}.hero h1{font-size:35px}.hero-actions{gap:13px}.hero-actions .button{font-size:14px;padding-inline:15px}.hero-actions .text-link{font-size:12px}.workbench{padding-inline:14px}.board-controls{gap:2px}.focus-button{font-size:12px}.under-board{font-size:12px;gap:4px}.demo-progress .button{font-size:12px;padding-inline:10px}.theme-tabs button{padding-inline:12px}.comparison-figure figcaption{flex-direction:column}.table-color{gap:6px}th,td{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

@media(max-height:500px){dialog{padding:10px;gap:6px!important}dialog>header p,.fullscreen-help{display:none}dialog>header h2{font-size:18px}#fullscreen-palette{display:none}.zoom-controls .icon-button{height:36px;width:36px}.fit-button{min-height:36px}.fullscreen-controls .button{min-height:36px;padding-block:6px}#fullscreen-count{font-size:12px}}
