.pwa-launcher{position:fixed;right:0;top:55%;z-index:85;display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #d8c6b8;border-right:0;border-radius:12px 0 0 12px;background:#fff;color:#654832;box-shadow:0 3px 16px #2e21181c;font:600 13px system-ui;cursor:pointer;min-height:44px}
.pwa-launcher img{border-radius:6px}.pwa-launcher[hidden],.pwa-drawer[hidden]{display:none!important}
.pwa-drawer{position:fixed;right:12px;top:50%;transform:translateY(-50%);z-index:86;width:min(360px,calc(100vw - 24px));padding:18px;background:#fff;color:#2e2118;border:1px solid #ddcdbf;border-radius:16px;box-shadow:0 12px 45px #2e211833;font:14px/1.5 system-ui;animation:pwa-enter .18s ease-out}
.pwa-drawer header{display:flex;gap:10px;align-items:center}.pwa-drawer header strong{flex:1}.pwa-drawer img{border-radius:10px}.pwa-drawer p{margin:12px 0}
.pwa-drawer button,.pwa-guide button{min-height:44px;border-radius:9px;border:1px solid #d6c3b2;background:#fff;color:#684833;padding:9px 14px;font:600 14px system-ui;cursor:pointer}
.pwa-drawer header button{padding:0;width:44px;font-size:24px;border:0}.pwa-drawer__actions{display:flex;gap:8px}.pwa-drawer__actions button:first-child,.pwa-guide button{background:#95694c;color:#fff;border-color:#95694c}
.pwa-guide{margin:auto;padding:24px;width:min(400px,calc(100vw - 28px));border:1px solid #d6c3b2;border-radius:16px;color:#2e2118;background:#fff;font:14px/1.6 system-ui}.pwa-guide p{margin:12px 0}.pwa-guide::backdrop{background:#2e211877}
.pwa-launcher:focus-visible,.pwa-drawer button:focus-visible{outline:2px solid #77543c;outline-offset:3px}
@keyframes pwa-enter{from{opacity:0;translate:24px 0}to{opacity:1;translate:0 0}}
@media(max-width:540px){.pwa-launcher{top:auto;bottom:calc(100px + env(safe-area-inset-bottom,0px));padding:10px 8px}.pwa-launcher span{display:none}.pwa-drawer{top:auto;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:none;padding:14px}.pwa-drawer__actions button{flex:1}}
@media(prefers-reduced-motion:reduce){.pwa-drawer{animation:none}}
