#shigoInstallToast{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:min(94vw,420px);background:#fff;border:1px solid #b8d5c3;box-shadow:0 8px 30px #0003;border-radius:16px;z-index:99990;padding:16px;color:#1c3928;font:inherit}#shigoInstallToast[hidden]{display:none!important}.shigo-pwa-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.shigo-pwa-actions button{flex:1;min-height:43px;border:0;border-radius:10px;background:#23774b;color:white;font-size:14px;font-weight:700}.shigo-pwa-actions button.secondary{background:#e9f3ed;color:#235c3c}.shigo-pwa-small{font-size:12px;color:#58705f;margin-top:6px}#shigoPushPrompt{margin:12px auto;padding:13px;background:#eff8f1;border:1px solid #d2e5d8;border-radius:12px;max-width:520px;text-align:center}#shigoPushPrompt button{border:0;background:#22784b;color:#fff;border-radius:9px;padding:11px 17px;margin:7px;cursor:pointer}#shigoPushPrompt[hidden]{display:none!important}@media(max-width:500px){#shigoInstallToast{bottom:calc(12px + env(safe-area-inset-bottom))}}
#shigoInstallAgain{position:fixed;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:99980;border:1px solid #d3e9d8;border-radius:999px;background:#28784c;color:white;box-shadow:0 3px 13px #0002;padding:10px 14px;font:700 12px/1.2 system-ui,sans-serif;cursor:pointer}
@media(display-mode:standalone){#shigoInstallAgain,#shigoInstallToast{display:none!important}}
#shigoInstallToast{box-sizing:border-box;max-height:80dvh;overflow-y:auto;line-height:1.5}
#shigoInstallToast button{cursor:pointer}
@media(max-width:500px){#shigoInstallToast{width:calc(100vw - 24px);bottom:calc(60px + env(safe-area-inset-bottom));padding:16px}#shigoInstallAgain{right:10px;bottom:calc(9px + env(safe-area-inset-bottom))}}

body.shigo-install-visible #shigoInstallAgain,body.home-popup-open #shigoInstallAgain,body.home-popup-open #shigoInstallToast{display:none!important}
#shigoInstallToast{z-index:9990!important}
#shigoInstallAgain{z-index:900!important}
@media(max-width:500px){#shigoInstallToast{font-size:14px!important;max-height:56dvh!important;padding:14px!important}#shigoInstallToast strong{font-size:17px!important}.shigo-pwa-actions button{font-size:13px!important;min-height:42px!important}}

#shigoBrowserHelp{margin-top:10px;padding:10px;background:#f1f7f2;border-radius:10px;font-size:13px;line-height:1.6;color:#173e29}#shigoBrowserHelp[hidden]{display:none!important}#shigoBrowserHelp .shigo-pwa-actions{margin-top:8px}#shigoPwaStatus:empty{display:none}

/* V239: 다른 창의 신청/상세 보기 버튼을 가리지 않도록 수동 열기만 허용 */
#shigoInstallClose{position:absolute;right:8px;top:6px;width:32px;height:32px;border:0;background:transparent;color:#365b44;font-size:25px;line-height:1;cursor:pointer}
#shigoInstallToast{padding-top:24px!important;z-index:9990!important}

@media(max-width:500px){#shigoInstallAgain{font-size:11px!important;padding:8px 10px!important;max-width:120px;opacity:.88}#shigoInstallToast{bottom:calc(12px + env(safe-area-inset-bottom))!important}}

/* V243: 설치 후 설치 버튼 위치에 작은 알림 설정 버튼 */
#shigoPushFloating{position:fixed;right:10px;bottom:calc(9px + env(safe-area-inset-bottom));z-index:900;border:1px solid #d3e9d8;border-radius:999px;background:#28784c;color:white;box-shadow:0 3px 13px #0002;padding:9px 12px;font:700 12px/1.2 system-ui,sans-serif;cursor:pointer;max-width:150px}#shigoPushFloating[hidden]{display:none!important}
#shigoPushPrompt{position:fixed;right:10px;bottom:calc(56px + env(safe-area-inset-bottom));z-index:9990;box-sizing:border-box;width:min(330px,calc(100vw - 24px));max-height:55dvh;overflow:auto;margin:0;padding:14px;background:white;border:1px solid #b8d5c3;border-radius:14px;box-shadow:0 8px 25px #0003;text-align:left;font-size:13px}#shigoPushPrompt button{margin:7px 5px 0 0;padding:9px 11px;font-size:12px}
body.home-popup-open #shigoPushFloating,body.home-popup-open #shigoPushPrompt{display:none!important}
