/* ==========================================================================
   简川综合漫研社 · 社娘聊天室  公共样式
   两套主题：pink（羽樱） / blue（绫汐）
   ========================================================================== */

:root {
    --accent: #ec4899;
    --accent-2: #f472b6;
    --accent-soft: rgba(236, 72, 153, 0.12);
    --accent-glow: rgba(236, 72, 153, 0.35);

    --bg: #fdf6f9;
    --panel: #ffffff;
    --panel-2: #faf7f9;
    --text: #1e293b;
    --text-dim: #64748b;
    --text-faint: #94a3b8;
    --border: #f0e4ec;

    --radius: 16px;
    --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.06);
    --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.08);
    --shadow-lg: 0 20px 50px -12px rgba(30, 41, 59, 0.22);
}

/* 绫汐：蓝紫主题 */
body.theme-blue {
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --accent-soft: rgba(99, 102, 241, 0.12);
    --accent-glow: rgba(99, 102, 241, 0.35);
    --bg: #f7f8fe;
    --panel-2: #f8f8fd;
    --border: #e6e6f5;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- 通用组件 ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 6px 16px -4px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -4px var(--accent-glow);
}

.btn-ghost {
    color: var(--text-dim);
    background: transparent;
    border: 1px solid var(--border);
}

.btn-ghost:hover:not(:disabled) {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.field {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text);
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field:focus {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.field::placeholder { color: var(--text-faint); }

.notice {
    display: none;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13px;
    border-radius: 10px;
    line-height: 1.5;
}

.notice.show { display: block; }
.notice.error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.notice.success { color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; }

/* ==========================================================================
   登录页
   ========================================================================== */

.auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 24px;
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(236, 72, 153, 0.14), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(99, 102, 241, 0.14), transparent 45%),
        var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 36px 32px 28px;
    background: var(--panel);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.auth-logo {
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo .mark {
    width: 168px;
    height: 168px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 26px;
    background: #faf8fd;
    border: 3px solid #fff;
    box-shadow: 0 10px 26px -8px rgba(236, 72, 153, 0.45),
                0 0 0 1px rgba(139, 92, 246, 0.1);
}

/* 登录页 LOGO：羽樱与绫汐（原图 1:1，完整显示不裁切） */
.auth-logo .mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.auth-logo h1 {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.auth-logo p {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-faint);
    letter-spacing: 0.5px;
}

.auth-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 22px;
    background: var(--panel-2);
    border-radius: 12px;
}

.auth-tabs button {
    flex: 1;
    padding: 9px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    background: transparent;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tabs button.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 4px 12px -3px var(--accent-glow);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
}

.auth-form .form-row { margin-bottom: 16px; }

.auth-submit {
    width: 100%;
    padding: 13px;
    margin-top: 6px;
    font-size: 15px;
}

.auth-foot {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--text-faint);
    line-height: 1.7;
}

/* ==========================================================================
   聊天页
   ========================================================================== */

.app {
    display: flex;
    height: 100%;
}

/* ---- 侧栏 ---- */

.sidebar {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border-right: 1px solid var(--border);
}

.sidebar-head {
    padding: 20px 18px 16px;
    border-bottom: 1px solid var(--border);
}

.sidebar-head .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.sidebar-head .brand .dot {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    overflow: hidden;
    border-radius: 12px;
    background: #faf8fd;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px -3px rgba(236, 72, 153, 0.45);
}

.sidebar-head h2 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
}

.sidebar-head .sub {
    margin: 0 0 0 52px;
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 0.3px;
}

.sidebar-label {
    padding: 16px 18px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-faint);
    text-transform: uppercase;
}

/* 社娘切换 */

