/* Reserve room for the always-visible contact without hiding the final controls. */
body { padding-bottom:176px; }
.line-support { position:fixed; z-index:90; right:max(12px,env(safe-area-inset-right)); bottom:max(12px,env(safe-area-inset-bottom)); width:132px; border:1px solid #d9e8df; border-radius:12px; background:#fff; color:#273d32; box-shadow:0 4px 22px #24352b20; padding:9px; margin:0; }
.line-contact-link { display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; color:#214d33; text-decoration:none; font-size:11px; line-height:1.4; }
.line-contact-link:hover { color:#0b7741; }
.line-contact-link:focus-visible { outline:3px solid #ff4b23; outline-offset:3px; border-radius:6px; }
.line-contact-link img { display:block; width:96px; height:96px; background:#fff; }
.line-contact-id { overflow-wrap:anywhere; font-weight:650; max-width:100%; }
.line-contact-link small { color:#7c867f; font-size:9px; }
.line-settings-preview { display:flex; justify-content:center; padding:16px; border:1px solid var(--border); border-radius:10px; background:#f7faf8; }
.toast-stack { bottom:190px; }
.app-modal.has-line-support .modal-foot { padding-bottom:190px; }
@media(max-width:760px) {
  .line-support { width:112px; padding:7px; right:max(8px,env(safe-area-inset-right)); bottom:max(8px,env(safe-area-inset-bottom)); }
  .line-contact-link img { width:80px; height:80px; }
  .line-contact-link { font-size:10px; }
  .line-contact-link small { font-size:8px; }
  body { padding-bottom:156px; }
  .toast-stack { bottom:168px; }
  .app-modal.has-line-support .modal-foot { padding-bottom:160px; }
}
