.urh-chat-launcher[hidden],.urh-chat[hidden]{display:none!important}.urh-chat-launcher{position:fixed;right:18px;bottom:18px;z-index:90;border:1px solid #81c5df;border-radius:99px;padding:13px 18px;background:linear-gradient(135deg,#fff,#d9f4ff);box-shadow:0 6px 25px #103c6233;color:#075d82;font:800 13px/1.4 system-ui;cursor:pointer}.urh-chat{position:fixed;right:18px;bottom:76px;width:min(390px,calc(100% - 36px));height:min(660px,calc(100dvh - 110px));z-index:91;display:flex;flex-direction:column;overflow:hidden;border:1px solid #8ac6dd;border-radius:22px;background:#f5fbff;box-shadow:0 18px 65px #0c365b40;font:13px/1.5 system-ui;color:#173f59;text-align:left}.urh-chat *{box-sizing:border-box}.urh-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:linear-gradient(125deg,#d5f2ff,#faffff);border-bottom:1px solid #badfea}.urh-chat h2{font-size:18px;line-height:1.3;margin:0;color:#124f70}.urh-chat-close{width:32px;height:32px;flex:none;border-radius:9px;border:1px solid #a3d0e0;background:white;color:#174f6b;font-size:23px;cursor:pointer}.urh-chat-online{margin:10px 16px 5px;color:#4c6d81;font-size:11px}.urh-chat-welcome{padding:10px 12px;margin:6px 16px 10px;background:#e7f5fc;border-radius:10px;color:#325d76;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.urh-chat-log{overflow:auto;overscroll-behavior:contain;flex:1;min-height:80px;padding:0 15px;scrollbar-width:thin}.urh-chat-message{display:flex;gap:9px;padding:13px 0;border-bottom:1px solid #d6e9f1}.urh-chat-avatar{position:relative;display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;overflow:hidden;background:#d7effa;color:#1c6382;font-weight:850}.urh-chat-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.urh-chat-message-body{min-width:0;flex:1}.urh-chat-meta{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.urh-chat-meta strong{font-size:12px;overflow-wrap:anywhere;max-width:100%}.urh-chat-meta time{color:#5e7b8b;font-size:10px}.urh-chat-copy{margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:#214c65;font-size:13px}.urh-chat-tag{display:inline-block;padding:2px 6px;border:1px solid #b7d9e9;background:#e5f5ff;color:#255a78;border-radius:99px;font-size:9px;font-weight:800;overflow-wrap:anywhere}.urh-chat .tone-admin{color:#fff;background:#12624f;border-color:#0b4238}.urh-chat .tone-admin:before{content:"◆";margin-right:3px}.urh-chat .tone-polar{color:#075d80;background:#d6f5ff;border-color:#299cc3}.urh-chat .tone-aurora{color:#56317e;background:#f0e6ff;border-color:#9d72c5}.urh-chat .tone-northern{color:#644209;background:#fff0c3;border-color:#b5832a}.urh-chat-legend{margin:8px 16px;font-size:11px}.urh-chat-legend summary{cursor:pointer;font-weight:800;color:#1b6285}.urh-chat-legend>div{display:flex;gap:5px;flex-wrap:wrap;padding:8px 0;max-height:110px;overflow:auto}.urh-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px 15px;background:white;border-top:1px solid #d5e8f0;margin:0}.urh-chat-form label{display:grid;gap:4px;font-size:11px;font-weight:750;color:#2d5f78}.urh-chat-form textarea{width:100%;min-width:0;max-height:120px;resize:vertical;font:13px/1.5 system-ui;color:#173f59;border:1px solid #9fc9dc;border-radius:10px;padding:8px;background:#f3fbff}.urh-chat-send{align-self:end;padding:11px 13px;border:0;border-radius:10px;background:#087fae;color:white;font:800 12px system-ui;cursor:pointer}.urh-chat-send:disabled{opacity:.5;cursor:default}.urh-chat-status{font-size:11px;line-height:1.5;color:#416a80;min-height:16px;margin:0;padding:5px 16px 12px;background:white;overflow-wrap:anywhere}.urh-chat-empty{font-size:12px;color:#56788c;padding:20px 0}.urh-chat :focus-visible,.urh-chat-launcher:focus-visible{outline:3px solid #159ac5;outline-offset:2px}@media(max-width:600px){.urh-chat-launcher{right:10px;bottom:10px;padding:11px 14px}.urh-chat{right:8px;bottom:65px;width:calc(100vw - 16px);height:min(600px,calc(100dvh - 90px));border-radius:18px}.urh-chat-head{padding:12px 14px}.urh-chat-open .coin-page-pill{display:none}.urh-chat-welcome{font-size:11px;margin:5px 12px}.urh-chat-online{margin-inline:12px}.urh-chat-form{padding:9px 12px}}
@media(max-width:600px){.urh-chat{left:8px;right:8px;width:auto}}@media(max-height:550px){.urh-chat-welcome,.urh-chat-legend{display:none}.urh-chat-log{min-height:40px}.urh-chat-online{margin-top:5px;font-size:10px}.urh-chat-head{padding-block:10px}}

/* Keep the chat's own frost surfaces independent of global button hover rules. */
.urh-chat-launcher:hover,.urh-chat-launcher:active,.urh-chat-launcher:focus-visible{background:linear-gradient(135deg,#fff,#e9f8ff);color:#075d82;border-color:#56abc9;box-shadow:0 6px 25px #103c6233;transform:none}.urh-chat:hover{background:#f5fbff}.urh-chat .urh-chat-close:hover,.urh-chat .urh-chat-close:active{background:#e6f6fc;color:#174f6b;border-color:#74b4ce;box-shadow:none}.urh-chat .urh-chat-send:hover:not(:disabled){background:#076f98;color:#fff;box-shadow:none}.urh-chat-compose{min-width:0}.urh-chat-emojis{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}.urh-chat .urh-chat-emoji{display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;min-width:28px;padding:0;border:1px solid #c4e0eb;border-radius:8px;background:#f4fbff;color:#173f59;font:17px/1 system-ui;cursor:pointer;box-shadow:none}.urh-chat .urh-chat-emoji:hover,.urh-chat .urh-chat-emoji:active{background:#e0f3fc;color:#173f59;border-color:#75b7d0;box-shadow:none}.urh-chat .urh-chat-emoji:disabled{opacity:.5;cursor:default}.urh-chat-shortcuts{display:block;margin-top:6px;font-size:10px;line-height:1.5;color:#4e6f82}@media(max-height:550px){.urh-chat-shortcuts{display:none}.urh-chat .urh-chat-emoji{width:25px;min-width:25px;height:25px;font-size:16px}}
@media(max-width:360px){.urh-chat .urh-chat-emoji{width:26px;min-width:26px;height:26px;font-size:16px}}

/* Geometrically centered close mark, independent of inherited button padding/fonts. */
.urh-chat .urh-chat-close{position:relative;display:grid;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;line-height:1}
.urh-chat .urh-chat-close:before,.urh-chat .urh-chat-close:after{content:"";position:absolute;top:50%;left:50%;width:12px;height:2px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}
.urh-chat .urh-chat-close:after{transform:translate(-50%,-50%) rotate(-45deg)}
.urh-chat .urh-chat-delete{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:8px 0 0;padding:5px 10px;border:1px solid #be8290;border-radius:9px;background:linear-gradient(135deg,#fff,#ffedf1);color:#872d45;font:750 11px/1.4 system-ui;cursor:pointer;box-shadow:none}
.urh-chat .urh-chat-delete:hover:not(:disabled){background:#ffe0e8;color:#6f1630;border-color:#a95870;transform:none;box-shadow:none}
.urh-chat .urh-chat-delete:disabled{opacity:.6;cursor:wait}
html[data-theme=dark] .urh-chat .urh-chat-delete{background:linear-gradient(135deg,#433348,#282539);color:#ffe2eb;border-color:#b9849c}
html[data-theme=dark] .urh-chat .urh-chat-delete:hover:not(:disabled){background:#56394d;color:#fff3f7;border-color:#e4a8be}
