/* fonts, served from the site (Latin only) */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../assets/fonts/geist.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../assets/fonts/geist-mono.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Reenie Beanie'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/reenie-beanie.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Shared by the Arteffects demos: the page they sit on and the colour switcher */
html { --bg: #f3f2ee; --ink: #121211; --glass: rgba(255, 255, 255, .6); --edge: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(18, 18, 17, .07); --hair: rgba(18, 18, 17, .12); }
/* demo.js sets data-theme from the site's saved choice or the system */
html[data-theme="dark"] { --bg: #1b1b1a; --ink: #ecebe7; --glass: rgba(40, 40, 38, .7); --edge: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 1px rgba(0, 0, 0, .5); --hair: rgba(236, 235, 231, .14); color-scheme: dark; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); font-family: "Geist", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; transition: background-color .3s ease; }
canvas.stage, #cassette3d { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
[hidden] { display: none !important; }

.picker { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--edge), 0 10px 30px -18px rgba(18, 18, 17, .4); }
.swatches { display: flex; align-items: center; gap: 4px; }
.swatches .gap { width: 1px; height: 18px; margin: 0 4px; background: var(--hair); }
.swatch { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: none; }
.swatch i { position: absolute; inset: 5px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(18, 18, 17, .15); transition: inset .25s cubic-bezier(.22, 1, .36, 1); }
.swatch:hover i { inset: 4px; }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 1.5px var(--ink); }
.swatch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.picker .name { min-width: 7.5em; font: 500 13px/1 "Geist", sans-serif; letter-spacing: -.01em; white-space: nowrap; }
.auto .picker { display: none; }
@media (max-width: 420px) { .picker .name { display: none; } .picker { padding-right: 6px; } }
.snap { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
