@font-face{font-family:Lack;src:url(/fonts/Lack-Regular.woff2)format("woff2");font-display:swap}@font-face{font-family:Unbounded;src:url(/fonts/Unbounded-latin.woff2)format("woff2");font-weight:800 900;font-display:swap}:root{--paper:#2a1730;--yellow:#ffd100;--red:#f15060;--white:#f7ecd9;--misreg-x:3px;--misreg-y:2px;--red-ghost:var(--misreg-x) var(--misreg-y) 0 var(--red);--yellow-ghost:calc(-1 * var(--misreg-x)) calc(-1 * var(--misreg-y)) 0 var(--yellow);--yellow-ink:url(/textures/gra-crema.svg) 0 0 / 300px 300px, var(--yellow);--red-ink:url(/textures/gra-groc.svg) 0 0 / 300px 300px, var(--red);--red-ink-without-yellow:url(/textures/gra-alberginia.svg) 0 0 / 300px 300px, var(--red);--screen-red:radial-gradient(var(--red) 1.7px, transparent 1.9px) 0 0 / 6px 6px;--radius:14px;--display:"Unbounded", system-ui, sans-serif;--paper-fibre:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--white);background:var(--paper);font-family:Lack,system-ui,sans-serif}*{box-sizing:border-box}body{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;min-height:100dvh;margin:0}body:before{content:"";z-index:-1;pointer-events:none;background:url(/textures/paper.svg) bottom/600px 900px repeat-x;position:fixed;inset:0}body:after{content:"";z-index:10;pointer-events:none;background-image:var(--paper-fibre);opacity:.12;position:fixed;inset:0}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none}main{max-width:480px;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 24px) 16px calc(env(safe-area-inset-bottom) + 24px);flex-direction:column;margin:0 auto;display:flex}.section-head{justify-content:space-between;align-items:flex-start;display:flex}.tools{gap:12px;margin:-8px 4px 12px 0;display:flex}.tool{background:var(--yellow-ink);width:40px;height:40px;color:var(--paper);box-shadow:var(--red-ghost);border-radius:50%;place-items:center;display:grid}.hint{text-align:center;text-wrap:balance;margin:16px 0 48px;font-size:.8rem}.hint button{font-size:inherit;text-underline-offset:3px;text-decoration:underline}.brand{text-align:center;margin:16px 0 24px}.brand h1,.end h1{font-family:var(--display);text-transform:uppercase;background:var(--yellow-ink);color:#0000;filter:drop-shadow(var(--misreg-x) var(--misreg-y) 0 var(--red));-webkit-background-clip:text;background-clip:text;margin:0;font-size:clamp(2.2rem,11vw,3rem);font-weight:900;line-height:1}section{margin-bottom:20px}h2{background:var(--red-ink);color:var(--paper);box-shadow:var(--yellow-ghost);margin:0 0 12px;padding:2px 10px;font-size:1.15rem;font-weight:400;display:inline-block;transform:rotate(-2deg)}.pack{border:2px solid var(--white);border-radius:var(--radius);align-items:center;gap:8px;padding:8px;display:flex;position:relative}.arrow,.exit{background:var(--yellow-ink);width:44px;height:44px;color:var(--paper);box-shadow:var(--red-ghost);flex-shrink:0;place-items:center;display:grid}.arrow{border-radius:10px}.pack-name{text-align:center;flex-direction:column;flex:1;align-items:center;display:flex}.pack-name strong,.beat-info strong{font-family:var(--display);font-weight:800}.pack-name strong{font-size:1.1rem}.pack-description{text-wrap:balance;justify-content:center;align-items:center;min-height:2lh;display:flex}.adult{position:absolute;bottom:-12px;right:14px}.adult,.beta{font-family:var(--display);background:var(--red-ink);color:var(--paper);box-shadow:var(--yellow-ghost);padding:1px 8px;font-size:.75rem;font-weight:800;transform:rotate(-4deg)}.pack-description,.beat-credit,.beat-bpm{font-size:.95rem}.beats{--beat-row:62px;--beat-gap:8px;--shadow-room:4px;min-height:calc(2 * var(--beat-row) + var(--beat-gap));margin:0 calc(-1 * var(--shadow-room)) 0 0;padding:0 var(--shadow-room) var(--shadow-room) 0;overscroll-behavior:contain;gap:var(--beat-gap);flex-direction:column;flex:1;list-style:none;display:flex;overflow-y:auto}main.home{height:100dvh}.beat-section{flex-direction:column;flex:1;align-items:flex-start;min-height:0;margin-bottom:0;display:flex}.beat-section .beats{align-self:stretch}.beat{border-radius:var(--radius);border:2px solid var(--white);flex-shrink:0;align-items:center;gap:12px;padding:6px 8px;display:flex}.beat.selected{border-color:var(--yellow);box-shadow:var(--red-ghost)}.beat-info{text-align:left;flex:1;align-items:center;gap:12px;min-width:0;padding:4px 0;display:flex}.beat-text{flex-direction:column;flex:1;min-width:0;display:flex}.beat-credit{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.beat-bpm{white-space:nowrap}.play,.secondary{width:100%;min-height:60px;font-family:var(--display);border-radius:999px;font-size:1.3rem;font-weight:800}.play{background:var(--red-ink);color:var(--paper);box-shadow:var(--yellow-ghost);margin-top:auto}.play:active{transform:translate(2px,2px)}.secondary{border:2px solid var(--white);margin-top:16px;font-size:1rem}.game{overflow:hidden}h2,.play,.cell.word.red{position:relative}h2:after,.play:after,.adult:after,.beta:after,.cell.word.red:after{content:"";border-radius:inherit;background:var(--red-ink-without-yellow);clip-path:polygon(calc(100% - var(--misreg-x)) 0, 100% 0, 100% 100%, 0 100%, 0 calc(100% - var(--misreg-y)), calc(100% - var(--misreg-x)) calc(100% - var(--misreg-y)));pointer-events:none;position:absolute;inset:0}.game-header{text-align:center;grid-template-columns:44px 1fr 44px;align-items:center;display:grid}.exit{border-radius:50%}.game-heading{flex-direction:column;align-items:center;gap:2px;display:flex}.game-title{white-space:nowrap;font-size:clamp(.9rem,4.2vw,1.4rem);font-family:var(--display);text-transform:uppercase;background:var(--yellow-ink);color:#0000;filter:drop-shadow(calc(var(--misreg-x) * .7) calc(var(--misreg-y) * .7) 0 var(--red));-webkit-background-clip:text;background-clip:text;font-weight:900}.game-pack{font-size:1rem}.status{grid-column:1/-1;min-height:1.2em;font-size:1rem}.game,.calibrate{--label:26px;--gap:8px;--row:54px;--hop-height:64px;--ball:30px;--shadow-room:6px}.stage{--scroll:0;padding-top:calc(var(--hop-height) + var(--ball));margin:auto 0;position:relative}.trail{width:100%;height:calc(var(--hop-height) + var(--ball) + 24px);pointer-events:none;position:absolute;top:0;left:0}.ball{top:var(--hop-height);width:var(--ball);height:var(--ball);background:var(--yellow-ink);box-shadow:var(--red-ghost);will-change:transform;border-radius:50%;position:absolute;left:0}.rows{height:calc(var(--row) * 5 + var(--gap) * 4 + var(--shadow-room));margin-right:calc(-1 * var(--shadow-room));padding:0 var(--shadow-room) var(--shadow-room) 0;overflow:hidden}.rows-track{gap:var(--gap);transform:translateY(calc(var(--scroll) * -1 * (var(--row) + var(--gap))));flex-direction:column;display:flex}.row{grid-template-columns:var(--label) repeat(3, 1fr) 1.6fr;gap:var(--gap);height:var(--row);flex-shrink:0;display:grid}.mid-words .row{grid-template-columns:var(--label) 1fr 1.6fr 1fr 1.6fr}.row:first-child{opacity:calc(1 - var(--scroll))}.row.blank{visibility:hidden}.label{text-align:center;align-self:center;font-size:.95rem}.cell{border:2px solid var(--white);background:var(--screen-red);font-family:var(--display);border-radius:10px;justify-content:center;align-items:center;font-size:clamp(.75rem,3.4vw,1rem);font-weight:800;transition:scale .15s ease-out;display:flex;overflow:hidden}.count-in .cell{background:0 0;border-style:dashed}.count-in .cell.active{background:var(--yellow-ink);background-clip:padding-box}.cell.past{background:0 0}.cell.active{background:var(--screen-red), var(--yellow);box-shadow:var(--red-ghost)}.cell.word{color:var(--paper);border:none}.cell.foreign{font-style:italic}.cell.word.yellow{background:var(--yellow-ink);box-shadow:var(--red-ghost)}.cell.word.red{translate:var(--misreg-x) var(--misreg-y);background:var(--red-ink);box-shadow:var(--yellow-ghost)}.cell.word.long{font-size:clamp(.62rem,2.7vw,.82rem)}.cell.word.very-long{font-size:clamp(.55rem,2.3vw,.72rem)}.cell.word.two-lines{text-align:center;padding:0 6px;font-size:clamp(.62rem,2.7vw,.82rem);line-height:1.15}.cell.word.active{scale:1.06}.end{text-align:center;justify-content:center}.end .play{margin-top:40px}.headphones{text-align:center;margin:4px 0 8px;font-size:.8rem}.start .beta{z-index:1;position:absolute;bottom:-12px;left:70px;transform:translate(-50%)rotate(-4deg)}.headphones svg{vertical-align:-.25em;width:1.2em;height:1.2em;margin-right:2px}.start{gap:12px;margin-top:12px;display:flex;position:relative}.play:disabled{opacity:.4}.start .play{flex:1;margin-top:0}.rec{border:2px solid var(--white);border-radius:999px;flex:0 0 140px;min-height:60px;display:flex;overflow:hidden}.rec button{flex:1;place-items:center;display:grid}.rec button+button{border-left:2px solid var(--white)}.rec svg{width:26px;height:26px}.rec [aria-pressed=true]{background:var(--yellow-ink);color:var(--paper)}.rec-time{margin-left:auto}.rec-dot{border:2px solid var(--white);border-radius:50%;width:14px;height:14px}.rec-time .rec-dot{background:var(--red);border:none}.calibrate p{margin:20px 0 8px;font-size:1.1rem}.calibrate .stage{margin:0}.calibrate .rows{height:calc(var(--row) + var(--shadow-room))}.calibrate .row{grid-template-columns:repeat(3,1fr) 1.6fr}.offset{margin:24px 0;font-size:1.1rem;display:block}.offset input{width:100%;accent-color:var(--yellow);margin-top:12px;display:block}.filming{height:100dvh;padding:calc(env(safe-area-inset-top) + 12px) 16px env(safe-area-inset-bottom);position:relative}.camera-view{top:calc(env(safe-area-inset-top) + 84px);height:calc(100% - env(safe-area-inset-top) - 84px - env(safe-area-inset-bottom) - 22px - var(--row) * 5 - var(--gap) * 4 - var(--shadow-room));border:2px solid var(--white);border-radius:var(--radius);object-fit:cover;width:calc(100% - 32px);position:absolute;left:16px;transform:scaleX(-1)}.filming .camera-bar{padding:10px 10px 0}.filming .game-header{margin:calc(-12px - env(safe-area-inset-top)) -16px 0;padding:calc(env(safe-area-inset-top) + 12px) 16px 24px;background:linear-gradient(#2a1730bf,#0000);position:relative}.filming .stage{bottom:calc(env(safe-area-inset-bottom) + 12px);margin:0;position:absolute;left:16px;right:16px}.filming .hint{display:none}.film{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.recording{border-radius:var(--radius);width:100%;max-height:45dvh;margin-top:24px}.player{background:var(--white);color:var(--paper);border-radius:999px;align-items:center;gap:12px;margin-top:24px;padding:10px 18px 10px 10px;display:flex}.player-toggle{background:var(--yellow-ink);width:48px;height:48px;color:var(--paper);box-shadow:var(--red-ghost);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.player-bar{cursor:pointer;flex:1;align-items:center;height:32px;display:flex}.player-track{background:var(--paper);border-radius:3px;width:100%;height:6px;overflow:hidden}.player-progress{background:var(--red);width:0;height:100%}.player-time{font-family:var(--display);white-space:nowrap;font-size:.85rem;font-weight:800}.video-actions{gap:12px;display:flex}.video-actions .secondary{color:inherit;flex:1;place-items:center;text-decoration:none;display:grid}.video-actions [hidden]{display:none}.recording~.play{margin-top:24px}.camera-bar{justify-content:space-between;align-items:center;display:flex;position:relative}.camera-pill{min-height:32px;font-family:var(--display);background:#2a1730bf;border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:.8rem;font-weight:800;display:flex}.camera-pill svg{width:16px;height:16px}.rec-time[hidden]{visibility:hidden;display:flex}.rec-time .rec-dot{width:10px;height:10px}.confirm{border:2px solid var(--white);border-radius:var(--radius);background:var(--paper);width:min(340px,100% - 32px);color:var(--white);text-align:center;padding:24px 16px 16px}.confirm::backdrop{background:#2a1730b3}.confirm p{text-wrap:balance;font-family:var(--display);margin:0 0 16px;font-size:1.1rem;font-weight:800}.confirm-actions{gap:12px;display:flex}.confirm-actions button{flex:1;min-height:52px;margin-top:0;font-size:1rem}.option{text-align:left;margin:0 0 16px}.option-label{margin:0 0 8px;font-size:.85rem;display:block}.choice{border:2px solid var(--white);border-radius:999px;min-height:48px;display:flex;overflow:hidden}.choice button{flex:1;font-weight:700}.choice button+button{border-left:2px solid var(--white)}.choice [aria-pressed=true]{background:var(--yellow-ink);color:var(--paper)}.rhyme-mode{align-items:center;gap:12px;display:flex}.pattern{flex-direction:column;flex:1;gap:4px;height:128px;display:flex}.pattern-row{flex:1;grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.pattern-row span{border:2px solid var(--white);border-radius:5px}.pattern-row .yellow{background:var(--yellow-ink);border:none}.pattern-row .red{background:var(--red-ink);border:none}.options .done{width:100%;min-height:52px;margin-top:8px}.about-link{margin:20px 0 0}.about .game-header{margin-bottom:24px}.about p{margin:0 0 12px;line-height:1.4}.about a{color:var(--yellow);text-underline-offset:3px}.about-notes{text-align:center;text-wrap:balance;margin-top:auto;padding-top:32px;font-size:.8rem}.about-notes p{margin-bottom:8px}.privacy{margin-top:16px}.privacy ul{flex-direction:column;gap:10px;margin:0;padding:0;line-height:1.4;list-style:none;display:flex}.privacy li{padding-left:22px;position:relative}.privacy li:before{content:"";background:var(--yellow);border-radius:50%;width:10px;height:10px;position:absolute;top:.45em;left:2px}.suggestion{flex-direction:column;gap:16px;display:flex}.suggestion[hidden]{display:none}.about .suggestion-count{text-align:right;opacity:.8;margin:-4px 4px 0;font-size:.8rem}.suggestion textarea{border:2px solid var(--white);border-radius:var(--radius);width:100%;color:var(--white);font:inherit;resize:vertical;-webkit-user-select:text;user-select:text;background:0 0;padding:12px;font-size:1rem}.suggestion textarea:focus{border-color:var(--yellow);box-shadow:var(--red-ghost);outline:none}.suggestion .trap{position:absolute;left:-9999px}.suggestion .play{margin-top:0}.suggestion-status:empty{display:none}.audio-debug{z-index:20;color:#9f9;white-space:pre-wrap;pointer-events:none;background:#000c;max-height:40dvh;margin:0;padding:6px 8px;font:10px/1.3 ui-monospace,monospace;position:fixed;bottom:0;left:0;right:0;overflow:hidden}
