.mode-float{position:fixed;z-index:65;right:30px;bottom:92px;width:370px;padding:25px;background:var(--studio-glass,rgba(249,247,240,.91));color:var(--ink);border:1px solid var(--line);border-radius:17px;backdrop-filter:blur(24px);box-shadow:0 16px 55px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.4);transition:opacity .35s,transform .35s}.mode-float[hidden]{display:none!important}.mode-float.leaving{opacity:0;transform:translateY(12px);pointer-events:none}.mode-close{position:absolute;right:10px;top:10px;width:36px;height:36px;background:transparent;border:0;color:var(--ink);font-size:25px;cursor:pointer}.mode-eyebrow{font-size:10px;letter-spacing:.12em;margin:0 30px 13px 0;color:var(--muted)}.mode-float h2{font:400 29px/1.15 var(--display);margin:0 0 20px}.mode-options{display:grid;gap:10px}.mode-options button{display:flex;align-items:center;gap:13px;text-align:left;padding:14px 12px;background:transparent;border:1px solid var(--line);border-radius:9px;color:var(--ink);cursor:pointer;transition:background .2s,transform .2s}.mode-options button:hover{background:var(--studio-surface);transform:translateY(-1px)}.mode-options strong{display:block;font:400 16px Outfit,sans-serif}.mode-options small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.mode-swatch{width:27px;height:27px;border-radius:50%;border:1px solid #aaa6;flex-shrink:0;box-shadow:inset 0 2px 3px #fff5}.mode-day{background:#f4efe2}.mode-night{background:#383e39}.mode-footnote{font-size:11px;line-height:1.5;margin:16px 0 0;color:var(--muted)}.mode-float button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}@media(max-width:600px){.mode-float{right:12px;bottom:68px;width:min(330px,calc(100vw - 24px));padding:19px}.mode-float h2{font-size:25px;margin-bottom:13px}.mode-options button{padding:11px}.mode-footnote{margin-top:12px}}@media(prefers-reduced-motion:reduce){.mode-float,.mode-options button{transition:none}}
/* Centered invitation, with the live homepage visible around it. */
.mode-float{left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:480px;max-width:calc(100vw - 32px);max-height:calc(100svh - 40px);overflow-y:auto;padding:34px;border-radius:20px}.mode-float.leaving{transform:translate(-50%,calc(-50% + 12px))}.mode-close{right:15px;top:15px;width:40px;height:40px}.mode-eyebrow{font-size:11px;margin-bottom:18px}.mode-float h2{font-size:36px;margin-bottom:25px}.mode-options{gap:13px}.mode-options button{padding:18px 16px;gap:16px;border-radius:11px}.mode-options strong{font-size:19px}.mode-options small{font-size:14px;line-height:1.45;margin-top:5px}.mode-swatch{width:32px;height:32px}.mode-footnote{font-size:12px;margin-top:21px}@media(max-width:600px){.mode-float{width:380px;padding:25px;max-width:calc(100vw - 28px)}.mode-float h2{font-size:29px;margin-bottom:20px}.mode-eyebrow{font-size:10px}.mode-options button{padding:15px 12px;gap:12px}.mode-options strong{font-size:17px}.mode-options small{font-size:12px}.mode-swatch{width:28px;height:28px}.mode-footnote{font-size:11px}.mode-close{right:9px;top:9px}}
/* Frosted atmosphere behind the centered invitation. */
.mode-day{background:#913b39;border-color:#7c302f;box-shadow:inset 0 2px 4px #ffffff40,0 2px 6px #54201c25}
body:has(.mode-float)::after{content:"";position:fixed;inset:0;z-index:64;pointer-events:none;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);background:transparent;opacity:0;transition:backdrop-filter .45s,background .45s,opacity .45s}
body:has(.mode-float:not([hidden]):not(.leaving))::after{opacity:1;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:rgba(34,37,34,.14)}
@media(prefers-reduced-motion:reduce){body:has(.mode-float)::after{transition:none}}

.mode-night{background:#50534f}.mode-float .mode-day{background:#913b39}
