.hc-widget{margin:0 0 20px;border:1px solid #d5bdbe;border-radius:7px;overflow:hidden;background:#faf8f8;color:#444;font:12px/1.45 Verdana,Helvetica,Arial,sans-serif}.hc-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;color:#fff;background:#a00d0d linear-gradient(to bottom,#ca2a2a,#900a0a)}.hc-heading strong{display:block;color:#fff;font:bold 16px "Trebuchet MS",Arial,sans-serif}.hc-heading span:not(.hc-link span){display:block;font-size:11px;color:#ffe9e9;margin-top:2px}.hc-heading a.hc-link:link,.hc-heading a.hc-link:visited{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:#fff;color:#8f1010;padding:7px 11px;border:1px solid #e8c1c1;border-radius:4px;text-decoration:none;font-weight:bold}.hc-heading a.hc-link:hover{background:#fff3f3;color:#b11919}.hc-message-list{height:190px;overflow-y:auto;padding:7px 12px;background:#fff}.hc-chat .hc-message-list{height:390px}.hc-message{padding:7px 3px;border-bottom:1px solid #f1e7e7}.hc-message:last-child{border-bottom:0}.hc-message-head{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.hc-name{color:#105289}.hc-time{color:#8a8585;font-size:10px}.hc-text{padding-top:2px;white-space:pre-wrap;overflow-wrap:anywhere}.hc-empty,.hc-guest{color:#716868;padding:18px 12px}.hc-form{display:flex;gap:8px;padding:10px 12px 3px;background:#f8f0f0}.hc-form input{flex:1;min-width:0}.hc-form button,.hc-room{border:1px solid #b4bac0;border-radius:4px;padding:6px 12px;color:#105289;background:white;cursor:pointer}.hc-form button:hover,.hc-room:hover{color:#b01818;border-color:#b01818}.hc-form button:disabled{opacity:.55}.hc-help{background:#f8f0f0;color:#786e6e;font-size:10px;margin:0;padding:4px 12px 9px}.hc-error{color:#a11616;background:#f8f0f0;padding:0 12px}.hc-error:not(:empty){padding:8px 12px}.hc-rooms{display:flex;gap:6px;padding:10px 12px;background:#f8f0f0;flex-wrap:wrap}.hc-room.active{background:#a51717;border-color:#a51717;color:#fff}.hc-controls{margin-left:auto;display:inline-flex;gap:5px}.hc-mod,.hc-muted-button{font:10px Verdana,sans-serif;padding:3px 5px;border:1px solid #d8c6c6;background:#fff;color:#8c1717;border-radius:3px;cursor:pointer}.hc-muted-list{padding:10px 12px;background:#fff8f8}.hc-muted-row{padding-top:6px}.hc-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}#hf-menu a.hf-chat-nav:link,#hf-menu a.hf-chat-nav:visited{display:inline-block;background:#9c1717!important;color:#fff!important;padding:5px 10px!important;border-radius:4px;font-weight:bold}.hc-chat{margin-top:4px}@media(max-width:600px){.hc-heading{align-items:flex-start;flex-wrap:wrap}.hc-heading a.hc-link{white-space:normal}.hc-chat .hc-message-list{height:310px}.hc-controls{margin-left:0}.hc-room{flex:1;padding:7px 5px}}
/* Profile-aware chat presentation */
.hc-widget{border:1px solid #e3d3d4;border-radius:9px;box-shadow:0 3px 14px rgba(72,20,20,.06);overflow:hidden}
.hc-heading{padding:15px 18px;gap:18px;background:#a20d15 linear-gradient(110deg,#8f0d16 0%,#bd2228 63%,#9f111b 100%)}
.hc-heading strong{font-size:18px;letter-spacing:.01em}.hc-heading span:not(.hc-link span){color:#ffe3e3;margin-top:3px}.hc-heading a.hc-link:link,.hc-heading a.hc-link:visited{border-color:rgba(255,255,255,.55);box-shadow:0 2px 6px rgba(80,0,0,.1);padding:8px 13px}
.hc-rooms{gap:7px;padding:12px 16px;background:#fbf4f4;border-bottom:1px solid #ebdddd}.hc-room{padding:8px 16px;border-color:#e3d5d5;color:#6b5455;font-weight:bold;transition:background .15s,color .15s,border-color .15s}.hc-room.active{background:#a71920;border-color:#a71920;color:#fff;box-shadow:0 2px 6px rgba(140,12,20,.2)}
.hc-message-list{height:250px;padding:6px 16px;background:#fff}.hc-chat .hc-message-list{height:400px}.hc-message{display:flex;align-items:flex-start;gap:11px;padding:12px 2px;border-bottom:1px solid #f1e9e9}.hc-message:last-child{border-bottom:0}.hc-message-body{flex:1;min-width:0}.hc-avatar{position:relative;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;overflow:hidden;border-radius:50%;background:#f5e6e7;border:1px solid #e8d3d4;color:#a52a31!important;text-decoration:none!important;font:bold 17px 'Trebuchet MS',Arial,sans-serif}.hc-avatar-fallback{line-height:1}.hc-avatar-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#f5e6e7}.hc-message-head{min-height:20px;gap:8px;align-items:center}.hc-identity{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.hc-name,.hc-name:link,.hc-name:visited{font-size:12px;font-weight:bold;text-decoration:none}.hc-name:hover{text-decoration:underline}.hc-rank{color:#7d6a6b;background:#f8efef;border:1px solid #efe2e2;border-radius:10px;padding:1px 7px;font-size:10px;line-height:1.5}.hc-stars{color:#b88a37;font-size:10px;letter-spacing:1px;white-space:nowrap}.hc-time{color:#958b8b;font-size:10px;margin-left:auto;white-space:nowrap}.hc-controls{margin-left:3px}.hc-mod,.hc-muted-button{border-color:#e4d7d7;background:#fff;color:#8f2d31;padding:4px 7px}.hc-mod:hover,.hc-muted-button:hover{border-color:#b75a5f;background:#fff5f5}.hc-text{padding-top:4px;color:#403c3c;line-height:1.55}.hc-empty{margin:24px auto;text-align:center;color:#998a8a}.hc-form{gap:10px;padding:12px 16px 5px;background:#fbf4f4;border-top:1px solid #eee2e2}.hc-form input{border:1px solid #dfcdce;border-radius:5px;padding:9px 11px;background:#fff}.hc-form input:focus{outline:2px solid #dca4a7;outline-offset:1px}.hc-form button{background:#a51920;color:#fff;border-color:#a51920;font-weight:bold;padding:8px 18px}.hc-form button:hover{background:#811219;color:#fff;border-color:#811219}.hc-help{background:#fbf4f4;padding:5px 16px 11px;color:#8d7a7a}.hc-error{background:#fbf4f4}.hc-muted-list{border-top:1px solid #eadcdd}
@media(max-width:600px){.hc-heading{padding:13px}.hc-rooms{padding:10px}.hc-room{padding:8px 5px}.hc-message-list{padding:5px 10px}.hc-chat .hc-message-list{height:340px}.hc-avatar{flex-basis:36px;width:36px;height:36px;font-size:15px}.hc-message{gap:9px}.hc-message-head{align-items:flex-start}.hc-time{margin-left:0}.hc-controls{width:100%;margin-left:0}.hc-form{padding:10px}.hc-form button{padding:8px 12px}.hc-help{padding:4px 10px 10px}}
/* Chat messages */
.hc-message-list{padding:10px 16px 14px;scrollbar-color:#d6bfc1 transparent;scrollbar-width:thin}
.hc-message{gap:12px;padding:12px 4px;border-bottom:1px solid #f1e7e8}
.hc-message:last-child{border-bottom:0}
.hc-avatar{width:44px;height:44px;flex-basis:44px;border:2px solid #f1e3e3;box-shadow:0 2px 6px rgba(80,30,30,.07)}
.hc-message-head{align-items:flex-start;gap:8px;min-height:0}
.hc-identity{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.hc-name,.hc-name:link,.hc-name:visited{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.hc-rank{font-size:9px;line-height:1.35;padding:2px 7px;border-radius:4px;letter-spacing:.015em}
.hc-time{padding-top:2px;font-size:10px;color:#95898b}
.hc-controls{padding-top:0;gap:4px}
.hc-mod{border-radius:4px;padding:4px 7px}
.hc-text{display:table;max-width:min(100%,850px);box-sizing:border-box;margin-top:8px;padding:9px 12px;background:#faf5f5;border:1px solid #f0e5e6;border-radius:3px 11px 11px 11px;color:#403739;line-height:1.55;overflow-wrap:anywhere}
html[data-hf-mode="dark"] .hc-message{border-color:#44363a}
html[data-hf-mode="dark"] .hc-avatar{border-color:#76545a;box-shadow:none}
html[data-hf-mode="dark"] .hc-text{background:#392d31;border-color:#514045;color:#f0e5e6}
html[data-hf-mode="dark"] .hc-rank{background:#4a3539;color:#ecd9dc;border-color:#674b50}
@media(max-width:600px){.hc-message-list{padding:8px 10px 12px}.hc-message{gap:9px;padding:11px 2px}.hc-avatar{width:36px;height:36px;flex-basis:36px}.hc-identity{gap:2px}.hc-time{margin-left:auto}.hc-controls{width:auto;margin-left:0}.hc-text{max-width:100%;padding:8px 10px}}
@media(max-width:400px){.hc-controls{width:100%;padding-top:2px}.hc-time{margin-left:auto}}
/* Compact message rows */
.hc-message-list{padding:5px 12px}.hc-message{gap:8px;padding:6px 2px}.hc-avatar{width:32px;height:32px;flex-basis:32px;border-width:1px;font-size:13px}.hc-identity{gap:1px}.hc-name,.hc-name:link,.hc-name:visited{line-height:1.2}.hc-rank{font-size:9px;line-height:1.2;padding:1px 5px}.hc-time{padding-top:1px}.hc-text{display:block;max-width:none;margin:3px 0 0;padding:0;background:transparent;border:0;border-radius:0;line-height:1.4}.hc-mod{padding:2px 6px}.hc-message-head{gap:6px}html[data-hf-mode="dark"] .hc-text{background:transparent;border:0}@media(max-width:600px){.hc-message-list{padding:5px 9px}.hc-message{gap:7px;padding:6px 2px}.hc-avatar{width:30px;height:30px;flex-basis:30px}.hc-text{padding:0}.hc-controls{padding-top:0}}
/* Compact identity beside the message */
.hc-message{align-items:flex-start;gap:8px}.hc-message-body{display:grid;grid-template-columns:minmax(75px,max-content) minmax(0,1fr) max-content;gap:10px;align-items:start}.hc-identity{padding-top:2px}.hc-text{display:block;width:fit-content;max-width:100%;margin:0;padding:6px 10px;background:#faf5f5;border:1px solid #ede1e2;border-radius:4px 10px 10px 10px;line-height:1.4}.hc-message-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding-top:2px}.hc-time{padding:0;margin:0}.hc-controls{display:inline-flex;width:auto;margin:0;padding:0}.hc-avatar{width:32px;height:32px;flex-basis:32px}html[data-hf-mode="dark"] .hc-text{background:#392d31;border:1px solid #514045}
@media(max-width:700px){.hc-message-body{grid-template-columns:minmax(65px,max-content) minmax(0,1fr);gap:7px}.hc-message-meta{grid-column:2;justify-content:flex-start;padding:0}.hc-text{padding:6px 9px}.hc-avatar{width:30px;height:30px;flex-basis:30px}.hc-controls{width:auto}}
/* Refined, compact message rows */
.hc-widget{border-radius:8px;box-shadow:0 6px 20px rgba(58,19,24,.08)}
.hc-heading{padding:14px 16px}.hc-heading strong{font-size:16px;line-height:1.2}.hc-heading span:not(.hc-link span){font-size:11px}
.hc-message-list,.hc-chat .hc-message-list{height:auto;min-height:110px;max-height:300px;padding:4px 14px;overflow-y:auto;overscroll-behavior:contain}
.hc-chat .hc-message-list{min-height:190px;max-height:430px}
.hc-message{align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #ede2e3}
.hc-message:last-child{border-bottom:0}
.hc-avatar{width:32px;height:32px;flex-basis:32px;font-size:13px;border-width:1px;box-shadow:none;margin-top:1px}
.hc-message-body{display:grid;grid-template-columns:clamp(85px,12vw,140px) minmax(0,1fr) max-content;gap:12px;align-items:start}
.hc-identity{padding-top:2px;gap:3px}.hc-name,.hc-name:link,.hc-name:visited{font-size:12px;line-height:1.25;word-break:break-word}
.hc-rank{font-size:10px;line-height:1.25;padding:2px 6px;max-width:100%;overflow-wrap:anywhere;border-radius:4px}
.hc-text{width:fit-content;max-width:100%;margin:0;padding:7px 10px;border-radius:8px;background:#f7eeee;border:1px solid #ebdddf;color:#342f30;line-height:1.45;box-shadow:0 1px 2px rgba(70,20,20,.04)}
.hc-message-meta{align-items:center;gap:8px;padding:4px 0 0}.hc-time{font-size:10px;white-space:nowrap;color:#817476}
.hc-controls{gap:4px}.hc-mod{font-size:10px;border-radius:4px;padding:4px 7px;line-height:1.2}.hc-mod:focus-visible,.hc-room:focus-visible,.hc-muted-button:focus-visible{outline:2px solid #bb5158;outline-offset:2px}
.hc-form{padding:12px 14px 6px;gap:9px}.hc-form input{font-size:12px;min-height:35px}.hc-form button{min-height:35px}.hc-help{padding:3px 14px 10px;font-size:10px}
.hc-empty{margin:0;min-height:110px;display:grid;place-items:center;padding:0;color:#918688}
html[data-hf-mode="dark"] .hc-widget{border-color:#5a4146;box-shadow:0 5px 18px rgba(0,0,0,.15)}
html[data-hf-mode="dark"] .hc-message-list{background:#241e20}html[data-hf-mode="dark"] .hc-message{border-color:#49373b}
html[data-hf-mode="dark"] .hc-text{background:#362b2e;border-color:#554248;color:#f7eff0;box-shadow:none}
html[data-hf-mode="dark"] .hc-time{color:#c6b8bb}html[data-hf-mode="dark"] .hc-rank{background:#483337;border-color:#75565b;color:#f3e7e9}
html[data-hf-mode="dark"] .hc-mod{background:#443236;border-color:#76575d;color:#f5e9eb}
@media(max-width:800px){.hc-message-body{grid-template-columns:minmax(74px,110px) minmax(0,1fr);gap:8px 10px}.hc-message-meta{grid-column:2;justify-content:flex-start;padding:0}.hc-chat .hc-message-list{min-height:160px}}
@media(max-width:420px){.hc-heading{padding:12px}.hc-heading a.hc-link:link,.hc-heading a.hc-link:visited{padding:7px 9px}.hc-message-list{padding:4px 9px}.hc-message{gap:8px;padding:9px 0}.hc-avatar{width:30px;height:30px;flex-basis:30px}.hc-message-body{grid-template-columns:minmax(64px,85px) minmax(0,1fr);gap:7px}.hc-text{padding:6px 8px}.hc-message-meta{flex-wrap:wrap}.hc-time{white-space:normal}.hc-controls{width:auto}.hc-form{padding:10px 10px 4px}.hc-help{padding:3px 10px 9px}}
/* Keep the message viewport stable regardless of message count. */
.hc-shout .hc-message-list{height:220px;min-height:0;max-height:none;box-sizing:border-box;overflow-y:auto}
.hc-chat .hc-message-list{height:360px;min-height:0;max-height:none;box-sizing:border-box;overflow-y:auto}
.hc-empty{min-height:0;height:100%}
@media(max-width:600px){.hc-shout .hc-message-list{height:200px}.hc-chat .hc-message-list{height:300px}}

/* Compact the index shoutbox independently of the chatrooms. */
.hc-shout .hc-heading{padding:8px 12px;gap:8px}
.hc-shout .hc-heading strong{font-size:14px;line-height:1.2}
.hc-shout .hc-heading span:not(.hc-link span){font-size:10px}
.hc-shout .hc-heading a.hc-link:link,.hc-shout .hc-heading a.hc-link:visited{padding:6px 10px;font-size:11px}
.hc-shout .hc-message-list{height:255px;padding:2px 10px}
.hc-shout .hc-message{gap:7px;padding:5px 0;align-items:center}
.hc-shout .hc-avatar{width:27px;height:27px;flex-basis:27px;font-size:11px;margin-top:0}
.hc-shout .hc-message-body{grid-template-columns:clamp(75px,9vw,110px) minmax(0,1fr) max-content;gap:7px;align-items:center}
.hc-shout .hc-identity{padding-top:0;gap:1px}
.hc-shout .hc-name,.hc-shout .hc-name:link,.hc-shout .hc-name:visited{font-size:11px}
.hc-shout .hc-rank{font-size:9px;padding:1px 5px}
.hc-shout .hc-text{padding:4px 8px;line-height:1.25}
.hc-shout .hc-message-meta{padding:0;gap:5px}
.hc-shout .hc-mod{padding:2px 5px}
.hc-shout .hc-form{padding:7px 10px 3px;gap:7px;align-items:center}
.hc-shout .hc-form input,.hc-shout .hc-form button{height:32px;min-height:0;box-sizing:border-box}
.hc-shout .hc-form input{padding:5px 8px;font-size:11px}
.hc-shout .hc-form button{padding:4px 13px}
.hc-shout .hc-help{padding:2px 10px 7px;font-size:10px}
.hc-shout .hc-muted-button{padding:2px 5px}
@media(max-width:800px){.hc-shout .hc-message-body{grid-template-columns:minmax(65px,90px) minmax(0,1fr);gap:4px 7px}.hc-shout .hc-message-meta{grid-column:2;justify-content:flex-start;padding:0}}
@media(max-width:600px){.hc-shout .hc-message-list{height:240px}}

/* Smiley picker stays above the composer without changing the message viewport. */
.hc-form{position:relative}
.hc-form .hc-smiley-toggle{flex:0 0 34px;width:34px;height:34px;min-height:0;padding:0;display:grid;place-items:center;font-size:20px;line-height:1;background:#fff;color:#8f2d31;border-color:#d8bfc2}
.hc-shout .hc-form .hc-smiley-toggle{width:32px;height:32px;flex-basis:32px}
.hc-smiley-picker[hidden]{display:none}
.hc-smiley-picker{position:absolute;z-index:5;bottom:calc(100% + 4px);left:10px;display:grid;grid-template-columns:repeat(8,32px);gap:3px;padding:7px;background:#fffafa;border:1px solid #d5bdbe;border-radius:8px;box-shadow:0 5px 18px #0003}
.hc-form .hc-smiley-option{width:32px;height:32px;min-height:0;padding:0;display:grid;place-items:center;border:0;background:transparent;font-size:20px;line-height:1}
.hc-form .hc-smiley-option:hover,.hc-form .hc-smiley-option:focus-visible{background:#f2dfe1;outline:2px solid #bb5158;outline-offset:-2px}
html[data-hf-mode="dark"] .hc-form .hc-smiley-toggle{background:#443236;color:#f5e9eb;border-color:#76575d}
html[data-hf-mode="dark"] .hc-smiley-picker{background:#302528;border-color:#76575d}
html[data-hf-mode="dark"] .hc-form .hc-smiley-option{background:transparent}
html[data-hf-mode="dark"] .hc-form .hc-smiley-option:hover,html[data-hf-mode="dark"] .hc-form .hc-smiley-option:focus-visible{background:#594047}
@media(max-width:360px){.hc-smiley-picker{grid-template-columns:repeat(6,32px)}}
