/* A small comic call in the corner; the game remains visible and usable. */
.customer-phone{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:112px;z-index:9;width:min(392px,calc(100vw - 32px));max-height:calc(100dvh - 136px);overflow-y:auto;overscroll-behavior:contain;pointer-events:none;padding:0 4px 5px}
.customer-phone[hidden]{display:none}
.customer-phone .customer-call{padding:0 0 0 1px}
.customer-phone .customer-bubble{position:relative;margin:0 13px 0 0;padding:13px 15px 14px;background:#fffdf4;color:#172f3c;border:2px solid #152c37;border-radius:19px;box-shadow:0 5px 0 #102936,0 10px 24px #00111a55;pointer-events:auto}
.customer-phone .customer-bubble::after{content:'';position:absolute;right:35px;bottom:-10px;width:17px;height:17px;transform:rotate(45deg);background:#fffdf4;border-right:2px solid #152c37;border-bottom:2px solid #152c37}
.customer-phone .call-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #d8deda;padding-bottom:7px;margin-bottom:8px}
.customer-phone .call-heading>span{display:flex;gap:7px;align-items:center;font-size:.8125rem;font-weight:750;color:#975113;line-height:1.3}
.customer-phone .is-thanks .call-heading>span{color:#127462}
.customer-phone .call-heading svg{width:16px;height:16px;min-width:16px}
.customer-phone .call-close{display:grid;place-items:center;width:30px;height:30px;min-width:30px;border:0;border-radius:7px;color:#47616c;background:#e8eeeb;padding:3px}
.customer-phone .call-close svg{width:17px;height:17px}
.customer-phone .caller-line strong{display:block;font-size:.9375rem;line-height:1.3;color:#193642}
.customer-phone .caller-line>span{display:block;color:#5e7279;font-size:.8125rem;line-height:1.4;margin-top:2px}
.customer-phone blockquote{margin:11px 0 10px}
.customer-phone blockquote p{margin:0;font-size:1.0625rem;font-weight:600;line-height:1.45;text-wrap:pretty;overflow-wrap:anywhere}
.customer-phone .call-context{font-size:.8125rem;font-weight:650;line-height:1.4;color:#87501f;margin:0 0 11px}
.customer-phone .is-thanks .call-context{color:#176d5d}
.customer-phone .call-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.customer-phone .call-actions button{font-size:.875rem;line-height:1.35;padding:8px 11px;min-height:37px;border-radius:7px}
.customer-phone .call-actions .secondary{background:#edf2ef;border:1px solid #b0c1c5;color:#27434f}
.customer-phone .call-actions .primary{background:#148c85;color:#fff;border:1px solid #08625e;font-weight:650}
.customer-phone .caller-bottom{display:flex;align-items:flex-start;justify-content:flex-end;gap:13px;min-height:116px;padding-top:10px}
.customer-phone .customer-portrait{width:116px;height:116px;flex:0 0 116px;background-image:url('./assets/customer-portraits-v2.png');background-size:200% 200%;background-repeat:no-repeat;background-position:0 0;filter:drop-shadow(0 3px 2px #00121a66)}
.customer-phone .customer-portrait.portrait-1{background-position-x:100%}
.customer-phone .customer-portrait.happy{background-position-y:100%}
.customer-phone .call-pause{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;max-width:230px;color:#fff;font-size:.8125rem;line-height:1.4;font-weight:600;text-shadow:0 1px 3px #05212c,0 0 5px #05212c;margin:9px 0 0;pointer-events:none}
.customer-phone .call-pause svg{width:14px;height:14px;min-width:14px}
.customer-phone .call-pause span{display:block;width:100%;text-align:right;font-size:.75rem;font-weight:400}
@media(max-width:600px){.customer-phone{right:10px;bottom:155px;width:min(350px,calc(100vw - 20px));max-height:calc(100dvh - 185px);padding-bottom:3px}.customer-phone .customer-bubble{padding:11px 13px 12px;margin-right:8px}.customer-phone blockquote p{font-size:1rem;line-height:1.4}.customer-phone .caller-bottom{min-height:94px;padding-top:9px;gap:8px}.customer-phone .customer-portrait{width:92px;height:92px;flex-basis:92px}.customer-phone .customer-bubble::after{right:27px}.customer-phone .call-actions button{min-height:38px}.customer-phone .call-pause{font-size:.75rem;max-width:210px}}
@media(max-height:600px){.customer-phone{bottom:108px;max-height:calc(100dvh - 126px)}.customer-phone .caller-bottom{min-height:72px}.customer-phone .customer-portrait{width:72px;height:72px;flex-basis:72px}.customer-phone blockquote{margin:8px 0}.customer-phone blockquote p{font-size:1rem}.customer-phone .call-context{margin-bottom:8px}}
@media(prefers-reduced-motion:no-preference){.customer-phone:not([hidden]) .customer-call{animation:phone-arrives .2s ease-out}@keyframes phone-arrives{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}}
