#visitor-chat{position:fixed;right:20px;bottom:20px;z-index:20;font:14px/1.5 'Segoe UI',sans-serif;color:#e5f3f3}#visitor-chat [hidden]{display:none!important}#chat-launch{padding:12px 17px;border:1px solid #73d9ca;border-radius:24px;background:#173b3d;color:#fff;box-shadow:0 5px 25px #0008;font-weight:600}#chat-dot{margin-left:8px;font-size:11px;color:#c6cfd0}#visitor-chat[data-status=available] #chat-dot{color:#b2ffb7}#chat-panel{position:absolute;right:0;bottom:60px;width:min(370px,calc(100vw - 24px));max-height:calc(100dvh - 110px);overflow:auto;background:#101e28;border:1px solid #4e797b;border-radius:14px;box-shadow:0 10px 50px #000a;padding:16px;box-sizing:border-box}#chat-panel header{position:static;padding:0 0 10px;display:flex;justify-content:space-between;background:none;box-shadow:none;border:0}#chat-panel button{font:inherit;background:#20434b;border:1px solid #5a9294;border-radius:6px;color:white;padding:7px 12px;cursor:pointer}#chat-panel input:not([type=checkbox]),#chat-panel textarea{width:100%;box-sizing:border-box;background:#08131c;color:white;border:1px solid #52717c;padding:9px;border-radius:5px;font:16px 'Segoe UI',sans-serif}#chat-panel label{display:block;margin:10px 0}#chat-panel .chat-consent{display:flex;gap:8px;align-items:start;font-size:12px}.chat-privacy,#chat-availability,#chat-error{font-size:12px;color:#b6cbce}.chat-photo-label{font-size:10px}#chat-panel input[type=file]{font-size:11px}#chat-messages{height:240px;overflow:auto;overscroll-behavior:contain;padding:4px}.chat-message{background:#1d3440;border-radius:8px;margin:8px 24px 8px 0;padding:9px;overflow-wrap:anywhere}.chat-message.visitor{background:#214340;margin:8px 0 8px 24px}.chat-message small{font-size:10px;color:#b9d7d5}.chat-message p{margin:4px 0;white-space:pre-wrap}.chat-message img{max-width:100%;border-radius:5px}#chat-forget{font-size:10px!important;margin-top:10px}.chat-visually-hidden{position:absolute;left:-9999px}@media(max-width:500px){#visitor-chat{right:12px;bottom:12px}#chat-messages{height:190px}}
#chat-launch{display:flex;align-items:center;gap:9px;padding:5px 18px 5px 5px;background:linear-gradient(135deg,#071426,#12394a);border-color:#47e4e2;min-height:74px;border-radius:40px;cursor:pointer} .chat-launch-label{font-size:17px;letter-spacing:.4px;text-align:left}#chat-dot{display:block;margin:0;font-size:11px;font-weight:400}.chat-space{display:block;position:relative;width:78px;height:64px;overflow:hidden}.chat-earth{position:absolute;width:44px;height:44px;left:17px;top:10px;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 32% 26%,#65d8ff,#087dbe 45%,#031a45 95%);box-shadow:0 0 13px #1bafff88,inset -9px -4px 10px #0009}.chat-land{position:absolute;width:150px;height:44px;background:repeating-linear-gradient(0deg,transparent 0 10px,#d9f9ff33 11px,transparent 12px),radial-gradient(ellipse at 18px 10px,#61cc9c 0 10px,transparent 11px),radial-gradient(ellipse at 32px 29px,#3aa680 0 8px,transparent 9px),radial-gradient(ellipse at 66px 16px,#8cce91 0 13px,transparent 14px),radial-gradient(ellipse at 95px 33px,#51b38d 0 9px,transparent 10px);background-size:100px 44px;animation:chat-spin 14s linear infinite}.chat-orbit{position:absolute;left:3px;top:15px;width:70px;height:34px;border:1px solid #83edff66;border-radius:50%;transform:rotate(-25deg)}.chat-satellite{position:absolute;left:27px;top:8px;font-size:10px;line-height:14px;color:#e5edff;text-shadow:0 0 4px #39cfff;animation:chat-orbit 8s linear infinite}.orbit-two{transform:rotate(40deg);border-color:#66a4e833}.orbit-two .chat-satellite{animation-delay:-4s;animation-duration:11s;color:#b9d9ff}#chat-panel{bottom:87px;max-height:calc(100dvh - 135px)}#chat-photo-preview img{max-height:100px;max-width:100%;display:block;border-radius:7px;margin:6px 0}#chat-launch:focus-visible{outline:3px solid white;outline-offset:4px}@keyframes chat-spin{to{transform:translateX(-100px)}}@keyframes chat-orbit{0%{transform:translate(32px,0) rotate(0)}25%{transform:translate(0,17px) rotate(15deg)}50%{transform:translate(-32px,0) rotate(0)}75%{transform:translate(0,-17px) rotate(-15deg)}100%{transform:translate(32px,0) rotate(0)}}@media(prefers-reduced-motion:reduce){.chat-land,.chat-satellite{animation:none}}

