:root{color:#25332c;background:#f7faf7;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{height:auto}header,main,footer{max-width:1100px;margin:auto}header{padding:30px 24px;display:flex;justify-content:space-between;align-items:center}a{color:inherit;text-decoration:none}header>a:last-child{font-size:14px}.brand{font-weight:900;letter-spacing:-1px;font-size:22px}.brand span{color:#48966b}.brand small{margin-left:8px;letter-spacing:2px;font-size:10px}.hero{text-align:center;padding:55px 24px 45px}.eyebrow{font-size:12px;letter-spacing:2.5px;font-weight:bold;color:#43845d}h1{font-size:clamp(42px,6vw,72px);line-height:1.03;letter-spacing:-3px;margin:22px 0}.intro{color:#64736a;font-size:18px}.game{max-width:760px;margin:40px auto 0;background:white;border:1px solid #dbe6dd;border-radius:16px;padding:20px 30px;box-shadow:0 12px 45px #24462d08}.game-top{display:flex;justify-content:space-between;font-size:11px;letter-spacing:1px;color:#728076}.offline .interstitial-wrapper{position:relative;height:210px;max-width:600px;padding-top:0;margin:20px auto 0;text-align:left}.offline .runner-container{top:30px}.offline .controller{inset:0;width:100%;height:100%;touch-action:none}#main-content{visibility:hidden}#hint{font-size:14px;color:#65766a}.controls{display:flex;justify-content:center;gap:10px}button{background:#edf5ee;color:#2d6640;border:1px solid #cfdfd1;border-radius:8px;padding:12px 20px;font-weight:bold;font-size:14px;touch-action:none;cursor:pointer}.caption{font-size:13px;color:#7b877e;margin-top:22px}#how-to-play{padding:45px 24px 65px;border-top:1px solid #dde6de}h2{font-size:34px;letter-spacing:-1px;margin:15px 0 30px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.key{display:inline-block;font-size:12px;font-weight:bold;border:1px solid #d5e0d7;border-bottom-width:3px;padding:8px 10px;border-radius:6px;background:white}h3{font-size:19px;margin:20px 0 10px}article p,.restart{font-size:16px;line-height:1.7;color:#65736a}.restart{margin-top:30px;font-size:14px}footer{border-top:1px solid #dde6de;padding:25px 24px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#718077}footer a{text-decoration:underline}@media(max-width:600px){.hero{padding-top:25px}.game{padding:16px 12px}.cards{grid-template-columns:1fr;gap:24px}footer{flex-direction:column}h1{letter-spacing:-2px}.game-top{font-size:10px}}
.how-intro{max-width:720px;color:#65736a;font-size:16px;line-height:1.7;margin:-10px 0 30px}
/* Blend the embedded game into the page without a card boundary. */
.game{background:transparent;border:0;border-radius:0;box-shadow:none;padding:20px 0}
.game-top{max-width:600px;margin:0 auto}
/* Keep the introduction compact so the game stays prominent. */
.hero{padding-top:28px}
.hero .eyebrow{font-size:11px;letter-spacing:1.8px}
h1{font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-1.3px;margin:16px 0}
.intro{font-size:16px;margin:12px 0}
.game{margin-top:26px}
@media(max-width:600px){.hero{padding-top:18px}h1{font-size:30px;letter-spacing:-1px}.hero .eyebrow{font-size:10px;letter-spacing:1.3px}.intro{font-size:15px}}
.hero h1{font-size:clamp(24px,3vw,30px);font-weight:500;letter-spacing:0;margin:12px 0 16px}
.hero .intro{max-width:730px;margin:0 auto;font-size:16px;line-height:1.55}
.tools{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0}.tools button{background:transparent;padding:8px 12px;font-weight:400}.interstitial-wrapper{transform-origin:top center}#tool-status{font-size:14px;color:#65736a;min-height:18px;margin:8px 0}.offline .runner-container{width:100%} .game{overflow:hidden}
/* Only the homepage uses the green game palette; classic retains original art. */
.green-game .runner-canvas{filter:sepia(1) saturate(4) hue-rotate(85deg) brightness(.8)}
header nav{display:flex;align-items:center;gap:24px;font-size:14px}header nav a:hover{text-decoration:underline}@media(max-width:600px){header{gap:16px;flex-wrap:wrap}header nav{gap:16px}}
header nav .back-to-flappy{display:inline-flex;align-items:center;background:#277a46;color:#fff;font-weight:700;padding:10px 15px;border-radius:8px;box-shadow:0 3px 10px #277a4626;text-decoration:none}header nav .back-to-flappy:hover{background:#1c6035;text-decoration:none}header nav .back-to-flappy:focus-visible{outline:3px solid #86c99c;outline-offset:3px}