.persona-list {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.persona-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.persona-item:hover {
    background: var(--panel-2);
}

.persona-item.active {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.persona-item .avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    border-radius: 50%;
    background: var(--panel-2);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.persona-item.active .avatar {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 4px 12px -3px var(--accent-glow);
}

.persona-item .meta { min-width: 0; flex: 1; }

.persona-item .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.persona-item .desc {
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--text-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 社娘头像 / 社团 LOGO 以图片呈现 */
.persona-item .avatar,
.chat-head .avatar,
.msg .ava,
.sidebar-head .brand .dot {
    overflow: hidden;
}

.persona-item .avatar img,
.chat-head .avatar img,
.msg .ava img,
.sidebar-head .brand .dot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.sidebar-spacer { flex: 1; }

.sidebar-foot {
    padding: 14px;
    border-top: 1px solid var(--border);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    margin-bottom: 8px;
    background: var(--panel-2);
    border-radius: 12px;
}

.user-chip .ico {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.user-chip .info { min-width: 0; flex: 1; }

.user-chip .nm {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-chip .tag {
    font-size: 11px;
    color: var(--text-faint);
}

.sidebar-foot .actions {
    display: flex;
    gap: 6px;
}

.sidebar-foot .actions .btn {
    flex: 1;
    padding: 8px;
    font-size: 12.5px;
}

/* 用户卡片（可点击改头像） */
.user-chip {
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.user-chip:hover {
    background: var(--accent-soft);
    box-shadow: 0 0 0 1px var(--accent);
}

.user-chip .ico {
    overflow: hidden;
}

.user-chip .ico img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* 头像弹层 */
.avatar-preview {
    display: flex;
    justify-content: center;
    margin: 4px 0 6px;
}

.avatar-preview-box {
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 34px;
    font-weight: 600;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 20px -6px var(--accent-glow);
}

.avatar-preview-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ---- 主聊天区 ---- */

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 22px;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
}

.chat-head .avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 6px 14px -4px var(--accent-glow);
}

.chat-head .who { flex: 1; min-width: 0; }

.chat-head .who h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.chat-head .who .status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    font-size: 12px;
    color: var(--text-faint);
}

.chat-head .who .status .live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}

.chat-head .tools { display: flex; gap: 6px; }

.icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}

/* 消息区 */

.messages {
    flex: 1;
    overflow-y: auto;
    padding: 26px 22px 8px;
    scroll-behavior: smooth;
}

.messages::-webkit-scrollbar { width: 8px; }
.messages::-webkit-scrollbar-track { background: transparent; }
.messages::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 99px;
}
.messages::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

.msg {
    display: flex;
    gap: 11px;
    margin-bottom: 20px;
    animation: msgIn 0.28s ease;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.msg .ava {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--border);
}

.msg.assistant .ava {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
}

.msg .body { max-width: min(660px, 76%); }

.msg .bubble {
    padding: 11px 15px;
    font-size: 14.5px;
    line-height: 1.75;
    border-radius: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

.msg.assistant .bubble {
    color: var(--text);
    background: var(--panel);
    border: 1px solid var(--border);
    border-top-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.msg.user {
    flex-direction: row-reverse;
}

.msg.user .body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.msg.user .bubble {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-top-right-radius: 4px;
    box-shadow: 0 6px 16px -6px var(--accent-glow);
}

.msg.error .bubble {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-top-left-radius: 4px;
    box-shadow: none;
}

.msg .time {
    margin-top: 5px;
    font-size: 11px;
    color: var(--text-faint);
}

/* 输入中动画 */

.typing {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 20px;
}

.typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    animation: typing 1.3s infinite ease-in-out;
}

.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* 输入区 */

.composer {
    padding: 14px 22px 18px;
    background: var(--panel);
    border-top: 1px solid var(--border);
}

.composer-box {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 7px 7px 7px 14px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.composer-box:focus-within {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.composer-box textarea {
    flex: 1;
    max-height: 150px;
    padding: 9px 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text);
    background: transparent;
    border: none;
    outline: none;
    resize: none;
}

.composer-box textarea::placeholder { color: var(--text-faint); }

.send-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.send-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -5px var(--accent-glow);
}

.send-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.composer-tip {
    margin: 9px 2px 0;
    font-size: 11.5px;
    color: var(--text-faint);
    display: flex;
    justify-content: space-between;
}

/* 移动端顶栏（默认隐藏） */

.mobile-bar { display: none; }

/* ==========================================================================
   管理后台
   ========================================================================== */

.admin-body { overflow: auto; }

.admin-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 60px;
}

