.chat-window{position:fixed;inset:auto 18px 18px auto;margin:0;width:420px;max-width:calc(100vw - 24px);height:590px;max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;z-index:1000;border:2px solid #b78b43;border-radius:8px;background:radial-gradient(ellipse at top,#45402033,transparent 80%),#0c120d;color:#e2d1ac;box-shadow:0 12px 50px #000c,inset 0 0 25px #0009;font:15px/1.5 Georgia,serif;overflow:hidden}.chat-window[open]{display:flex;flex-direction:column}.chat-heading{display:flex;gap:11px;align-items:center;flex:none;padding:12px 13px;background:url('/assets/minagon-button-0.1.4.png') center/100% 100% no-repeat;border-bottom:1px solid #a17a3b}.chat-heading>div{flex:1;min-width:0}.chat-window .chat-heading h2{background:none;border:0;box-shadow:none;padding:0;margin:0;color:#efdaa7;font:21px/1.3 Georgia,serif;text-align:left}.chat-heading p{margin:4px 0 0;color:#bda980;font:11px/1.4 system-ui}.chat-heading>img{flex:none;object-fit:contain}.chat-heading button,.chat-room-bar button{flex:none;border:1px solid #8e6e3e;background:#16170ee0;color:#e4c78e;width:36px;height:36px;border-radius:50%;font-size:25px;line-height:1;cursor:pointer}.chat-room-bar{display:flex;gap:10px;align-items:center;padding:11px 13px;flex:none;border-bottom:1px solid #75603955}.chat-room-bar label{font:12px system-ui;color:#c6b17e}.chat-room-bar select{flex:1;min-width:0;max-width:100%;padding:9px;background:#10190f;border:1px solid #8e6e3e;color:#e4d0a8;font:14px Georgia,serif}.chat-room-bar button{width:32px;height:32px;font-size:21px}.chat-clan-note{margin:0;padding:8px 13px;color:#a99c7b;font:11px/1.6 system-ui;border-bottom:1px solid #75603944;flex:none}.chat-messages{flex:1;min-height:70px;overflow:auto;overscroll-behavior:contain;padding:8px 13px;scrollbar-color:#897342 #131b11}.chat-placeholder{text-align:center;font:14px/1.7 Georgia,serif;color:#ad9e7c;margin:24px 8px}.chat-message{padding:9px 10px;margin:7px 0;border:1px solid #6e5b3244;border-radius:5px;background:#19221277}.chat-own{background:#3b2e1777;border-color:#96733b66}.chat-meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font:12px/1.5 system-ui}.chat-meta strong{color:#d9bd81;overflow-wrap:anywhere}.chat-meta time{flex:none;color:#968b6f;font-size:10px}.chat-message p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#dfd1af}.chat-error{margin:0;padding:9px 13px;color:#efb4a1;background:#4e201b99;font:12px/1.6 system-ui;flex:none}.chat-error[hidden]{display:none}.chat-window form{margin:0;padding:10px 13px 4px;border-top:1px solid #75603955;flex:none}.chat-window form>label{display:block;font:12px system-ui;color:#baa579;margin-bottom:7px}.chat-window textarea{box-sizing:border-box;display:block;width:100%;height:66px;min-height:50px;max-height:100px;resize:vertical;border:1px solid #8e6e3e;background:#0b140b;color:#eee0be;padding:9px;font:14px/1.5 Georgia,serif}.chat-send-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}.chat-send-row>span{font:10px system-ui;color:#a19373}.chat-window .action{font-size:14px;min-height:36px;padding:8px 20px;max-width:100%;margin:0}.chat-window :disabled{opacity:.55;cursor:default}.chat-footnote{margin:0;padding:5px 13px 9px;color:#92876e;font:10px/1.5 system-ui;flex:none}.chat-window button:focus-visible,.chat-window select:focus-visible,.chat-window textarea:focus-visible{outline:2px solid #f0cd7d;outline-offset:2px}@media(max-width:550px){.chat-window{right:10px;bottom:10px;width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:560px;max-height:calc(100dvh - 20px)}.chat-heading{padding:10px}.chat-clan-note{font-size:10px}.chat-messages{padding:6px 10px}}
