:root{color-scheme:light;--ink:#113f3c;--dark:#103e3e;--mint:#a8d856;--yellow:#ffdf75;--paper:#fffdf5;--muted:#56716a;--line:#d5dfcc;--pink:#f493ab;--blue:#7bd6e6}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 0 20%,#e1edcb,transparent 60%),#f1f3e8;color:var(--ink);font:16px/1.45 "Trebuchet MS",ui-rounded,system-ui,sans-serif;min-height:100dvh}button{font:inherit;color:inherit;cursor:pointer;border:0}button:disabled{opacity:.55;cursor:default}button:focus-visible,canvas:focus-visible{outline:3px solid #dd7f2d;outline-offset:4px}[hidden]{display:none!important}.arcade{width:min(1090px,100%);padding:22px 30px 14px;margin:auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 auto 24px;max-width:920px}.brand{display:flex;align-items:center;gap:7px;font-size:29px;letter-spacing:-1.3px;font-weight:1000}.brand .del{color:#217b9b}.brand .ziah{color:#bf4e80}.brand>span:nth-child(2){font-size:20px}.arcade-word{font-size:11px;letter-spacing:2px;border-left:1px solid #aebfb0;padding-left:14px;margin-left:9px;color:#58756b}.header-actions{display:flex;gap:8px}.small-button{font-size:14px;font-weight:800;background:#fff9;border:1px solid #c7d4be;border-radius:10px;padding:8px 12px;min-height:40px}.small-button:hover:enabled{background:white}.game-layout{display:flex;align-items:center;justify-content:center;gap:52px}.game-machine{width:min(520px,calc(81.8dvh - 180px));min-width:390px;background:var(--dark);border:6px solid var(--dark);border-radius:22px;overflow:hidden;box-shadow:0 14px 0 #c5d3b3,0 24px 65px #224e3514;flex-shrink:0}.machine-header{background:var(--dark);color:#fffdf1;padding:13px 15px 15px}.tiny-label{font-size:10px;letter-spacing:1.6px;font-weight:900;display:block}.title-row>.tiny-label{color:#bedbaf;font-size:9px;letter-spacing:1.1px}h1{font-size:23px;letter-spacing:-.7px;margin:2px 0 13px;line-height:1.15}.scoreboard{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #ffffff25;padding-top:10px}.stat>span{display:block;font-size:10px;letter-spacing:1.1px;font-weight:800;color:#c6ddc7;margin-bottom:3px}.stat strong{font-size:25px;line-height:1;font-variant-numeric:tabular-nums}.stat small{font-size:16px;color:#c6ddc7}.stat:last-child strong{font-size:21px;color:#ffc09b;white-space:nowrap}.board{position:relative;aspect-ratio:9/11;background:#a8d856;isolation:isolate;overflow:hidden;border-radius:12px}canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;outline-offset:-5px!important}.overlay{position:absolute;inset:0;z-index:3;display:flex;overflow-y:auto;background:linear-gradient(145deg,#123e3eea,#123e3ef5);padding:20px;text-align:center;color:#fffdf1;backdrop-filter:blur(5px)}.start-card,.message-card{width:100%;margin:auto;flex-shrink:0;display:flex;flex-direction:column;align-items:center}.game-tag{font-size:10px;letter-spacing:1.7px;color:#c7e6a8;font-weight:900}.joe-portrait{height:174px;width:174px;background-image:url('assets/joe.png');background-size:348px 348px;background-position:-174px 0;background-repeat:no-repeat;flex-shrink:0;margin:6px auto 0}.overlay h2{font-size:39px;letter-spacing:-1.6px;line-height:1.02;margin:8px 0 10px;font-weight:1000}.overlay h2 span{color:var(--yellow)}.overlay p{font-size:15px;color:#e0ead2;margin:0 0 22px;line-height:1.5}.primary-button{background:var(--yellow);color:var(--dark);font-size:18px;font-weight:1000;border-radius:12px;padding:13px 27px;min-width:200px;min-height:49px;box-shadow:0 5px 0 #9c853d;transition:transform .12s,background .12s}.primary-button:hover:enabled{background:#ffe992;transform:translateY(-1px)}.primary-button:active:enabled{transform:translateY(3px);box-shadow:0 2px 0 #9c853d}.start-hint{font-size:12px;color:#c8d7bb;margin-top:18px}.control-deck{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 14px 9px;color:#eff5dd}.control-copy b{display:block;font-size:13px;margin-bottom:4px;color:#ffdf75}.control-copy>span{display:block;font-size:11px;line-height:1.4;color:#c6ddc7}.dpad{display:grid;grid-template-columns:repeat(3,43px);grid-template-rows:repeat(2,36px);gap:4px}.direction{font-size:25px;font-weight:1000;background:#325d53;border:1px solid #628576;border-radius:8px;color:#fff4c7;touch-action:none;user-select:none;-webkit-user-select:none}.direction:active,.direction.held{background:var(--yellow);color:var(--ink)}.up{grid-column:2;grid-row:1}.left{grid-column:1;grid-row:2}.down{grid-column:2;grid-row:2}.right{grid-column:3;grid-row:2}.field-guide{max-width:285px;padding:0 4px}.guide-title>.tiny-label{color:#56716a}.guide-title h2{font-size:49px;letter-spacing:-2px;line-height:1.05;margin:14px 0 12px;font-weight:1000}.guide-title>p{font-size:16px;color:var(--muted);line-height:1.5;margin:0 0 27px}.guide-item{display:flex;gap:13px;margin:21px 0;align-items:flex-start}.guide-number{display:grid;place-items:center;background:#e0e9ce;border:1px solid #c7d5b4;border-radius:10px;font-size:12px;font-weight:900;width:31px;height:31px;flex-shrink:0;margin-top:1px}.guide-item h3{font-size:16px;line-height:1.3;margin:0 0 5px;letter-spacing:-.3px}.guide-item p{font-size:14px;color:var(--muted);line-height:1.5;margin:0}.guide-item b{color:#275a46}.kind-note{margin-top:29px;border-top:1px solid #cfdbc1;padding-top:21px;display:flex;gap:12px;align-items:center}.kind-note>span{color:#d77a74;font-size:30px}.kind-note p{font-size:15px;line-height:1.4;margin:0;font-weight:700}.play-note{font-size:11px;color:#6c7d71;line-height:1.5;margin-top:20px}.footer-note{text-align:center;font-size:11px;letter-spacing:.5px;color:#6f8170;margin:29px 0 0}.notice{position:absolute;top:45%;left:12px;right:12px;pointer-events:none;text-align:center;background:#fff8d9ed;color:#264d3e;font-size:16px;font-weight:900;padding:11px;border:2px solid #ffdf75;border-radius:12px;z-index:2;opacity:0;box-shadow:0 5px 22px #0002;transition:opacity .15s}.notice.visible{opacity:1}.pause-symbol{font-size:55px;color:var(--yellow);margin-bottom:13px}.message-card h2{font-size:32px;line-height:1.1}.message-card p{max-width:280px}.end-portrait{height:140px;width:140px;background-size:280px 280px;background-position:-140px 0;margin:0 0 5px}.final-points{display:flex;flex-direction:column;margin:8px 0 15px;color:var(--yellow)}.final-points strong{font-size:54px;line-height:1.1;letter-spacing:-1.5px}.final-points>span{font-size:10px;letter-spacing:2px;font-weight:900}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.no-script{background:#fff2b8;color:#163b36;padding:18px;text-align:center}button,canvas{-webkit-tap-highlight-color:transparent}
@media(max-width:800px){.arcade{padding:15px 18px}.game-layout{gap:27px}.field-guide{max-width:235px}.guide-title h2{font-size:40px}.game-machine{min-width:360px}.page-header{margin-bottom:18px}.arcade-word{display:none}}
@media(max-width:680px){.arcade{padding:12px 12px 20px}.page-header{max-width:470px;margin-bottom:14px}.brand{font-size:26px;gap:5px}.small-button{font-size:12px;padding:7px 9px;min-height:36px}.header-actions{gap:6px}.game-layout{display:flex;flex-direction:column;gap:37px}.game-machine{width:100%;min-width:0;max-width:470px;border-width:5px;border-radius:19px}.machine-header{padding:10px 12px 12px}.title-row>.tiny-label{font-size:8px;letter-spacing:1px}h1{font-size:22px;margin-bottom:11px}.scoreboard{padding-top:9px}.stat>span{font-size:9px;letter-spacing:.6px}.stat strong{font-size:24px}.stat:last-child strong{font-size:19px}.overlay{padding:16px}.joe-portrait{height:145px;width:145px;background-size:290px 290px;background-position:-145px 0;margin-top:4px}.overlay h2{font-size:34px;margin-top:3px}.overlay p{font-size:14px;margin-bottom:18px}.game-tag{font-size:9px;letter-spacing:1.2px}.primary-button{font-size:17px;padding:11px 25px;min-height:46px}.start-hint{font-size:11px;margin-top:16px}.control-deck{padding:12px 12px 8px}.dpad{grid-template-columns:repeat(3,47px);grid-template-rows:repeat(2,40px);gap:5px}.control-copy b{font-size:13px}.control-copy>span{font-size:11px}.field-guide{max-width:470px;width:100%;padding:0 9px}.guide-title h2{font-size:34px;margin-top:9px}.guide-title h2 br{display:none}.guide-title>p{font-size:15px;margin-bottom:18px}.guide-item{margin:19px 0}.kind-note{margin-top:20px}.play-note{font-size:12px}.footer-note{margin-top:17px}.end-portrait{height:112px;width:112px;background-size:224px 224px;background-position:-112px 0}.message-card h2{font-size:28px}.message-card p{font-size:14px}.final-points strong{font-size:44px}}
@media(max-width:370px){.arcade{padding-inline:8px}.small-button{font-size:11px;padding-inline:7px}.brand{font-size:24px}.joe-portrait{height:120px;width:120px;background-size:240px 240px;background-position:-120px 0}.overlay h2{font-size:29px}.overlay p{font-size:13px;margin-bottom:14px}.start-hint{font-size:10px}.game-tag{font-size:8px;letter-spacing:1px}.dpad{grid-template-columns:repeat(3,43px);grid-template-rows:repeat(2,38px)}.control-copy b{font-size:12px}.control-copy>span{font-size:10px}.end-portrait{height:98px;width:98px;background-size:196px 196px;background-position:-98px 0}}
.joe-portrait{background-image:url('assets/joe.png');background-size:150% auto;background-position:58% 7%;border-radius:50%;border:4px solid #a8d856;box-shadow:0 8px 20px #0002}.direction{min-height:36px}
@media(min-width:681px){.game-machine{width:min(520px,calc(81.8dvh - 260px));min-width:360px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

.game-nav{display:flex;flex-wrap:wrap;gap:8px;max-width:850px;margin:0 auto 22px}.game-nav a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 16px;border:1px solid #a6bca1;border-radius:12px;color:#36574c;text-decoration:none;font-size:14px;font-weight:800;line-height:1.3}.game-nav a[aria-current="page"]{background:#103e3e;color:#fff8d9;border-color:#103e3e}.game-nav a:hover{background:#d5e4bf;color:#103e3e}.game-nav a:focus-visible{outline:3px solid #c47637;outline-offset:3px}.game-nav a span{font-size:18px}
@media(max-width:680px){.game-nav{max-width:470px;gap:7px;margin-bottom:17px}.game-nav a{flex:1;padding:9px 10px;font-size:12px;min-height:44px;gap:5px}}
