:root{--yellow:#fff001;--sky:#bdf3ff;--gray:#c0c0c0;--edge:#808080;--private:#f1dcff}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%;margin:0}body{background:var(--gray);color:#111;font:13px Tahoma,Arial,sans-serif;padding:5px}button,input,select,textarea{font:inherit;color:inherit}button{background:#c0c0c0;border:1px solid;border-color:#fff #555 #555 #fff;border-radius:0;padding:3px 9px;cursor:pointer;min-height:25px}button:active{border-color:#555 #fff #fff #555}button:disabled{color:#777;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:1px dotted #000;outline-offset:2px}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{border:1px solid;border-color:#777 #fff #fff #777;border-radius:0;background:#fff;padding:3px 5px}input[type=checkbox],input[type=radio]{accent-color:#183a88;vertical-align:middle}.window{height:calc(100dvh - 10px);border:1px solid;border-color:#fff #555 #555 #fff;display:flex;flex-direction:column;min-height:450px}.titlebar{background:linear-gradient(90deg,#000080,#1084d0);color:#fff;display:flex;align-items:center;justify-content:space-between;min-height:27px;padding:3px 6px;font-size:14px}.window-controls{letter-spacing:5px;font:bold 14px Tahoma}.menubar{display:flex;align-items:center;gap:8px;min-height:33px;padding:3px 7px;border-bottom:1px solid #808080}.menubar>b{font:bold 18px Georgia;margin-right:10px}.menubar button{padding:2px 7px;min-height:23px}.menubar #connection{margin-left:auto;font-size:11px;color:#333}.join{background:var(--yellow);flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;padding:25px}.join form{width:350px;background:#c0c0c0;padding:22px;border:1px solid;border-color:#fff #777 #777 #fff;box-shadow:1px 1px #444}.join h1{font:bold 30px Georgia;margin:0 0 4px;color:#000080}.join-subtitle{font-size:12px;margin:0 0 24px}.join label{display:block;margin:12px 0}.join input[name=nick]{display:block;width:100%;margin-top:6px;padding:7px!important}.join fieldset{border:1px solid #888;padding:4px 10px;margin-top:15px}.join fieldset label{display:inline-block;margin:7px 16px 7px 0}.join-options{display:flex;gap:12px}.join-options>label{flex:1}.join select{display:block;width:100%;margin-top:6px}.enter{display:block;min-width:140px;margin:16px auto 0;font-weight:bold}.note{font-size:11px;line-height:1.5;margin:16px 0 0;color:#333}.room{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:3px;padding:3px}.conversation{display:flex;flex-direction:column;min-height:0;min-width:0;position:relative}.room-label{display:flex;align-items:center;gap:12px;padding:3px 7px;min-height:28px;border:1px solid #888;background:#c0c0c0;font-size:11px}.room-label button{min-height:20px;font-size:11px;padding:1px 6px}.room-label #whoami{margin-left:auto}#messages{background:var(--yellow);border:1px solid;border-color:#777 #fff #fff #777;overflow:auto;flex:1;min-height:100px;padding:5px 7px;overflow-wrap:anywhere;scrollbar-color:#c0c0c0 #ddd}.message{font:13px/1.5 Arial,sans-serif;white-space:normal;padding:1px 3px;margin:0;position:relative;padding-right:23px}.message time{font-size:12px;color:#333;white-space:nowrap}.message .nick{font-weight:bold;text-decoration:underline;background:none;border:0;padding:0;min-height:0;display:inline;cursor:pointer;font-size:13px}.message .body{white-space:pre-wrap}.message.private{background:var(--private);border-left:2px solid #8742a8;margin:3px 0;padding-left:5px}.private-label{color:#642782;font-size:12px;font-weight:bold}.message.event{color:#333}.message.welcome{background:#fff9bd;border:1px dotted #898000;padding:8px;margin:5px 0;font-size:13px}.welcome .personal-label{font-size:11px;color:#5e5900}.message .mod{position:absolute;right:2px;top:2px;padding:0 4px;min-height:18px;font-size:11px;color:#900}.message img.smile{display:inline-block;max-width:85px;max-height:50px;vertical-align:middle}.photo{display:block;margin:5px 0 7px 55px;width:fit-content}.photo img{display:block;max-width:240px;max-height:180px;border:1px solid #777;background:#fff}.empty{color:#5e5900;font:12px Arial;padding:15px}#sendForm{background:#c0c0c0;border:1px solid;border-color:#fff #777 #777 #fff;padding:4px;flex-shrink:0}.recipient-row,.format-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.recipient-row{padding-bottom:4px}.recipient-row label{font-weight:bold}.recipient-row select{max-width:220px;min-width:130px}.recipient-row button{font-size:11px}.recipient-row span{font-size:11px;color:#444}.recipient-row.is-private span{color:#642782;font-weight:bold}.compose{display:flex;gap:5px}.compose textarea{resize:none;min-width:0;width:100%;height:45px;line-height:1.4;padding:5px}.compose button{min-width:85px;font-weight:bold}.format-row{padding:4px 0;font-size:11px;gap:8px}.format-row label{white-space:nowrap}.format-row select{font-size:11px;max-width:130px}#filename{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach input{width:170px;font-size:11px}.keyhint{margin-left:auto;color:#444}.smile-title{font-weight:bold;font-size:11px;border-top:1px solid #888;padding:4px 2px}.smile-title small{font-weight:normal;margin-left:10px;font-size:10px}.smilies{display:grid;grid-template-columns:repeat(auto-fill,minmax(36px,1fr));grid-auto-rows:36px;align-items:center;gap:1px;background:#e0e0e0;border:1px solid;border-color:#777 #fff #fff #777;max-height:112px;overflow:auto;padding:3px}.smilies button{border:0;background:none;width:100%;height:35px;padding:2px;min-width:0}.smilies button:hover{outline:1px dotted #777}.smilies img{max-width:32px;max-height:30px;object-fit:contain}.room aside{background:var(--sky);border:1px solid;border-color:#777 #fff #fff #777;display:flex;flex-direction:column;min-height:0}.room aside h2{font:bold 12px Tahoma;margin:0;padding:6px;text-align:center;background:#8fd9ed;border-bottom:1px solid #779ca4}.people{flex:1;overflow:auto;padding-bottom:15px}.people h3{font:bold 12px Tahoma;padding:4px 7px;background:#a2e6f5;border-top:1px solid #dffaff;border-bottom:1px solid #91cbd7;margin:0 0 4px}.people section+section{margin-top:15px}.person{padding:3px 7px;line-height:1.5}.person button.nickname{background:none;border:0;min-height:0;padding:0;font-weight:bold;text-decoration:underline;max-width:100%;overflow-wrap:anywhere;text-align:left}.person .user-status{display:block;padding-left:13px;font-size:10px;color:#345b64}.person .ban{padding:0 3px;min-height:17px;font-size:9px;float:right}.status-panel{border-top:1px solid #779ca4;padding:8px;font-size:11px}.status-panel label{font-weight:bold}.status-panel select{display:block;width:100%;margin-top:5px}.status-panel p{font-size:10px;line-height:1.5;margin-bottom:0}footer{display:flex;justify-content:space-between;border-top:1px solid #fff;min-height:23px;padding:3px 8px;font-size:11px}#error{background:#fff0ed;color:#a00;border:1px solid #a44;padding:7px 12px;flex-shrink:0;max-height:90px;overflow:auto}#newMessages{position:absolute;bottom:255px;left:35%;z-index:1;background:#ffffb8}dialog{border:1px solid;border-color:#fff #444 #444 #fff;border-radius:0;background:#c0c0c0;padding:20px;max-width:min(500px,95vw)}dialog::backdrop{background:#0005}dialog h2{font-size:17px;margin-top:0}dialog p{line-height:1.6}dialog label{display:block;margin:12px 0}dialog input[type=password]{display:block;width:100%;margin-top:6px}#bansList>div{padding:5px;border-bottom:1px solid #888;display:flex;gap:20px;justify-content:space-between}.setup{height:auto;padding:30px}.setup main{max-width:600px;padding:25px;border:1px solid #888;margin:auto;background:#ddd}.setup label{display:block;margin:20px 0}.setup input[type=password]{display:block;margin-top:8px;width:100%}
@media(max-width:700px){body{padding:0}.window{height:100dvh;border:0;min-height:480px}.menubar{gap:3px;flex-wrap:wrap;font-size:11px}.menubar>b{font-size:14px;margin-right:4px}.menubar #connection{width:100%;font-size:10px}.menubar button{font-size:11px}.room{grid-template-columns:minmax(0,1fr) 130px;padding:1px;gap:2px}.room-label{gap:4px;flex-wrap:wrap;min-height:35px}.room-label #whoami{display:none}.room-label button{font-size:10px}#messages{padding:3px}.message{font-size:12px;line-height:1.5}.message .nick{font-size:12px}.message time{font-size:10px}.photo{margin-left:0}.photo img{max-width:100%;max-height:150px}.recipient-row{gap:3px}.recipient-row label{font-size:11px}.recipient-row select{min-width:90px;max-width:125px;font-size:11px}.recipient-row span{display:block;width:100%;font-size:10px}.format-row{gap:4px}.format-row select{max-width:92px}.keyhint{display:none}.compose{gap:3px}.compose button{min-width:55px;padding:3px;font-size:11px}.compose textarea{height:55px}.smilies{max-height:78px;grid-template-columns:repeat(auto-fill,minmax(30px,1fr));grid-auto-rows:32px}.smilies img{max-width:28px;max-height:27px}.smilies button{height:31px}.attach input{width:145px}.person{padding:4px;font-size:11px}.person button.nickname{font-size:11px}.person .user-status{padding-left:0;font-size:9px}.status-panel{padding:5px}.status-panel p{font-size:9px}.people h3{padding:4px;font-size:11px}#newMessages{left:5%;bottom:285px}.join{padding:15px}.join form{max-width:100%;padding:17px}.smile-title small{display:none}#filename{max-width:125px}footer{font-size:10px}}


/* Full-screen chat with Windows XP controls */
:root{--yellow:#fff3c4;--sky:#deeff8;--gray:#ece9d8;--private:#eee0f6}
body.chat-xp{padding:0;background:#ece9d8;overflow:hidden}.chat-xp .window{height:100dvh;min-height:0;border:1px solid #7395c8;background:#ece9d8}.chat-xp .titlebar{min-height:30px;flex-shrink:0;background:linear-gradient(#76a8fa,#286de5 18%,#0954c9 80%,#104caf);font:bold 13px Tahoma;padding:5px 10px;text-shadow:1px 1px #194d96}.chat-banner{height:clamp(130px,22dvh,220px);flex-shrink:0;background:#eaf3f5;border-bottom:1px solid #a0b4c2;overflow:hidden}.chat-banner img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}.chat-xp button{border:1px solid #7f9db9;border-radius:3px;background:linear-gradient(#fff,#f4f3ee 55%,#e4e1d2);box-shadow:inset 0 0 0 1px #fff8}.chat-xp button:hover{border-color:#2a69bd;background:linear-gradient(#fff,#e4edf9)}.chat-xp button:active{background:#dbe7f5;box-shadow:inset 1px 1px 2px #98aac0}.chat-xp input:not([type=checkbox]):not([type=radio]):not([type=file]),.chat-xp select,.chat-xp textarea{border:1px solid #7f9db9;border-radius:2px}.chat-xp .menubar{background:#ece9d8;border-bottom:1px solid #aca899;flex-shrink:0}.chat-xp .menubar>b{display:none}.chat-xp .join{min-height:0}.chat-xp .join form{background:#ece9d8;border:1px solid #7f9db9;border-radius:5px;box-shadow:2px 3px 8px #5c63552b}.chat-xp .room{gap:4px;padding:4px}.chat-xp .room-label{background:linear-gradient(#f5f4ec,#e3e0d2);border-color:#b2b8bf}.chat-xp #messages{border:1px solid #a6a497;min-height:45px}.chat-xp #sendForm{background:#ece9d8;border:1px solid #b3b4ab}.chat-xp .smilies{background:#faf9f1;border:1px solid #b5bac0;min-height:70px;max-height:100px}.chat-xp .smilies button{background:transparent;box-shadow:none;border:0}.chat-xp .smilies button:hover{background:#e2edfb}.chat-xp .room aside{border:1px solid #9eb4c5}.chat-xp .room aside h2{background:linear-gradient(#e5f2fb,#bed7ed);border-color:#a6bdcf}.chat-xp .people h3{background:#cde3f2;border-color:#b2ccde}.chat-xp .status-panel{border-color:#b2ccde}.chat-xp footer{flex-shrink:0;background:#ece9d8}.chat-xp .message .nick,.chat-xp .person button.nickname{background:none;border:0;box-shadow:none}.chat-xp .message.welcome{background:#fff8df;border-color:#c7b879}.chat-xp .smile-title{border-color:#bfbdaf}
@media(max-width:700px){.chat-banner{height:110px}.chat-xp .titlebar{min-height:25px}.chat-xp .room{grid-template-columns:minmax(0,1fr) 112px;padding:2px;gap:2px}.chat-xp .menubar{padding:2px 4px}.chat-xp .menubar #connection{width:auto;font-size:9px}.chat-xp .menubar button{font-size:10px;padding:2px 4px}.chat-xp .smilies{min-height:65px;max-height:65px}.chat-xp .status-panel select{font-size:10px}.chat-xp .join{padding:10px}.chat-xp .join form{padding:14px}.chat-xp .join-subtitle{margin-bottom:10px}}
@media(max-height:650px){.chat-banner{height:85px}.chat-xp .smilies{min-height:45px;max-height:45px}.chat-xp .join{align-items:flex-start}.chat-xp .join form{padding:12px}.chat-xp .join label{margin:7px 0}.chat-xp .join-subtitle{margin-bottom:6px}}
@media(max-height:500px){body.chat-xp{overflow:auto}.chat-xp .window{min-height:510px}}

/* Unified XP typography, login and dialogs */
:root{--gray:#edf4fc}body.chat-xp,button,input,select,textarea{font-family:Tahoma,"Segoe UI",Arial,sans-serif}.chat-xp .window,.chat-xp .menubar,.chat-xp footer,.chat-xp #sendForm{background:#edf4fc}.chat-xp .menubar{border-bottom-color:#b4cbe4}.chat-xp .room-label{background:linear-gradient(#f6faff,#dceafa);border-color:#b4cbe4}.chat-xp .smile-title{border-color:#c0d3e8}.chat-xp .smilies{background:#f7fbff}.chat-xp button{background:linear-gradient(#fff,#f1f7ff 55%,#dceafa);border-color:#7f9db9}.chat-xp button:hover{background:linear-gradient(#fff,#dfedff);border-color:#3979c4}.chat-xp button:active{background:#d4e5f8}.chat-xp .message,.chat-xp .message .nick,.chat-xp .empty,.chat-xp .room aside h2,.chat-xp .people h3{font-family:Tahoma,"Segoe UI",Arial,sans-serif}.chat-xp .message.welcome{font-weight:bold}.chat-xp .message.welcome .personal-label{font-weight:bold}.chat-xp .join{background:#fff3c4}.chat-xp .join form{width:440px;max-width:100%;background:linear-gradient(#f8fbff,#e8f2ff);border:1px solid #8daed3;border-radius:6px;padding:26px;box-shadow:0 3px 12px #45658826}.chat-xp .join h1{font:700 32px/1.2 Tahoma,"Segoe UI",Arial,sans-serif;letter-spacing:0;color:#202c3b;margin:0 0 8px}.chat-xp .join-subtitle{font:13px/1.5 Tahoma,"Segoe UI",Arial,sans-serif;color:#35465c;margin:0 0 22px}.chat-xp .join label{font-size:13px;line-height:1.5}.chat-xp .nick-note{font-size:11px;color:#465b73;font-weight:normal}.chat-xp .join fieldset{border:1px solid #b4cbe4;border-radius:4px}.chat-xp .join legend{color:#263c55}.chat-xp .join .note{color:#465b73}.chat-xp .enter{min-height:32px;background:linear-gradient(#fff,#e4effc);border-color:#608bbd}.chat-xp dialog{font:13px/1.5 Tahoma,"Segoe UI",Arial,sans-serif;color:#202c3b;background:linear-gradient(#f8fbff,#e8f2ff);border:1px solid #7b9ec8;border-radius:6px;box-shadow:0 8px 30px #18385d55;padding:24px;width:430px;max-width:calc(100vw - 24px)}.chat-xp dialog::backdrop{background:#17365655}.chat-xp dialog h2{font:700 19px/1.3 Tahoma,"Segoe UI",Arial,sans-serif;color:#202c3b;margin:0 0 18px;padding-bottom:10px;border-bottom:1px solid #bdd2e9}.chat-xp dialog p{line-height:1.65}.chat-xp dialog button{min-height:29px;margin-top:5px}.chat-xp dialog input[type=password]{padding:7px;background:#fff}.chat-xp #bansList>div{border-color:#bdd2e9}.chat-xp .keyhint,.chat-xp .recipient-row span,.chat-xp .menubar #connection{color:#465b73}
@media(max-width:700px){.chat-xp .join form{padding:20px}.chat-xp .join h1{font-size:30px}.chat-xp .nick-note{display:block;font-size:11px}.chat-xp dialog{padding:18px}}

/* Warm XP palette */
:root{--yellow:#fff3cf;--sky:#f3ead8;--gray:#f4efdf;--private:#f4e2da}
body.chat-xp,.chat-xp .window,.chat-xp .menubar,.chat-xp footer,.chat-xp #sendForm{background:#f4efdf;color:#322d25}
.chat-banner{background:#f6f0e3;border-color:#c7bba6}
.chat-xp .menubar,.chat-xp .room-label,.chat-xp #sendForm{border-color:#c8bca6}
.chat-xp .room-label{background:linear-gradient(#fcf9ef,#e9dfca)}
.chat-xp button,.chat-xp .enter{color:#322d25;border-color:#b5a58b;background:linear-gradient(#fffdf7,#f5efdf 55%,#e7dcc5)}
.chat-xp button:hover{border-color:#a18452;background:linear-gradient(#fffdf5,#f4e5c5)}
.chat-xp button:active{background:#e7d7b8;box-shadow:inset 1px 1px 2px #b4a17d}
.chat-xp input:not([type=checkbox]):not([type=radio]):not([type=file]),.chat-xp select,.chat-xp textarea{border-color:#b8a98d;background:#fffdf8;color:#322d25}
.chat-xp input[type=checkbox],.chat-xp input[type=radio]{accent-color:#927640}
.chat-xp .join{background:var(--yellow)}
.chat-xp .join form,.chat-xp dialog{background:linear-gradient(#fffdf7,#f3ead7);border-color:#bdac8d;box-shadow:0 4px 14px #6c583025;color:#322d25}
.chat-xp .join h1,.chat-xp dialog h2{color:#322d25}
.chat-xp .join-subtitle,.chat-xp .nick-note,.chat-xp .join .note,.chat-xp .join legend,.chat-xp .keyhint,.chat-xp .recipient-row span,.chat-xp .menubar #connection{color:#685c47}
.chat-xp .join fieldset,.chat-xp dialog h2,.chat-xp #bansList>div{border-color:#d4c6ac}
.chat-xp dialog::backdrop{background:#42371f55}
.chat-xp dialog input[type=password]{background:#fffdf8}
.chat-xp .smilies{background:#fffaf0;border-color:#c7bba4}
.chat-xp .smilies button{background:transparent}.chat-xp .smilies button:hover{background:#f0e3c8}
.chat-xp .smile-title{border-color:#d0c3aa}
.chat-xp .room aside{background:var(--sky);border-color:#c6b79a}
.chat-xp .room aside h2{background:linear-gradient(#fcf6e8,#e7d8ba);border-color:#c6b79a}
.chat-xp .people h3{background:#eaddc3;border-color:#d2c2a4}
.chat-xp .status-panel{border-color:#d2c2a4}
.chat-xp .person .user-status{color:#74644a}
.chat-xp .message.welcome{background:#fff8e3;border-color:#c5b27c}
.chat-xp .welcome .personal-label,.chat-xp .empty{color:#776438}
.chat-xp .message.private{border-left-color:#b17c62}.chat-xp .private-label,.chat-xp .recipient-row.is-private span{color:#83543f}
.chat-xp #messages{scrollbar-color:#d8c9ad #f7f0df}
.chat-xp .message .nick,.chat-xp .person button.nickname{background:none;border:0;box-shadow:none}

/* Full-width panoramic banner and blue participants panel */
.chat-xp .chat-banner{height:auto;flex:none;overflow:hidden;background:#eaf3f5}
.chat-xp .chat-banner img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.chat-xp .room aside{background:#deeff8;border-color:#9eb4c5}
.chat-xp .room aside h2{background:linear-gradient(#e5f2fb,#bed7ed);border-color:#a6bdcf}
.chat-xp .people h3{background:#cde3f2;border-color:#b2ccde}
.chat-xp .status-panel{border-color:#b2ccde}
.chat-xp .person .user-status{color:#456476}

.smile-toolbar{padding-top:4px}.smile-toolbar button{display:inline-flex;align-items:center;gap:5px;font-size:11px}.smile-toolbar button span{font:22px/1 Tahoma,Arial;color:#9b7518}
.chat-xp #smilesDialog{width:600px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;overflow:auto}
.smiles-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d4c6ac;padding-bottom:9px}
.chat-xp #smilesDialog h2{border:0;margin:0;padding:0;font-size:18px}
.chat-xp #smilesDialog .smiles-close{margin:0;width:29px;height:29px;padding:0;font-size:23px;line-height:1;flex-shrink:0}
.chat-xp #smilesDialog .smiles-help{font-size:11px;line-height:1.5;margin:10px 0}
.chat-xp #smilesDialog .smilies{min-height:0;max-height:min(360px,55dvh);grid-template-columns:repeat(auto-fill,minmax(36px,1fr));grid-auto-rows:36px}
#smileAdded{font-size:11px;min-height:17px;margin:8px 0 0;color:#685c47}

/* Edge-to-edge banner without the old blue window frame */
.chat-xp .window{border:0}
.chat-xp .chat-banner{border:0;padding:0;margin:0;background:transparent}

/* Public replies: highlighted only for the addressed participant. */
.chat-xp .message.addressed-to-me{background:#e5eed7;border-left:3px solid #8ca566;padding-left:6px;margin:3px 0}
.recipient-actions{display:flex;flex-wrap:wrap;gap:8px}

/* Administration accounts and compact avatars */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chat-xp .admin-avatar{display:inline-block;width:22px;height:22px;object-fit:contain;vertical-align:middle;margin:0 4px 0 1px;border:1px solid #b4a68c;border-radius:3px;background:#fff;flex-shrink:0}
.admin-badge{font:bold 10px Tahoma,Arial,sans-serif;color:#79644b;margin-right:4px;vertical-align:middle}
.people .admin-avatar{width:25px;height:25px}.people .admin-badge{font-size:9px}.people .person{overflow-wrap:anywhere}
.admin-accounts{display:grid;gap:8px;border:0;padding:0;margin:12px 0 18px}
.admin-account{display:flex;align-items:center;gap:10px;border:1px solid #c8b99e;border-radius:4px;padding:9px;background:#faf6eb;cursor:pointer}
.admin-account:has(input:checked){border-color:#958060;background:#eae0c8;box-shadow:inset 0 0 0 1px #c2ae87}
.admin-account img{width:48px;height:48px;object-fit:contain;background:#fff;border:1px solid #c8b99e;border-radius:3px}.admin-account small{display:block;font-size:11px;margin-top:5px;color:#756b59}.admin-account strong{font:700 15px Tahoma,Arial,sans-serif}.admin-account input{flex:none}
.admin-password{display:block}.admin-password input{display:block;width:100%;margin-top:6px}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.fat-options{border:0;padding:0}.fat-options label{display:block;margin:12px 0}
.chat-xp .format-row #openSmiles{height:23px;min-height:23px;padding:1px 7px;margin:0;white-space:nowrap;font-size:11px;line-height:18px;align-self:center}
@media(max-width:700px){.people .admin-avatar{width:20px;height:20px}.people .admin-badge{display:inline-block;font-size:8px}.admin-account img{width:40px;height:40px}.chat-xp .format-row{gap:5px}}

.chat-xp .staff-author .nick,.chat-xp .staff-author .nickname{font-weight:bold;font-style:normal}
@media(max-width:700px){.chat-xp .format-row .attach input{width:110px}.people section:has(#admins) h3{font-size:10px}}

/* Preserve transparent avatar backgrounds in every placement. */
.chat-xp .admin-avatar,.chat-xp .admin-account img{background:transparent;border:0;box-shadow:none}

.chat-xp #statsDialog{width:550px;max-height:calc(100dvh - 24px);overflow:auto}.stats-table{width:100%;border-collapse:collapse;font-size:12px}.stats-table th,.stats-table td{padding:10px 8px;border:1px solid #c8bca6}.stats-table thead{background:#e9dfca}.stats-table th{text-align:left}.stats-table td{text-align:center;font-weight:bold}.stats-table tbody th{font-weight:normal}.chat-xp .stats-note{font-size:11px;color:#756b59;line-height:1.5}
@media(max-width:700px){.stats-table th,.stats-table td{padding:8px 5px;font-size:11px}}
