.home-install{position:fixed;inset:0 auto auto 0;width:100vw;height:100vh;width:100dvw;height:100dvh;transform-origin:top left;z-index:9000;pointer-events:none;container-type:size;font-family:system-ui,'Malgun Gothic',sans-serif;color:#fff2d6;font-size:16px}
.home-install [hidden],.install-guide [hidden]{display:none!important}.home-install *,.install-guide *{box-sizing:border-box}.install-banner{position:absolute;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(680px,calc(100% - 32px));max-height:75%;overflow:auto;pointer-events:auto;display:grid;grid-template-columns:48px minmax(0,1fr) auto 40px;align-items:center;gap:14px;padding:14px 12px 14px 16px;border:1px solid #c7a360;border-radius:14px;background:linear-gradient(120deg,#302418fa,#14130ffb);box-shadow:0 12px 40px #0009,inset 0 1px #ffe6a52b}.is-landscape .install-banner{bottom:calc(clamp(58px,18cqh,106px) + 12px)}.install-banner img{border-radius:10px;width:48px;height:48px}.install-copy strong{display:block;font-size:1.125rem;line-height:1.4;word-break:keep-all;color:#ffe4a7}.install-copy p{margin:4px 0 0;font-size:.875rem;line-height:1.5;color:#d6cbb7}.install-banner button,.install-guide button{font:inherit;cursor:pointer;touch-action:manipulation}.install-primary{min-height:44px;border:1px solid #f1cd81;border-radius:9px;padding:10px 18px;background:linear-gradient(#efcf88,#c49b54);color:#22180a;font-size:1rem;font-weight:750;white-space:nowrap}.install-primary:disabled{opacity:.7;cursor:wait}.install-close{display:grid;place-items:center;width:40px;min-height:44px;padding:0;background:transparent;border:0;color:#e1d4ba;font-size:27px!important}.install-banner button:focus-visible,.install-guide button:focus-visible,.install-guide input:focus-visible{outline:3px solid #ffe29d;outline-offset:3px}.install-guide{font:1rem/1.6 system-ui,'Malgun Gothic',sans-serif;color:#fff0d1;width:min(540px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid #c5a163;border-radius:16px;background:linear-gradient(135deg,#30251b,#14140f);box-shadow:0 24px 80px #000a}.install-guide::backdrop{background:#080b09c7}.install-guide header{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 12px;padding:0;background:none;border:0}.install-guide h2{font-size:1.25rem;margin:0;color:#ffe4a7}.install-guide ol{padding-left:1.6rem;margin:1rem 0}.install-guide li{padding-left:4px;margin:10px 0}.install-help{color:#d5c9b4;font-size:.875rem;line-height:1.6}.install-address{display:flex;gap:8px}.install-address input{min-width:0;flex:1;padding:10px;border:1px solid #8d734a;border-radius:7px;background:#0f140f;color:#eed5a3;font:inherit;font-size:.875rem}.install-address button{border:1px solid #b28e51;border-radius:7px;padding:8px 12px;background:#322a1e;color:#ffe5af;white-space:nowrap;min-height:44px}.install-feedback{font-size:.875rem;min-height:1.5em;margin:8px 0;color:#ecd097}.install-guide>[data-done],.install-guide>[data-guide-install]{display:block;margin-left:auto}.home-install-reopen{display:inline-block;margin-top:1rem;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:4px;padding:10px;min-height:44px;cursor:pointer;font:inherit;font-size:.875rem}
@media(orientation:portrait){.home-install.is-landscape{width:100vh;height:100vw;width:100dvh;height:100dvw;transform:translateX(100vw) rotate(90deg);transform:translateX(100dvw) rotate(90deg)}.install-guide.is-landscape{width:min(600px,calc(100dvh - 40px));max-width:calc(100dvh - 40px);max-height:calc(100dvw - 24px);transform:rotate(90deg)}}
@container(max-width:520px){.install-banner{grid-template-columns:40px minmax(0,1fr) 36px;gap:8px 12px;padding:12px}.install-banner img{width:40px;height:40px}.install-banner .install-close{grid-column:3;grid-row:1;align-self:start;width:36px}.install-banner .install-primary{grid-column:2;grid-row:2;justify-self:start}.install-copy strong{font-size:1rem}.install-copy p{font-size:.875rem}}
@media(prefers-reduced-motion:no-preference){.install-banner{animation:install-appear .25s ease-out}@keyframes install-appear{from{opacity:0;margin-bottom:-8px}to{opacity:1;margin-bottom:0}}}