.admin-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.admin-head .mark {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    border-radius: 13px;
    background: linear-gradient(135deg, #ec4899, #6366f1);
}

.admin-head h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.admin-head p {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--text-faint);
}

.admin-head .spacer { flex: 1; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.stat-card {
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stat-card .k {
    font-size: 12px;
    color: var(--text-faint);
    margin-bottom: 8px;
}

.stat-card .v {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #ec4899, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
    overflow: hidden;
}

.panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.panel-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.panel-head .spacer { flex: 1; }

.panel-body { padding: 18px 20px; }

.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

th, td {
    padding: 11px 12px;
    text-align: left;
    white-space: nowrap;
}

th {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-faint);
    border-bottom: 1px solid var(--border);
}

td { border-bottom: 1px solid var(--panel-2); }
tbody tr:hover { background: var(--panel-2); }
tbody tr:last-child td { border-bottom: none; }

.pill {
    display: inline-block;
    padding: 2px 9px;
    font-size: 11.5px;
    font-weight: 500;
    border-radius: 99px;
}

.pill.on { color: #15803d; background: #f0fdf4; }
.pill.off { color: #b91c1c; background: #fef2f2; }
.pill.admin { color: #a21caf; background: #fdf4ff; }
.pill.user { color: #475569; background: #f1f5f9; }

.row-actions { display: flex; gap: 5px; }

.mini-btn {
    padding: 5px 10px;
    font-size: 12px;
    color: var(--text-dim);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.mini-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.mini-btn.danger:hover {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    align-items: end;
}

.form-grid label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
}

.check-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 12px;
    font-size: 13px;
    color: var(--text-dim);
}

.check-row input { accent-color: var(--accent); }

/* ==========================================================================
   弹层
   ========================================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}

.modal.show { display: flex; }

.modal-card {
    width: 100%;
    max-width: 380px;
    padding: 24px;
    background: var(--panel);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    animation: msgIn 0.22s ease;
}

.modal-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

.modal-card p {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.modal-card .row { margin-bottom: 13px; }

.modal-card .foot {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.modal-card .foot .btn { flex: 1; }

/* 空状态 */

.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 50px 20px;
    color: var(--text-faint);
    font-size: 13.5px;
}

.empty .big { font-size: 30px; opacity: 0.6; }

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 760px) {
    .app { flex-direction: column; }

    .sidebar {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        overflow-x: auto;
    }

    .sidebar-head,
    .sidebar-label,
    .sidebar-spacer { display: none; }

    .persona-list {
        flex-direction: row;
        padding: 0;
        gap: 6px;
    }

    .persona-item {
        padding: 6px 12px 6px 6px;
        border-radius: 99px;
    }

    .persona-item .avatar {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .persona-item .desc { display: none; }
    .persona-item .name { font-size: 13px; white-space: nowrap; }

    .sidebar-foot {
        padding: 0;
        border-top: none;
        margin-left: auto;
    }

    .user-chip { padding: 5px; margin-bottom: 0; }
    .user-chip .info { display: none; }
    .user-chip .ico { width: 32px; height: 32px; }

    .sidebar-foot .actions .btn { padding: 7px 10px; }
    .sidebar-foot .actions .btn .lbl { display: none; }

    .messages { padding: 18px 14px 6px; }
    .msg .body { max-width: 84%; }
    .composer { padding: 10px 14px 14px; }
    .chat-head { padding: 11px 15px; }
    .chat-head .avatar { width: 40px; height: 40px; font-size: 19px; }
    .composer-tip .hint { display: none; }
}
