@font-face{font-family:Fraunces;src:url('./fonts/fraunces.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Fraunces;src:url('./fonts/fraunces-italic.woff2') format('woff2');font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:'DM Sans';src:url('./fonts/dm-sans.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--paper:#f6f5f0;--ink:#30372e;--muted:#62685c;--accent:#53634a;--line:#dedfd5;--serif:Fraunces,Georgia,serif;--sans:'DM Sans',sans-serif;--atlas:url('./assets/surfaces.jpg')}
*{box-sizing:border-box}html{height:100%;scrollbar-color:#a9b19d var(--paper)}body{margin:0;background:var(--paper);color:var(--ink);font:14px var(--sans);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}button,input,summary{font:inherit}button{color:inherit;cursor:pointer;border:0}button,a,input,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled,input:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,.surface:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{background:#d4ddc5;color:#26331f}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

html,body{width:100%;height:100%;overflow:hidden}.instrument{position:fixed;inset:0}.brand-dot{color:#849274}.icon-button{width:44px;height:44px;display:grid;place-items:center;background:transparent;border-radius:10px;flex:none}.icon-button:hover,.icon-button:active{background:#e6eadf}
.surface{position:fixed;inset:0;isolation:isolate;overflow:hidden;border-radius:0;background-color:#b1b79e;background-image:var(--atlas);background-size:200% 200%;background-position:0 0;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair;contain:layout paint}.surface[data-material=sand]{background-position:100% 0;background-color:#e1c5a0}.surface[data-material=wood]{background-position:0 100%;background-color:#b5844d}.surface[data-material=water]{background-position:100% 100%;background-color:#73918c}#field{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.surface:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#17211b60 0,transparent 26%,transparent 68%,#17211b85 100%);z-index:-1}.surface-top,.surface-bottom{z-index:2;position:absolute;left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));display:flex;align-items:center;gap:10px;color:#fffdf7;pointer-events:none;font-size:12px}.surface-top{top:max(16px,env(safe-area-inset-top));justify-content:space-between}.surface-actions{display:flex;align-items:center;gap:8px;pointer-events:auto}.sand-reset{width:44px;justify-content:center;padding:0}.sand-reset[hidden]{display:none}.surface-top>span{background:#243022e6;padding:9px 12px;border-radius:20px}.menu-toggle{min-height:44px;padding:0 16px;display:flex;align-items:center;gap:9px;color:#fffdf7;background:#243022f2;border-radius:24px;pointer-events:auto;font-size:13px}.menu-toggle:hover{background:#35472f}.menu-toggle:active{transform:scale(.97)}.menu-toggle:focus-visible{outline-color:#fffdf7}.surface-bottom{bottom:max(24px,env(safe-area-inset-bottom));width:fit-content;padding:9px 12px;background:#243022e6;border-radius:20px}.surface:focus-visible{outline:2px solid #fffdf7;outline-offset:-4px}.level-meter{display:flex;align-items:center;gap:2px;height:16px;flex:none}.level-meter i{display:block;width:2px;height:3px;border-radius:1px;background:#fffdf7}
.materials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.material{background:transparent;padding:0;text-align:center;font-size:12px;font-weight:500;min-height:81px;border-radius:10px}.swatch{display:block;height:51px;position:relative;background-image:var(--atlas);background-size:200% 200%;border-radius:10px;margin:3px 3px 8px;transition:transform .18s ease-out}.swatch-brush{background-position:0 0}.swatch-sand{background-position:100% 0}.swatch-wood{background-position:0 100%}.swatch-water{background-position:100% 100%}.material.selected .swatch{outline:2px solid var(--accent);outline-offset:3px}.material:active .swatch{transform:scale(.95)}.selection-mark{display:none;position:absolute;right:5px;bottom:5px;width:15px;height:15px;border-radius:50%;background:var(--paper)}.selection-mark:after{content:'';position:absolute;left:4px;top:4px;width:7px;height:4px;border-left:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:rotate(-45deg)}.material.selected .selection-mark{display:block}input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:44px;margin:0;background:transparent;cursor:pointer;--value:45%;accent-color:var(--accent)}input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,var(--accent) var(--value),#d9ddcf var(--value))}input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:#d9ddcf}input[type=range]::-moz-range-progress{height:4px;background:var(--accent)}input[type=range]::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;margin-top:-7px;background:var(--accent);border:3px solid var(--paper)}input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--accent);border:3px solid var(--paper)}

.message:empty{display:none}.message{position:fixed;z-index:5;bottom:max(80px,calc(env(safe-area-inset-bottom) + 80px));left:20px;right:20px;max-width:460px;margin:0 auto;background:#303b2c;color:#fffdf7;border-radius:12px;padding:13px 17px;font-size:13px;line-height:1.6;box-shadow:0 6px 22px #1d2b1b1c;pointer-events:none}
.settings{touch-action:pan-y pinch-zoom;width:100%;max-width:420px;height:100%;height:100dvh;max-height:100%;margin:0 0 0 auto;padding:0;border:0;background:var(--paper);color:var(--ink);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.settings::backdrop{background:#17231865}.settings[open]{animation:menu-in .28s cubic-bezier(.16,1,.3,1)}@keyframes menu-in{from{transform:translateX(32px);opacity:.75}to{transform:translateX(0);opacity:1}}.menu-content{padding:8px max(24px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.material-section h3,.menu-audio h3{font-size:14px;font-weight:550;margin:0}.material-section p{font-size:12px;line-height:1.6;color:var(--muted);margin:7px 0 17px;min-height:38px}.material-section{padding-bottom:26px;border-bottom:1px solid var(--line)}.materials{gap:12px}.swatch{height:58px}.menu-audio{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:22px 0}.audio-toggle{display:flex;align-items:center;gap:7px;background:#e9ecdf;font-size:12px;padding:0 12px;min-height:44px;border-radius:24px}.audio-toggle:hover{background:#dfe6d4}.audio-toggle[aria-pressed=true]{background:#e5ecde}.audio-toggle .icon{width:17px;height:17px}.status-dot{width:5px;height:5px;border-radius:50%;background:#7d846f}.audio-toggle[aria-pressed=true] .status-dot{background:#4c6c38}
.sheet-heading{position:sticky;top:0;z-index:2;padding: max(12px,env(safe-area-inset-top)) 22px 12px;background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:16px}.sheet-heading h2{font:500 30px/1.2 var(--serif);letter-spacing:-.025em;margin:0}.mix-controls{margin-bottom:23px}.range-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.range-heading output{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.range-extents{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:-4px;margin-bottom:23px}.range-extents:last-child{margin-bottom:0}.haptics-section{border-top:1px solid var(--line);padding-top:12px}.haptics-control{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;position:relative;font-size:13px;cursor:pointer}.haptics-control small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px;max-width:280px}.haptics-control input{position:absolute;right:-5px;width:54px;height:50px;opacity:0;margin:0;cursor:pointer;z-index:1}.haptics-switch{width:36px;height:22px;border-radius:12px;background:#c5ccbb;flex:none;pointer-events:none}.haptics-switch:after{content:'';display:block;margin:3px;width:16px;height:16px;border-radius:50%;background:var(--paper);transition:transform .18s ease-out}.haptics-control input:checked+.haptics-switch{background:var(--accent)}.haptics-control input:checked+.haptics-switch:after{transform:translateX(14px)}.haptics-control input:focus-visible+.haptics-switch{outline:2px solid var(--accent);outline-offset:5px}.haptics-control:has(input:disabled){cursor:default}.haptics-control input:disabled+.haptics-switch{opacity:.5}.test-button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #bdc7b0;border-radius:10px;background:transparent;padding:0 16px;font-size:12px;width:100%;margin-top:12px}.test-button:active{background:#e6eadf}.test-button .icon{width:16px;height:16px}.haptics-result{font-size:12px;line-height:1.6;color:var(--muted);margin:9px 0 13px}.haptics-result:empty{display:none}.how-to{border-top:1px solid var(--line);margin-top:23px;padding-top:4px}.how-to summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:52px;font-size:13px;cursor:pointer}.how-to summary::-webkit-details-marker{display:none}.how-to summary span{font-size:22px;font-weight:300}.how-to[open] summary span{transform:rotate(45deg)}.how-to p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 15px}.how-to strong{font-weight:550;color:var(--ink)}.privacy-note{font-size:12px;color:var(--muted);text-align:center;margin:18px 0 0}

@media(min-width:760px){.surface-top{top:max(24px,env(safe-area-inset-top));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right))}.surface-bottom{left:28px;bottom:max(28px,env(safe-area-inset-bottom))}}
.test-button[hidden]{display:none}.native-haptics-test{justify-content:space-between;min-height:56px;cursor:pointer}.native-haptics-test input{appearance:auto;-webkit-appearance:auto;accent-color:var(--accent);margin:0;flex:none;cursor:pointer}
@media(max-height:450px){.sheet-heading{padding-top:8px;padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

#pigment-field{position:absolute;inset:0;width:100%;height:100%;z-index:-1;display:none;pointer-events:none}.surface[data-material=pigment]{background:#0d171b}.surface[data-material=pigment] #field{display:none}.surface[data-material=pigment] #pigment-field{display:block}.swatch-pigment{background-image:radial-gradient(ellipse at 28% 65%,#bf5340 0,transparent 49%),radial-gradient(ellipse at 70% 38%,#4f6db1 0,transparent 52%),radial-gradient(ellipse at 63% 78%,#21919b 0,transparent 55%);background-size:100% 100%;background-color:#0d171b}

.welcome{inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));border:0;color:#fffdf7;background:transparent;overflow-y:auto;text-align:center;touch-action:pan-y pinch-zoom}
.welcome::backdrop{background:#152b25bf}.welcome[open]{display:flex;align-items:center;justify-content:center}.welcome-content{width:100%;max-width:420px;margin:auto;animation:welcome-in .6s cubic-bezier(.16,1,.3,1)}
.welcome h1{font:380 clamp(42px,8vw,64px)/1.08 var(--serif);letter-spacing:-.025em;margin:0 0 22px;text-wrap:balance}.welcome-content>p:not(.welcome-error){font-size:15px;line-height:1.7;margin:0 0 34px;color:#f1f4e9}.welcome-start{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;width:100%;max-width:300px;margin:0 auto;border-radius:28px;background:var(--paper);color:var(--ink);font-size:14px;font-weight:550;padding:14px 22px}.welcome-start:hover{background:#e4eadb}.welcome-start:active{transform:scale(.98)}.welcome-start:disabled{opacity:.8}.welcome button:focus-visible{outline-color:#fffdf7}.welcome-start:focus-visible{outline-offset:6px}.welcome-silent{display:block;min-height:48px;margin:10px auto 0;padding:12px 18px;background:transparent;border-radius:24px;color:#f1f4e9;font-size:12px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b5c1ad}.welcome-silent:hover{background:#ffffff14}.welcome-error{color:#fffdf7;font-size:13px;line-height:1.6;margin:16px 0 0}.welcome-error:empty{display:none}.contact-note{margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.contact-note h3{font-size:13px;font-weight:550;margin:0 0 6px}.contact-note p{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 20px}
@keyframes welcome-in{from{opacity:.6;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-height:450px){.welcome h1{font-size:36px;margin-bottom:12px}.welcome-content>p:not(.welcome-error){font-size:13px;margin-bottom:18px}.welcome-silent{margin-top:4px}}

/* Words inhabit the pigment pool; the instrument remains the main surface. */
.surface-top>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.surface-actions{flex-shrink:0}
.journey-start{position:absolute;z-index:3;bottom:max(88px,calc(env(safe-area-inset-bottom) + 76px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:24px;min-height:68px;max-width:calc(100% - 40px);padding:14px 22px;border-radius:16px;background:var(--paper);color:var(--ink);text-align:left;box-shadow:0 8px 28px #07130d30}
.journey-start>span{font:450 22px/1.15 var(--serif);letter-spacing:-.025em}.journey-start small{display:block;margin-top:6px;font:400 12px/1.4 var(--sans);letter-spacing:0;color:var(--muted);white-space:nowrap}.journey-start:hover{background:#fffdf7}.journey-start:active{transform:translateX(-50%) scale(.98)}
.journey-menu-section{padding:18px 0;border-bottom:1px solid var(--line)}.menu-journey-start{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:54px;padding:0;background:transparent;text-align:left;font-size:14px;font-weight:550}.menu-journey-start small{display:block;margin-top:6px;color:var(--muted);font-size:12px;font-weight:400}
.journey{position:absolute;inset:0;z-index:1;color:#fffdf7;pointer-events:none;--word-ground:#102026;--word-soft:#e3ebe4}.journey:before{content:'';position:absolute;inset:0;background:#081619a8;pointer-events:none}.surface.word-play .surface-bottom{display:none}
.journey-toolbar{position:absolute;top:max(80px,calc(env(safe-area-inset-top) + 64px));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:center;gap:12px}.journey-tools{display:flex;align-items:center;gap:8px}
.journey-collection,.journey-exit,.journey-elsewhere{min-height:44px;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--word-ground);color:#fffdf7;border-radius:24px;pointer-events:auto;font-size:12px}.journey-collection,.journey-elsewhere{padding:0 16px}.journey-collection span{font-variant-numeric:tabular-nums;min-width:16px}.journey-exit{width:44px}.journey button:focus-visible,.journey-start:focus-visible{outline-color:#fffdf7}.journey-toolbar button:hover{background:#284044}
.journey-stage{position:absolute;inset:145px 20px 115px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:38px}
.journey-invitation{width:100%;max-width:460px;pointer-events:auto}.journey-invitation h2,.journey-exhausted h2{font:380 clamp(34px,6vw,54px)/1.12 var(--serif);letter-spacing:-.025em;margin:0 0 24px;text-wrap:balance}.journey-invitation p{font-size:14px;line-height:1.7;margin:0 0 16px;color:var(--word-soft)}.journey-intro-gestures{display:flex;justify-content:center;gap:58px;margin:28px 0 8px;font-size:14px}.journey-invitation .journey-intro-note{font-size:12px;margin-bottom:25px;line-height:1.6}.journey-primary,.journey-secondary{min-height:48px;padding:12px 22px;border-radius:25px;font-size:13px;pointer-events:auto}.journey-primary{background:var(--paper);color:var(--ink)}.journey-primary:hover{background:#e5ecde}.journey-secondary{background:transparent;color:inherit;text-decoration:underline;text-underline-offset:4px}.journey-secondary:hover{background:#e5e9df}.journey-exhausted p{font-size:14px;color:var(--word-soft);margin:0 0 24px}
.journey-word-host{width:100%;max-width:780px}.journey-word{max-width:100%;min-height:92px;padding:12px 8px;background:transparent;color:#fffdf7;font:380 clamp(32px,9vw,76px)/1.15 var(--serif);letter-spacing:-.025em;overflow-wrap:normal;touch-action:none;pointer-events:auto;cursor:grab;transform:translate(var(--word-x,0px),var(--word-y,0px));opacity:var(--word-opacity,1);text-shadow:0 3px 22px #07151bcc;user-select:none;-webkit-user-select:none}.journey-word:active{cursor:grabbing}.journey-word[data-direction=accept]{color:#cfedc1}.journey-word[data-direction=reject]{color:#f4c2b6}
.journey-connection{display:flex;flex-direction:column;align-items:center;margin:0 auto 8px;min-height:110px}.journey-anchor{font:380 clamp(24px,4vw,32px)/1.2 var(--serif);color:var(--word-soft)}.journey-relation{position:relative;display:flex;align-items:center;gap:10px;margin-top:14px;padding-top:29px;font-size:12px;color:var(--word-soft)}.journey-relation:before{content:'';position:absolute;top:0;left:50%;height:20px;width:1px;background:#d6e0d3a6}.journey-relation:after{content:'';position:absolute;left:50%;bottom:-15px;width:3px;height:3px;background:#e3ebe4;border-radius:50%}
.journey-choices{display:flex;justify-content:center;gap:56px;width:100%;max-width:390px}.journey-choices button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;min-width:108px;padding:12px 18px;border-radius:28px;font-size:13px;pointer-events:auto}.journey-choices button:first-child{background:var(--word-ground);color:#fffdf7}.journey-choices button:last-child{background:var(--paper);color:var(--ink)}.journey-choices button:first-child:hover{background:#284044}.journey-choices button:last-child:hover{background:#e5ecde}.arrow-left{transform:rotate(180deg)}
.journey-footer{position:absolute;bottom:max(32px,env(safe-area-inset-bottom));left:20px;right:20px;max-width:700px;margin:auto}.journey-kept{display:flex;align-items:center;justify-content:safe center;overflow-x:auto;gap:0;padding:8px 4px;pointer-events:auto;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#a5b8ac transparent}.journey-kept:empty{display:none}.journey-kept button{position:relative;flex:none;min-height:44px;padding:10px 16px;font:400 19px/1.3 var(--serif);color:var(--word-soft);background:transparent;white-space:nowrap}.journey-kept button+button{margin-left:12px}.journey-kept button+button:before{position:absolute;content:'';left:-12px;top:50%;width:12px;height:1px;background:#b8ccbd80}.journey-kept button[aria-pressed=true]{color:#fffdf7;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}.journey-kept button:hover{color:#fffdf7;background:#10202699;border-radius:10px}
.word-collection{inset:auto 0 0;width:100%;max-width:680px;max-height:90vh;max-height:90dvh;margin:auto auto 0;padding:0;border:0;border-radius:20px 20px 0 0;background:var(--paper);color:var(--ink);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;scrollbar-width:thin;scrollbar-color:#a9b19d var(--paper)}.word-collection::backdrop{background:#09181ba6}.collection-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px 12px;background:var(--paper)}.collection-heading h2{font:440 30px/1.2 var(--serif);letter-spacing:-.025em;margin:0}.collection-content{padding:0 24px max(26px,env(safe-area-inset-bottom))}.collection-content>p{font-size:13px;line-height:1.7;color:var(--muted);margin:5px 0 20px;font-variant-numeric:tabular-nums}#collection-empty{padding:28px 0}
.word-map{max-height:52vh;max-height:52dvh;overflow:auto;touch-action:pan-x pan-y pinch-zoom;border-top:1px solid var(--line);border-bottom:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#a9b19d var(--paper);padding:14px 0}.word-map-canvas{position:relative;min-width:100%;margin:auto}.word-map-canvas>svg{position:absolute;inset:0;color:#8b9d82;stroke-width:1.2;overflow:visible}.word-map-canvas path[data-relation=contrasto]{stroke-dasharray:4 4}.word-map-canvas text{font:11px var(--sans);fill:var(--muted);stroke:none;paint-order:stroke;stroke:var(--paper);stroke-width:5px;stroke-linejoin:round}.word-map-node{position:absolute;transform:translate(-50%,-50%);max-width:140px;min-height:44px;padding:8px 12px;color:var(--ink);background:var(--paper);border-radius:12px;font:420 20px/1.2 var(--serif);white-space:nowrap}.word-map-node:hover{background:#e5e9df}.word-map-node[aria-pressed=true]{background:#e5e9df;text-decoration:underline;text-underline-offset:5px}
.collection-details{margin:20px 0 0}.collection-details summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:13px;text-decoration:underline;text-underline-offset:4px}.collection-words{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.collection-words li{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);min-width:0}.collection-explore{min-height:48px;min-width:0;overflow-wrap:anywhere;padding:10px 0;background:transparent;text-align:left;font-size:14px}.collection-explore:hover{text-decoration:underline;text-underline-offset:4px}.collection-remove{width:44px;height:44px;display:grid;place-items:center;flex:none;background:transparent;border-radius:10px;color:var(--muted)}.collection-remove:hover{background:#e5e9df}.collection-remove .icon{width:16px;height:16px}.collection-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:24px 0 8px}.collection-actions .journey-primary{background:var(--ink);color:var(--paper)}.collection-actions .journey-primary:hover{background:var(--accent)}.collection-content .collection-note{border-top:1px solid var(--line);padding-top:18px;margin:24px 0 0;font-size:12px;line-height:1.7}
.journey [hidden],.journey-start[hidden],.journey-menu-section[hidden],.word-collection [hidden]{display:none}
@media(min-width:680px){.word-collection{inset:0;height:fit-content;margin:auto;border-radius:20px}.journey-toolbar{left:28px;right:28px}.journey-footer{bottom:40px}}
@media(max-width:350px){.journey-start{gap:14px;padding:14px 18px}.journey-toolbar{left:14px;right:14px;gap:6px}.journey-tools{gap:6px}.journey-collection,.journey-elsewhere{padding:0 12px}.journey-stage{left:14px;right:14px;gap:25px}.journey-choices{gap:32px}.journey-kept button{font-size:17px;padding:10px 12px}.collection-heading{padding:16px 18px 8px}.collection-content{padding-left:18px;padding-right:18px}.collection-words{column-gap:12px}.collection-actions .journey-secondary{padding:12px 14px}}
@media(max-height:720px){.journey-stage{inset:136px 20px 94px;gap:22px}.journey-invitation h2{font-size:34px;margin-bottom:18px}.journey-invitation p{font-size:13px;margin-bottom:12px}.journey-intro-gestures{margin-top:16px}.journey-invitation .journey-intro-note{margin-bottom:16px}.journey-connection{min-height:94px}.journey-word{min-height:70px}.journey-footer{bottom:16px}}
@media(max-height:500px) and (min-aspect-ratio:1/1){.journey-toolbar{top:72px}.journey-stage{inset:125px clamp(20px,9vw,130px) 24px;gap:15px}.journey-word{font-size:38px;min-height:60px;padding:8px}.journey-connection{min-height:63px;margin-bottom:0}.journey-anchor{font-size:22px}.journey-relation{margin-top:6px;padding-top:16px;font-size:11px}.journey-relation:before{height:11px}.journey-relation:after{bottom:-9px}.journey-choices{gap:28px}.journey-footer{display:none}.journey-invitation{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;max-width:680px;text-align:left}.journey-invitation h2{font-size:30px;grid-row:span 2;margin-bottom:12px}.journey-invitation p{font-size:12px;line-height:1.5;margin-bottom:10px}.journey-invitation .journey-intro-gestures,.journey-invitation .journey-intro-note{display:none}.journey-invitation .journey-primary{grid-column:2;width:fit-content}.collection-words{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.journey-start:active{transform:translateX(-50%)}.journey-word{transform:none!important;opacity:1!important}}


@media(max-height:520px) and (max-aspect-ratio:1/1){.journey-stage{inset:134px 14px 74px;gap:12px}.journey-invitation h2{font-size:30px;margin-bottom:12px}.journey-invitation p{font-size:12px;line-height:1.5;margin-bottom:8px}.journey-invitation .journey-intro-gestures{display:none}.journey-invitation .journey-intro-note{font-size:11px;line-height:1.4;margin-bottom:8px}.journey-connection{min-height:76px}.journey-word{font-size:32px;min-height:58px}.journey-kept button{font-size:16px}}
