*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#100e22;color:#fff4dd;touch-action:none}body{font-family:var(--font,'Trebuchet MS',sans-serif);font-weight:800}canvas{position:absolute;inset:0;width:100%;height:100%;display:block;image-rendering:pixelated}.screen{position:absolute;inset:0}.hidden{display:none!important}button{font-family:inherit;cursor:pointer;color:#fff7dc;min-height:48px;font-size:clamp(16px,2vw,24px);font-weight:900;text-shadow:-2px 0 #270e2b,2px 0 #270e2b,0 -2px #270e2b,0 3px #270e2b;letter-spacing:.025em;transition:filter .12s,transform .12s;outline:none;-webkit-tap-highlight-color:transparent}.plate{border:solid transparent;border-width:8px 16px;border-image:var(--ui-button,url('assets/ui-button.webp')) 28 fill / 13px stretch;background:none;filter:drop-shadow(0 5px 0 #140d25);padding:4px 14px;min-width:170px}.plate:hover,.plate:focus-visible{filter:brightness(1.23) drop-shadow(0 5px 0 #140d25);transform:translateY(-2px)}.plate:active{transform:scale(.95) translateY(3px)}.panel{border:18px solid transparent;border-image:var(--ui-panel,url('assets/ui-panel.webp')) 40 fill / 20px stretch;background:none;filter:drop-shadow(0 12px 20px #090814)}#titleUI{pointer-events:none;background:linear-gradient(90deg,rgba(11,8,27,.3),transparent 70%)}#logo{position:absolute;top:6%;left:4%;width:72%;max-height:32%;object-fit:contain;object-position:left center;animation:logoIn .65s cubic-bezier(.2,1.5,.5,1),float 3s .65s ease-in-out infinite;filter:drop-shadow(0 7px 0 #170e29)}.title-actions{pointer-events:auto;position:absolute;bottom:8%;left:8%;width:40%;display:flex;align-items:center;flex-direction:column;gap:12px}#start{width:100%;animation:pulse 2.2s infinite}#board{font-size:clamp(14px,1.6vw,19px);min-width:170px;min-height:44px}.secondary{filter:hue-rotate(285deg) drop-shadow(0 4px 0 #140d25)}#cinema{background:#100e22 url('assets/title-bg.webp') center/cover;z-index:4}video{width:100%;height:100%;object-fit:cover}#skip{position:absolute;top:max(14px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));min-width:140px;min-height:48px;font-size:18px}#subtitles{position:absolute;bottom:8%;left:15%;width:70%;text-align:center;font-size:clamp(17px,2.2vw,29px);text-shadow:0 3px #100b21,-2px 0 #100b21,2px 0 #100b21;background:#100b21bd;padding:8px 18px}#help{z-index:5;background:#0c0926c7;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}.help-panel{width:min(930px,92%);padding:10px 30px 14px;text-align:center;animation:pop .28s cubic-bezier(.2,1.5,.5,1)}h1{font-size:clamp(23px,3vw,36px);color:#ffdc83;margin:8px 0 20px;text-shadow:3px 3px #261332}h2{font-size:clamp(18px,2vw,24px);margin:4px 0;color:#fff4dd;text-shadow:2px 2px #20112e}.help-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.help-cards>div{position:relative;padding:0 8px}.help-cards>div+div{border-left:2px dashed #683154}.step{position:absolute;top:0;left:4px;font-size:17px;color:#f87c98}.help-icon{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.arrows{font-size:60px;line-height:60px;color:#59e1ed;margin:0 auto}p{font-size:clamp(14px,1.6vw,19px);line-height:1.5;margin:8px 0}#goalHelp{color:#ffdb84;margin:16px auto 12px}#ready{min-width:230px}@keyframes logoIn{from{opacity:0;transform:translateY(-45px) scale(.8)}to{opacity:1;transform:none}}@keyframes float{50%{transform:translateY(-5px)}}@keyframes pulse{50%{filter:brightness(1.15) drop-shadow(0 5px 0 #140d25)}}@keyframes pop{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@media(max-height:520px){.title-actions{bottom:5%;gap:9px}#logo{top:5%;left:4%;width:74%;max-height:33%}.help-panel{padding:0 18px 5px;width:min(820px,94%);border-width:14px}.help-icon{width:44px;height:44px}.arrows{font-size:44px;line-height:44px}h1{margin:3px 0 8px;font-size:24px}h2{font-size:18px}.help-cards{gap:12px}.help-cards p{margin:4px 0;font-size:14px;line-height:1.35}#goalHelp{font-size:14px;margin:10px 0 7px}#ready{min-height:46px;font-size:17px}button{font-size:17px}.plate{border-width:8px 14px;padding:2px 10px}}