/* QRAI's homemade table arcade. No game assets or ROMs. */
.hero{min-height:268px}.hero .sticker{bottom:20px;font-size:13px}h1{font-size:clamp(38px,10.3vw,53px);margin-top:20px}.choice{min-height:108px;padding:16px 18px}.choice strong{font-size:29px}.choice small{font-size:15px;line-height:1.3;max-width:235px}.choice .round{width:58px;height:58px}.choice.games-choice{background:#abe0ccf9;color:#174f42}.choice.games-choice .round{background:#237b69;box-shadow:0 4px 0 #145448;font-size:40px}.unlimited{margin:16px 0}.games-inner{max-width:520px}#games-lobby{display:grid;gap:13px}.game-tile{display:flex;align-items:center;gap:17px;text-align:left;width:100%;min-height:112px;padding:16px;background:#fffdf7;border:1px solid #d7b9a7;border-radius:23px;color:#59252c;box-shadow:0 5px 0 #e8d7b8}.game-tile:active{transform:translateY(3px);box-shadow:0 2px 0 #e8d7b8}.game-icon{width:68px;height:68px;border-radius:19px;display:grid;place-items:center;flex-shrink:0;background:#d7f0df;font-size:34px;border:1px solid #174f4222}.game-icon svg{width:46px;height:46px}.game-tile strong{display:block;font:800 26px Outfit;line-height:1.1;margin-bottom:7px}.game-tile small{display:block;font-size:15px;line-height:1.3}.game-tile .tile-arrow{margin-left:auto;color:#ac3542;font-weight:800;font-size:24px}.game-tile:nth-child(2) .game-icon{background:#ffe4a0}.game-tile:nth-child(3) .game-icon{background:#ffdfd7}.game-tile:nth-child(4) .game-icon{background:#f5dbea}.game-tile:nth-child(5) .game-icon{background:#dbd7f3}#arcade{z-index:42}.back-games{border:0;color:#67232b;background:#efdcc0;border-radius:20px;padding:13px 18px;min-height:52px;font-weight:800;font-size:18px}.game-heading h2{font:800 35px/1.05 Outfit;margin:8px 0 10px}.game-heading p{font-size:16px;line-height:1.4;margin:0 0 16px}.game-hud{display:flex;align-items:center;justify-content:space-between;background:#59252c;color:#fff5df;border-radius:17px;padding:11px 14px;margin:14px 0;font:700 19px Outfit;min-height:56px}.game-hud button{border:1px solid #fff5df88;background:transparent;color:#fff5df;border-radius:10px;font-size:14px;min-height:36px;padding:6px 10px}.game-hud button:disabled{visibility:hidden}#game-content{position:relative}#game-content canvas{display:block;width:100%;height:auto;touch-action:none;border:5px solid #28634e;border-radius:19px;background:#173e34;image-rendering:pixelated;box-shadow:0 5px 0 #c2b194;max-height:42vh;object-fit:contain}#game-status{margin:12px 0 0;font-size:16px;font-weight:700;text-align:center;min-height:24px;color:#255f47}.game-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.game-actions button{min-height:57px;border:1px solid #b63b49;border-radius:17px;padding:12px 8px;font-weight:800;color:#91273a;background:#fffdf7}.game-actions #game-start{background:#ae2f41;color:#fff8e6}.game-actions #game-start:disabled{background:#dcc8ae;border-color:#dcc8ae;color:#654b42;cursor:default}.dpad{display:grid;grid-template-columns:repeat(3,57px);grid-template-rows:repeat(2,49px);gap:6px;justify-content:center;margin-top:13px}.dpad button{border-radius:12px;border:1px solid #21634d;background:#d5eddf;color:#174f42;font-size:25px;touch-action:none;box-shadow:0 3px 0 #aac9b2}.dpad [data-dir="up"]{grid-column:2}.dpad [data-dir="left"]{grid-column:1;grid-row:2}.dpad [data-dir="down"]{grid-column:2;grid-row:2}.dpad [data-dir="right"]{grid-column:3;grid-row:2}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.memory-card{border:2px solid #a93041;border-radius:15px;aspect-ratio:1/1;background:repeating-linear-gradient(45deg,#b53749 0px,#b53749 7px,#a52b3d 7px,#a52b3d 14px);color:#ffe3a0;font:800 31px Outfit;min-height:65px;box-shadow:0 3px 0 #7a2634;touch-action:manipulation}.memory-card.revealed{background:#fffaf0;border-color:#d6ad7f;color:#59252c;font-size:34px}.memory-card.matched{background:#d3efdb;border-color:#26874b;box-shadow:0 3px 0 #a4c8ab}.bite-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;background:#e6ceab;padding:15px;border-radius:23px;border:2px solid #b28c67}.bite-hole{aspect-ratio:1/1;border:0;border-radius:50%;background:#8a5144;box-shadow:inset 0 8px 0 #653a34;position:relative;overflow:hidden;touch-action:manipulation;min-height:72px}.bite-hole span{display:block;font-size:42px;transform:translateY(90px);opacity:0;transition:transform .12s,opacity .1s;pointer-events:none}.bite-hole.up{background:#fff2cf;box-shadow:inset 0 5px 0 #d8a974}.bite-hole.up span{opacity:1;transform:translateY(0)}.bite-hole.hit{background:#b0e6c4}.bite-hole.hit span{font-size:30px;transform:none;opacity:1;color:#145b32;font-weight:800}.glow-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:15px;background:#432b35;border-radius:25px;border:4px solid #6d4347}.glow-pad{aspect-ratio:1/1;border:3px solid #fff5df44;border-radius:22px;min-height:112px;font:800 34px Outfit;color:white;box-shadow:inset 0 -8px 0 #0003;touch-action:manipulation;opacity:.65;transition:filter .1s,transform .1s}.glow-pad:nth-child(1){background:#b92e48}.glow-pad:nth-child(2){background:#21876a}.glow-pad:nth-child(3){background:#c69a19;color:#311d11}.glow-pad:nth-child(4){background:#7558ba}.glow-pad.lit{opacity:1;filter:brightness(1.55);transform:scale(.96);box-shadow:0 0 18px #fff9c6}.glow-pad:disabled{cursor:default}.arcade-paused:after{content:'PAUSED · Tap Resume';position:absolute;inset:0;background:#fff5dfe8;display:flex;align-items:center;justify-content:center;border-radius:20px;font:800 24px Outfit;color:#67232b;z-index:3;pointer-events:none}@media(min-width:700px){.hero{min-height:305px}}@media(max-height:760px){#game-content canvas{max-height:35vh}.game-heading h2{font-size:29px}.game-heading p{margin-bottom:8px}.game-hud{margin:9px 0}.dpad{grid-template-rows:repeat(2,44px)}}
