:root{color-scheme:dark;--navy:#071b35;--yellow:#ffdc56;--white:#f7fafc}*{box-sizing:border-box}body{margin:0;background:var(--navy);color:var(--white);font-family:Arial,Helvetica,sans-serif}main{max-width:1120px;margin:auto;padding:30px 40px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #29405a;padding-bottom:22px}.brand{color:var(--yellow);font-size:40px;font-weight:900;text-decoration:none;display:flex;align-items:center;gap:13px;letter-spacing:-3px}.brand span{font-size:10px;color:white;max-width:70px;line-height:1.5;letter-spacing:2px}.edition,.eyebrow{font-size:10px;letter-spacing:2px;font-weight:bold}.edition{color:#9caec2}.heading{display:flex;justify-content:space-between;align-items:center;padding:30px 0 26px}.eyebrow{color:var(--yellow);line-height:1.6}h1{font-size:48px;letter-spacing:-2px;margin:5px 0 0}h1 span{display:block;font-size:20px;letter-spacing:-.4px;font-weight:400;margin-top:5px}.badge{font-size:12px;line-height:1.7;border:1px solid #506078;border-radius:50%;padding:17px;transform:rotate(8deg);text-align:center}.badge strong{color:var(--yellow)}.game{position:relative;border:1px solid #426080;border-radius:18px;overflow:hidden;background:#b8e2ed;isolation:isolate}.hud{display:flex;position:absolute;z-index:2;top:0;left:0;width:100%;gap:28px;padding:15px 24px;background:linear-gradient(#071b35eb,#071b3500);font-size:9px;letter-spacing:1.5px;pointer-events:none}.hud strong{display:block;font-size:24px;letter-spacing:-1px;margin-top:3px}.hud button{margin-left:auto;pointer-events:auto;width:36px;height:36px;border:1px solid #ffffff60;background:#071b35;color:white;border-radius:9px;cursor:pointer}.hud button:disabled{opacity:.4}canvas{display:block;width:100%;aspect-ratio:2/1;touch-action:manipulation}.overlay{position:absolute;inset:0;z-index:3;background:#071b35e8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.overlay[hidden]{display:none}.intro-icon{color:var(--yellow);font-size:40px}h2{font-size:34px;line-height:1.1;letter-spacing:-1px;margin:10px 0}.overlay p:not(.eyebrow){font-size:14px;line-height:1.6;color:#b6c9d9}.primary{border:0;background:var(--yellow);color:var(--navy);padding:15px 24px;min-width:200px;border-radius:8px;font-size:17px;font-weight:800;cursor:pointer}.primary span{float:right}.overlay .tip{font-size:9px!important;letter-spacing:1.5px}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:3px}#notice{position:absolute;top:90px;width:100%;text-align:center;font-size:15px;font-weight:bold;color:#071b35;pointer-events:none;text-shadow:0 1px white}footer{display:flex;align-items:center;justify-content:space-between;margin:15px 0 28px;font-size:12px;color:#aabdd1}kbd{border:1px solid #4d6279;border-radius:4px;padding:3px 6px;font:inherit}footer span{margin:0 10px}.jump{background:var(--yellow);color:var(--navy);border:0;padding:12px 28px;border-radius:8px;font-weight:800;touch-action:manipulation;cursor:pointer}.mobile-tip{display:none}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;border-top:1px solid #29405a;padding-top:25px}.guide span{font-size:9px;letter-spacing:1.6px;color:var(--yellow)}h3{font-size:15px;margin:10px 0}.guide p{font-size:12px;line-height:1.7;color:#aabdd1}.credit{font-size:9px;letter-spacing:2px;color:#6f88a0;text-align:center;margin:32px 0 0}@media(max-width:650px){main{padding:18px 16px}header{padding-bottom:12px}.edition{font-size:8px;max-width:100px;line-height:1.6;text-align:right}.brand{font-size:32px}.heading{padding:20px 0}h1{font-size:36px}h1 span{font-size:15px}.badge{display:none}canvas{aspect-ratio:1/1.1}.hud{gap:20px;padding:14px;font-size:8px}.hud strong{font-size:21px}.overlay{padding:14px}h2{font-size:28px}.overlay .eyebrow{font-size:8px}.overlay p:not(.eyebrow){font-size:12px}.intro-icon{font-size:30px}.guide{grid-template-columns:1fr;gap:14px}.guide div{border-bottom:1px solid #233b55;padding-bottom:10px}.guide p{margin-bottom:0}.guide h3{margin:6px 0}footer{flex-wrap:wrap;gap:5px;margin-bottom:22px}footer>p:first-child{font-size:10px}.jump{padding:13px 22px}.mobile-tip{display:block;width:100%;font-size:10px}.credit{line-height:1.8}#notice{top:77px;font-size:12px}}

.chico-portrait{height:110px;width:74px;object-fit:contain;filter:drop-shadow(0 5px 10px #0007)}.jump{min-height:54px;min-width:160px;font-size:18px;-webkit-user-select:none;user-select:none;touch-action:manipulation}.game{touch-action:manipulation}.overlay .eyebrow{margin:5px 0}.overlay h2{margin:6px 0}.overlay p{margin:8px 0}
@media(max-width:650px){main{padding:10px 12px}header{padding-bottom:8px}.brand{font-size:28px}.heading{padding:12px 0}.heading .eyebrow{display:none}h1{font-size:29px}h1 span{font-size:13px;margin-top:3px}canvas{aspect-ratio:1/1.2}.hud{gap:18px}.hud strong{font-size:20px}.overlay{padding:15px}.chico-portrait{height:98px;width:66px}.overlay h2{font-size:25px}.overlay .tip{font-size:8px!important;letter-spacing:.4px}.overlay .primary{min-height:52px}.overlay p:not(.eyebrow){font-size:12px}footer{margin:10px 0 20px;gap:6px}footer>p:first-child{display:none}.jump{width:100%;min-height:62px;font-size:21px;border-bottom:4px solid #bd9828;border-radius:12px}.mobile-tip{margin:1px 0;text-align:center;font-size:11px}.guide{padding-top:16px}.playing .game{border-color:#ffdc56}}
@media(max-height:520px) and (min-width:651px){header,.heading,.guide,.credit{display:none}main{padding:8px;max-width:900px}canvas{height:calc(100svh - 90px);width:100%;aspect-ratio:auto}footer{margin:6px 0}.chico-portrait{height:52px}.overlay h2{font-size:23px}.overlay .eyebrow,.overlay .tip{display:none}}

.hud #sound{margin-left:auto;min-width:38px;font-size:18px}.hud #pause{margin-left:0}.hud{column-gap:20px}@media(max-width:650px){.hud{column-gap:12px;padding:12px 10px}.hud strong{font-size:19px}.hud button{width:32px;min-width:32px;height:38px;flex-shrink:0}.hud #sound{min-width:34px}}
