/* Reference liking, the client's side. uberdesigner's own tokens (uberdesigner.ai, Nov 2026) in the dark of its tools
   (RELUMA): the references are the only colour on the screen. */
:root {
  --bg: #0a0a0b; --surface: #141416; --raised: #1b1b1f;
  --text-primary: #f4f4f5; --text-secondary: #ffffffa3; --text-tertiary: #ffffff5c;
  --stroke-primary: #ffffff29; --stroke-secondary: #ffffff14;
  --accent: #9568f9; --accent-fill: #8657e7; --accent-ink: #b69cff; --on-accent: #fff;
  --radius-pill: 999px; --radius-tag: 2px; --radius-panel: 4px; --radius-field: 23px; --radius-modal: 12px; --radius-card: 10px;
  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --caption-size: 12px; --caption-lh: 16px;
  --control-height: 44px;
  --stripes-stroke: 2px;
  --stripes: conic-gradient(#ffffff80 0%, #fff0 13.2%, #ffffff80 24.5%, #fff0 35.4%, #ffffff80 45.6%, #fff0 59.3%, #ffffff80 72.2%, #fff0 86.4%, #ffffff80 100%);
  --stripes-glow: inset 0 -7px 4px #ffffff3d;
  --stripes-loop: 8s;
  --micro-tint: .18s; --micro-tint-ease: cubic-bezier(.215, .61, .355, 1);
  --spring: .81s; --spring-ease: linear(0 0%, .02 2.5%, .072 5%, .144 7.5%, .227 10%, .316 12.5%, .406 15%, .492 17.5%, .573 20%, .647 22.5%, .713 25%, .77 27.5%, .82 30%, .863 32.5%, .9 35%, .931 37.5%, .956 40%, .976 42.5%, .993 45%, 1.006 47.5%, 1.016 50%, 1.022 52.5%, 1.026 55%, 1.028 57.5%, 1.027 60%, 1.025 62.5%, 1.022 65%, 1.019 67.5%, 1.015 70%, 1.011 72.5%, 1.008 75%, 1.005 77.5%, 1.003 80%, 1.001 82.5%, 1 85%, 1 100%);
  --vh: var(--vh0, 1svh);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; background: var(--bg); color: var(--text-primary); }
body { font: 400 16px/20px var(--font-sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
button, input, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cap { font-size: var(--caption-size); line-height: var(--caption-lh); font-weight: 500; text-transform: uppercase; color: var(--text-tertiary); letter-spacing: .02em; }
@media not ((hover: hover) and (pointer: fine)) { .only-fine { display: none; } }

/* buttons, as on uberdesigner.ai */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--control-height); padding-inline: 20px; border-radius: var(--radius-pill); overflow: hidden; white-space: nowrap; font-size: 18px; line-height: 20px; font-weight: 500; letter-spacing: -.02em; transition: transform .2s var(--micro-tint-ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #ffffff14; opacity: 0; transition: opacity var(--micro-tint) var(--micro-tint-ease); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn:focus-visible, .ctl:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--secondary { box-shadow: inset 0 0 0 1px var(--stroke-primary); }
.btn--primary { background: var(--accent-fill); color: var(--on-accent); padding-inline: 26px; box-shadow: var(--stripes-glow); }
.btn--primary > span:not(.btn__border) { position: relative; z-index: 1; }
.btn__border { position: absolute; inset: 0; z-index: 0; padding: var(--stripes-stroke); border-radius: inherit; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.btn__stripes { position: absolute; top: 50%; left: 50%; width: 141.421%; aspect-ratio: 1; background: var(--stripes); transform: translate(-50%, -50%); animation: stripes-turn var(--stripes-loop) linear infinite; }
@keyframes stripes-turn { to { transform: translate(-50%, -50%) rotate(1turn); } }

/* the app: one screen tall, the three screens share it */
.app { position: relative; height: calc(var(--vh) * 100); min-height: 480px; display: flex; flex-direction: column; overflow: hidden; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.app > section { flex: 1 1 auto; min-height: 0; }
.made { flex: none; display: flex; justify-content: center; padding: 10px 0 14px; }
.made a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-tertiary); transition: color var(--micro-tint) var(--micro-tint-ease); }
.made a:hover { color: var(--text-secondary); }
.made svg { width: 13px; height: 13px; }

/* who is asking */
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who__av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(120% 90% at 20% 0%, #a58bff 0%, #906df8 22.5%, #7a4ff0 45%, #5b2fd6 100%); color: #fff; font-weight: 500; font-size: 16px; box-shadow: inset 0 0 0 1px #ffffff26; }
.who__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.who__txt b { font-weight: 500; font-size: 15px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who--sm .who__av { width: 32px; height: 32px; font-size: 13px; }

/* 1 · start */
.start { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; width: min(440px, 100% - 48px); margin-inline: auto; padding-block: 24px; }
.start__fan { --cw: 150px; --ch: 100px; position: relative; width: calc(var(--cw) + 120px); height: calc(var(--ch) + 40px); margin: 0 0 8px -60px; transform: perspective(900px) rotateX(calc(var(--py, 0) * -14deg)) rotateY(calc(var(--px, 0) * 18deg)); transition: transform 1.2s var(--spring-ease); transform-style: preserve-3d; }
.start__fan i { position: absolute; left: 60px; top: 24px; width: var(--cw); height: var(--ch); border-radius: 6px; background: #1b1b1f center top / cover no-repeat; box-shadow: 0 0 0 1px #ffffff1f, 0 24px 40px -14px #000; transform-origin: 50% 260%; animation: fan-in 1.1s var(--spring-ease) both, float 6s ease-in-out infinite; }
.start__fan i:nth-child(1) { --r: -16deg; --z: -60px; animation-delay: .05s, -1s; }
.start__fan i:nth-child(2) { --r: 16deg; --z: -60px; animation-delay: .1s, -4s; }
.start__fan i:nth-child(3) { --r: -8deg; --z: -30px; animation-delay: .16s, -2.5s; }
.start__fan i:nth-child(4) { --r: 8deg; --z: -30px; animation-delay: .22s, -5s; }
.start__fan i:nth-child(5) { --r: 0deg; --z: 0px; animation-delay: .3s, -3s; }
@keyframes fan-in { from { opacity: 0; filter: blur(14px); transform: translateY(60px) rotate(0deg) scale(.86); } 55% { filter: blur(0); } to { opacity: 1; filter: blur(0); transform: translateZ(var(--z)) rotate(var(--r)); } }
@keyframes float { 50% { translate: 0 -7px; } }
@media (min-width: 900px) { .start__fan { --cw: 190px; --ch: 126px; } }
@media (max-width: 599px) { .start__fan { --cw: 128px; --ch: 86px; margin-left: -6px; } }
.start__title { font-size: 36px; line-height: 38px; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.start__sub { color: var(--text-secondary); font-size: 16px; line-height: 22px; text-wrap: pretty; }
.start__form { display: flex; gap: 10px; width: 100%; margin-top: 4px; }
.field { flex: 1; min-width: 0; }
.field input { width: 100%; height: var(--control-height); padding-inline: 18px; border: 0; border-radius: var(--radius-field); background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--stroke-secondary); font-size: 15px; letter-spacing: -.02em; outline: none; transition: box-shadow var(--micro-tint) var(--micro-tint-ease); }
.field input::placeholder { color: var(--text-tertiary); }
.field input:focus { box-shadow: inset 0 0 0 1px var(--accent); }
.field.is-wrong input { box-shadow: inset 0 0 0 1px #d11f4e; animation: shake .36s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.start__keys { margin-top: 4px; }

/* 2 · the deck */
.deck-screen { display: flex; flex-direction: column; }
.bar { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding-inline: 16px; }
.bar__count { font-variant-numeric: tabular-nums; color: var(--text-secondary); }
.bar__line { position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--stroke-secondary); overflow: hidden; }
.bar__line { overflow: visible; }
.bar__line i { position: absolute; inset: 0; background: linear-gradient(90deg, #ffffff40, #fff); box-shadow: 0 0 10px #ffffff80; transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--micro-tint-ease); }
.stage { position: relative; flex: 1 1 auto; min-height: 0; }
.deck { position: absolute; inset: 20px 16px 8px; }
/* the first card carries the hint on itself, so it never meets the cards stacked below */
/* no backdrop blur here: it sits over moving cards, and Safari would blur them again every frame */
.hint { position: absolute; z-index: 20; left: 50%; bottom: 24px; translate: -50% 0; padding: 6px 12px; border-radius: var(--radius-pill); background: #0a0a0be6; box-shadow: 0 0 0 1px var(--stroke-secondary); color: var(--text-secondary); white-space: nowrap; transition: opacity .3s; pointer-events: none; }
.ref-name { flex: none; height: 22px; margin-top: 10px; text-align: center; font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: -.01em; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 16px; }
.ref-name em { font-style: normal; color: var(--text-tertiary); }

/* a card: sized to its reference, so nothing of the design is cropped */
.card { position: absolute; left: 50%; top: 50%; border-radius: var(--radius-card); background: var(--raised); box-shadow: 0 0 0 1px var(--stroke-secondary), 0 30px 60px -24px #000, 0 12px 24px -12px #000c; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; cursor: grab; contain: layout paint; }
.card.is-drag { cursor: grabbing; }
.card:not(.is-top) { pointer-events: none; }
.card { overflow: hidden; }
.card__img { position: absolute; left: 0; top: 0; width: 100%; height: auto; opacity: 0; will-change: transform; transition: opacity .35s ease; -webkit-user-drag: none; pointer-events: none; }
/* the reference's own light around it, and the whole card out of focus: both drawn once into tiny canvases (taste.js)
   and stretched to the card, which is the blur; nothing here is filtered while it moves */
.card__amb, .card__blur { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.card__amb { opacity: 0; transition: opacity .5s ease; }
.card__blur { opacity: 0; will-change: opacity; }
.card.is-ready .card__img { opacity: 1; }
.card__amb { display: none; }
/* everything that changes every frame is its own layer, so the card's picture is never painted again while it moves */
.card__shade, .card__ring { will-change: opacity; }
.card__skel { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, #ffffff00 30%, #ffffff0c 50%, #ffffff00 70%) 0 0 / 300% 100% var(--raised); animation: skel 1.4s linear infinite; }
.card.is-ready .card__skel { display: none; }
@keyframes skel { to { background-position: -150% 0; } }
.card__shade { position: absolute; inset: 0; border-radius: inherit; background: #050506; opacity: 0; pointer-events: none; }
/* the answer as it is being given: a ring and a stamp */
.card__ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; }
.card__ring--like { box-shadow: inset 0 0 0 2px var(--accent), 0 0 48px -6px #8657e7aa; }
.card__ring--pass { box-shadow: inset 0 0 0 2px #ffffffb3; }
.stamp { position: absolute; z-index: 2; top: 16px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 14px 16px; border-radius: var(--radius-pill); font-size: 18px; line-height: 20px; font-weight: 500; letter-spacing: -.02em; opacity: 0; pointer-events: none; will-change: transform, opacity, filter; }
.stamp svg { width: 18px; height: 18px; }
.stamp--like { left: 16px; background: var(--accent-fill); color: #fff; box-shadow: var(--stripes-glow), 0 8px 24px -6px #5b2fd6; transform-origin: 0 50%; }
.stamp--like svg { fill: #fff; }
.stamp--pass { right: 16px; background: #f4f4f5; color: #0a0a0b; box-shadow: 0 8px 24px -8px #000; transform-origin: 100% 50%; }
.stamp--pass svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.card__shade { z-index: 3; }
.card__note { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 10px 12px; border-radius: var(--radius-pill); background: #0a0a0bcc; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; line-height: 16px; font-weight: 500; max-width: calc(100% - 24px); }
.card__note svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linejoin: round; }
.card__note span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-secondary); }

/* the controls */
.controls { flex: none; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 16px 2px; }
.ctl { position: relative; isolation: isolate; display: grid; place-items: center; border-radius: 50%; overflow: hidden; transition: transform .25s var(--micro-tint-ease), background-color var(--micro-tint) var(--micro-tint-ease), box-shadow var(--micro-tint) var(--micro-tint-ease), opacity .2s; }
.ctl svg { position: relative; z-index: 1; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctl:active { transform: scale(.92); }
.ctl:disabled { opacity: .3; cursor: default; }
.ctl--pass, .ctl--like { width: 64px; height: 64px; }
.ctl--pass { order: 2; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--stroke-primary); }
.ctl--note { order: 3; width: 48px; height: 48px; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--stroke-secondary); color: var(--text-secondary); }
.ctl--note svg { width: 20px; height: 20px; }
.ctl--like { order: 4; background: var(--accent-fill); color: #fff; box-shadow: var(--stripes-glow), 0 10px 30px -10px #5b2fd6; }
.ctl--like svg { fill: #fff; stroke: none; width: 26px; height: 26px; }
.ctl--undo { order: 1; width: 48px; height: 48px; color: var(--text-secondary); }
.ctl--undo svg { width: 20px; height: 20px; }
@media (hover: hover) {
  .ctl--pass:not(:disabled):hover { background: #ffffff1a; }
  .ctl--note:not(:disabled):hover, .ctl--undo:not(:disabled):hover { background: #ffffff14; color: var(--text-primary); }
  .ctl--like:hover { background: #9568f9; }
}
.ctl__dot { position: absolute; z-index: 2; top: 10px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); transform: scale(0); transition: transform .3s var(--spring-ease); }
.ctl--note.has-note { color: var(--accent-ink); }
.ctl--note.has-note .ctl__dot { transform: scale(1); }
/* a button answers the drag: the side being chosen swells */
.ctl.is-lit { transform: scale(var(--k, 1)); }
.keys { flex: none; text-align: center; margin-top: 10px; }

/* 3 · done */
.done { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; width: min(560px, 100% - 48px); margin-inline: auto; padding-block: 24px; }
.done__mark { position: relative; overflow: hidden; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-fill); box-shadow: var(--stripes-glow), 0 12px 32px -10px #5b2fd6; animation: pop .7s var(--spring-ease) both; }
.done__mark svg { position: relative; width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .45s .25s ease forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title { font-size: 36px; line-height: 38px; font-weight: 500; letter-spacing: -.035em; }
.done__sub { color: var(--text-secondary); font-size: 16px; line-height: 22px; }
.done__liked { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; width: 100%; margin-block: 8px 4px; }
.done__liked figure { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-panel); overflow: hidden; background: var(--raised) center / cover; box-shadow: 0 0 0 1px var(--stroke-secondary); animation: focus-in .8s var(--spring-ease) both; animation-delay: calc(var(--i) * 55ms + .2s); }
@keyframes focus-in { from { opacity: 0; filter: blur(14px); transform: translateY(18px) scale(.9); } 60% { filter: blur(0); } }
.done__liked figure::after { content: ""; position: absolute; right: 5px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 20.3 4.6 13a4.7 4.7 0 0 1 6.7-6.7l.7.7.7-.7A4.7 4.7 0 0 1 19.4 13z'/%3E%3C/svg%3E") center / 10px no-repeat; }
.done__liked.is-dealt figure { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.screen-in { animation: screen-in .6s var(--spring-ease) both; }
@keyframes screen-in { from { opacity: 0; filter: blur(10px); transform: translateY(18px) scale(.985); } to { filter: none; } }

/* the note sheet */
.sheet { margin: auto auto 0; width: min(560px, 100%); max-width: 100%; padding: 0; border: 0; border-radius: 16px 16px 0 0; background: var(--surface); color: var(--text-primary); box-shadow: 0 0 0 1px var(--stroke-secondary), 0 -20px 60px -10px #000; }
.sheet::backdrop { background: #0a0a0bb3; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .5s var(--spring-ease) both; }
.sheet[open]::backdrop { animation: fade .3s ease both; }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.sheet__in { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
.sheet__head { display: flex; align-items: center; gap: 12px; }
.sheet__head > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.sheet__head b { font-weight: 500; font-size: 15px; line-height: 18px; }
.sheet__thumb { flex: none; width: 56px; height: 35px; border-radius: var(--radius-panel); background: var(--raised) center / cover; box-shadow: 0 0 0 1px var(--stroke-secondary); }
.sheet textarea { width: 100%; resize: none; min-height: 96px; padding: 12px 14px; border: 0; border-radius: var(--radius-modal); background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--stroke-secondary); font-size: 16px; line-height: 22px; outline: none; transition: box-shadow var(--micro-tint) var(--micro-tint-ease); }
.sheet textarea:focus { box-shadow: inset 0 0 0 1px var(--accent); }
.sheet textarea::placeholder { color: var(--text-tertiary); }
.sheet__actions { display: flex; justify-content: flex-end; gap: 10px; }
@media (min-width: 600px) { .sheet { margin: auto; border-radius: 16px; } .sheet[open] { animation-name: sheet-pop; } @keyframes sheet-pop { from { transform: translateY(16px) scale(.97); opacity: 0; } } }

/* a closer look at one reference */
/* the card lifts off the table and opens up to the whole screen (taste.js moves the picture from the card to here);
   a long page scrolls as the site would, a wide one sits in the middle; the room's light stays behind it */
.look { position: fixed; inset: 0; z-index: 50; overflow-y: auto; overscroll-behavior: contain; cursor: zoom-out; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.look::-webkit-scrollbar { display: none; }
.look__bg { position: fixed; inset: 0; background: #0a0a0bd1; -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); animation: fade .45s ease both; }
.look__page { position: relative; min-height: 100%; display: flex; align-items: center; justify-content: center; padding: calc(64px + env(safe-area-inset-top)) 12px calc(48px + env(safe-area-inset-bottom)); }
.look img { display: block; width: auto; height: auto; max-width: min(100%, 1180px); max-height: calc(var(--vh) * 100 - 112px); border-radius: 8px; box-shadow: 0 0 0 1px var(--stroke-secondary), 0 50px 100px -30px #000; transform-origin: 0 0; cursor: default; }
.look.is-tall .look__page { align-items: flex-start; }
.look.is-tall img { max-height: none; width: min(100%, 900px); }
.look__cap { position: fixed; z-index: 2; left: 16px; top: calc(16px + env(safe-area-inset-top)); max-width: calc(100% - 140px); font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.look__cap em { font-style: normal; color: var(--text-tertiary); margin-right: 8px; }
.look__close { position: fixed; z-index: 2; right: 16px; top: calc(18px + env(safe-area-inset-top)); animation: fade .4s .2s ease both; }
.look__hint { position: fixed; z-index: 2; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); translate: -50% 0; padding: 6px 12px; border-radius: var(--radius-pill); background: #0a0a0be6; box-shadow: 0 0 0 1px var(--stroke-secondary); color: var(--text-secondary); pointer-events: none; animation: hint-in .6s .5s var(--spring-ease) both; transition: opacity .3s; }
.look:not(.is-tall) .look__hint, .look.is-scrolled .look__hint { opacity: 0; }
@keyframes hint-in { from { opacity: 0; transform: translateY(10px); } }
.look.is-out .look__bg, .look.is-out .look__cap, .look.is-out .look__close, .look.is-out .look__hint { animation: fade-out .4s ease both; }
@keyframes fade-out { to { opacity: 0; } }

@media (min-width: 900px) {
  .bar { height: 76px; padding-inline: 28px; }
  .bar__line { left: 28px; right: 28px; }
  .deck { inset: 32px 48px 12px; }
  .controls { gap: 18px; padding-top: 18px; }
  .ctl--pass, .ctl--like { width: 72px; height: 72px; }
  .start__title { font-size: 52px; line-height: 52px; }
  .done__title { font-size: 52px; line-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn__stripes { animation: none; }
  .start__fan i, .done__mark, .done__liked figure, .screen-in, .sheet[open] { animation-duration: .01s; animation-delay: 0s; }
}
/* the deck screen arrives without a blur: a filter on it would carry every moving card through it */
.deck-screen.screen-in { animation-name: screen-in-plain; }
@keyframes screen-in-plain { from { opacity: 0; transform: translateY(14px); } }

/* ---------- the motion both pages share (fx.js) ---------- */
/* a headline word by word: each rises out of its own line and out of a blur */
.w { display: inline-block; vertical-align: top; overflow: clip; overflow-clip-margin: .2em; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.is-in .w > span { animation: word-in 1s var(--spring-ease) both; animation-delay: calc(var(--i) * 42ms + var(--d, 0ms)); }
@keyframes word-in { from { transform: translateY(110%) rotate(4deg); opacity: 0; filter: blur(8px); } 50% { filter: blur(0); } to { transform: none; opacity: 1; filter: none; } }
/* a count: only the characters that changed roll */
.roll { position: relative; display: inline-block; overflow: clip; vertical-align: top; }
.roll__o { position: absolute; left: 0; top: 0; animation: roll-out .55s var(--spring-ease) both; animation-delay: calc(var(--k) * 40ms); }
.roll__n { display: inline-block; animation: roll-in .55s var(--spring-ease) both; animation-delay: calc(var(--k) * 40ms); }
@keyframes roll-out { to { transform: translateY(calc(-100% * var(--dir))); opacity: 0; filter: blur(3px); } }
@keyframes roll-in { from { transform: translateY(calc(100% * var(--dir))); opacity: 0; filter: blur(3px); } }
/* buttons lean toward the cursor (fx.js sets their translate) */
.btn, .ctl, .chip, .tab, [data-mag] { transition-property: transform, translate, background-color, box-shadow, color, opacity; transition-duration: .25s, .6s, .18s, .18s, .18s, .2s; transition-timing-function: var(--micro-tint-ease), var(--spring-ease), var(--micro-tint-ease), var(--micro-tint-ease), var(--micro-tint-ease), ease; }
/* a surface lit where the cursor is, its edge catching the light */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease; }
.spot::before { z-index: -1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), #ffffff0d, transparent 45%); }
.spot::after { padding: 1px; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), #b69cffcc, #b69cff00 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@media (hover: hover) and (pointer: fine) { .spot:hover::before, .spot:hover::after { opacity: 1; } }
/* the stripes of the primary button, as a ring around anything */
.ring-stripes { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.ring-stripes::before { content: ""; position: absolute; top: 50%; left: 50%; width: 160%; aspect-ratio: 1; background: conic-gradient(#b69cff 0%, #b69cff00 13%, #fff 25%, #b69cff00 37%, #b69cff 50%, #b69cff00 63%, #fff 75%, #b69cff00 87%, #b69cff 100%); transform: translate(-50%, -50%); animation: stripes-turn var(--stripes-loop) linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .is-in .w > span, .roll__o, .roll__n { animation: none; }
  .roll__o { display: none; }
  .ring-stripes::before { animation: none; }
}

/* ---------- the room, the light around everything ---------- */
.room { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.room canvas { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; animation: room-drift 24s ease-in-out infinite alternate; }
.room canvas.is-on { opacity: .62; }
@keyframes room-drift { to { transform: scale(1.12) rotate(3deg); } }
.room::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 46%, #0a0a0b26, #0a0a0bd9 90%), linear-gradient(#0a0a0b, #0a0a0b00 16%, #0a0a0b00 72%, #0a0a0b); }
.app > :not(.room):not(.edge):not(.tint):not(.wave):not(.foot):not(.rsfx):not(.pfx):not(.nn) { position: relative; z-index: 1; }
/* an answer, felt: light washes in from the side the card went to */
.edge { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; }
.edge--like { background: radial-gradient(60% 90% at 100% 55%, #8657e780, #8657e700 70%); }
.edge--pass { background: radial-gradient(60% 90% at 0% 55%, #ffffff26, #ffffff00 70%); }
.ctl.is-burst { animation: burst .7s ease-out; }
.ctl--like.is-burst { animation-name: burst-like; }
@keyframes burst { from { box-shadow: inset 0 0 0 1px var(--stroke-primary), 0 0 0 0 #ffffff59; } to { box-shadow: inset 0 0 0 1px var(--stroke-primary), 0 0 0 22px #ffffff00; } }
@keyframes burst-like { from { box-shadow: var(--stripes-glow), 0 0 0 0 #9568f9cc; } to { box-shadow: var(--stripes-glow), 0 0 0 26px #9568f900; } }
.ctl--like.is-burst svg { animation: heart .5s var(--spring-ease); }
@keyframes heart { 40% { transform: scale(1.3); } }
/* the light a card catches on a desk, where the cursor is */
.card__gloss { position: absolute; inset: -40%; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(40% 40% at 50% 50%, #ffffff24, #ffffff00 70%); will-change: transform, opacity; mix-blend-mode: plus-lighter; }
/* the fan dealt onto the table */
.flight { position: fixed; pointer-events: none; background: #1b1b1f center top / cover no-repeat; box-shadow: 0 0 0 1px #ffffff1f, 0 30px 60px -20px #000; will-change: left, top, width, height, transform; }
.deck-screen.screen-fade { animation: fade .5s ease both; }
@media (prefers-reduced-motion: reduce) { .room canvas, .start__fan i { animation: none; } .start__fan { transform: none; } }

/* ---------- the result, shared by the designer's page and the solo brief ---------- */
/* the taste as tags: what they like, each with a picture of it */
.hero-tags { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius-modal); background: radial-gradient(120% 140% at 0% 0%, #8657e72e, #8657e708 55%, transparent), var(--surface); box-shadow: 0 0 0 1px var(--stroke-secondary); }
.tgs { display: flex; flex-wrap: wrap; gap: 10px; }
.tg { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 7px; border-radius: var(--radius-pill); font-size: 20px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--stroke-primary); animation: rise .5s var(--spring-ease) both; }
.tg:nth-child(2) { animation-delay: .05s; } .tg:nth-child(3) { animation-delay: .1s; } .tg:nth-child(4) { animation-delay: .15s; } .tg:nth-child(5) { animation-delay: .2s; } .tg:nth-child(6) { animation-delay: .25s; } .tg:nth-child(7) { animation-delay: .3s; }
.tg.is-strong { background: #8657e726; box-shadow: inset 0 0 0 1.5px #9568f9; }
.tg.is-leaning { color: var(--text-secondary); }
.tg__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #ffffff14; color: #fff; }
.tg__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tg__ic svg .eye { stroke-width: 2.8; }
.tg__aa { font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1; font-family: var(--font-sans); }
.tg__aa--serif { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; }
/* each tag's own little swatch */
.tg--tone-hi .tg__ic { background: #f4f4f5; color: #0a0a0b; }
.tg--tone-lo .tg__ic { background: #000; box-shadow: inset 0 0 0 1px #ffffff33; }
.tg--color-hi .tg__ic { background: #ffffff10; }
.tg--color-hi svg { stroke: none; }
.tg--color-hi .f1 { fill: #ff4f7b; opacity: .9; } .tg--color-hi .f2 { fill: #ffc531; opacity: .85; } .tg--color-hi .f3 { fill: #3fb6ff; opacity: .85; }
.tg--color-lo .tg__ic { background: #6f6c75; }
.tg--color-lo .fq { fill: currentColor; stroke: none; opacity: .5; }
.tg--temp-hi .tg__ic { background: linear-gradient(160deg, #ffb347, #ff5e3a); }
.tg--temp-lo .tg__ic { background: linear-gradient(160deg, #8fd3ff, #3a7bff); }
.tg--graphic-lo .tg__ic { background: linear-gradient(160deg, #7ec8a5, #2f7a6b); }
.tg--graphic-hi .tg__ic { background: linear-gradient(160deg, #b69cff, #6f45e6); }
.tg--layout-hi .tg__ic { background: #e9e6df; color: #0a0a0b; }
.tg--layout-lo .tg__ic { background: #3b3a40; }
.tg--type-hi .tg__ic, .tg--type-lo .tg__ic { background: #f4f4f5; color: #0a0a0b; }
.tg--mood-hi .tg__ic { background: linear-gradient(160deg, #ff8ad8, #ff5a8a); }
.tg--mood-lo .tg__ic { background: #2c3340; }
.tg.is-clash { box-shadow: inset 0 0 0 1.5px #ffb36b; }
.tgs__none { color: var(--text-secondary); font-size: 18px; }
.tgs__rest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--text-tertiary); }
.tgs__key { display: inline-flex; align-items: center; gap: 6px; }
.tgs__key i { width: 14px; height: 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--stroke-primary); }
.tgs__key i.is-strong { background: #8657e726; box-shadow: inset 0 0 0 1.5px #9568f9; }
.tgs--sm .tg { height: 38px; padding: 0 14px 0 5px; gap: 8px; font-size: 15px; }
.tgs--sm .tg__ic { width: 28px; height: 28px; }
.tgs--sm .tg__ic svg { width: 17px; height: 17px; }
.tgs--sm .tg__aa { font-size: 14px; } .tgs--sm .tg__aa--serif { font-size: 16px; }
@media (max-width: 599px) { .hero-tags { padding: 18px; } .tg { height: 44px; font-size: 17px; padding-right: 16px; } .tg__ic { width: 32px; height: 32px; } .tg__ic svg { width: 19px; height: 19px; } }

.tg { position: relative; animation: tag-in .9s var(--spring-ease) both; animation-delay: calc(var(--i, 0) * 70ms + .12s); }
.tg:nth-child(2) { --i: 1; } .tg:nth-child(3) { --i: 2; } .tg:nth-child(4) { --i: 3; } .tg:nth-child(5) { --i: 4; } .tg:nth-child(6) { --i: 5; } .tg:nth-child(7) { --i: 6; }
@keyframes tag-in { from { opacity: 0; transform: translateY(16px) scale(.9); filter: blur(8px); } 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
.tg__ic { animation: ic-pop .8s var(--spring-ease) both; animation-delay: calc(var(--i, 0) * 70ms + .3s); transition: transform .5s var(--spring-ease); }
@keyframes ic-pop { from { transform: scale(0) rotate(-40deg); } }
.tg:hover .tg__ic { transform: rotate(-10deg) scale(1.1); }
.tg.is-strong { box-shadow: none; }
.tg.is-strong .ring-stripes { padding: 1.5px; }
/* the prompt: the taste in words an AI tool builds from */
.pr { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius-modal); background: var(--surface); box-shadow: 0 0 0 1px var(--stroke-secondary); }
.pr__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.pr__for { font-size: 13px; color: var(--text-tertiary); }
.pr__text { position: relative; max-height: 280px; overflow: auto; margin: 0; padding: 16px 18px; border-radius: var(--radius-panel); background: #0a0a0b; box-shadow: inset 0 0 0 1px var(--stroke-secondary); font: 400 13px/20px ui-monospace, "SF Mono", Menlo, monospace; color: var(--text-secondary); white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-width: thin; -webkit-mask: linear-gradient(#000 calc(100% - 28px), #0000); mask: linear-gradient(#000 calc(100% - 28px), #0000); padding-bottom: 28px; }
.pr__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pr__foot .btn { height: 42px; font-size: 16px; }
.pr__n { font-size: 13px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
/* the uberdesigner templates closest to the taste */
.tp { display: flex; flex-direction: column; gap: 10px; }
.tp__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tp__card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tp__img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-panel); background: var(--raised) center / cover; box-shadow: 0 0 0 1px var(--stroke-secondary); transition: transform .6s var(--spring-ease), box-shadow var(--micro-tint) var(--micro-tint-ease); }
.tp__card--top .tp__img { box-shadow: 0 0 0 1px #8657e780, 0 24px 60px -30px #8657e7; }
.tp__card:hover .tp__img { transform: translateY(-4px) scale(1.02); box-shadow: 0 0 0 1px #ffffff40, 0 30px 50px -24px #000; }
.tp__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-panel); }
.tp__tier { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: var(--radius-pill); background: #0a0a0bcc; font-style: normal; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.tp__name { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 15px; line-height: 20px; }
.tp__name svg { width: 14px; height: 14px; fill: none; stroke: var(--text-tertiary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--spring-ease), stroke var(--micro-tint); }
.tp__card:hover .tp__name svg { transform: translate(2px, -2px); stroke: var(--text-primary); }
.tp__meta { font-size: 13px; line-height: 18px; color: var(--text-tertiary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp__meta b { font-weight: 500; color: var(--text-secondary); }
.tp__card--top .tp__meta b { color: var(--accent-ink); }
@media (max-width: 899px) { .tp__row { grid-template-columns: 1fr 1fr; } }

/* ---------- the brief's questions: one to a screen ---------- */
.qs { display: flex; flex-direction: column; min-height: 0; }
.qs__bar { position: relative; flex: none; display: flex; align-items: center; gap: 12px; height: 64px; padding-inline: 16px; }
.qs__back { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; border-radius: 50%; color: var(--text-secondary); transition: background-color var(--micro-tint) var(--micro-tint-ease), color var(--micro-tint); }
.qs__back:hover { background: #ffffff14; color: var(--text-primary); }
.qs__back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qs__step { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-secondary); }
.qs__in { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; gap: 18px; width: min(640px, 100% - 32px); margin-inline: auto; padding-block: 20px; scrollbar-width: none; }
.qs__in::-webkit-scrollbar { display: none; }
.qs__title { font-size: 36px; line-height: 38px; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.qs__sub { margin-top: -6px; color: var(--text-secondary); font-size: 16px; line-height: 22px; text-wrap: pretty; }
.qs__nav { flex: none; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 16px 4px; }
.qs__next { min-width: 160px; }
.qs__next > span:last-child { display: inline-block; }
@media (min-width: 900px) { .qs__title { font-size: 52px; line-height: 52px; } .qs__bar { height: 76px; padding-inline: 28px; } .qs__in { gap: 22px; } }
/* answers: pills that light up, each arriving a moment after the one before */
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; padding: 11px 18px; border-radius: 22px; background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--stroke-primary); font-size: 16px; line-height: 20px; font-weight: 500; letter-spacing: -.01em; color: var(--text-primary); text-align: left; animation: up-in-q .6s var(--spring-ease) both; animation-delay: calc(var(--i, 0) * 30ms + .15s); transition: background-color .2s var(--micro-tint-ease), box-shadow .2s var(--micro-tint-ease), color .2s; }
@keyframes up-in-q { from { opacity: 0; transform: translateY(12px); } }
.opt:hover { background: #ffffff14; }
.opt[aria-pressed="true"] { background: var(--accent-fill); box-shadow: var(--stripes-glow), 0 10px 30px -12px #5b2fd6; color: #fff; }
.opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.opt__d { font-size: 13px; line-height: 17px; font-weight: 400; color: var(--text-secondary); }
.opt[aria-pressed="true"] .opt__d { color: #ffffffcc; }
.opts--rich { display: grid; grid-template-columns: 1fr; }
.opts--rich .opt { border-radius: 14px; padding: 14px 18px; }
@media (min-width: 600px) { .opts--rich { grid-template-columns: repeat(3, 1fr); } }
/* a few words */
.qfs { display: flex; flex-direction: column; gap: 18px; }
.qf { display: flex; flex-direction: column; gap: 8px; animation: up-in-q .6s var(--spring-ease) both; }
.qf:nth-child(2) { animation-delay: .05s; } .qf:nth-child(3) { animation-delay: .1s; }
.qf input, .qf textarea { width: 100%; padding: 12px 16px; border: 0; border-radius: 14px; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--stroke-secondary); font-size: 16px; line-height: 22px; outline: none; resize: none; transition: box-shadow var(--micro-tint) var(--micro-tint-ease); }
.qf input { height: 48px; }
.qf input:focus, .qf textarea:focus { box-shadow: inset 0 0 0 1px var(--accent); }
.qf input::placeholder, .qf textarea::placeholder { color: var(--text-tertiary); }
/* brand colours: three swatches to pick */
.cols { display: flex; flex-direction: column; gap: 8px; animation: up-in-q .5s var(--spring-ease) both; }
.cols__row { display: flex; gap: 10px; }
.col { position: relative; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.col input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.col span { position: absolute; inset: 0; border-radius: 50%; background: var(--c, #ffffff14); box-shadow: inset 0 0 0 1px var(--stroke-primary); pointer-events: none; }
.col:not(.is-set) span::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-tertiary); font-size: 20px; }
/* the intro to the references: a small hand of them */
.qs__fan { position: relative; width: 220px; height: 120px; }
.qs__fan i { position: absolute; left: 60px; top: 14px; width: 120px; height: 80px; border-radius: 6px; background: var(--raised) center top / cover; box-shadow: 0 0 0 1px #ffffff1f, 0 20px 36px -14px #000; transform-origin: 50% 260%; animation: fan-in 1s var(--spring-ease) both; }
.qs__fan i:nth-child(1) { --r: -16deg; --z: 0px; animation-delay: .05s; } .qs__fan i:nth-child(2) { --r: 16deg; --z: 0px; animation-delay: .1s; }
.qs__fan i:nth-child(3) { --r: -8deg; --z: 0px; animation-delay: .15s; } .qs__fan i:nth-child(4) { --r: 8deg; --z: 0px; animation-delay: .2s; } .qs__fan i:nth-child(5) { --r: 0deg; --z: 0px; animation-delay: .25s; }

/* the brief, answered: a short list */
.bf { list-style: none; padding: 0; display: flex; flex-direction: column; }
.bf li { display: grid; grid-template-columns: 170px 1fr; gap: 4px 16px; padding: 9px 0; box-shadow: inset 0 -1px 0 var(--stroke-secondary); font-size: 14px; line-height: 20px; }
.bf b { font-weight: 500; color: var(--text-tertiary); }
.bf span { color: var(--text-primary); overflow-wrap: anywhere; }
@media (max-width: 599px) { .bf li { grid-template-columns: 1fr; } }

/* the solo end: the brief itself, scrolling inside the screen */
.done.is-solo { justify-content: flex-start; width: min(880px, 100% - 32px); overflow-y: auto; padding-block: 40px 24px; scrollbar-width: none; }
.done.is-solo::-webkit-scrollbar { display: none; }
.done.is-solo .done__liked { display: none; }
.done__result { display: flex; flex-direction: column; gap: 22px; width: 100%; margin-top: 8px; }
.done__result:empty { display: none; }
.done__result > * { animation: up-in-q .8s var(--spring-ease) both; }
.done__result > :nth-child(2) { animation-delay: .1s; } .done__result > :nth-child(3) { animation-delay: .2s; } .done__result > :nth-child(4) { animation-delay: .3s; }
.done__brief { border-radius: var(--radius-modal); background: #ffffff05; box-shadow: inset 0 0 0 1px var(--stroke-secondary); padding: 0 18px; }
.done__brief summary { padding: 14px 0; cursor: pointer; list-style: none; font-weight: 500; }
.done__brief summary::-webkit-details-marker { display: none; }
.done__brief summary::before { content: "+"; display: inline-block; width: 16px; color: var(--text-tertiary); }
.done__brief[open] summary::before { content: "–"; }
.done__brief .bf { padding-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .opt, .qf, .cols, .qs__fan i, .done__result > * { animation: none; } }
.qs__next.is-skip { background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--stroke-primary); color: var(--text-secondary); }
.qs__next.is-skip .btn__border { opacity: 0; }

/* the prompt, first: the thing to take away */
.pr--hero { padding: 24px; background: radial-gradient(120% 140% at 0% 0%, #8657e72e, #8657e708 55%, transparent), var(--surface); box-shadow: 0 0 0 1px #8657e740, 0 40px 80px -50px #8657e7; }
.pr--hero .pr__text { max-height: 340px; font-size: 13.5px; line-height: 21px; }
.pr--hero .pr__foot .btn { height: 52px; font-size: 18px; padding-inline: 28px; }
.pr--hero .pr__foot .btn--primary { min-width: 200px; }
/* the MCP: the one command, and the page for every other tool */
.mcp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-modal); background: #ffffff05; box-shadow: inset 0 0 0 1px var(--stroke-secondary); }
.mcp__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--stroke-secondary); }
.mcp__mark svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mcp__t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mcp__t b { font-weight: 500; font-size: 15px; }
.mcp__t > span { color: var(--text-tertiary); font-size: 13px; line-height: 18px; }
.mcp__cmd { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 12px; border-radius: 8px; background: #0a0a0b; box-shadow: inset 0 0 0 1px var(--stroke-secondary); text-align: left; transition: box-shadow var(--micro-tint) var(--micro-tint-ease); }
.mcp__cmd:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.mcp__cmd code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 12.5px/18px ui-monospace, "SF Mono", Menlo, monospace; color: var(--text-secondary); }
.mcp__cmd .cap { flex: none; color: var(--accent-ink); }
.mcp__go { height: 38px; font-size: 15px; }
@media (max-width: 699px) { .mcp { grid-template-columns: auto 1fr; } .mcp__go { grid-column: 1 / -1; justify-self: start; } }
.tp__in { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--accent-fill); box-shadow: var(--stripes-glow); color: #fff; font-style: normal; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }

/* the questions, on their own in the middle */
.qs__main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
.qs__main::-webkit-scrollbar { display: none; }
.qs__main .qs__in { flex: 1 0 auto; overflow: visible; }
@media (min-width: 960px) { .qs__main .qs__in { width: min(720px, 100% - 64px); } }

/* ---------- the brief's answers with pictures ---------- */
/* what kind of interface: cards, each with a line icon */
@media (min-width: 960px) { .qs.is-cards .qs__in { flex: 1 1 auto; max-width: 980px; margin-inline: auto; } }
.opts--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .opts--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opt__ic { flex: none; display: grid; place-items: center; }
.opt__ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.opt--card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border-radius: 16px; }
.opt--card .opt__ic { width: 44px; height: 44px; margin-bottom: 14px; padding: 10px; border-radius: 12px; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--stroke-secondary); color: var(--text-primary); transition: transform .6s var(--spring-ease), background-color .2s, color .2s; }
.opt--card:hover .opt__ic { transform: translateY(-2px) rotate(-6deg); }
.opt--card[aria-pressed="true"] .opt__ic { background: #ffffff26; box-shadow: none; color: #fff; }
.opt--card .opt__t { font-size: 17px; }
@media (max-width: 639px) { .opt--card { padding: 14px; } .opt--card .opt__ic { width: 38px; height: 38px; padding: 8px; margin-bottom: 10px; } .opt--card .opt__d { font-size: 12px; line-height: 16px; } }
/* fields: chips, each with a small icon */
.opt--ic { flex-direction: row; align-items: center; gap: 8px; padding-left: 14px; }
.opt--ic .opt__ic { width: 18px; height: 18px; opacity: .8; }
.opt--ic[aria-pressed="true"] .opt__ic { opacity: 1; }
/* your own sections or screens */
.own { display: flex; flex-direction: column; gap: 8px; }
.own__in { width: min(100%, 320px); height: 44px; padding: 0 18px; border: 0; border-radius: 22px; background: transparent; box-shadow: inset 0 0 0 1px var(--stroke-primary); font-size: 16px; color: var(--text-primary); outline: none; border-style: dashed; transition: box-shadow var(--micro-tint) var(--micro-tint-ease); }
.own__in:focus { box-shadow: inset 0 0 0 1px var(--accent); }
.own__in::placeholder { color: var(--text-secondary); }
.own__list { display: flex; flex-wrap: wrap; gap: 8px; }
.own__list:empty { display: none; }
.opt--own { flex-direction: row; align-items: center; gap: 8px; animation: none; }
.opt__x { opacity: .7; font-size: 18px; line-height: 1; }
/* the result: the taste, small, above the prompt */
.taste-strip { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.taste-strip .cap { flex: none; }
.taste-strip .tgs { flex: 1 1 auto; }
.tgs--sm .tg { height: 38px; padding: 0 14px 0 5px; gap: 8px; font-size: 15px; }
.tgs--sm .tg__ic { width: 28px; height: 28px; }
.tgs--sm .tg__ic svg { width: 17px; height: 17px; }
.tgs--sm .tg__aa { font-size: 14px; } .tgs--sm .tg__aa--serif { font-size: 16px; }

/* in a column that scrolls, nothing gives up its height (a button with overflow: hidden would shrink to a sliver) */
.done > *, .qs__in > *, .done__result > * { flex-shrink: 0; }

/* ---------- colours and type: a background, its accents, a typeface ---------- */
.lk { display: flex; flex-direction: column; gap: 16px; }
.lk__row { display: flex; flex-direction: column; gap: 8px; }
.sws { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px #ffffff2e; cursor: pointer; transition: transform .4s var(--spring-ease), box-shadow .2s; }
.sw:hover { transform: scale(1.08); }
.sw.is-on { box-shadow: inset 0 0 0 1px #ffffff2e, 0 0 0 2px var(--bg), 0 0 0 4px #fff; }
.sw--own { display: grid; place-items: center; background: conic-gradient(#ff5a1f, #ffc21a, #16a34a, #0a84ff, #9568f9, #ff4f9a, #ff5a1f); }
.sw--own.is-on { background: var(--c); }
.sw--own input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.opts--fonts { gap: 6px; }
.opt--font { min-height: 38px; padding: 8px 14px; font-size: 16px; font-weight: 500; animation: none; }
.lk__prev { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; border-radius: 14px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--ln); transition: background-color .4s ease, color .4s ease; }
.lk__prev b { font-family: var(--hf); font-size: 30px; line-height: 32px; font-weight: 500; letter-spacing: -.02em; }
.lk__prev span { font-family: var(--bf); font-size: 13px; line-height: 18px; color: var(--mu); }
.lk__prev i { font-style: normal; font-family: var(--bf); display: inline-flex; align-items: center; height: 34px; padding-inline: 16px; border-radius: 999px; background: var(--ac); color: var(--on); font-size: 14px; font-weight: 500; transition: background-color .4s ease; }

/* ---------- colours: six whole schemes, and a circle for your own colour ---------- */
.schemes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scheme { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; aspect-ratio: 16 / 10; padding: 12px; border-radius: 12px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px #ffffff1f; overflow: hidden; text-align: left; transition: transform .45s var(--spring-ease), box-shadow .2s; animation: up-in-q .6s var(--spring-ease) both; }
.scheme:nth-child(2) { animation-delay: .04s; } .scheme:nth-child(3) { animation-delay: .08s; } .scheme:nth-child(4) { animation-delay: .12s; } .scheme:nth-child(5) { animation-delay: .16s; } .scheme:nth-child(6) { animation-delay: .2s; }
.scheme:hover { transform: translateY(-2px); }
.scheme.is-on { box-shadow: 0 0 0 2px var(--bg-app, #0a0a0b), 0 0 0 4px #fff; }
.scheme b { font-family: var(--hf); font-size: 22px; line-height: 22px; font-weight: 500; letter-spacing: -.02em; }
.scheme i { display: block; width: 70%; height: 4px; border-radius: 2px; background: var(--mu); opacity: .55; }
.scheme i.s { width: 45%; }
.scheme u { position: absolute; left: 12px; bottom: 12px; display: block; width: 44%; height: 16px; border-radius: 999px; background: var(--ac); }
.lk__brand { display: flex; align-items: center; gap: 14px; }
.wheel { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; cursor: crosshair; background: radial-gradient(circle, #fff 0, #fff0 72%), conic-gradient(hsl(0 85% 55%), hsl(45 85% 55%), hsl(90 85% 50%), hsl(150 85% 45%), hsl(200 85% 50%), hsl(240 85% 60%), hsl(285 85% 58%), hsl(330 85% 55%), hsl(360 85% 55%)); box-shadow: 0 0 0 1px #ffffff2e; transition: transform .4s var(--spring-ease); }
.wheel:hover { transform: scale(1.06); }
.wheel i { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--b); box-shadow: 0 0 0 2px #fff, 0 2px 8px #0008; opacity: 0; transition: opacity .2s; }
.wheel.is-on i { opacity: 1; }
.lk__bt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lk__bt b { font-weight: 500; font-size: 15px; }
.lk__bt span { font-size: 13px; color: var(--text-tertiary); }
.lk__x { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; color: var(--text-secondary); font-size: 20px; }
.lk__x:hover { background: #ffffff14; color: var(--text-primary); }
@media (max-width: 599px) { .scheme { padding: 9px; aspect-ratio: 5 / 4; } .scheme b { font-size: 18px; line-height: 18px; } .scheme u { left: 9px; bottom: 9px; height: 13px; } }

/* start over: always within reach, never in the way */
.restart { padding: 6px 10px; margin-right: -10px; border-radius: 999px; color: var(--text-tertiary); transition: color .2s, background-color .2s; }
.restart:hover { color: var(--text-primary); background: #ffffff0f; }
.qs__bar .restart { margin-left: 8px; }
.bar__right { display: flex; align-items: center; gap: 10px; }
.done__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* back, beside next: where the thumb already is */
.qs__prev { gap: 4px; padding-inline: 16px 20px; }
.qs__prev svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- colours: light or dark, an accent, a background tone ---------- */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--stroke-secondary); align-self: flex-start; }
.seg__b { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 18px 22px; border-radius: 999px; font-size: 16px; font-weight: 500; color: var(--text-secondary); transition: background-color .25s, color .25s; }
.seg__b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seg__b[aria-pressed="true"] { background: #f4f4f5; color: #0a0a0b; }
.sws--big { gap: 10px; }
.sw--big { width: 44px; height: 44px; }
.sw--big.is-on { transform: scale(1.08); }
.hue { position: relative; height: 40px; margin-top: 4px; border-radius: 999px; cursor: pointer; touch-action: none; background: linear-gradient(90deg, hsl(0 85% 52%), hsl(30 85% 52%), hsl(60 85% 52%), hsl(90 85% 46%), hsl(130 80% 42%), hsl(170 85% 42%), hsl(200 85% 50%), hsl(230 85% 58%), hsl(260 85% 60%), hsl(290 85% 56%), hsl(320 85% 55%), hsl(359 85% 52%)); box-shadow: inset 0 0 0 1px #ffffff2e; }
.hue i { position: absolute; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #fff, 0 4px 12px #0009; opacity: .35; transition: opacity .2s, transform .3s var(--spring-ease); pointer-events: none; }
.hue.is-on i { opacity: 1; }
.hue:active i { transform: scale(1.15); }
.hue:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lk__hint { font-size: 13px; color: var(--text-tertiary); }
.opt--tone { flex-direction: row; align-items: center; gap: 10px; padding-left: 8px; }
.tone__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px #ffffff40; }

/* ---------- the brief, alive: answers that answer back ---------- */
.qs__main { position: relative; }
.qs__ghost { z-index: 0; }
.opt { overflow: hidden; isolation: isolate; }
@keyframes up-in-q { from { opacity: 0; transform: translateY(16px) scale(.96); filter: blur(6px); } 60% { filter: blur(0); } }
/* the picked one carries the stripes of the primary button */
.opt .ring-stripes { display: none; }
.opt[aria-pressed="true"] .ring-stripes { display: block; }
/* a ripple from where the finger touched */
.ripple { position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #ffffff59; pointer-events: none; animation: ripple .7s ease-out forwards; }
@keyframes ripple { to { transform: scale(30); opacity: 0; } }
/* the prompt writing itself */
.pr__text.is-typing::after { content: ""; display: inline-block; width: 8px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: caret .7s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ripple { display: none; } .opt[aria-pressed="true"] .ring-stripes::before { animation: none; } }



/* ---------- the studio: the first screen of the site, and four rings under it ---------- */
.st { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.st__panel { position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%; min-height: clamp(320px, calc(var(--vh) * 100 - 470px), 480px); padding: 18px 22px; border-radius: 22px; color: var(--fg); background: radial-gradient(80% 70% at 50% -10%, color-mix(in srgb, var(--ac) 26%, transparent), transparent 70%), radial-gradient(60% 50% at 100% 110%, color-mix(in srgb, var(--ac) 16%, transparent), transparent 70%), var(--bg); box-shadow: 0 0 0 1px #ffffff1f, 0 50px 120px -50px #000, 0 0 140px -60px var(--ac); transition: color .3s ease, background-color .3s ease; }
.st__nav { display: flex; align-items: center; gap: 10px; font-family: var(--bf); font-size: 12px; }
.st__logo { width: 16px; height: 16px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 18px -2px var(--ac); }
.st__name { font-family: var(--hf); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.st__links { display: flex; gap: 16px; margin-left: auto; color: var(--mu); }
.st__links em { font-style: normal; }
.st__cta { margin-left: 10px; padding: 6px 12px; border-radius: 999px; background: var(--ac); color: var(--on); font-weight: 500; }
.st__hero { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; justify-items: center; gap: 28px; padding: 26px 6px 30px; }
.st__copy { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; min-width: 0; }
.st__h { max-width: 14ch; font-family: var(--hf); font-size: clamp(38px, 6.4vw, 78px); line-height: .98; font-weight: 500; letter-spacing: -.035em; overflow-wrap: anywhere; will-change: transform, opacity; }
.st__p { max-width: 42ch; font-family: var(--bf); font-size: 15px; line-height: 21px; color: var(--mu); }
.st__btns { display: flex; gap: 8px; font-family: var(--bf); }
.st__btns b, .st__btns s { display: inline-flex; align-items: center; height: 40px; padding-inline: 18px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; }
.st__btns b { background: var(--ac); color: var(--on); box-shadow: 0 12px 30px -12px var(--ac); }
.st__btns s { box-shadow: inset 0 0 0 1px var(--ln); color: var(--fg); }
/* the picture on the split screen: a slow light in the accent */
.st__art { display: none; position: relative; overflow: hidden; width: 100%; height: 100%; min-height: 220px; border-radius: 18px; background: color-mix(in srgb, var(--ac) 14%, var(--bg)); box-shadow: inset 0 0 0 1px var(--ln); }
.st__art::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, var(--ac), color-mix(in srgb, var(--ac) 30%, var(--bg)), var(--ac), color-mix(in srgb, var(--ac) 50%, #fff), var(--ac)); filter: blur(38px); opacity: .75; animation: st-spin 14s linear infinite; }
.st__art::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffffb0, transparent 45%), var(--ac); box-shadow: 0 30px 60px -20px #0009, inset 0 -12px 30px #0003; animation: st-float 6s ease-in-out infinite; }
@keyframes st-spin { to { transform: rotate(1turn); } }
@keyframes st-float { 50% { translate: -50% -56%; } }
.st__cards { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 0 6px; }
.st__cards i { height: 86px; border-radius: 14px; background: color-mix(in srgb, var(--fg) 5%, var(--bg)); box-shadow: inset 0 0 0 1px var(--ln); position: relative; }
.st__cards i::before { content: ""; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 7px; background: var(--ac); opacity: .9; }
.st__cards i::after { content: ""; position: absolute; left: 14px; right: 30%; bottom: 16px; height: 6px; border-radius: 3px; background: var(--fg); opacity: .18; box-shadow: 0 -12px 0 color-mix(in srgb, var(--fg) 30%, transparent); }
/* the four compositions */
.st__panel[data-layout="split"] .st__hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; }
.st__panel[data-layout="split"] .st__copy { align-items: flex-start; justify-content: center; text-align: left; }
.st__panel[data-layout="split"] .st__h { font-size: clamp(34px, 4.8vw, 62px); }
.st__panel[data-layout="split"] .st__art { display: block; }
.st__panel[data-layout="editorial"] .st__hero { justify-items: stretch; align-items: end; padding-bottom: 18px; }
.st__panel[data-layout="editorial"] .st__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h h" "p b"; align-items: end; gap: 18px 24px; text-align: left; }
.st__panel[data-layout="editorial"] .st__h { grid-area: h; max-width: none; font-size: clamp(48px, 9.6vw, 128px); line-height: .9; letter-spacing: -.05em; }
.st__panel[data-layout="editorial"] .st__p { grid-area: p; max-width: 34ch; font-size: 13px; line-height: 18px; }
.st__panel[data-layout="editorial"] .st__btns { grid-area: b; }
.st__panel[data-layout="cards"] .st__hero { padding-block: 22px 18px; }
.st__panel[data-layout="cards"] .st__h { font-size: clamp(34px, 5vw, 60px); }
.st__panel[data-layout="cards"] .st__cards { display: grid; }
/* the rings: four arcs one inside the other across the whole width; what stops under the line in the middle is picked */
.arcs { position: relative; width: 100vw; margin-inline: calc(50% - 50vw); height: 260px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.arcs:active { cursor: grabbing; }
.arcs__needle { position: absolute; left: 50%; top: 0; bottom: 0; z-index: 0; width: 72px; margin-left: -36px; border-radius: 36px; background: linear-gradient(#ffffff12, #ffffff06 70%, transparent); box-shadow: inset 0 0 0 1px #ffffff14; pointer-events: none; }
.arc { position: absolute; width: 0; height: 0; z-index: 1; transform: rotate(var(--rot, 0deg)); transition: transform .8s var(--spring-ease); }
.arc.is-drag { transition: none; }
.arc__track { position: absolute; left: calc(var(--r) * -1); top: calc(var(--r) * -1); width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; box-shadow: inset 0 0 0 1px #ffffff12; pointer-events: none; transition: box-shadow .3s; }
.arc.is-drag .arc__track, .arc.is-focus .arc__track { box-shadow: inset 0 0 0 1px #ffffff38; }
.arc__it { position: absolute; left: -50px; top: -22px; width: 100px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; padding: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); transform-origin: 50% 50%; opacity: calc(1 - var(--d, 0) * .17); transition: opacity .4s; }
.arc__sw { flex: none; display: grid; place-items: center; height: 44px; min-width: 44px; border-radius: 22px; transition: transform .5s var(--spring-ease), box-shadow .3s, background-color .3s; }
.arc__sw--c { width: 44px; background: var(--sb); box-shadow: inset 0 0 0 1px #ffffff26; }
.arc__sw--c i { width: 16px; height: 16px; border-radius: 50%; background: var(--sa); box-shadow: 0 0 12px -2px var(--sa); transition: background-color .3s; }
.arc__sw--bw { background: linear-gradient(135deg, #f4f4f0 50%, #121212 50%) !important; }
.arc__sw--bw i { display: none; }
.arc__sw--t { padding-inline: 14px; background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff1f; font-size: 22px; line-height: 1; color: #f4f4f5; }
.arc__sw--l { width: 54px; background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff1f; }
.arc__sw--l svg { width: 26px; height: 26px; fill: none; stroke: #f4f4f5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arc__lb { font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .02em; color: var(--text-primary); white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .5s var(--spring-ease); pointer-events: none; }
.arc__it.is-on { opacity: 1; z-index: 2; }
.arc__it.is-on .arc__sw { transform: scale(1.14); box-shadow: 0 0 0 2px #fff, 0 0 0 5px color-mix(in srgb, var(--ac) 45%, transparent), 0 12px 30px -8px var(--ac); }
.arc__it.is-on .arc__sw--t, .arc__it.is-on .arc__sw--l { background: #f4f4f5; color: #0a0a0b; }
.arc__it.is-on .arc__sw--l svg { stroke: #0a0a0b; }
.arc__it.is-on .arc__lb { opacity: 1; transform: none; }
@media (hover: hover) { .arc__it:not(.is-on):hover .arc__sw { transform: scale(1.08); } }
.arc__in { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.st { position: relative; }
.st__surprise { position: absolute; right: 0; top: -50px; z-index: 2; height: 34px; font-size: 13px; }
@media (max-width: 599px) { .st__surprise { top: -46px; } }
.qs.is-look .qs__sub { display: none; }
.qs.is-look .qs__main { padding-bottom: 76px; }
.qs.is-look .qs__in { justify-content: flex-start; gap: 14px; }
.qs.is-look .st { gap: 6px; }
.qs.is-look .st__panel { min-height: clamp(230px, calc(var(--vh) * 100 - 580px), 520px); }
@media (min-width: 900px) { .qs.is-look .qs__title { font-size: 40px; line-height: 44px; } }
@media (max-width: 599px) {
  .arc__it { left: -42px; width: 84px; top: -19px; height: 38px; }
  .arc__sw { height: 38px; min-width: 38px; }
  .arc__sw--c { width: 38px; } .arc__sw--c i { width: 13px; height: 13px; }
  .arc__sw--t { font-size: 18px; padding-inline: 10px; } .arc__sw--l { width: 46px; } .arc__sw--l svg { width: 22px; height: 22px; }
  .arcs__needle { width: 60px; margin-left: -30px; }
  .qs.is-look .st__panel { min-height: 280px; }
}

.st__chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding-inline: 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: background-color .2s, color .2s; }
.st__chip[aria-pressed="true"] { background: #f4f4f5; color: #0a0a0b; }
.st__chip--go { color: #fff; background: var(--accent-fill); box-shadow: var(--stripes-glow); }
.st__chip--go:hover { background: #9568f9 !important; color: #fff !important; }
.st__chip--go svg { width: 15px; height: 15px; fill: currentColor; }
@media (min-width: 960px) { .qs.is-look .qs__main .qs__in { width: min(980px, 100% - 64px); } }
@media (max-width: 599px) {
  .st { gap: 14px; }
  .st__panel { min-height: 300px; padding: 14px 16px; border-radius: 18px; }
  .st__links { display: none; }
  .st__h { font-size: 38px; }
  .st__p { font-size: 13px; line-height: 18px; }
  .st__panel[data-layout="split"] .st__hero { grid-template-columns: minmax(0, 1fr) 38%; gap: 14px; }
  .st__panel[data-layout="split"] .st__h { font-size: 28px; }
  .st__panel[data-layout="split"] .st__p { display: none; }
  .st__panel[data-layout="editorial"] .st__h { font-size: 52px; }
  .st__panel[data-layout="editorial"] .st__copy { grid-template-areas: "h h" "p p" "b b"; }
  .st__panel[data-layout="cards"] .st__h { font-size: 30px; }
  .st__cards i { height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .st__art::before, .st__art::after { animation: none; } }

/* while a card is pulled the whole room leans green toward a like, red toward a pass */
.tint { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .18s linear; }
.tint--like { background: radial-gradient(110% 130% at 100% 50%, #22c55ee6, #22c55e59 45%, transparent 80%), linear-gradient(90deg, #16a34a1f, #16a34a66); }
.tint--pass { background: radial-gradient(110% 130% at 0% 50%, #ff3b30e6, #ff3b3059 45%, transparent 80%), linear-gradient(270deg, #dc26261f, #dc262666); }
.app > .tint { position: absolute; z-index: 0; }

/* ---------- the bar at the foot: fixed, the page running on under a blur that deepens toward the edge ---------- */
.pblur { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pblur i { position: absolute; inset: 0; }
.pblur i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask: linear-gradient(transparent 0%, #000 20%, #000 40%, transparent 60%); mask: linear-gradient(transparent 0%, #000 20%, #000 40%, transparent 60%); }
.pblur i:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask: linear-gradient(transparent 20%, #000 40%, #000 60%, transparent 80%); mask: linear-gradient(transparent 20%, #000 40%, #000 60%, transparent 80%); }
.pblur i:nth-child(3) { -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); -webkit-mask: linear-gradient(transparent 40%, #000 60%, #000 80%, transparent 100%); mask: linear-gradient(transparent 40%, #000 60%, #000 80%, transparent 100%); }
.pblur i:nth-child(4) { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask: linear-gradient(transparent 60%, #000 80%); mask: linear-gradient(transparent 60%, #000 80%); }
.pblur i:nth-child(5) { background: linear-gradient(color-mix(in srgb, var(--bg) 0%, transparent), color-mix(in srgb, var(--bg) 55%, transparent) 70%, color-mix(in srgb, var(--bg) 80%, transparent)); }
.qs { position: relative; }
.qs__nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; isolation: isolate; padding: 44px 16px 18px; }
.qs__main { padding-bottom: 104px; }
.dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; isolation: isolate; padding: 56px 16px calc(18px + env(safe-area-inset-bottom)); }
.dock[hidden] { display: none; }
.dock__in { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dock__copy { height: 56px; min-width: 240px; font-size: 18px; padding-inline: 30px; box-shadow: var(--stripes-glow), 0 20px 50px -14px #8657e7; }
.dock__copy svg { position: relative; width: 20px; height: 20px; margin-right: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dock .btn--secondary { height: 56px; font-size: 16px; padding-inline: 22px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dock__n { flex-basis: 100%; text-align: center; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.done.is-solo { padding-bottom: 170px; }
@media (max-width: 599px) { .dock__copy { min-width: 0; flex: 1; height: 52px; font-size: 16px; } .dock .btn--secondary { height: 52px; font-size: 15px; padding-inline: 16px; } .dock__in { flex-wrap: nowrap; } .dock__n { display: none; } .qs__nav { padding-top: 36px; } }

/* ---------- the prompt as the page itself ---------- */
.pt { display: flex; flex-direction: column; gap: 14px; }
.pt__text { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 26px; color: var(--text-secondary); overflow-wrap: anywhere; }
.pt__p:first-child { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; letter-spacing: -.015em; color: var(--text-primary); text-wrap: pretty; }
.pt__h { margin-top: 26px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; font-weight: 500; letter-spacing: -.025em; color: var(--text-primary); }
.pt__li { position: relative; padding-left: 22px; }
.pt__li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.pt__text code { padding: 1px 6px; border-radius: 6px; background: #ffffff10; box-shadow: inset 0 0 0 1px var(--stroke-secondary); font: 400 .86em/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text-primary); }
.pt__text a { color: var(--accent-ink, var(--text-primary)); text-decoration: underline; text-decoration-color: #ffffff40; text-underline-offset: 3px; }
.pt__text.is-writing > * { animation: pt-in .7s var(--spring-ease) both; animation-delay: calc(min(var(--k) * 26ms, 2.6s) + .5s); }
@keyframes pt-in { from { opacity: 0; transform: translateY(10px); filter: blur(8px); } }

/* ---------- the templates, turning ---------- */
.tf { --w: min(1120px, 100vw - 32px); display: flex; flex-direction: column; align-items: center; gap: 18px; width: var(--w); margin-inline: calc((100% - var(--w)) / 2); }
.tf > .cap { align-self: stretch; text-align: center; }
.tf__stage { position: relative; width: 100%; aspect-ratio: 2.86; perspective: 1700px; perspective-origin: 50% 40%; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tf__card { position: absolute; left: 50%; top: 0; width: 56%; height: 100%; border-radius: 18px; transform-style: preserve-3d; transition: transform 1s var(--spring-ease), opacity .7s ease; will-change: transform, opacity; -webkit-user-drag: none; }
.tf__img { position: absolute; inset: 0; border-radius: inherit; background: var(--raised) center top / cover; box-shadow: 0 0 0 1px #ffffff1f, 0 60px 90px -40px #000; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--spring-ease), box-shadow .5s; }
.tf__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: .45; pointer-events: none; transition: opacity .7s; }
.tf__card.is-front::after { opacity: 0; }
.tf__card.is-front .tf__img { box-shadow: 0 0 0 1px #ffffff2e, 0 70px 110px -40px #000, 0 0 120px -40px #8657e7; }
.tf__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(40% 50% at var(--sx, 50%) var(--sy, 30%), #ffffff2e, transparent 70%); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .4s; }
.tf__stage:hover .is-front .tf__shine { opacity: 1; }
.tf__card .tp__tier, .tf__card .tp__in { z-index: 1; top: 14px; font-size: 12px; padding: 4px 10px; }
.tf__card .tp__tier { left: 14px; } .tf__card .tp__in { right: 14px; }
.tf__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.tf__infos { display: grid; width: min(640px, 100%); text-align: center; }
.tf__info { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; visibility: hidden; transform: translateY(8px); filter: blur(6px); transition: opacity .35s, transform .6s var(--spring-ease), filter .35s, visibility 0s .35s; }
.tf__info.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: .12s, .12s, .12s, 0s; }
.tf__name { display: inline-flex; align-items: center; gap: 6px; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.02em; }
.tf__name svg { width: 18px; height: 18px; fill: none; stroke: var(--text-tertiary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--spring-ease), stroke .2s; }
.tf__name:hover svg { transform: translate(2px, -2px); stroke: var(--text-primary); }
.tf__meta { font-size: 15px; line-height: 21px; color: var(--text-tertiary); text-wrap: pretty; }
.tf__meta b { font-weight: 500; color: var(--accent-ink, var(--text-secondary)); }
.tf__dots { display: flex; gap: 8px; }
.tf__dots button { width: 8px; height: 8px; border-radius: 4px; background: #ffffff33; transition: width .5s var(--spring-ease), background-color .3s; }
.tf__dots button[aria-selected="true"] { width: 26px; background: #f4f4f5; }
@media (max-width: 599px) { .tf__stage { aspect-ratio: 1.75; } .tf__card { width: 80%; border-radius: 14px; } .tf__name { font-size: 20px; } .pt__text { font-size: 16px; line-height: 24px; } }
@media (prefers-reduced-motion: reduce) { .tf__card, .tf__img { transition: none; } .pt__text.is-writing > * { animation: none; } }
.done.is-solo { width: 100%; padding-inline: max(16px, (100% - 880px) / 2); align-items: stretch; }
@media (max-width: 599px) { .st__cta { margin-left: auto; } }

.app > .wave { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; will-change: clip-path, opacity, transform; }

/* answers' icons: a line drawing with one spot of the accent, white once picked */
.opt__ic .f { fill: #b69cff; stroke: none; }
.opt[aria-pressed="true"] .opt__ic .f { fill: #fff; }
.opt--ic .opt__ic { width: 20px; height: 20px; }
.opts--rich .opt--ic { flex-direction: row; align-items: flex-start; gap: 12px; }
.opts--rich .opt--ic .opt__ic { width: 22px; height: 22px; margin-top: 1px; }
.opts--rich .opt--ic .opt__t + .opt__d { grid-column: 2; }
@media (hover: hover) { .opt--ic:hover .opt__ic { transform: rotate(-8deg) scale(1.1); } }
.opt--ic .opt__ic { transition: transform .5s var(--spring-ease), opacity .2s; }

/* ---------- a scale as one slider, with a live picture of where it is ---------- */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.rs { --p: 0; display: flex; flex-direction: column; gap: 18px; width: 100%; transition: --p .7s var(--spring-ease); }
.rs.is-drag { transition: none; }
.rs__demo { position: relative; height: clamp(170px, calc(var(--vh) * 100 - 600px), 260px); border-radius: 22px; overflow: hidden; background: radial-gradient(80% 90% at 50% 110%, #8657e733, transparent 70%), #ffffff06; box-shadow: inset 0 0 0 1px var(--stroke-secondary); }
.rs__now { display: flex; flex-direction: column; gap: 4px; min-height: 52px; }
.rs__t { font-size: 22px; line-height: 26px; font-weight: 500; letter-spacing: -.02em; }
.rs__d { font-size: 15px; line-height: 20px; color: var(--text-secondary); }
.rs__track { position: relative; height: 92px; margin-inline: 28px; }
.rs__rail, .rs__fill { position: absolute; left: 0; top: 26px; height: 8px; border-radius: 4px; }
.rs__rail { right: 0; background: #ffffff14; box-shadow: inset 0 0 0 1px #ffffff0d; }
.rs__fill { width: calc(var(--p) * 100%); background: linear-gradient(90deg, #5b2fd6, #8657e7 60%, #c4b0ff); box-shadow: 0 0 24px -2px #8657e7, 0 0 6px #b69cff; }
.rs__tick { position: absolute; left: calc(var(--x) * 100%); top: 18px; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 0; translate: -50% 0; font-size: 13px; font-weight: 500; color: var(--text-tertiary); white-space: nowrap; z-index: 1; transition: color .3s; }
.rs__tick i { width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: #ffffff59; transition: background-color .3s, transform .4s var(--spring-ease); }
.rs[data-v="0"] .rs__tick[data-rs="0"], .rs[data-v="1"] .rs__tick[data-rs="1"], .rs[data-v="2"] .rs__tick[data-rs="2"], .rs[data-v="3"] .rs__tick[data-rs="3"] { color: var(--text-primary); }
.rs__thumb { position: absolute; left: calc(var(--p) * 100%); top: 30px; z-index: 2; width: 60px; height: 60px; margin: -30px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #c9b8ff, #8657e7 55%, #5b2fd6); box-shadow: inset 0 1px 0 #ffffff80, inset 0 -6px 14px #3b1a9a, 0 0 0 6px #8657e733, 0 14px 40px -8px #8657e7, 0 0 60px -10px #b69cff; pointer-events: none; transition: scale .4s var(--spring-ease), box-shadow .3s; }
.rs.is-drag .rs__thumb { scale: 1.12; box-shadow: inset 0 1px 0 #ffffff80, inset 0 -6px 14px #3b1a9a, 0 0 0 10px #8657e722, 0 18px 50px -8px #8657e7, 0 0 90px -6px #b69cff; }
.rs__ic { position: absolute; inset: 0; display: grid; place-items: center; }
.rs__ic > span { grid-area: 1 / 1; width: 26px; height: 26px; opacity: 0; transform: scale(.5) rotate(-30deg); transition: opacity .25s, transform .5s var(--spring-ease); }
.rs__ic svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rs__ic .f { fill: #fff; stroke: none; }
.rs[data-v="0"] .rs__ic [data-i="0"], .rs[data-v="1"] .rs__ic [data-i="1"], .rs[data-v="2"] .rs__ic [data-i="2"], .rs[data-v="3"] .rs__ic [data-i="3"] { opacity: 1; transform: none; }
.rs__in { position: absolute; left: -30px; right: -30px; top: 0; height: 60px; width: calc(100% + 60px); margin: 0; opacity: 0; cursor: grab; z-index: 3; touch-action: pan-y; }
.rs__in:active { cursor: grabbing; }
.rs__in:focus-visible + * , .rs:focus-within .rs__thumb { outline: none; }
.rs:has(.rs__in:focus-visible) .rs__thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 8px #8657e766, 0 14px 40px -8px #8657e7; }
@media (max-width: 599px) { .rs__track { margin-inline: 30px; } .rs__tick span { font-size: 11px; } .rs__tick:first-of-type span { translate: 30% 0; } .rs__tick:last-of-type span { translate: -30% 0; } }

/* motion: still, then drifting, then alive in 3D */
.dm { position: absolute; inset: 0; perspective: 600px; }
.dm__glow { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px; border-radius: 50%; background: radial-gradient(circle, #8657e7, transparent 65%); opacity: calc(.1 + var(--p) * .7); filter: blur(20px); }
.dm__orb { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b69cff 35%, #5b2fd6 75%); box-shadow: 0 20px 50px -10px #8657e7, 0 0 calc(var(--p) * 80px) #b69cff; }
.dm__ring { position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; margin: -95px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #ffffff59; transform: rotateX(calc(var(--p) * 72deg)) rotateY(calc(var(--p) * 18deg)); }
.dm__ring--b { width: 140px; height: 140px; margin: -70px; transform: rotateX(calc(var(--p) * -64deg)) rotateY(calc(var(--p) * 40deg)); opacity: var(--p); }
.dm__dot { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #b69cff; opacity: calc(var(--p) * 1.4 - .4); transform: rotate(calc(var(--k) * 45deg)) translateX(calc(60px + var(--p) * 60px)); }
.dm__card { position: absolute; left: 12%; top: 22%; display: flex; flex-direction: column; gap: 6px; width: 90px; padding: 10px; border-radius: 10px; background: #ffffff10; box-shadow: inset 0 0 0 1px #ffffff1f; }
.dm__card b { height: 30px; border-radius: 6px; background: #8657e780; } .dm__card s { height: 5px; border-radius: 3px; background: #ffffff33; } .dm__card s + s { width: 60%; }
.rs[data-v="1"] .dm__orb { animation: dm-float 3.2s ease-in-out infinite; }
.rs[data-v="1"] .dm__card { animation: dm-float 4s ease-in-out infinite reverse; }
.rs[data-v="1"] .dm__ring { animation: dm-spin 18s linear infinite; }
.rs[data-v="2"] .dm__orb { animation: dm-pulse 1.4s ease-in-out infinite; }
.rs[data-v="2"] .dm__ring { animation: dm-orbit 3s linear infinite; }
.rs[data-v="2"] .dm__ring--b { animation: dm-orbit-b 2.2s linear infinite; }
.rs[data-v="2"] .dm__dot { animation: dm-dots 2.4s linear infinite; }
.rs[data-v="2"] .dm__card { animation: dm-tilt 2.6s ease-in-out infinite; }
@keyframes dm-float { 50% { translate: 0 -14px; } }
@keyframes dm-spin { to { rotate: 1turn; } }
@keyframes dm-pulse { 50% { scale: 1.15; } }
@keyframes dm-orbit { from { transform: rotateX(72deg) rotateY(18deg) rotateZ(0); } to { transform: rotateX(72deg) rotateY(18deg) rotateZ(1turn); } }
@keyframes dm-orbit-b { from { transform: rotateX(-64deg) rotateY(40deg) rotateZ(0); } to { transform: rotateX(-64deg) rotateY(40deg) rotateZ(-1turn); } }
@keyframes dm-dots { to { rotate: 1turn; } }
@keyframes dm-tilt { 50% { transform: perspective(400px) rotateY(-24deg) rotateX(10deg) translateY(-10px); } }

/* level: the same brand, from welcoming to rare */
.dl { position: absolute; inset: 0; display: grid; place-items: center; }
.dl__c { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(340px, 82%); padding: 26px 20px; opacity: 0; filter: blur(12px); transform: scale(.94); transition: opacity .45s, filter .45s, transform .7s var(--spring-ease); }
.rs[data-v="0"] .dl__c[data-i="0"], .rs[data-v="1"] .dl__c[data-i="1"], .rs[data-v="2"] .dl__c[data-i="2"], .rs[data-v="3"] .dl__c[data-i="3"] { opacity: 1; filter: none; transform: none; }
.dl__n { font-size: 30px; line-height: 1; }
.dl__l { width: 40px; height: 2px; }
.dl__b { padding: 8px 16px; font-size: 13px; }
.dl__c--friendly { border-radius: 28px; background: #ffd9a8; color: #3b2208; rotate: -2deg; }
.dl__c--friendly .dl__n { font-family: "Fraunces", serif; font-weight: 700; } .dl__c--friendly .dl__l { background: #ff8a3d; border-radius: 2px; height: 4px; } .dl__c--friendly .dl__b { border-radius: 999px; background: #ff6b2c; color: #fff; font-weight: 600; }
.dl__c--polished { border-radius: 16px; background: #f6f7f9; color: #111827; }
.dl__c--polished .dl__n { font-family: "Inter Tight", sans-serif; font-weight: 600; letter-spacing: -.03em; } .dl__c--polished .dl__l { background: #2563eb; } .dl__c--polished .dl__b { border-radius: 8px; background: #2563eb; color: #fff; font-weight: 500; }
.dl__c--premium { border-radius: 10px; background: linear-gradient(160deg, #1c1917, #0c0a09); color: #f5e9d0; box-shadow: inset 0 0 0 1px #d4b16a55; }
.dl__c--premium .dl__n { font-family: "Playfair Display", serif; font-weight: 500; background: linear-gradient(90deg, #f5e9d0, #d4b16a); -webkit-background-clip: text; background-clip: text; color: transparent; } .dl__c--premium .dl__l { background: #d4b16a; height: 1px; } .dl__c--premium .dl__b { border-radius: 4px; box-shadow: inset 0 0 0 1px #d4b16a; color: #d4b16a; }
.dl__c--luxury { border-radius: 0; background: #050505; color: #fff; box-shadow: inset 0 0 0 1px #ffffff26, 0 0 0 8px #050505, 0 0 0 9px #ffffff1a; }
.dl__c--luxury .dl__n { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: .32em; } .dl__c--luxury .dl__l { background: #ffffff66; height: 1px; width: 22px; } .dl__c--luxury .dl__b { font-size: 10px; text-transform: uppercase; letter-spacing: .3em; color: #ffffffaa; padding: 4px 0; box-shadow: 0 1px 0 #ffffff55; }

/* density: one thing, then a few, then a lot */
.dd { position: absolute; left: 50%; top: 50%; width: min(360px, 84%); height: 76%; translate: -50% -50%; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: #0f0f12; box-shadow: inset 0 0 0 1px #ffffff1f, 0 30px 60px -30px #000; }
.dd__bar { flex: none; height: 10px; width: 40%; border-radius: 5px; background: #ffffff26; }
.dd__g { flex: 1; display: grid; gap: 8px; grid-template-columns: repeat(var(--c, 1), 1fr); grid-auto-rows: 1fr; }
.dd__g i { border-radius: 8px; background: #ffffff10; box-shadow: inset 0 0 0 1px #ffffff14; transition: opacity .35s, transform .5s var(--spring-ease); transition-delay: calc(var(--k) * 25ms); }
.dd__g i:first-child { background: linear-gradient(135deg, #8657e7aa, #5b2fd655); }
.rs[data-v="0"] .dd__g { --c: 1; } .rs[data-v="0"] .dd__g i:nth-child(n+2) { display: none; }
.rs[data-v="1"] .dd__g { --c: 2; } .rs[data-v="1"] .dd__g i:nth-child(n+5) { display: none; }
.rs[data-v="2"] .dd__g { --c: 4; gap: 5px; } .rs[data-v="2"] .dd__g i { border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .dm * { animation: none !important; } }



/* ---------- the templates: plain tiles, two to a row, leaning toward the cursor ---------- */
.tt { display: flex; flex-direction: column; gap: 14px; }
.tt__g { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.tt__c { display: flex; flex-direction: column; gap: 8px; min-width: 0; perspective: 1000px; animation: up-in-q .8s var(--spring-ease) both; animation-delay: calc(var(--k) * 90ms + .2s); }
.tt__tilt { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--spring-ease), box-shadow .4s; box-shadow: 0 0 0 1px #ffffff1f, 0 30px 60px -30px #000; }
.tt__c:hover .tt__tilt { transition: transform .12s linear, box-shadow .4s; box-shadow: 0 0 0 1px #ffffff40, 0 40px 80px -30px #000, 0 0 80px -30px #8657e7; }
.tt__c.is-top .tt__tilt { box-shadow: 0 0 0 1px #8657e780, 0 30px 70px -30px #8657e7; }
.tt__img { position: absolute; inset: 0; border-radius: inherit; background: var(--raised) center top / cover; }
.tt__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(45% 55% at var(--sx, 50%) var(--sy, 30%), #ffffff38, transparent 70%); transition: opacity .3s; }
.tt__c:hover .tt__shine { opacity: 1; }
.tt__tilt .tp__tier, .tt__tilt .tp__in { z-index: 1; top: 12px; transform: translateZ(30px); }
.tt__tilt .tp__tier { left: 12px; } .tt__tilt .tp__in { right: 12px; }
.tt__name { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 17px; line-height: 22px; font-weight: 500; }
.tt__name svg { width: 15px; height: 15px; fill: none; stroke: var(--text-tertiary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--spring-ease), stroke .2s; }
.tt__c:hover .tt__name svg { transform: translate(2px, -2px); stroke: var(--text-primary); }
.tt__meta { font-size: 14px; line-height: 19px; color: var(--text-tertiary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tt__meta b { font-weight: 500; color: var(--text-secondary); } .tt__c.is-top .tt__meta b { color: #b69cff; }
@media (max-width: 599px) { .tt__g { grid-template-columns: 1fr; } }

/* ---------- the foot: one bar for every screen, its buttons turning into the next screen's ---------- */
.app > .foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: 46px 16px calc(6px + env(safe-area-inset-bottom)); pointer-events: none; }
.foot__in { position: relative; display: grid; place-items: center; min-height: 72px; }
.foot__pill { grid-area: 1 / 1; width: 60px; height: 72px; border-radius: 999px; background: color-mix(in srgb, #18181c 55%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px #ffffff17, inset 0 1px 0 #ffffff1f, 0 20px 50px -20px #000; opacity: 0; transition: width .75s var(--spring-ease), height .75s var(--spring-ease), opacity .3s; }
.foot__set { grid-area: 1 / 1; z-index: 1; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px) scale(.86); filter: blur(10px); pointer-events: none; transition: opacity .25s ease, transform .55s var(--spring-ease), filter .3s ease; }
.foot__set.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: .14s, .14s, .14s; }
.foot__set:empty { display: none; }
.foot .qs__nav { position: static; padding: 0; gap: 10px; }
.foot .qs__keys { display: none; }
.foot .controls { padding: 0; }
.foot .dock__in { flex-wrap: nowrap; gap: 10px; }
.foot .dock__n { display: none; }
.foot .made { padding: 8px 0 4px; pointer-events: auto; }
.foot[data-set="q"] .made, .foot[data-set="deck"] .made, .foot[data-set="done"] .made { display: none; }
.foot[data-set="q"], .foot[data-set="deck"], .foot[data-set="done"] { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
#foot-start .btn { height: 56px; min-width: 220px; font-size: 18px; }
.start { padding-bottom: 150px; }
.deck-screen { padding-bottom: 118px; }
.qs__main { padding-bottom: 120px; }
.qs.is-look .qs__main { padding-bottom: 92px; }
.done:not(.is-solo) { padding-bottom: 80px; }
.done.is-solo { padding-bottom: 150px; }
@media (max-width: 599px) { .foot .dock__copy { min-width: 0; } #foot-start .btn { min-width: 200px; } }

/* ---------- the prompt: the product itself, a slab of small dense text lit from inside ---------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pw { display: flex; flex-direction: column; gap: 12px; }
.pw__cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pw__cap span:last-child { color: var(--text-tertiary); }
.pw__slab { position: relative; isolation: isolate; border-radius: 22px; padding: 1px; background: conic-gradient(from var(--spin), #ffffff14, #b69cff 12%, #ffffff14 26%, #ffffff14 60%, #8657e7 72%, #ffffff14 86%); animation: pw-spin 6s linear infinite; box-shadow: 0 40px 100px -40px #000, 0 0 120px -40px #8657e7; }
@keyframes pw-spin { to { --spin: 1turn; } }
.pw__glow { position: absolute; inset: -30% -10%; z-index: -1; background: radial-gradient(40% 50% at 30% 40%, #8657e740, transparent 70%), radial-gradient(35% 45% at 75% 70%, #5b2fd640, transparent 70%); filter: blur(30px); pointer-events: none; animation: pw-glow 9s ease-in-out infinite alternate; }
@keyframes pw-glow { to { transform: translate(6%, -4%) scale(1.08); } }
.pw__scroll { position: relative; max-height: min(52vh, 520px); overflow-y: auto; padding: 26px 30px 44px; border-radius: 21px; background: color-mix(in srgb, #0d0d10 78%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); scrollbar-width: none; -webkit-mask: linear-gradient(transparent, #000 22px, #000 calc(100% - 56px), transparent); mask: linear-gradient(transparent, #000 22px, #000 calc(100% - 56px), transparent); }
.pw__scroll::-webkit-scrollbar { display: none; }
.pw__text { font: 400 12.5px/19px ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace; color: #ffffff8c; white-space: pre-wrap; overflow-wrap: anywhere; letter-spacing: -.01em; }
.pw__hex { color: #ffffffd9; white-space: nowrap; }
.pw__hex::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 4px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 1px #ffffff33, 0 0 8px var(--c); vertical-align: -1px; }
.pw__slab.is-writing .pw__text::after { content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; border-radius: 2px; background: #c9b8ff; box-shadow: 0 0 12px 2px #8657e7; }
/* once written, a light runs down over the text */
.pw__slab.is-done .pw__scroll::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; background: linear-gradient(transparent, #b69cff1f 45%, #ffffff12 50%, transparent); pointer-events: none; animation: pw-sweep 1.6s .5s cubic-bezier(.5,0,.3,1) both; }
@keyframes pw-sweep { from { transform: translateY(-140px); opacity: 1; } to { transform: translateY(520px); opacity: 0; } }
@media (max-width: 599px) { .pw__scroll { padding: 20px 18px 40px; max-height: 50vh; } .pw__text { font-size: 11.5px; line-height: 17px; } .pw__cap span:last-child { display: none; } }
@media (prefers-reduced-motion: reduce) { .pw__slab, .pw__glow { animation: none; } }

/* the slider, thinner: a hairline that lights up, a small bright thumb */
.rs__rail, .rs__fill { top: 29px; height: 2px; border-radius: 1px; }
.rs__rail { background: #ffffff1f; box-shadow: none; }
.rs__fill { background: linear-gradient(90deg, #8657e700, #8657e7 30%, #d9ccff); box-shadow: 0 0 calc(8px + var(--p) * 22px) #8657e7, 0 0 3px #d9ccff; }
.rs__thumb { width: 44px; height: 44px; margin: -22px; box-shadow: inset 0 1px 0 #ffffff80, inset 0 -5px 12px #3b1a9a, 0 0 0 calc(4px + var(--p) * 8px) #8657e72b, 0 0 calc(30px + var(--p) * 70px) calc(var(--p) * 10px) #8657e7; }
.rs__ic > span { width: 20px; height: 20px; }
.rs__tick i { width: 4px; height: 4px; margin-top: 9px; }
.rs__tick { gap: 30px; }

/* motion: the room itself is the picture — black and still, then a violet warp */
.app > .rsfx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.app > .rsfx.is-on { opacity: 1; }
.qs.is-warp .qs__in { justify-content: center; }
.qs.is-warp .rs { gap: 34px; }
.qs.is-warp .rs__now { align-items: center; text-align: center; min-height: 0; gap: 8px; }
.qs.is-warp .rs__t { font-size: clamp(56px, 9vw, 128px); line-height: .95; letter-spacing: -.05em; color: #fff; text-shadow: 0 0 calc(var(--p) * 50px) #b69cffcc, 0 0 calc(var(--p) * 120px) #8657e7; }
.qs.is-warp .qs__title, .qs.is-warp .qs__sub { text-align: center; align-self: center; }
.qs.is-warp .rs__d { font-size: 17px; line-height: 24px; }
.qs.is-warp .rs[data-v="2"] .rs__t { animation: warp-shake .18s linear infinite; }
@keyframes warp-shake { 25% { translate: .6px -.4px; } 50% { translate: -.5px .5px; } 75% { translate: .4px .3px; } }
@media (prefers-reduced-motion: reduce) { .qs.is-warp .rs__t { animation: none !important; } }

/* sparks around a pulled card */
.app > .pfx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
/* no keyboard hints, no notes */
.keys, .start__keys, .qs__keys, .ctl--note { display: none !important; }

/* ---------- the studio, full height: the design is the whole screen, the rings lie over its foot ---------- */
.qs.is-look .qs__main { padding: 0 !important; overflow: hidden; }
.qs.is-look .qs__in { position: relative; width: 100% !important; max-width: none; height: 100%; margin: 0; padding: 0; gap: 0; }
.qs.is-look .qs__title, .qs.is-look .qs__sub { display: none; }
.qs.is-look .st { position: absolute; inset: 0 14px 14px; display: block; }
.qs.is-look .st__panel { height: 100%; min-height: 0 !important; padding: 20px 26px clamp(270px, 40%, 340px); border-radius: 24px; }
.qs.is-look .st__panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: min(52%, 420px); background: linear-gradient(transparent, #000000 92%); opacity: .62; pointer-events: none; }
.qs.is-look .st__h { font-size: clamp(48px, 8vw, 128px); }
.qs.is-look .st__panel[data-layout="editorial"] .st__h { font-size: clamp(60px, 12vw, 190px); }
.qs.is-look .st__panel[data-layout="split"] .st__h { font-size: clamp(40px, 5.6vw, 92px); }
.qs.is-look .st__panel[data-layout="cards"] .st__h { font-size: clamp(40px, 6vw, 96px); }
.qs.is-look .st__p { font-size: 16px; line-height: 23px; }
.qs.is-look .arcs { position: absolute; left: 0; right: 0; bottom: 96px; width: auto; margin: 0; z-index: 2; }
.qs.is-look .arc__track { box-shadow: inset 0 0 0 1px #ffffff26; }
.qs.is-look .arc__lb { padding: 1px 7px; border-radius: 6px; background: #000000a6; }
.qs.is-look .st__surprise { top: auto; right: auto; left: 18px; bottom: 112px; z-index: 3; }
.qs.is-look .arcs__needle { background: linear-gradient(#ffffff1f, #ffffff08 70%, transparent); }
@media (max-width: 599px) {
  .qs.is-look .st { inset: 0 8px 8px; }
  .qs.is-look .st__panel { padding: 14px 16px 260px; border-radius: 18px; }
  .qs.is-look .st__h { font-size: 44px; }
  .qs.is-look .st__panel[data-layout="editorial"] .st__h { font-size: 56px; }
  .qs.is-look .arcs { bottom: 88px; }
  .qs.is-look .st__surprise { bottom: auto; top: 12px; left: auto; right: 12px; }
}
.dock__open { gap: 10px; }
.dock__claude { position: relative; width: 20px; height: 20px; flex: none; transition: transform .6s var(--spring-ease); }
.dock__open:hover .dock__claude { transform: rotate(60deg) scale(1.1); }

/* copy: the button fills green, the copy icon turns into a tick */
.dock__copy { position: relative; overflow: hidden; }
.dock__copy::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: linear-gradient(90deg, #16a34a, #22c55e 60%, #4ade80); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.dock__copy.is-copied::after { transform: scaleX(1); }
.dock__copy > :not(.btn__border) { position: relative; z-index: 1; }
.dc__ic { position: relative; display: grid; width: 20px; height: 20px; margin-right: 2px; }
.dc__ic svg { grid-area: 1 / 1; width: 20px; height: 20px; margin: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring-ease), opacity .2s; }
.dc__check { stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; opacity: 0; }
.is-copied .dc__copy { opacity: 0; transform: scale(.3) rotate(-40deg); }
.is-copied .dc__check { opacity: 1; animation: draw .4s .12s ease forwards; }
.dock__copy.is-copied { box-shadow: 0 20px 50px -14px #22c55e, 0 0 0 4px #22c55e33; }
/* the like button sends a ring out */
.pwave { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px #b69cff; pointer-events: none; animation: pwave .7s ease-out forwards; }
@keyframes pwave { from { transform: scale(1); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

.nnfly { position: fixed; z-index: 60; width: 18px; height: 18px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff, #ff7864 40%, #ff786400 70%); }
.nnfly.is-like { background: radial-gradient(circle, #fff, #86efac 40%, #86efac00 70%); }

/* the AI's context: a violet meter at the top that fills as answers fly into it */
.ctx { --c: 0; position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 999px; background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff12; font-size: 12px; line-height: 16px; white-space: nowrap; }
.ctx__t { color: var(--text-secondary); font-weight: 500; letter-spacing: .01em; }
.ctx__m { position: relative; width: clamp(110px, 18vw, 220px); height: 6px; border-radius: 3px; background: #ffffff14; overflow: hidden; }
.ctx__f { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--c)); border-radius: inherit; background: linear-gradient(90deg, #5b2fd6, #8657e7 55%, #c9b8ff); box-shadow: 0 0 12px #8657e7; transition: transform .8s var(--spring-ease); }
.ctx__f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffff99, transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: ctx-sheen 2.2s linear infinite; }
@keyframes ctx-sheen { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.ctx__p { min-width: 3.2ch; text-align: right; font-weight: 600; color: #c9b8ff; font-variant-numeric: tabular-nums; }
.ctx.is-hit { animation: ctx-hit .7s ease-out; }
@keyframes ctx-hit { 0% { box-shadow: inset 0 0 0 1px #ffffff12, 0 0 0 0 #8657e700; } 30% { box-shadow: inset 0 0 0 1px #b69cff, 0 0 30px 2px #8657e7aa; } 100% { box-shadow: inset 0 0 0 1px #ffffff12, 0 0 0 0 #8657e700; } }
.ctx.is-full .ctx__p { color: #fff; }
.ctx.is-full .ctx__f { box-shadow: 0 0 18px #b69cff; }
@media (max-width: 599px) { .ctx { gap: 7px; padding: 5px 9px; } .ctx__t { display: none; } .ctx__m { width: 90px; } .qs__bar .qs__step { display: none; } }
@media (prefers-reduced-motion: reduce) { .ctx__f::after { animation: none; } }

/* the last step: big, quiet fields with no boxes, a line that lights up under the one being written */
.qfs--clean { gap: 26px; }
.qfs--clean .qf { position: relative; gap: 6px; }
.qfs--clean .qf input, .qfs--clean .qf textarea { width: 100%; padding: 6px 0 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 22px; line-height: 30px; font-weight: 400; letter-spacing: -.01em; color: var(--text-primary); resize: none; overflow: hidden; outline: none; }
.qfs--clean .qf--big input { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; font-weight: 500; letter-spacing: -.035em; }
.qfs--clean .qf input::placeholder, .qfs--clean .qf textarea::placeholder { color: #ffffff38; }
.qf__line { position: relative; display: block; height: 1px; background: #ffffff1f; }
.qf__line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #5b2fd6, #b69cff); box-shadow: 0 0 12px #8657e7; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--spring-ease); }
.qfs--clean .qf:focus-within .qf__line::after { transform: scaleX(1); }
.qfs--clean .qf:focus-within .cap { color: #c9b8ff; }
@media (max-width: 599px) { .qfs--clean .qf input, .qfs--clean .qf textarea { font-size: 18px; line-height: 26px; } }

/* template tiles: a tight grid, the words on the picture */
.tt__g { gap: 12px; }
.tt__c { gap: 0; }
.tt__tilt { overflow: hidden; }
.tt__tilt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; border-radius: 0 0 16px 16px; background: linear-gradient(transparent, #000000b8 70%, #000000e0); pointer-events: none; }
.tt__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 16px; transform: translateZ(20px); }
.tt__cap .tt__name { margin: 0; font-size: 20px; line-height: 24px; color: #fff; }
.tt__cap .tt__name svg { stroke: #ffffffaa; }
.tt__m { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #ffffff1f; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.tt__c.is-top .tt__m { background: var(--accent-fill); box-shadow: var(--stripes-glow); }
.tt__cap .tt__meta { font-size: 13px; line-height: 18px; color: #ffffffb3; -webkit-line-clamp: 2; }
@media (max-width: 599px) { .tt__cap { padding: 12px 14px; } .tt__cap .tt__name { font-size: 17px; } }

/* which tool: a row of marks; the picked one lit, its name and mark on the copy button */
.tools { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #ffffff0a; box-shadow: inset 0 0 0 1px #ffffff14; }
.tool { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #ffffff8c; transition: background-color .25s, color .25s, transform .4s var(--spring-ease); }
.tool svg { width: 20px; height: 20px; }
.tool:hover { color: #fff; background: #ffffff12; }
.tool[aria-checked="true"] { background: #f4f4f5; color: #0a0a0b; box-shadow: 0 6px 18px -6px #000; }
.tool[data-tool="claude"][aria-checked="true"] { color: #d97757; }
.dc__t { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dc__tool { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.dc__tool svg { width: 18px; height: 18px; }
.dc__tool svg path, .dc__tool svg circle, .dc__tool svg rect { stroke: currentColor; }
.dc__tool svg [fill="currentColor"], .dc__tool svg path:not([fill]), .dc__tool svg circle:not([fill]) { fill: currentColor; }
.dock__copy { min-width: 0; }
@media (max-width: 599px) { .tool { width: 38px; height: 38px; } .tool svg { width: 18px; height: 18px; } .tools { gap: 2px; padding: 3px; } .dc__t { font-size: 15px; } .foot .dock__in { gap: 6px; } }

/* ---------- the head: like the foot — one glass pill in the middle, the page running under a blur ---------- */
.qs, .deck-screen { position: relative; }
.qs::before, .deck-screen::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 96px; z-index: 3; pointer-events: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent); background: linear-gradient(color-mix(in srgb, #0a0a0b 55%, transparent), transparent); }
.qs__bar, .deck-screen > .bar { position: absolute; top: 12px; left: 50%; translate: -50% 0; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: calc(100% - 24px); height: 52px; padding: 0 8px 0 6px; border-radius: 999px; background: color-mix(in srgb, #18181c 60%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px #ffffff17, inset 0 1px 0 #ffffff1f, 0 20px 50px -20px #000; }
.qs__bar .bar__line, .deck-screen > .bar .bar__line { display: none; }
.qs__bar .ctx, .deck-screen > .bar .ctx { position: static; translate: none; padding: 0; background: none; box-shadow: none; }
.qs__bar .ctx.is-hit, .deck-screen > .bar .ctx.is-hit { animation: none; }
.qs__bar:has(.ctx.is-hit), .deck-screen > .bar:has(.ctx.is-hit) { animation: ctx-hit .7s ease-out; }
.qs__bar .qs__back { margin: 0; width: 40px; height: 40px; }
.qs__bar .qs__step { margin: 0; padding-left: 10px; box-shadow: -1px 0 0 #ffffff1a; }
.qs__bar .restart, .deck-screen > .bar .restart { margin: 0; }
.deck-screen > .bar .who { padding-right: 6px; }
.deck-screen > .bar .bar__right { gap: 10px; }
.deck-screen > .bar .bar__count { padding-left: 10px; box-shadow: -1px 0 0 #ffffff1a; }
.qs__main { padding-top: 76px; }
.qs.is-look .qs__main { padding-top: 0 !important; }
.qs.is-look .st { top: 72px; }
.deck-screen { padding-top: 72px; }
@media (min-width: 900px) { .qs__bar { height: 52px; padding-inline: 6px 8px; } }
@media (max-width: 599px) {
  .qs__bar, .deck-screen > .bar { gap: 6px; height: 46px; top: 8px; }
  .deck-screen > .bar .who__txt { display: none; }
  .qs__bar .restart, .deck-screen > .bar .restart { font-size: 11px; padding: 6px 8px; }
  .qs.is-look .st { top: 62px; }
  .deck-screen { padding-top: 62px; }
}

/* the real marks, in their colour once picked */
.tool[data-tool="codex"][aria-checked="true"] { color: #0a0a0b; }
.tool[data-tool="cursor"][aria-checked="true"] { color: #0a0a0b; }
.dc__tool svg path { stroke: none; }

/* the studio's colours glide from one to the next instead of jumping */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #0a0a0b; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --mu { syntax: "<color>"; inherits: true; initial-value: #a1a1aa; }
@property --ln { syntax: "<color>"; inherits: true; initial-value: #ffffff22; }
@property --ac { syntax: "<color>"; inherits: true; initial-value: #8657e7; }
@property --on { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
.st__panel { transition: --bg .6s ease, --fg .6s ease, --mu .6s ease, --ln .6s ease, --ac .6s ease, --on .6s ease; box-shadow: 0 0 0 1px #ffffff1f, 0 50px 120px -50px #000; }
.arc__sw--c, .arc__sw--c i { transition: background-color .45s ease, box-shadow .45s ease, transform .5s var(--spring-ease); }
.app > .wave { position: absolute; inset: auto; border-radius: 50%; mix-blend-mode: normal; will-change: transform, opacity; }

/* after copying: the way on — open the tool itself */
.dock__open { height: 56px; gap: 8px; padding-inline: 18px 16px; font-size: 16px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dock__open[hidden] { display: none; }
.dc__oic { display: grid; width: 20px; height: 20px; }
.dc__oic svg { width: 20px; height: 20px; }
.dock__open[data-tool="claude"] .dc__oic { color: #d97757; }
.dc__arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .4s var(--spring-ease); }
.dock__open:hover .dc__arr { transform: translate(2px, -2px); opacity: 1; }
.dock__copy.is-copied .dc__t { color: #fff; }
@media (max-width: 599px) { .dock__open { height: 52px; padding-inline: 12px; } .dock__open .dc__ot { display: none; } }

/* the split picture: a soft field of the accent, no ball */
.st__art::after { display: none; }
.st__art::before { opacity: .55; }

/* light or dark: two round buttons beside "surprise me" */
.st__theme { position: absolute; left: 150px; bottom: 112px; z-index: 3; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, #18181c 60%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px #ffffff1f; }
.st__theme button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #ffffffa6; transition: background-color .25s, color .25s; }
.st__theme button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.st__theme button[data-st="dark"] svg { fill: currentColor; stroke: none; }
.st__theme button[aria-pressed="true"] { background: #f4f4f5; color: #0a0a0b; }
.arc__it--light { left: -30px; width: 60px; }
.arc__it--light .arc__sw--c { width: 30px; height: 30px; min-width: 30px; }
.arc__it--light .arc__sw--c i { width: 10px; height: 10px; }
.arc__it--light:not(.is-on) .arc__lb { display: none; }
@media (max-width: 599px) { .st__theme { left: auto; right: 12px; top: 52px; bottom: auto; } }

/* no picture on the split layout: the words alone, to the left */
.st__art { display: none !important; }
.st__panel[data-layout="split"] .st__hero { grid-template-columns: minmax(0, 1fr) !important; justify-items: start; }
.st__panel[data-layout="split"] .st__copy { max-width: 720px; }

/* the tint ring: one gradient band and one knob, not dots */
.arc__band { position: absolute; left: calc(var(--r) * -1 - 9px); top: calc(var(--r) * -1 - 9px); width: calc(var(--r) * 2 + 18px); height: calc(var(--r) * 2 + 18px); border-radius: 50%; pointer-events: none; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 17px)); mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 17px)); box-shadow: none; opacity: .95; }
.arc__it--light .arc__sw, .arc__it--light .arc__lb { opacity: 0 !important; }
.arc__knob { position: absolute; z-index: 3; width: 0; height: 0; pointer-events: none; }
.arc__knob i { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; background: var(--sb); box-shadow: 0 0 0 3px #fff, 0 0 0 7px color-mix(in srgb, var(--ac) 40%, transparent), 0 10px 26px -6px #000; transition: background-color .4s ease; }
.arc__knob i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--sa); }
.arc__knob .arc__lb { position: absolute; left: 0; top: 22px; translate: -50% 0; opacity: 1; transform: none; }

/* light/dark and surprise: side by side in the middle, just above the rings */
.qs.is-look .st__theme, .qs.is-look .st__surprise { left: 50%; right: auto; top: auto; bottom: calc(96px + var(--arcs-h, 300px) + 6px); }
.qs.is-look .st__theme { translate: calc(-100% - 4px) 0; }
.qs.is-look .st__surprise { translate: 4px 0; height: 36px; }
@media (max-width: 599px) { .qs.is-look .st__theme, .qs.is-look .st__surprise { bottom: calc(88px + var(--arcs-h, 260px) + 4px); } }

/* the studio edge to edge: no frame, no corners; the head and the foot float over the design */
.qs.is-look .st { inset: 0 !important; top: 0 !important; }
.qs.is-look .st__panel { border-radius: 0; box-shadow: none; padding-top: 84px; }
.qs.is-look .st__surprise { display: none !important; }
.qs.is-look .st__theme { translate: -50% 0; }
.qs.is-look::before { opacity: .6; }
@media (max-width: 599px) { .qs.is-look .st__panel { padding-top: 70px; } }

/* rings: the lines lie under the middle column, the column and the faces are solid, nothing shows through */
.arcs__track { position: absolute; z-index: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px #ffffff21; pointer-events: none; }
.qs.is-look .arcs__needle { z-index: 1; background: color-mix(in srgb, #121216 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px #ffffff1a; }
.arc { z-index: 2; }
.arc__sw--t, .arc__sw--l { background: #1b1b20; box-shadow: inset 0 0 0 1px #ffffff26; }
.arc__lb { background: #0d0d10 !important; }

/* the result keeps a head: back to the answers, the logo, the full context, start over */
.done__bar { display: none; }
.done.is-solo .done__bar { position: sticky; top: 12px; z-index: 5; align-self: center; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; height: 52px; margin-bottom: 8px; padding: 0 8px 0 6px; border-radius: 999px; background: color-mix(in srgb, #18181c 60%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px #ffffff17, inset 0 1px 0 #ffffff1f, 0 20px 50px -20px #000; }
.done__bar .qs__back { margin: 0; width: 40px; height: 40px; }
.done__bar .ctx { position: static; translate: none; padding: 0 0 0 10px; background: none; box-shadow: -1px 0 0 #ffffff1a; border-radius: 0; }
.done__bar .restart { margin: 0; }
.done__logo { display: inline-flex; align-items: center; gap: 7px; padding-right: 4px; color: var(--text-primary); font-weight: 500; font-size: 14px; }
.done__logo svg { width: 18px; height: 18px; }
.done.is-solo .done__acts { display: none; }
.done.is-solo { padding-top: 12px; }
@media (max-width: 599px) { .done__logo b, .done__bar .ctx__t { display: none; } .done.is-solo .done__bar { gap: 6px; height: 46px; } }

/* the prompt slab, cheap to scroll: a still lit edge, a solid inside, a still glow */
.pw__slab { animation: none; --spin: 200deg; }
.pw__glow { animation: none; filter: none; background: radial-gradient(40% 50% at 30% 40%, #8657e72e, transparent 70%), radial-gradient(35% 45% at 75% 70%, #5b2fd62e, transparent 70%); }
.pw__scroll { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0f0f13; contain: paint; }

/* the studio: no mock nav, nothing cut at the edges */
.qs.is-look .st__nav { display: none; }
.qs.is-look .st__panel { padding-inline: clamp(24px, 5vw, 72px); }
.qs.is-look .st__h { overflow-wrap: normal; word-break: normal; max-width: 100%; }
.qs.is-look .st__panel[data-layout="editorial"] .st__h { font-size: clamp(48px, 8.4vw, 150px); }
.qs.is-look .st__panel[data-layout="center"] .st__h { font-size: clamp(44px, 7vw, 116px); }
/* smooth rings: the band and one knob, the dots hidden */
.arc--cont .arc__sw, .arc--cont .arc__lb { opacity: 0 !important; }
.arc--cont .arc__it { left: -24px; width: 48px; }
.arc__knob.is-mono i { background: linear-gradient(135deg, #f4f4f0 50%, #121212 50%); }
.st__sep { width: 1px; height: 18px; margin: 0 3px; align-self: center; background: #ffffff26; }
.st__theme button[data-st="mono"] svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.st__theme button[data-st="mono"] svg .fill { fill: currentColor; stroke: none; }

/* ======================= the studio, as a direct editor ======================= */
@property --ac2 { syntax: "<color>"; inherits: true; initial-value: #b69cff; }
.qs.is-look .st__panel { padding-bottom: clamp(190px, 26%, 230px); cursor: pointer; transition: --bg .6s ease, --fg .6s ease, --mu .6s ease, --ln .6s ease, --ac .6s ease, --ac2 .6s ease, --on .6s ease; }
.qs.is-look .st__h, .qs.is-look .st__panel[data-layout] .st__h { font-size: calc(clamp(40px, 6.6vw, 112px) * var(--hs, 1)); line-height: .98; }
.qs.is-look .st__panel[data-layout="editorial"] .st__h { font-size: calc(clamp(48px, 8vw, 140px) * var(--hs, 1)); }
.qs.is-look .st__panel[data-layout="cards"] .st__h { font-size: calc(clamp(36px, 5.4vw, 92px) * var(--hs, 1)); }
.st__panel[data-hc="accent"] .st__h { color: var(--ac); }
.st__panel[data-hc="grad"] .st__h { background: linear-gradient(100deg, var(--ac), var(--ac2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st__panel[data-case="upper"] .st__h { text-transform: uppercase; letter-spacing: -.01em; }
.st__panel[data-ptone="strong"] .st__p { color: var(--fg); }
.st__panel[data-bshape="round"] .st__btns b, .st__panel[data-bshape="round"] .st__btns s { border-radius: 12px; }
.st__panel[data-bshape="sharp"] .st__btns b, .st__panel[data-bshape="sharp"] .st__btns s { border-radius: 0; }
.st__panel[data-bfill="line"] .st__btns b { background: transparent; color: var(--ac); box-shadow: inset 0 0 0 1.5px var(--ac); }
.st__btns b, .st__btns s { transition: border-radius .4s var(--spring-ease), background-color .3s, color .3s, box-shadow .3s; }
/* every part says it can be touched */
.st__panel [data-edit] { position: relative; cursor: pointer; border-radius: 10px; outline: 1px dashed transparent; outline-offset: 10px; transition: outline-color .2s, outline-offset .3s var(--spring-ease); }
@media (hover: hover) { .st__panel [data-edit]:hover { outline-color: color-mix(in srgb, var(--fg) 45%, transparent); outline-offset: 12px; } }
.st__panel [data-edit].is-editing { outline: 2px solid var(--ac); outline-offset: 12px; }
.st__hint { position: absolute; left: 50%; top: 84px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, #0a0a0b 55%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px #ffffff22; color: #fff; font: 500 13px/16px var(--font-sans); pointer-events: none; animation: hint-in .8s .6s var(--spring-ease) both; }
.st__hint i { width: 8px; height: 8px; border-radius: 50%; background: #b69cff; box-shadow: 0 0 0 0 #b69cff; animation: hint-ping 1.6s ease-out infinite; }
@keyframes hint-in { from { opacity: 0; translate: -50% 10px; } }
@keyframes hint-ping { 0% { box-shadow: 0 0 0 0 #b69cffaa; } 100% { box-shadow: 0 0 0 10px #b69cff00; } }
/* the editor beside the thing tapped */
.ed { position: absolute; z-index: 8; display: flex; flex-direction: column; gap: 12px; width: min(340px, calc(100% - 24px)); padding: 12px 14px 14px; border-radius: 20px; background: color-mix(in srgb, #141418 82%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 0 0 1px #ffffff1c, inset 0 1px 0 #ffffff24, 0 30px 70px -20px #000; color: var(--text-primary); cursor: default; }
.ed[hidden] { display: none; }
.ed__head { display: flex; align-items: center; justify-content: space-between; }
.ed__head b { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--text-secondary); }
.ed__x { width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--text-secondary); }
.ed__x:hover { background: #ffffff14; color: #fff; }
.ed__row { display: flex; gap: 6px; }
.ed__f { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--text-tertiary); }
.ed__seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff12; }
.ed__seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding-inline: 10px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; transition: background-color .2s, color .2s; }
.ed__seg button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ed__seg button:hover { color: #fff; }
.ed__seg button[aria-pressed="true"] { background: #f4f4f5; color: #0a0a0b; }
.ed__fonts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ed__fonts button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 6px; border-radius: 12px; background: #ffffff0a; box-shadow: inset 0 0 0 1px #ffffff12; transition: background-color .2s, box-shadow .2s, transform .4s var(--spring-ease); }
.ed__fonts button b { font-size: 24px; line-height: 28px; font-weight: 500; color: #fff; }
.ed__fonts button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: var(--text-tertiary); }
.ed__fonts button:hover { transform: translateY(-2px); background: #ffffff14; }
.ed__fonts button[aria-pressed="true"] { background: #f4f4f5; box-shadow: none; }
.ed__fonts button[aria-pressed="true"] b { color: #0a0a0b; } .ed__fonts button[aria-pressed="true"] span { color: #52525b; }
/* sliders: a track that shows what it does, a white knob; a click anywhere on it lands there */
.ed__rng { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; --track: linear-gradient(90deg, #ffffff22, #ffffffcc); }
.ed__rng--hue { --track: linear-gradient(90deg, hsl(0 85% 58%), hsl(45 90% 58%), hsl(90 75% 50%), hsl(150 70% 48%), hsl(195 80% 52%), hsl(235 80% 62%), hsl(280 75% 60%), hsl(325 80% 60%), hsl(360 85% 58%)); }
.ed__rng::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: var(--track); box-shadow: inset 0 0 0 1px #ffffff1f; }
.ed__rng::-moz-range-track { height: 10px; border-radius: 5px; background: var(--track); }
.ed__rng::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #0003, 0 4px 12px #0008; transition: transform .2s var(--spring-ease); }
.ed__rng:active::-webkit-slider-thumb { transform: scale(1.18); }
.ed__rng::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px #0008; }
/* the strip of finished looks and the layouts, over the foot of the page */
.lk { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 6; display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 0 16px; pointer-events: none; }
.lk > * { pointer-events: auto; }
.lk__looks { display: flex; gap: 8px; max-width: calc(100% - 200px); overflow-x: auto; padding: 8px; border-radius: 22px; background: color-mix(in srgb, #121216 70%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px #ffffff17; scrollbar-width: none; }
.lk__looks::-webkit-scrollbar { display: none; }
.lk__look { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 78px; font-size: 11px; font-weight: 500; color: var(--text-secondary); }
.lk__sw { position: relative; display: grid; place-items: center; width: 78px; height: 52px; border-radius: 12px; background: var(--lb); box-shadow: inset 0 0 0 1px #ffffff1f; transition: transform .4s var(--spring-ease), box-shadow .25s; }
.lk__sw b { font-family: var(--lf); font-size: 22px; font-weight: 500; color: color-mix(in srgb, var(--lb) 10%, #888); }
.lk__sw b { color: var(--la); }
.lk__sw b[data-hc="ink"] { color: var(--lt); }
.lk__sw b[data-hc="grad"] { background: linear-gradient(100deg, var(--la), var(--la2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lk__sw i { position: absolute; right: 7px; bottom: 7px; width: 14px; height: 6px; border-radius: 3px; background: var(--la); }
.lk__look:hover .lk__sw { transform: translateY(-3px); }
.lk__look[aria-pressed="true"] .lk__sw { box-shadow: 0 0 0 2px #fff, 0 10px 24px -8px #000; }
.lk__look[aria-pressed="true"] { color: #fff; }
.lk__lays { display: flex; gap: 2px; padding: 4px; border-radius: 18px; background: color-mix(in srgb, #121216 70%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px #ffffff17; }
.lk__lay { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #ffffffa6; transition: background-color .2s, color .2s; }
.lk__lay svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lk__lay:hover { color: #fff; background: #ffffff12; }
.lk__lay[aria-pressed="true"] { background: #f4f4f5; color: #0a0a0b; }
@media (max-width: 760px) {
  .lk { flex-direction: column; align-items: center; gap: 8px; bottom: 86px; }
  .lk__looks { max-width: 100%; }
  .qs.is-look .st__panel { padding-bottom: 260px; }
  .st__hint { top: 66px; font-size: 12px; white-space: nowrap; }
}
/* the editor docked at the foot, over the looks, wide and low */
.ed { left: 50% !important; top: auto !important; bottom: 92px; translate: -50% 0; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; width: min(720px, calc(100% - 24px)); }
.ed__head { flex: 1 0 100%; }
.ed__fonts { flex: 1 0 100%; grid-template-columns: repeat(7, 1fr); }
.ed__f, .ed__row { flex: 1 1 180px; }
.lk { transition: opacity .25s, transform .4s var(--spring-ease); }
.st.is-edit .lk { opacity: 0; transform: translateY(20px); pointer-events: none; }
.st.is-edit .lk > * { pointer-events: none; }
@media (max-width: 760px) { .ed { bottom: 86px; } .ed__fonts { grid-template-columns: repeat(4, 1fr); } }

/* back to the rings, all in view; the editor-only pieces gone */
.qs.is-look .st__panel { padding-bottom: clamp(300px, 44%, 380px); cursor: default; }
.ed, .lk, .st__hint { display: none !important; }
.st__panel [data-edit] { outline: none !important; cursor: default; }
/* the headline ring's faces: plain, accent, gradient */
.arc__sw--hc em { font-style: normal; }
.arc__sw--hc[data-hc="accent"] em { color: var(--ac); }
.arc__sw--hc[data-hc="grad"] em { background: linear-gradient(100deg, var(--ac), var(--ac2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* answers with a description: the icon to the left, the name above its description */
.opts--rich .opt--ic { display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: start; }
.opts--rich .opt--ic .opt__ic { grid-row: 1 / span 2; margin-top: 1px; }
.opts--rich .opt--ic .opt__t { grid-column: 2; }
.opts--rich .opt--ic .opt__d { grid-column: 2; }

/* the accent ring: each face a little button in the colour it would be, on the page as it is */
.arc__sw--btn { width: 56px; background: var(--sb); box-shadow: inset 0 0 0 1px #ffffff2e; }
.arc__sw--btn i { width: 30px; height: 12px; border-radius: 6px; background: var(--sa); box-shadow: 0 2px 8px -2px #0008; }
.arc__it--acc { left: -34px; width: 68px; }
.arc__it.is-on .arc__sw--btn { background: var(--sb); }
/* six rings: the design makes room above them, the headline never outgrows the space */
.qs.is-look .st__panel { padding-bottom: calc(var(--arcs-h, 360px) + 104px); }
.qs.is-look .st__h, .qs.is-look .st__panel[data-layout] .st__h { font-size: min(calc(clamp(40px, 6.6vw, 112px) * var(--hs, 1)), 10vh); }
.qs.is-look .st__hero { padding-block: 8px 12px; }
.qs.is-look .st__theme { bottom: calc(96px + var(--arcs-h, 360px) + 4px); }

/* the four compositions only move what is there: headline, line, buttons — no extra blocks */
.st__cards { display: none !important; }
.st__panel[data-layout="split"] .st__hero { grid-template-columns: minmax(0, 1fr) !important; }
.st__panel[data-layout="split"] .st__copy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "h p" "h b"; align-items: end; column-gap: clamp(24px, 5vw, 80px); row-gap: 16px; max-width: none; width: 100%; text-align: left; }
.st__panel[data-layout="split"] .st__h { grid-area: h; max-width: none; align-self: center; }
.st__panel[data-layout="split"] .st__p { grid-area: p; align-self: end; }
.st__panel[data-layout="split"] .st__btns { grid-area: b; align-self: start; }
.st__panel[data-layout="left"] .st__hero { justify-items: start; }
.st__panel[data-layout="left"] .st__copy { align-items: flex-start; text-align: left; max-width: 760px; }
.st__panel[data-layout="left"] .st__h { max-width: 12ch; }
@media (max-width: 599px) { .st__panel[data-layout="split"] .st__copy { grid-template-columns: 1fr; grid-template-areas: "h" "p" "b"; } }

/* the result's head: a solid pill over a band of blur and shade, so the page goes under it cleanly */
.done.is-solo .done__bar { background: color-mix(in srgb, #141418 90%, transparent); isolation: isolate; }
.done.is-solo .done__bar::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -12px; width: 100vw; height: 92px; translate: -50% 0; pointer-events: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: linear-gradient(#0b0b0ef2 35%, #0b0b0e00); -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }

/* the prompt as code: numbered lines, coloured parts, a file tab with its own signature */
.pw__tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding-inline: 16px 14px; border-radius: 21px 21px 0 0; background: #15151b; box-shadow: inset 0 -1px 0 #ffffff12; font: 500 12.5px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.pw__file { display: inline-flex; align-items: center; gap: 8px; color: #e4e4e7; }
.pw__file svg, .pw__sig svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.pw__sig { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; color: #c9b8ff; background: #8657e71f; box-shadow: inset 0 0 0 1px #8657e766, 0 0 18px -6px #8657e7; letter-spacing: .02em; }
.pw__scroll { border-radius: 0 0 21px 21px; }
.pw__code { counter-reset: ln; white-space: normal; font-size: 12.5px; line-height: 20px; color: #a1a1aa; }
.pw__code .c-l { display: block; position: relative; padding-left: 46px; white-space: pre-wrap; min-height: 20px; }
.pw__code .c-l::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 30px; text-align: right; color: #ffffff2e; font-variant-numeric: tabular-nums; user-select: none; }
.pw__code .c-l:hover { background: #ffffff06; }
.c-h { color: #e9e2ff; font-weight: 600; text-shadow: 0 0 18px #8657e7aa; }
.c-dim { color: #8657e7; }
.c-b { color: #b69cff; }
.c-str { color: #86efac; }
.c-url { color: #7dd3fc; text-decoration: underline; text-decoration-color: #7dd3fc55; text-underline-offset: 2px; }
.c-cmd { color: #fdba74; }
.c-fn { color: #67e8f9; }
.c-num { color: #fcd34d; }
.pw__slab { box-shadow: 0 40px 100px -40px #000, 0 0 140px -30px #8657e7cc, 0 0 0 1px #8657e740; }
@media (max-width: 599px) { .pw__sig { display: none; } .pw__code .c-l { padding-left: 32px; } .pw__code .c-l::before { width: 22px; } .pw__code { font-size: 11.5px; line-height: 18px; } }

/* what this screen is, said plainly at the top */
.st__what { position: absolute; left: 50%; top: 78px; z-index: 2; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, #0a0a0b 62%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px #ffffff22; color: #fff; font: 500 13px/16px var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.st__what i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #b69cff; box-shadow: 0 0 10px #8657e7; }
.qs.is-look .st__panel { padding-top: 118px; }
/* each ring named beside the middle column */
.arcs__name { position: absolute; z-index: 3; translate: 0 -50%; padding: 2px 8px; border-radius: 6px; background: #0d0d10cc; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #ffffffb3; pointer-events: none; white-space: nowrap; }
/* a hue that would clash with the coloured page: shown, but off */
.arc__it.is-off { opacity: .14 !important; filter: grayscale(1); pointer-events: none; }
@media (max-width: 599px) { .st__what { top: 62px; font-size: 11.5px; } .qs.is-look .st__panel { padding-top: 100px; } .arcs__name { font-size: 9px; padding: 1px 5px; } }

/* the picked value sits beside the ring's name, not under the face — nothing overlaps */
.arcs .arc__lb, .arc__knob .arc__lb { display: none !important; }
.arcs__name { display: inline-flex; align-items: baseline; gap: 6px; }
.arcs__name em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 11.5px; color: #fff; }
.arc__it.is-on .arc__sw { transform: scale(1.06); }
@media (max-width: 599px) { .arcs__name em { display: none; } }

/* the row above the rings: Light / Tint / Dark, and the headline's colour */
.st__theme button { width: auto; min-width: 30px; height: 32px; padding: 0 12px 0 9px; gap: 6px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.st__theme button svg { width: 15px; height: 15px; }
.st__theme button[data-st="tint"] svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.st__theme button[data-st="tint"] svg .fill { fill: currentColor; stroke: none; }
.st__theme button[data-st="dark"] svg { fill: currentColor; stroke: none; }
.st__hc b { font-size: 15px; font-weight: 600; }
.st__hc[data-hc="accent"] b { color: var(--ac, #b69cff); }
.st__hc[data-hc="grad"] b { background: linear-gradient(100deg, #b69cff, #ff7ad9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st__hc span { color: #ffffffb3; }
@media (max-width: 599px) { .st__theme button { padding: 0 9px; font-size: 11.5px; } .st__hc span { display: none; } }
/* the result: nothing hides under the head */
.done.is-solo .done__mark { display: none; }
.done.is-solo .done__bar { margin-bottom: 28px; }
.done.is-solo .done__bar::before { height: 80px; }