/* Photographic Earth with illustrated hardware, no font glyph satellites. */
.chat-space{width:96px;height:80px;flex-shrink:0;overflow:visible}
.chat-earth{left:19px;top:11px;width:58px;height:58px;background:#072a53;box-shadow:0 0 12px #2eafff65}
#chat-globe{display:block;width:58px;height:58px;border-radius:50%}
.chat-orbit{left:3px;top:20px;width:88px;height:38px;border-color:#9bd6ee3b;pointer-events:none}
.chat-satellite{left:30px;top:11px;width:28px;height:16px;display:block;filter:drop-shadow(0 1px 2px #000);text-shadow:none}
.chat-satellite svg{display:block;width:28px;height:16px}
@keyframes chat-orbit{0%{transform:translate(41px,0) rotate(15deg);opacity:1}25%{transform:translate(0,22px) rotate(-5deg);opacity:1}50%{transform:translate(-41px,0) rotate(-15deg);opacity:1}75%{transform:translate(0,-22px) rotate(5deg);opacity:.75}100%{transform:translate(41px,0) rotate(15deg);opacity:1}}
#chat-panel{bottom:97px;max-height:calc(100dvh - 145px)}

.chat-photo-viewer{position:fixed;inset:0;width:min(1100px,96vw);max-width:96vw;max-height:94dvh;box-sizing:border-box;margin:auto;padding:48px 12px 12px;background:#091722;color:#e8f7fa;border:1px solid #5babb3;border-radius:12px;overflow:auto;box-shadow:0 12px 60px #000b}
.chat-photo-viewer::backdrop{background:#000d}
.chat-photo-viewer img{display:block;width:auto;max-width:100%;max-height:77dvh;object-fit:contain;margin:auto;touch-action:pinch-zoom}
.chat-photo-viewer .photo-viewer-close{position:absolute;right:10px;top:6px;border:1px solid #79b9bd;border-radius:6px;background:#193945;color:white;font:16px system-ui;padding:7px 12px;cursor:pointer}
.chat-photo-viewer p{text-align:center;color:#b3cbd0;font:12px system-ui;margin:8px 0 0}
#chat-messages img[role=button],#messages img[role=button]{cursor:zoom-in}
#chat-messages img[role=button]:focus-visible,#messages img[role=button]:focus-visible{outline:3px solid #70e6e0;outline-offset:3px}

.chat-photo-viewer .photo-viewer-zoom{position:absolute;left:10px;top:6px;border:1px solid #79b9bd;border-radius:6px;background:#193945;color:#fff;font:16px system-ui;padding:7px 12px;cursor:pointer}
.photo-viewer-scroll{overflow:auto;max-height:74dvh;overscroll-behavior:contain}
.chat-photo-viewer.photo-zoomed img{width:200%;max-width:none;max-height:none}
#chat-compose #chat-send,#compose #send{display:block;margin:6px 0 12px;width:100%;font-weight:600}

.chat-photo-viewer .photo-viewer-save{display:block;text-align:center;margin:4px 0 12px;padding:9px;background:#204954;border:1px solid #79b9bd;border-radius:6px;color:#fff;font:16px system-ui;text-decoration:none;cursor:pointer}

.unread-badge{display:inline-block;border-radius:20px;background:#a9f4dc;color:#062827;font:bold 12px system-ui;padding:3px 8px;margin-left:8px}.thread-actions{display:flex;flex-wrap:wrap;gap:6px}#notice[data-state=connected]{color:#a9f4dc}#notice[data-state=disconnected]{color:#ffd17a}#typing,#chat-typing{font-size:12px;min-height:18px;color:#9ddfd8}#preferences{padding:12px;border:1px solid #426874;border-radius:8px}#quiet-enabled{width:auto}#delete-chat{border-color:#cf7e7e}
