/* Installation only. Existing game screens, shared controls and dialogs are untouched. */
.gh-install-hero .gh-hero-copy{width:100%;max-width:none}
.gh-install-hero .gh-hero-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gh-install-hero .gh-install-button{transform:translateY(12px)}
.gh-install-hero .gh-hero-subtitle{min-width:0}
.gh-install-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;max-width:60%;flex-shrink:0;padding:10px 14px;border:1px solid #dcea9d;border-radius:12px;background:#dcea9d;color:#173f2d;font:inherit;font-size:14px;font-weight:750;line-height:1.25;cursor:pointer;text-align:center;overflow-wrap:anywhere}
.gh-install-button svg{width:19px;height:19px;flex:none}
.gh-install-button[hidden]{display:none}
.gh-install-button:disabled{cursor:wait;opacity:.8}
.gh-install-button:focus-visible,.gh-install-guide button:focus-visible{outline:3px solid #9b78bd;outline-offset:3px}
.gh-install-guide{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(420px,calc(100% - 24px));height:fit-content;max-width:none;max-height:calc(100dvh - 24px);padding:14px;border:1px solid #d4ded5;border-radius:18px;background:#faf9f4;color:#193c2c;box-shadow:0 16px 60px #102d2733;font-family:inherit;overflow:auto;overscroll-behavior:contain}
.gh-install-guide:not([open]){display:none}
.gh-install-guide::backdrop{background:#142c25a6}
.gh-install-guide[data-install-fallback]{z-index:1000;box-shadow:0 0 0 100vmax #142c25a6}
.gh-install-guide *{box-sizing:border-box}
.gh-install-guide button{min-height:44px;min-width:44px;margin:0;font:inherit;font-size:14px;line-height:1.2;font-weight:650;cursor:pointer;color:#193c2c}
.gh-install-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px}
.gh-install-heading button{display:grid;place-items:center;width:44px;height:44px;padding:8px;border:0;border-radius:10px;background:transparent}
.gh-install-heading [data-install-back] svg{width:28px;height:28px}
.gh-install-heading [data-install-close] svg{width:22px;height:22px}
.gh-install-heading h2{font-size:20px;line-height:1.15;font-weight:800;margin:0;letter-spacing:-.03em;text-align:center;overflow-wrap:anywhere}
.gh-install-devices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:8px;padding:3px;border-radius:12px;background:#eceee7}
.gh-install-devices button{padding:6px 4px;border:1px solid transparent;background:transparent;border-radius:9px;font-size:12px}
.gh-install-devices button[aria-pressed="true"]{background:#eaf2d6;border-color:#81995c}
.gh-install-step{padding:14px 8px;min-height:144px}
.gh-install-step [data-install-progress]{display:block;margin-bottom:6px;color:#5e6d5f;font-size:12px;font-weight:650;line-height:1.2}
.gh-install-step h3{font-size:20px;line-height:1.2;letter-spacing:-.02em;margin:0 0 8px}
.gh-install-step p{font-size:15px;line-height:1.45;color:#526258;margin:0;overflow-wrap:anywhere}
.gh-install-guide .gh-install-next{width:100%;padding:10px 14px;border:1px solid #247545;border-radius:12px;background:#247545;color:white}
@media(max-width:760px){
 .gh-install-hero .gh-hero-copy{padding:14px 16px}
 .gh-install-hero .gh-hero-actions{gap:8px}
 .gh-install-hero .gh-hero-subtitle{max-width:48%;font-size:12px;line-height:1.35}
 .gh-install-button{font-size:12px;gap:5px;padding:9px 10px;border-radius:10px}
 .gh-install-button svg{width:17px;height:17px}
}
@media(max-width:370px){
 .gh-install-hero .gh-hero-copy{padding:12px 14px}
 .gh-install-hero .gh-hero-subtitle{font-size:11px}
 .gh-install-button{padding:8px;font-size:11px}
 .gh-install-heading h2{font-size:18px}
 .gh-install-guide{padding:10px}
}
@media(max-height:430px){
 .gh-install-guide{padding:8px;width:min(520px,calc(100% - 16px));max-height:calc(100dvh - 16px)}
 .gh-install-devices{margin-top:2px}
 .gh-install-step{min-height:0;padding:8px}
 .gh-install-step h3{font-size:18px;margin-bottom:4px}
 .gh-install-step p{font-size:14px;line-height:1.35}
 .gh-install-step [data-install-progress]{margin-bottom:3px}
}
@media(display-mode:standalone){.gh-install-button{display:none}}
