body.yan-hh3d-mode-chat{--pc-bg:#1e1e1e;--pc-bg-2:#222;--pc-border:#2a2a2a;--pc-text:#e4e6eb;--pc-muted:#818285;--pc-bubble:#3e4042;--pc-bubble-self:#714dbb;--pc-online:#31a24c;background:#121212}body.yan-hh3d-mode-chat #yan-hh3d-root.is-chat,body.yan-hh3d-mode-chat .yan-hh3d-board:not([hidden]){max-width:920px;margin:0 auto;padding:12px 12px 24px}body.yan-hh3d-mode-chat .yan-hh3d-loading.is-chat,body.yan-hh3d-mode-chat .hh3d-loading.is-chat{display:grid!important;place-items:center;min-height:clamp(450px, calc(100vh - 160px), 650px);max-width:920px;margin:12px auto 24px;padding:0;border:1px solid var(--pc-border);border-radius:12px;background:var(--pc-bg)!important;box-shadow:0 8px 28px rgb(0 0 0 / .35)}body.yan-hh3d-mode-chat .yan-hh3d-loading.is-chat::before,body.yan-hh3d-mode-chat .hh3d-loading.is-chat::before{display:none}body.yan-hh3d-mode-chat .yan-hh3d-loading.is-chat .hh3d-loading-card,body.yan-hh3d-mode-chat .hh3d-loading.is-chat .hh3d-loading-card{border:1px solid var(--pc-border);background:rgb(34 34 34 / .95);color:var(--pc-text);box-shadow:none}body.yan-hh3d-mode-chat .yan-hh3d-loading.is-chat .hh3d-loading-card strong,body.yan-hh3d-mode-chat .hh3d-loading.is-chat .hh3d-loading-card strong{color:var(--pc-text);background:none;-webkit-text-fill-color:var(--pc-text)}body.yan-hh3d-mode-chat .yan-hh3d-loading.is-chat .hh3d-loading-card p,body.yan-hh3d-mode-chat .hh3d-loading.is-chat .hh3d-loading-card p{color:var(--pc-muted)}body.yan-hh3d-mode-chat .yan-hh3d-loading.is-chat.is-ready,body.yan-hh3d-mode-chat .hh3d-loading.is-chat[hidden],body.yan-hh3d-mode-chat .yan-hh3d-loading.is-chat[style*="display: none"]{display:none!important}.pc-chat{--pc-h:clamp(450px, calc(100vh - 160px), 650px);height:var(--pc-h);display:flex;flex-direction:column;border:1px solid var(--pc-border);border-radius:12px;background:var(--pc-bg);color:var(--pc-text);overflow:hidden;box-shadow:0 8px 28px rgb(0 0 0 / .35)}.pc-chat__head{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 14px;border-bottom:1px solid var(--pc-border);background:var(--pc-bg);flex-shrink:0}.pc-chat__avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#333}.pc-chat__avatar--mark{display:grid;place-items:center;font-size:13px;font-weight:800;color:#fff;letter-spacing:.02em;background:linear-gradient(145deg,#8b6ad4,#714dbb)}.pc-chat__head-body{min-width:0;flex:1}.pc-chat__title{margin:0;font-size:16px;font-weight:700;color:var(--pc-text);letter-spacing:.01em}.pc-chat__sub{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:2px;font-size:12px;color:var(--pc-muted)}.pc-chat__online{display:inline-flex;align-items:center;gap:6px}.pc-chat__online-dot{width:8px;height:8px;border-radius:50%;background:var(--pc-online);box-shadow:0 0 0 2px rgb(49 162 76 / .25)}.pc-chat__rooms{display:flex;gap:4px;flex-shrink:0}.pc-chat__rooms button{border:0;background:#fff0;color:var(--pc-muted);font-size:12px;font-weight:700;padding:6px 10px;border-radius:999px;cursor:pointer}.pc-chat__rooms button.on{color:#fff;background:rgb(113 77 187 / .35)}.pc-chat__log{flex:1;min-height:0;overflow:auto;padding:14px 16px 8px;background:var(--pc-bg);scrollbar-width:thin;scrollbar-color:#444 #fff0}.pc-chat__empty{margin:48px 0;text-align:center;color:var(--pc-muted);font-size:14px}.pc-msg{display:flex;gap:10px;margin:0 0 12px;max-width:92%}.pc-msg.is-self{margin-left:auto;flex-direction:row-reverse}.pc-msg__av{width:36px;height:36px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-size:13px;font-weight:800;text-transform:uppercase;color:#fff;background:linear-gradient(145deg,#5b5f66,#3a3d42)}.pc-msg.is-self .pc-msg__av{background:linear-gradient(145deg,#8b6ad4,#714dbb)}.pc-msg__col{min-width:0}.pc-msg__meta{display:flex;align-items:baseline;gap:8px;margin-bottom:3px}.pc-msg.is-self .pc-msg__meta{justify-content:flex-end}.pc-msg__name{font-size:13px;font-weight:700;color:#f2f3f5}.pc-msg__time{font-size:11px;color:var(--pc-muted)}.pc-msg__bubble{display:inline-block;max-width:100%;padding:8px 12px;border-radius:12px;background:var(--pc-bubble);color:#fff;font-size:14px;line-height:1.45;word-break:break-word;white-space:pre-wrap}.pc-msg.is-self .pc-msg__bubble{background:var(--pc-bubble-self);border-bottom-right-radius:4px}.pc-msg:not(.is-self) .pc-msg__bubble{border-bottom-left-radius:4px}.pc-chat__composer{display:flex;align-items:center;gap:8px;padding:10px 12px 12px;border-top:1px solid var(--pc-border);background:var(--pc-bg);flex-shrink:0}.pc-chat__composer input{flex:1;min-width:0;height:40px;border:0;border-radius:20px;padding:0 16px;background:#404040;color:#fff;font-size:14px;outline:none}.pc-chat__composer input::placeholder{color:#949698}.pc-chat__composer button[type="submit"]{width:40px;height:40px;border:0;border-radius:50%;background:var(--pc-bubble-self);color:#fff;font-size:0;cursor:pointer;position:relative;flex-shrink:0}.pc-chat__composer button[type="submit"]::before{content:"";position:absolute;inset:0;margin:auto;width:0;height:0;border-style:solid;border-width:6px 0 6px 12px;border-color:#fff0 #fff0 #fff0 #fff;transform:translateX(1px)}.pc-chat__ico{width:36px;height:36px;border:0;border-radius:50%;background:#fff0;color:var(--pc-muted);display:grid;place-items:center;cursor:default;flex-shrink:0}.pc-chat__ico svg{width:20px;height:20px}body.yan-hh3d-mode-chat .chatPage,body.yan-hh3d-mode-chat .chatBox,body.yan-hh3d-mode-chat .chatHead,body.yan-hh3d-mode-chat .chatForm,body.yan-hh3d-mode-chat .chatLog,body.yan-hh3d-mode-chat .chatRooms,body.yan-hh3d-mode-chat .chatItem,body.yan-hh3d-mode-chat .chatAv,body.yan-hh3d-mode-chat .chatBubble{all:unset}body.yan-hh3d-mode-chat .rtFeed{display:none}@media (max-width:640px){body.yan-hh3d-mode-chat #yan-hh3d-root.is-chat,body.yan-hh3d-mode-chat .yan-hh3d-board{padding:0 0 12px;max-width:none}.pc-chat{--pc-h:calc(100vh - 120px);border-radius:0;border-left:0;border-right:0}.pc-chat__rooms button{padding:6px 8px;font-size:11px}}