@import url("./typography.css");
@font-face{font-family:Gallery;src:url('/muuuuu/assets/f06000286aa193f3f6a9.woff2')}*{box-sizing:border-box}html{color-scheme:light;scrollbar-gutter:stable}body{margin:0;background:#f5f5f3;color:#191919;font-family:var(--tobira-font);-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{color:inherit}button{cursor:pointer}a{text-decoration:none}button{border:0;background:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}:focus-visible{outline:2px solid currentColor;outline-offset:5px}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}.ambient{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#f5f5f3}.ambient i{position:absolute;width:55vw;height:65vh;border-radius:50%;filter:blur(100px);opacity:.24;background:#d74635;top:45%;left:-25%;animation:drift 24s ease-in-out infinite alternate}.ambient i+i{background:#242321;width:35vw;opacity:.13;top:0;left:80%;animation-delay:-12s}@keyframes drift{to{transform:translate(20vw,-20vh) scale(1.2)}}.toolbar{position:fixed;top:20px;left:24px;right:24px;z-index:30;display:flex;align-items:center;gap:16px;pointer-events:none}.toolbar>*{pointer-events:auto}.pill{background:#fffffff2;border-radius:999px;box-shadow:0 4px 24px #1717170c;backdrop-filter:blur(20px)}.icon{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center}.wordmark{font-size:14px;letter-spacing:.14em;line-height:1.6}.filter-pill{display:flex;margin-left:auto;align-items:center;min-height:48px;padding:0 7px 0 18px;gap:16px}.filter-pill label{display:flex;align-items:center;gap:10px}.filter-pill input{width:180px;background:transparent;border:0;padding:14px 0;outline-offset:0;font-size:12px;min-width:0;line-height:1.35}.filter-pill button{display:flex;align-items:center;gap:8px;padding:9px 13px;font-size:12px;border-radius:30px;line-height:1.35}.filter-pill button:hover,.filter-pill button[aria-expanded=true]{background:#f1f1ef}.filter-pill b{background:#191919;color:white;border-radius:50%;min-width:20px;font-size:12px;line-height:1.35}.floating-sidebar{position:fixed;left:24px;top:84px;z-index:40;background:#fffffff5;backdrop-filter:blur(25px);border-radius:28px;width:264px;max-height:calc(100dvh - 180px);overflow:auto;padding:28px 16px 18px;box-shadow:0 12px 50px #1112}.side-brand{display:block;padding:0 14px 25px;font-size:12px;letter-spacing:.12em;line-height:1.35}.floating-sidebar nav{display:grid;gap:6px}.floating-sidebar nav a{padding:13px 14px;border-radius:20px;font-size:12px;line-height:1.35}.floating-sidebar nav a:hover,.floating-sidebar [aria-current=page]{background:#f0f0ee}.filter-panel{position:fixed;right:24px;top:84px;width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 112px);overflow:auto;padding:25px;border-radius:28px;z-index:40;background:#fffffff5;backdrop-filter:blur(25px);box-shadow:0 12px 50px #1112}.panel-heading{display:flex;justify-content:space-between;align-items:center;font-size:14px;line-height:1.6}.panel-heading button{font-size:12px;color:#747474;line-height:1.35}.filter-search{display:grid;gap:8px;font-size:12px;margin:22px 0;line-height:1.35}.filter-search input{width:100%;border:0;background:#f3f3f1;padding:12px 16px;border-radius:20px;font-size:12px;line-height:1.35}.category-group{border:0;margin:24px 0 0;padding:0}.category-group legend{font-size:12px;font-weight:600;margin-bottom:12px;line-height:1.35}.category-options{display:flex;flex-wrap:wrap;gap:7px}.category-options button{background:#f2f2ef;border-radius:18px;padding:8px 12px;font-size:12px;line-height:1.35}.category-options button[aria-pressed=true]{background:#202020;color:white}.category-options small{margin-left:5px;opacity:.5}main{padding:119px 24px 120px;max-width:1900px;margin:auto}.page-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:28px}.page-heading h1{font-size:24px;font-weight:500;letter-spacing:-.04em;margin:0;line-height:1.35}.count{font-size:12px;color:#696966;line-height:1.35}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:42px 18px}.site-card{min-width:0}.site-card>a{display:block}.thumbnail{aspect-ratio:1.34;overflow:hidden;border-radius:9px;background:#e9e9e5}.thumbnail img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .5s cubic-bezier(.2,.7,.2,1)}.site-card a:hover img{transform:scale(1.025)}.site-card h2{font-size:12px;font-weight:500;margin:13px 0 6px;line-height:1.35}.site-card p{font-size:12px;color:#777;margin:0;display:flex;justify-content:space-between;gap:12px;line-height:1.35}.empty{padding:65px 0;text-align:center;color:#777;font-size:12px;line-height:1.35}.empty button{display:block;margin:15px auto;text-decoration:underline}.dock{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:24px;z-index:50;display:flex;gap:10px}.embedded .dock{display:none}.back{display:inline-flex;align-items:center;gap:10px;font-size:12px;margin-bottom:36px;line-height:1.35}.site-heading{margin:0 auto 40px;max-width:1440px}.site-heading h1{font-weight:500;font-size:62px;letter-spacing:-.05em;margin:0 0 20px;overflow-wrap:anywhere;line-height:1.05}.site-meta{display:flex;flex-wrap:wrap;gap:12px 32px;color:#666;font-size:12px;line-height:1.35}.site-actions{display:flex;gap:10px;margin:26px 0}.action{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:30px;background:white;font-size:12px;line-height:1.35}.action.dark{background:#191919;color:white}.section-links{display:flex;flex-wrap:wrap;gap:26px;font-size:12px;margin:32px 0 20px;line-height:1.35}.section-links a{padding-bottom:7px}.section-links a:first-child{border-bottom:1px solid}.hero-preview{max-width:1440px;margin:auto;background:#ffffff80;border-radius:18px;padding:clamp(18px,5vw,70px)}.hero-preview img{width:100%;display:block;border-radius:6px}.detail-section{max-width:1440px;margin:60px auto 0;scroll-margin-top:100px}.detail-section h2{font-size:16px;font-weight:500;margin:0 0 24px;line-height:1.6}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.section-card{padding:0;text-align:left;display:block}.section-card .thumbnail{aspect-ratio:1.6;background:#fff9;padding:18px}.section-card img{object-fit:contain}.section-card h3{font-weight:500;font-size:12px;margin:12px 0;line-height:1.35}.components-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.component-card{padding:0;display:block;text-align:left;min-width:0}.component-card h3{font-weight:500;font-size:12px;margin:13px 0 6px;line-height:1.35}.component-card p{font-size:12px;color:#6f6f6b;margin:0;line-height:1.35}.component-preview{position:relative;aspect-ratio:1.5;overflow:hidden;border-radius:10px;background:#fff9}.component-preview img{width:100%;height:100%;object-fit:cover;object-position:top;opacity:.7}.component-preview .region{position:absolute;background:#ffffff08;box-shadow:0 0 0 1.5px #cf4435 inset;pointer-events:none}.section-caption{font-size:12px;color:#74746f;line-height:1.35}.library-link{display:inline-flex;font-size:12px;gap:12px;margin-top:24px;text-decoration:underline;text-underline-offset:4px;line-height:1.35}dialog{width:min(1320px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:24px;background:#f8f8f5;color:#191919;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#16161677;backdrop-filter:blur(8px)}.modal-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#fffffff0;backdrop-filter:blur(16px);z-index:2}.modal-header h2{font-size:14px;font-weight:500;margin:0;line-height:1.6}.modal-header button{border-radius:50%;width:36px;height:36px;background:#f2f2ef;font-size:24px;line-height:1.35}.modal-content{padding:24px}.modal-tabs{display:flex;justify-content:center;margin:0 auto 24px;gap:4px;width:max-content;background:#eee;border-radius:25px;padding:4px}.modal-tabs button{padding:9px 15px;font-size:12px;border-radius:20px;line-height:1.35}.modal-tabs button[aria-pressed=true]{background:white}.context-preview{position:relative;max-width:950px;margin:auto;overflow:hidden;border-radius:8px;background:#fff}.context-preview>img{display:block;width:100%}.context-preview .region{position:absolute;box-shadow:0 0 0 2px #cf4435 inset;pointer-events:none}.context-preview.cropped{height:320px}.context-preview.cropped>img{position:absolute;max-width:none}.component-info{max-width:950px;margin:24px auto 0;display:flex;justify-content:space-between;gap:24px;align-items:start}.component-info p{max-width:600px;font-size:12px;margin:0;line-height:1.35}.modal-components{max-width:950px;margin:32px auto}.modal-components h3{font-size:14px;font-weight:500;line-height:1.6}.modal-components .component-buttons{display:flex;flex-wrap:wrap;gap:10px}.modal-components button{background:white;border-radius:24px;padding:12px 18px;font-size:12px;line-height:1.35}.type-filter{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 30px}.type-filter button{background:white;padding:10px 18px;border-radius:24px;font-size:12px;line-height:1.35}.type-filter button[aria-pressed=true]{background:#202020;color:white}.loading{font-size:12px;color:#777;line-height:1.35}
@media(min-width:1800px){.gallery-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1100px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px}.toolbar{top:16px;left:16px;right:16px;gap:12px}.wordmark{display:none}.filter-pill{flex:1;min-width:0;gap:8px;padding-left:13px}.filter-pill label{flex:1;min-width:0}.filter-pill input{width:100%}.filter-pill button{padding:9px}.filter-pill button>span{display:none}.icon{width:44px;height:44px}.filter-pill{min-height:44px}main{padding:96px 16px 105px}.page-heading h1{font-size:24px;line-height:1.35}.count{font-size:12px;line-height:1.35}.floating-sidebar{left:16px;top:74px}.filter-panel{right:16px;top:74px}.dock{left:16px;bottom:max(16px,env(safe-area-inset-bottom))}.site-card h2{font-size:12px;line-height:1.35}.site-card p{font-size:12px;line-height:1.35}.site-card p span+span{display:none}.components-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-grid{grid-template-columns:1fr}.detail-section{margin-top:40px}.hero-preview{padding:14px;border-radius:12px}.component-info{display:block}.component-info a{margin-top:16px}dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:20px}.modal-content{padding:16px}.modal-header{padding:16px}.modal-header h2{font-size:12px;line-height:1.35}.context-preview.cropped{height:220px}}
@media(max-width:380px){.gallery-grid{grid-template-columns:1fr}.components-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Official Translation Works shader owns the background. */
body{background:#fff}.ambient{background:#fff}.ambient canvas{display:block;width:100%;height:100%}main{position:relative;z-index:1}
/* Keep the official palette beneath a white surface so captions stay legible. */
.ambient canvas{opacity:.3}

/* Keep search focus on the rounded surface, without a rectangular input outline. */
.filter-pill{transition:box-shadow .2s ease,background-color .2s ease}.filter-pill input:focus{outline:none}.filter-pill:has(input:focus-visible){background:#fff;box-shadow:0 5px 26px #17171724}.filter-pill input:focus-visible{caret-color:#191919}@media(prefers-reduced-motion:reduce){.filter-pill{transition:none}}

/* Gallery type selection is independent of the bottom-left viewing-mode dock. */
.gallery-switcher{position:fixed;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:50;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:320px;max-width:calc(100vw - 32px);padding:5px;border-radius:999px;background:#ffffff99;backdrop-filter:blur(20px);box-shadow:0 5px 28px #17171714;isolation:isolate}
.gallery-switcher-indicator{position:absolute;left:5px;top:5px;width:calc((100% - 10px)/2);height:calc(100% - 10px);border-radius:999px;background:#fff;box-shadow:0 2px 8px #17171708;z-index:-1;transition:transform .32s cubic-bezier(.22,1,.36,1)}
.gallery-switcher[data-active="components"] .gallery-switcher-indicator{transform:translateX(100%)}
.gallery-switcher a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:999px;font-size:12px;white-space:nowrap;color:#737370;transition:color .2s ease;line-height:1.35}
.gallery-switcher a:hover,.gallery-switcher a[aria-current="page"]{color:#191919}
.gallery-switcher a:focus-visible{outline:2px solid #191919;outline-offset:2px}
@media(max-width:760px){.gallery-switcher{width:284px;bottom:calc(max(16px,env(safe-area-inset-bottom)) + 60px)}main{padding-bottom:170px}}
@media(prefers-reduced-motion:reduce){.gallery-switcher-indicator,.gallery-switcher a{transition:none}}

/* Continuous color picker: hue angle, radial saturation, and independent lightness. */
.continuous-color{margin:5px 0 24px;--chosen-color:#D98942;--wheel-neutral:#8c8c8c;--wheel-lightness:55%}
.continuous-header{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.continuous-preview{width:24px;height:24px;border-radius:50%;background:var(--chosen-color);box-shadow:inset 0 0 0 1px #0001}
.continuous-hex{font:11px/1.4 ui-monospace,monospace;letter-spacing:.04em}
.continuous-header button{margin-left:auto;font-size:12px;color:#666;padding:8px 0 8px 12px;line-height:1.35}
.continuous-range-label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;font-size:12px;color:#555;min-width:0;line-height:1.35}
.continuous-range-label output{font:10px/1.4 ui-monospace,monospace;font-variant-numeric:tabular-nums;color:#777}
.continuous-range{grid-column:1/-1;width:100%;height:28px;margin:0;background:transparent;appearance:none;-webkit-appearance:none;cursor:ew-resize;touch-action:none;--track:linear-gradient(90deg,#ddd,#666)}
.continuous-range::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:var(--track)}
.continuous-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-4px;border:3px solid #fff;border-radius:50%;background:var(--chosen-color);box-shadow:0 0 0 1px #0005,0 2px 5px #0002}
.continuous-range::-moz-range-track{height:8px;border-radius:999px;background:var(--track)}
.continuous-range::-moz-range-thumb{width:10px;height:10px;border:3px solid #fff;border-radius:50%;background:var(--chosen-color);box-shadow:0 0 0 1px #0005}
.continuous-range:focus-visible{outline:2px solid #333;outline-offset:3px;border-radius:999px}
.hue-range{--track:linear-gradient(90deg,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)}
.saturation-range{--track:linear-gradient(90deg,var(--saturation-start),var(--saturation-end))}
.luminance-range{--track:linear-gradient(90deg,#000,var(--luminance-mid),#fff)}
.tolerance-range{--track:linear-gradient(90deg,#dededb,#777)}
.continuous-body{display:grid;grid-template-columns:164px minmax(0,1fr);align-items:center;gap:24px;margin-top:18px}
.continuous-wheel{position:relative;aspect-ratio:1;border-radius:50%;cursor:crosshair;touch-action:none;user-select:none;isolation:isolate;background:radial-gradient(circle closest-side,var(--wheel-neutral),transparent),conic-gradient(hsl(0 100% var(--wheel-lightness)),hsl(60 100% var(--wheel-lightness)),hsl(120 100% var(--wheel-lightness)),hsl(180 100% var(--wheel-lightness)),hsl(240 100% var(--wheel-lightness)),hsl(300 100% var(--wheel-lightness)),hsl(360 100% var(--wheel-lightness)))}
.continuous-wheel:focus-visible{outline:2px solid #333;outline-offset:6px}
.continuous-wheel-handle{position:absolute;transform:translate(-50%,-50%);width:14px;height:14px;border-radius:50%;border:2px solid white;background:var(--chosen-color);box-shadow:0 0 0 1px #0007,0 2px 6px #0003;pointer-events:none}
.continuous-sliders{display:grid;gap:10px;min-width:0}
.continuous-status{font-size:12px;color:#888;margin:17px 0 0;line-height:1.35}
.continuous-color[data-active=false] .continuous-preview{background:#e6e6e3}
.continuous-color[data-active=false] .continuous-wheel-handle{opacity:.55}
.color-label-dot{display:inline-block;vertical-align:-2px;width:12px;height:12px;margin-right:6px;border-radius:50%;box-shadow:inset 0 0 0 1px #00000014}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:480px){.continuous-body{grid-template-columns:128px minmax(0,1fr);gap:18px}}
@media(max-width:360px){.continuous-body{grid-template-columns:104px minmax(0,1fr);gap:14px}}

/* Component detail shares the Website detail hierarchy and materials. */
.component-description{max-width:680px;font-size:14px;color:#494945;margin:0;line-height:1.6}
.component-hero{position:relative;scroll-margin-top:32px}
.component-hero img{max-height:72vh;object-fit:contain}
.component-preview-note{max-width:1440px;margin:14px auto 0;font-size:12px;color:#666;line-height:1.35}
.component-source{padding-bottom:40px;font-size:14px;;line-height:1.6}
.component-source a{text-decoration:underline;text-underline-offset:4px}
.component-heading .site-actions{flex-wrap:wrap}
@media(max-width:760px){.component-heading h1{font-size:32px;line-height:1.05}.component-description{font-size:12px;line-height:1.35}.component-hero{padding:12px}.component-heading .section-links{gap:18px}.component-source{padding-bottom:80px}}

/* A deliberate type hierarchy and full ink for prose. */
.page-heading h1,.site-heading h1{font-size:var(--type-title);line-height:1.05;font-weight:600;overflow-wrap:anywhere}
.page-heading{align-items:flex-end;flex-wrap:wrap}.count{font-size:12px;line-height:1.35;white-space:nowrap}
.site-card h2,.component-card h3,.section-card h3{font-size:16px;line-height:1.6;font-weight:600}
.site-card p,.component-card p,.category-options small{font-size:12px;line-height:1.35}
.detail-section h2{font-size:32px;line-height:1.05;font-weight:600}.component-description{font-size:16px;line-height:1.6;color:#0a0a0a}
@media(max-width:760px){.page-heading h1,.site-heading h1{font-size:32px;line-height:1.05}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.gallery-switcher,.pill,.floating-sidebar,.filter-panel{background:#fff;backdrop-filter:none}.hero-preview,.component-preview,.section-card .thumbnail{background:#fff}.site-meta,.count,.site-card p,.component-card p,.section-caption{color:#292929}}
