.actions{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1.15fr) minmax(0,.7fr);gap:10px;align-items:start}
.hero-benefit{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--green);margin:0 0 18px}
.hero-benefit>span{display:inline-flex;align-items:center;gap:6px;background:#e9efdf;border-radius:10px;padding:8px 10px}
.hero-benefit i{font-style:normal}
@media(min-width:621px){.hero{grid-template-columns:1.22fr 1fr;align-items:start}.hero-art{margin-top:-34px}}
.actions>.install-action{min-width:0}
.actions .button{width:100%;min-width:0;height:56px;padding:10px 12px;font-size:15px;text-align:center;justify-content:center}
.actions button{font-family:inherit;cursor:pointer}
.actions .button svg{flex-shrink:0;width:18px;height:18px}
.share-area{margin-top:0}
.closing .actions{max-width:540px;margin:0 auto}
.closing .share-area p{font-family:inherit;font-size:13px}
.closing .install-count{font-family:inherit;font-size:clamp(9px,2.5vw,12px);margin:10px 0 0;white-space:nowrap}
footer .install-count{margin:0;font-size:13px;white-space:nowrap}
[data-share-status]:empty{display:none}
.game-guide{padding:55px 0 50px}
.guide-intro{max-width:720px;color:#6d7965;font-size:17px;margin:0 0 24px}
.game-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:8px;background:#e9efdf;border-radius:22px}
.game-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;padding:12px 6px;border:1px solid transparent;border-radius:16px;background:transparent;color:var(--ink);font:700 14px/1.25 ui-rounded,'Trebuchet MS',Arial,sans-serif;cursor:pointer}
.game-tab[aria-selected="true"]{background:#fffdf5;border-color:#b9c9ac;box-shadow:0 3px 9px #4356320b}
.game-tab:hover{background:#f8f9ef}
.game-tab:focus-visible,.game-panel:focus-visible{outline:3px solid #b27d47;outline-offset:3px}
.game-tab-icon{display:flex;align-items:center;justify-content:center;width:56px;height:48px;flex-shrink:0}
.game-tab-icon svg{width:100%;height:100%}
.game-tab-icon img{width:100%;height:100%;object-fit:contain;border-radius:10px}
#game-tab-water .game-tab-icon img{object-fit:cover}
.game-panels{margin-top:16px}
.game-panel{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.game-panel[hidden]{display:none}
.game-mode{padding:22px 24px;border:1px solid #dbe0d0;border-radius:22px;background:#fffdf5}
.secret-mode{background:#e9efdf}
.mode-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--green)}
.mode-label span{font-size:20px;vertical-align:middle;margin-right:4px}
.game-mode h3{font-family:Georgia,serif;font-weight:500;font-size:25px;line-height:1.2;margin:12px 0 15px}
.game-mode p{font-size:15px;line-height:1.6;color:#62725b;margin:10px 0 0}
.game-mode strong{display:block;color:var(--ink);margin-bottom:5px}
.game-mode p+p{margin-top:20px}
.mode-heading{display:flex;align-items:center;gap:18px;min-height:180px}
.mode-heading>div:last-child{min-width:0;flex:1}
.mode-heading h3{margin-bottom:0}
.phone-demo{position:relative;flex-shrink:0;margin-right:8px;filter:drop-shadow(0 5px 5px #344b3b16)}
.phone-frame{width:100%;height:100%;padding:7px;border:2px solid #53694f;border-radius:19px;background:#53694f;position:relative}
.phone-frame:before{content:'';position:absolute;top:5px;left:50%;width:22px;height:4px;transform:translateX(-50%);background:#344b3b;border-radius:5px;z-index:1}
.phone-portrait{width:90px;height:150px}
.phone-landscape{width:160px;height:96px}
.phone-landscape .phone-frame:before{top:50%;left:3px;width:4px;height:18px;transform:translateY(-50%)}
.phone-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;height:100%;padding:5px;overflow:hidden;border-radius:11px;background:#f8f5ec}
.phone-screen>svg,.phone-screen>img{width:100%;height:85%;object-fit:contain;min-height:0}
.phone-direction{position:absolute;font:700 31px/1 Arial,sans-serif;color:#58774e}
.phone-portrait .phone-direction{right:-20px;top:58px}
.phone-landscape .phone-direction{left:65px;bottom:-29px}
.screen-word{font:700 10px/1 Arial,sans-serif;letter-spacing:.1em;color:#58774e}
.screen-letter{display:grid;place-items:center;border-radius:5px;background:#e9ad8b;color:#694838;width:26px;height:26px;font:bold 21px/1 Arial,sans-serif;flex-shrink:0}
.screen-pair{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:100%}
.screen-pair svg{width:100%;height:65px}
.screen-levels{display:flex;gap:6px;padding:5px}
.screen-levels i{width:8px;height:8px;border-radius:50%;background:#88a775}
.screen-write{font:700 19px/1.3 Arial,sans-serif;color:#88a775;border-top:1px dashed #c4cdb9;white-space:nowrap}
.screen-memory{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:100%}
.screen-memory img{width:100%;height:48px;object-fit:contain;background:#e9efdf;border-radius:5px;padding:2px}
.screen-choices{display:flex;gap:4px;padding:4px}
.screen-choices span{display:grid;place-items:center;background:#e9efdf;border-radius:4px;width:18px;height:20px;font:bold 13px Arial,sans-serif}
.screen-rabbit{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#e9efdf;border-radius:7px}
.screen-rabbit svg{height:100%;width:70px}
.screen-rabbit span{font-size:24px}
.phone-screen .screen-river{height:90%;object-fit:cover;border-radius:5px}
.screen-pipes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:2px;width:62px;height:62px;flex:0 0 auto}
.screen-pipes svg{display:block;width:100%;height:100%;min-width:0;min-height:0;background:#e9efdf;border-radius:3px}
.button,button,summary{transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,filter .16s ease}
button:focus-visible{outline:3px solid #b27d47;outline-offset:3px}
@media(hover:hover){.button:hover,button:hover{transform:translateY(-2px);box-shadow:0 5px 14px #344b3b16}summary:hover{color:var(--green)}}
.button:active,button:active{transform:translateY(1px) scale(.98);box-shadow:0 1px 3px #344b3b20}
summary:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){.button,button,summary{transition:none}.button:hover,button:hover,.button:active,button:active,summary:active{transform:none}}
@media(min-width:621px) and (max-width:1000px){.mode-heading{flex-direction:column;align-items:flex-start;gap:15px}.phone-demo{align-self:center}.phone-landscape{margin-bottom:10px}.mode-heading>div:last-child{width:100%}}
.rotation-help{font-size:13px;line-height:1.6;color:var(--muted);margin:16px 0 0;max-width:760px}
@media(max-width:620px){
  .actions{gap:7px}
  .hero-benefit{justify-content:center;font-size:14px;gap:6px}
  .actions .button{height:54px;padding:8px 6px;font-size:13px;gap:5px;border-radius:13px}
  .actions .button svg{width:16px;height:16px}
  .install-count{font-size:11px;margin-top:8px;line-height:1.4}
  .game-guide{padding:36px 0}
  .guide-intro{font-size:15px}
  .game-tabs{display:flex;overflow-x:auto;gap:5px;padding:6px;border-radius:18px;scrollbar-width:thin;scroll-snap-type:x proximity}
  .game-tab{flex:0 0 94px;font-size:12px;padding:10px 5px;scroll-snap-align:start}
  .game-tab-icon{width:48px;height:42px}
  .game-panel{grid-template-columns:1fr;gap:12px}
  .game-mode{padding:18px 20px}
  .game-mode h3{font-size:23px}
  .mode-heading{min-height:160px;gap:15px}
  .phone-landscape{width:142px;height:88px}
  .phone-portrait{width:82px;height:138px}
  .phone-landscape .phone-direction{left:56px}
}
@media(max-width:360px){.mode-heading{flex-direction:column;align-items:flex-start;gap:14px}.phone-demo{align-self:center}.phone-landscape{margin-bottom:14px}.mode-heading>div:last-child{width:100%}}
