:root { --bg: #f4efe7; --panel: rgba(255, 252, 247, 0.88); --panel-strong: #fffaf3; --text: #241c16; --muted: #6c6258; --line: rgba(60, 42, 27, 0.12); --brand: #b85c38; --brand-soft: #e8c8b6; --shadow: 0 20px 60px rgba(58, 35, 18, 0.12); --radius-lg: 28px; --radius-md: 18px; --radius-sm: 12px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; scrollbar-gutter: stable; } body { margin: 0; min-width: 320px; color: var(--text); background: radial-gradient(circle at top left, rgba(232, 200, 182, 0.7), transparent 30%), radial-gradient(circle at bottom right, rgba(184, 92, 56, 0.12), transparent 28%), linear-gradient(180deg, #f8f4ed 0%, var(--bg) 100%); font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; } body.reader-body { overflow: hidden; } body.chat-body { overflow: hidden; overscroll-behavior: none; background: var(--bg); } a { color: inherit; text-decoration: none; } button, input, textarea { font: inherit; } .page-shell { width: min(1200px, calc(100vw - 32px)); margin: 0 auto; } .site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(248, 244, 237, 0.72); border-bottom: 1px solid var(--line); } .site-header--menu-open { z-index: 40; } .site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; } .site-brand { display: flex; align-items: center; gap: 12px; } .site-brand__mark { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #c26a46, #8d4529); color: white; display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow); } .site-brand__name { font-size: 1rem; font-weight: 700; } .site-brand__tag { margin-top: 2px; color: var(--muted); font-size: 0.88rem; } .site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; } .site-nav a { padding: 10px 14px; border-radius: 999px; color: var(--muted); } .site-nav a.is-active { background: rgba(184, 92, 56, 0.1); color: #8f4b2f; } .site-nav a:hover { background: rgba(255, 250, 243, 0.92); color: var(--text); } .site-menu-button, .site-drawer, .site-drawer-backdrop { display: none; } .site-menu-button { width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 250, 243, 0.92); align-items: center; justify-content: center; gap: 4px; cursor: pointer; } .site-menu-button span { width: 18px; height: 2px; border-radius: 999px; background: #6a5a4e; transition: transform 0.2s ease, opacity 0.2s ease; } .site-menu-button.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); } .site-menu-button.is-open span:nth-child(2) { opacity: 0; } .site-menu-button.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); } .site-drawer-backdrop { position: fixed; inset: 0; background: rgba(24, 18, 13, 0.36); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 44; } .site-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; } .site-drawer { position: fixed; inset: 0; display: block; pointer-events: none; z-index: 45; background: transparent; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; } .site-drawer__panel { margin-left: auto; width: min(360px, 100vw); height: 100%; padding: 22px 18px 28px; background: linear-gradient(180deg, #fbf6ef 0%, #f1e8dc 100%); box-shadow: -24px 0 60px rgba(45, 31, 22, 0.18); transform: translateX(100%); transition: transform 0.22s ease; isolation: isolate; } .site-drawer.is-open { pointer-events: auto; opacity: 1; visibility: visible; } .site-drawer.is-open .site-drawer__panel { transform: translateX(0); } .site-drawer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; } .site-drawer__title { font-size: 1.2rem; font-weight: 700; } .site-drawer__hint { margin-top: 6px; color: var(--muted); line-height: 1.6; font-size: 0.92rem; } .site-drawer__close { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 250, 243, 0.94); cursor: pointer; } .site-drawer__nav { display: grid; gap: 10px; } .site-drawer__nav a { min-height: 54px; padding: 0 16px; border-radius: 16px; display: flex; align-items: center; background: rgba(255, 250, 243, 0.86); border: 1px solid var(--line); } .site-drawer__nav a.is-active { background: rgba(184, 92, 56, 0.12); color: #8f4b2f; border-color: rgba(184, 92, 56, 0.24); } .hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; padding: 28px 0 18px; } .card { background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: var(--shadow); border-radius: var(--radius-lg); } .hero__main { padding: 28px; } .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 250, 243, 0.88); color: var(--muted); font-size: 0.9rem; } .hero h1 { margin: 14px 0 12px; font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.05; } .hero p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.68; } .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; } .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; transition: transform 0.2s ease, background 0.2s ease; } .button:hover { transform: translateY(-1px); } .button--primary { background: var(--brand); color: white; } .button--secondary { background: rgba(255, 250, 243, 0.92); border-color: var(--line); } .hero__aside { display: grid; gap: 18px; } .stat-card, .feature-card, .section-card, .chat-layout, .reader-layout, .library-shell, .agents-shell { background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: var(--shadow); } .stat-card { border-radius: 24px; padding: 24px; } .stat-card h3, .feature-card h3, .section-card h2 { margin: 0; } .stat-card p, .feature-card p, .section-card p { color: var(--muted); } .home-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 16px 0 48px; } .section-card { padding: 28px; border-radius: var(--radius-lg); } .section-card__list { display: grid; gap: 12px; margin: 24px 0; } .section-card__item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(255, 250, 243, 0.75); border: 1px solid var(--line); } .section-card__index { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: #6a341f; display: grid; place-items: center; font-weight: 700; font-size: 0.88rem; } .page-title { padding: 32px 0 18px; } .page-title h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); } .page-title p { margin: 12px 0 0; max-width: 720px; color: var(--muted); line-height: 1.7; } .chat-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; border-radius: 32px; overflow: hidden; margin-bottom: 40px; } .chat-sidebar { padding: 22px; border-right: 1px solid var(--line); background: rgba(255, 248, 239, 0.96); } .chat-main { display: grid; grid-template-rows: auto 1fr auto; min-height: 72vh; } .chat-toolbar, .chat-composer { padding: 18px 22px; border-bottom: 1px solid var(--line); } .chat-composer { border-top: 1px solid var(--line); border-bottom: 0; } .chat-messages { padding: 22px; display: grid; gap: 16px; align-content: start; background: linear-gradient(180deg, rgba(255, 252, 247, 0.72), rgba(255, 248, 239, 0.85)), repeating-linear-gradient( 0deg, transparent, transparent 31px, rgba(153, 122, 96, 0.03) 32px ); } .presence-list, .library-grid, .reader-meta, .reader-controls, .chapter-nav, .agents-grid, .agent-stats { display: grid; gap: 12px; } .presence-item, .message, .book-card, .chapter-card, .reader-panel, .agent-card, .agent-stat { border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 250, 243, 0.88); } .presence-item { padding: 12px 14px; } .presence-item__meta, .chat-toolbar__hint, .message__file-meta, .chat-sidebar__hint { color: var(--muted); } .chat-sidebar__hint, .chat-toolbar__hint { margin-top: 8px; line-height: 1.6; font-size: 0.92rem; } .message { padding: 14px 16px; max-width: min(620px, 92%); overflow-wrap: anywhere; } .message--self { margin-left: auto; background: rgba(232, 200, 182, 0.62); } .message__meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 0.84rem; margin-bottom: 8px; } .message__file { margin-top: 10px; padding: 12px; background: rgba(255, 255, 255, 0.72); border-radius: 12px; } .message__content { line-height: 1.7; } .composer-grid { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: stretch; } .composer-input-shell { display: grid; gap: 10px; min-height: 100%; } .composer-input-hint { color: var(--muted); font-size: 0.9rem; } .composer-input { min-height: 118px; width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.82); padding: 16px; } .composer-input--drop { min-height: 146px; border-style: dashed; border-width: 1.5px; } .composer-actions { display: grid; gap: 12px; align-content: stretch; } .composer-actions--stacked { width: 228px; height: 146px; grid-template-rows: 1fr 1fr; } .composer-actions--stacked .button { width: 100%; height: 100%; min-height: 0; border-radius: 18px; } .library-shell { margin-top: 44px; padding: 22px; border-radius: 32px; margin-bottom: 40px; } .agents-shell { padding: 22px; border-radius: 32px; margin-bottom: 40px; } .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .agents-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .agent-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; } .agents-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; margin-bottom: 22px; } .agents-intro__main, .agents-intro__aside, .agent-summary-card { height: 100%; } .agents-intro__main { padding: 24px 26px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 245, 235, 0.9)); } .agents-intro__main h2 { margin: 14px 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); } .agents-intro__main p { margin: 0; color: var(--muted); line-height: 1.75; } .agent-summary-card { padding: 24px; border-radius: 24px; border: 1px solid rgba(148, 84, 57, 0.14); background: radial-gradient(circle at top right, rgba(184, 92, 56, 0.18), transparent 35%), linear-gradient(180deg, rgba(255, 247, 240, 0.98), rgba(247, 236, 227, 0.94)); } .agent-summary-card__label { color: var(--muted); font-size: 0.88rem; } .agent-summary-card strong { display: block; margin-top: 12px; font-size: 1.45rem; } .agent-summary-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; } .agent-stat { padding: 18px; } .agent-stat strong { display: block; font-size: 1.5rem; margin-top: 8px; } .agent-card { padding: 20px; display: grid; gap: 16px; } .agent-card--dense { gap: 14px; padding: 18px; } .agent-card-link { display: block; } .agent-card--dashboard { min-height: 100%; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; } .agent-card--dashboard:hover { transform: translateY(-3px); box-shadow: 0 24px 44px rgba(76, 45, 25, 0.14); border-color: rgba(184, 92, 56, 0.24); } .agent-card__header { display: flex; align-items: center; gap: 14px; } .agent-card__name { font-size: 1.1rem; font-weight: 700; } .agent-card__role { color: var(--muted); font-size: 0.92rem; margin-top: 4px; } .status-pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; } .status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; } .status-pill--working { background: rgba(74, 145, 88, 0.14); color: #2f7c46; } .status-pill--idle { background: rgba(88, 108, 132, 0.12); color: #526579; } .status-pill--warning { background: rgba(201, 140, 53, 0.14); color: #9f6117; } .status-pill--offline { background: rgba(144, 109, 101, 0.14); color: #8a645e; } .agent-card__status-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .agent-card__updated { color: var(--muted); font-size: 0.88rem; } .agent-avatar { --avatar-face: #f6dcc7; --avatar-hair: #4d362c; --avatar-accent: #ca764c; --avatar-cloth: #d7b39c; --avatar-shadow: #6f4838; width: 62px; height: 62px; flex: 0 0 auto; position: relative; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255, 248, 242, 0.96), rgba(242, 225, 210, 0.92)); box-shadow: 0 14px 30px rgba(89, 55, 35, 0.16); border: 1px solid rgba(145, 91, 63, 0.16); } .agent-avatar--large { width: 82px; height: 82px; border-radius: 24px; } .agent-avatar__hair { position: absolute; top: 12px; left: 50%; width: 42px; height: 22px; transform: translateX(-50%); border-radius: 18px 18px 10px 10px; background: var(--avatar-hair); z-index: 2; } .agent-avatar__head { width: 34px; height: 36px; position: relative; z-index: 3; border-radius: 14px 14px 16px 16px; background: var(--avatar-face); border: 3px solid var(--avatar-shadow); } .agent-avatar--large .agent-avatar__head { width: 44px; height: 46px; border-radius: 16px; } .agent-avatar__brows { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; justify-content: space-between; } .agent-avatar__brows span { width: 8px; height: 2px; border-radius: 999px; background: var(--avatar-shadow); } .agent-avatar__eyes { position: absolute; left: 7px; right: 7px; top: 14px; display: flex; justify-content: space-between; } .agent-avatar__eyes span { width: 6px; height: 8px; border-radius: 6px; background: var(--avatar-shadow); } .agent-avatar__nose { position: absolute; left: 50%; top: 22px; width: 7px; height: 5px; transform: translateX(-50%); border-radius: 8px; background: var(--avatar-accent); } .agent-avatar__mouth { position: absolute; left: 50%; bottom: 7px; width: 12px; height: 6px; transform: translateX(-50%); border-bottom: 3px solid var(--avatar-shadow); border-radius: 0 0 10px 10px; } .agent-avatar__body { position: absolute; bottom: 6px; left: 50%; width: 34px; height: 14px; transform: translateX(-50%); border-radius: 12px 12px 6px 6px; background: var(--avatar-cloth); z-index: 1; } .agent-avatar__accent { position: absolute; bottom: 10px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--avatar-accent); border: 2px solid rgba(255, 255, 255, 0.9); z-index: 4; } .agent-avatar--female-analyst { --avatar-face: #f4d8c8; --avatar-hair: #4b2f2f; --avatar-accent: #d76d5a; --avatar-cloth: #c9d5ee; --avatar-shadow: #6d4540; } .agent-avatar--female-analyst .agent-avatar__hair { width: 44px; height: 24px; border-radius: 18px 18px 12px 12px; } .agent-avatar--male-ops { --avatar-face: #efcfb9; --avatar-hair: #2f2b2d; --avatar-accent: #5a87c8; --avatar-cloth: #cdd5df; --avatar-shadow: #5b4a42; } .agent-avatar--male-ops .agent-avatar__hair { width: 36px; height: 16px; top: 13px; border-radius: 12px 12px 8px 8px; } .agent-avatar--female-researcher { --avatar-face: #f0d0ba; --avatar-hair: #5b3c30; --avatar-accent: #d9885b; --avatar-cloth: #d8c5e6; --avatar-shadow: #714f46; } .agent-avatar--female-researcher .agent-avatar__hair { width: 46px; height: 26px; top: 11px; } .agent-avatar--male-dispatcher { --avatar-face: #e8c6ad; --avatar-hair: #3d3533; --avatar-accent: #c78153; --avatar-cloth: #d7c3b6; --avatar-shadow: #5c4a42; } .agent-avatar--male-dispatcher .agent-avatar__hair { width: 38px; height: 17px; top: 12px; } .agent-avatar--female-observer { --avatar-face: #f5dcca; --avatar-hair: #2d313d; --avatar-accent: #d46c8b; --avatar-cloth: #c8d6d1; --avatar-shadow: #57535a; } .agent-avatar--female-observer .agent-avatar__hair { width: 44px; height: 24px; } .agent-avatar--male-maintainer { --avatar-face: #d9b89c; --avatar-hair: #43362d; --avatar-accent: #7c9b54; --avatar-cloth: #d7d2bb; --avatar-shadow: #634c40; } .agent-avatar--male-maintainer .agent-avatar__hair { width: 36px; height: 16px; top: 13px; } .agent-card__meta { display: grid; gap: 12px; } .agent-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .agent-mini-stat { padding: 12px; border-radius: 14px; border: 1px solid rgba(114, 80, 60, 0.12); background: rgba(255, 248, 241, 0.92); } .agent-mini-stat span { display: block; color: var(--muted); font-size: 0.82rem; } .agent-mini-stat strong { display: block; margin-top: 8px; font-size: 1rem; } .agent-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: start; } .agent-row__label { color: var(--muted); font-size: 0.88rem; } .agent-row__value { line-height: 1.65; } .agent-row__value--strong { font-weight: 700; } .agent-card__footer { padding-top: 6px; color: #8c5435; font-weight: 600; } .agents-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 2px 22px; } .agents-toolbar__hint { color: var(--muted); font-size: 0.92rem; } .agents-shell--compact { margin-top: 44px; padding: 20px 22px 24px; } .agents-monitor-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .agents-monitor-controls { display: grid; justify-items: end; gap: 12px; } .agents-monitor-source { display: grid; gap: 6px; } .agents-monitor-source strong { font-size: 1.02rem; } .agents-monitor-source span { color: var(--muted); font-size: 0.92rem; } .agents-monitor-summary { display: grid; grid-template-columns: repeat(5, minmax(72px, auto)); gap: 10px; } .agents-monitor-summary__item { min-height: 58px; min-width: 84px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 250, 243, 0.82); display: grid; align-content: center; justify-items: center; gap: 4px; color: #6d6056; } .agents-monitor-summary__item strong { font-size: 1.08rem; line-height: 1; color: #2d241f; } .agents-monitor-summary__item span { font-size: 0.82rem; } .agents-monitor-summary__item--working strong { color: #4f8552; } .agents-monitor-summary__item--idle strong { color: #8a6f39; } .agents-monitor-summary__item--warning strong { color: #b26f20; } .agents-monitor-summary__item--offline strong { color: #b45a49; } .agents-worklist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .agents-worklist__link { display: block; } .agents-workitem { padding: 14px 14px 15px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 250, 243, 0.88); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; min-height: 100%; } .agents-workitem:hover { transform: translateY(-2px); box-shadow: 0 22px 40px rgba(76, 45, 25, 0.1); border-color: rgba(184, 92, 56, 0.22); } .agents-workitem__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .agents-workitem__identity { display: flex; align-items: flex-start; gap: 12px; min-width: 0; } .agents-workitem__name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .agents-workitem__name-row strong { font-size: 1rem; } .agents-workitem__role { margin-top: 3px; color: var(--muted); font-size: 0.88rem; } .agents-workitem__metrics { display: grid; gap: 4px; flex-wrap: wrap; justify-items: end; color: var(--muted); font-size: 0.82rem; text-align: right; } .agents-workitem__task, .agents-workitem__output { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(93, 68, 53, 0.08); } .agents-workitem__label { color: var(--muted); font-size: 0.8rem; margin-bottom: 5px; } .agents-workitem__value { line-height: 1.6; font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .agents-workitem__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; color: var(--muted); font-size: 0.8rem; } .agents-workitem__error { margin-top: 7px; color: #9f6117; font-size: 0.82rem; } .filter-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 250, 243, 0.9); color: var(--muted); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; cursor: pointer; } .filter-chip:hover { transform: translateY(-1px); border-color: rgba(184, 92, 56, 0.26); } .filter-chip--active { background: rgba(184, 92, 56, 0.12); border-color: rgba(184, 92, 56, 0.32); color: #8a472d; font-weight: 700; } .agent-detail-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px 26px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 238, 230, 0.92)); margin-bottom: 22px; } .agent-detail-hero__main { min-width: 0; } .agent-detail-hero__actions { flex: 0 0 auto; } .agent-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .agent-detail-section__title { margin-bottom: 14px; font-size: 1rem; font-weight: 700; } .agent-detail-list { display: grid; gap: 12px; } .agent-detail-highlight { padding: 16px 18px; border-radius: 18px; background: rgba(184, 92, 56, 0.08); border: 1px solid rgba(184, 92, 56, 0.16); font-weight: 600; } .agent-detail-note, .agent-detail-paragraph { margin-top: 14px; color: var(--muted); line-height: 1.75; } .book-card { overflow: hidden; } .book-cover { aspect-ratio: 3 / 4.3; background: linear-gradient(180deg, rgba(19, 15, 12, 0.1), rgba(19, 15, 12, 0.36)), var(--cover, linear-gradient(135deg, #c06b49, #7c3c26)); padding: 22px; color: white; display: flex; flex-direction: column; justify-content: flex-end; } .book-cover__chip { align-self: flex-start; margin-bottom: auto; padding: 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.84rem; } .book-cover__title { margin: 0; font-size: 1.45rem; } .book-cover__author { margin: 8px 0 0; color: rgba(255, 255, 255, 0.85); } .book-body { padding: 18px; } .book-body p { color: var(--muted); line-height: 1.7; } .reader-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; border-radius: 32px; overflow: hidden; min-height: 76vh; margin-bottom: 44px; } .reader-sidebar { padding: 24px; border-right: 1px solid var(--line); background: rgba(255, 248, 239, 0.96); } .reader-main { padding: 0; display: grid; grid-template-rows: auto 1fr auto; } .reader-topbar, .reader-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); } .reader-footer { border-top: 1px solid var(--line); border-bottom: 0; } .reader-content { padding: 0 24px 28px; } .reader-paper { width: min(860px, 100%); margin: 24px auto 0; padding: clamp(24px, 4vw, 54px); border-radius: 28px; background: #fffdf8; border: 1px solid rgba(112, 86, 62, 0.09); box-shadow: 0 20px 60px rgba(54, 33, 21, 0.08); } .reader-paper h1 { margin: 0 0 10px; font-size: clamp(1.9rem, 3.5vw, 2.8rem); } .reader-paper h2 { margin: 0 0 20px; color: var(--muted); font-size: 1rem; font-weight: 500; } .reader-paper p { margin: 0 0 1.3em; font-size: clamp(1.02rem, 2vw, 1.14rem); line-height: 2; text-indent: 2em; } .reader-stage { height: 100vh; padding: 0 24px; background: radial-gradient(circle at top left, rgba(255, 240, 220, 0.3), transparent 28%), linear-gradient(180deg, #dcd6ce 0%, #d4cec5 100%); overflow: auto; display: flex; align-items: stretch; justify-content: center; position: relative; } .reader-desktop-layout { width: fit-content; max-width: 100%; margin: 0 auto; display: grid; grid-template-columns: 78px var(--reader-shell-width, min(980px, calc(100vw - 280px))) 78px; gap: 18px; align-items: start; } .reader-qq-shell { width: var(--reader-shell-width, min(980px, calc(100vw - 280px))); min-height: 100vh; overflow: visible; } .reader-mobile-bar, .reader-catalog-mobile-mask, .reader-catalog-mobile-sheet { display: none; } .reader-qq-paper { min-height: 100%; background: #f7f0e4; box-shadow: 0 22px 60px rgba(54, 33, 21, 0.08); display: flex; flex-direction: column; border-radius: 0; } .reader-qq-paper--desktop-hidden { display: none; } .reader-qq-header { padding: 44px 72px 26px; border-bottom: 1px solid rgba(53, 44, 38, 0.1); text-align: center; } .reader-qq-header h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.25; } .reader-qq-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 26px; margin-top: 18px; color: #9c9288; font-size: 0.92rem; } .reader-qq-content { padding: 28px 72px 80px; flex: 1 1 auto; } .reader-qq-content p { margin: 0 0 1.6em; color: #2d2621; font-size: clamp(1.14rem, 2vw, 1.28rem); line-height: 2.35; text-indent: 2em; } .reader-float { position: sticky; top: 160px; z-index: 15; display: grid; gap: 10px; } .reader-float--left, .reader-float--right { width: 78px; } .reader-progress-rail { position: fixed; top: 0; right: 0; width: 12px; height: 100vh; z-index: 16; pointer-events: none; } .reader-progress-rail__track { width: 4px; height: calc(100vh - 24px); margin: 12px 4px 12px auto; border-radius: 999px; background: rgba(86, 70, 56, 0.16); overflow: hidden; } .reader-progress-rail__fill { width: 100%; height: 0; margin-top: auto; background: linear-gradient(180deg, #c78255, #a45834); } .reader-float__button { width: 78px; min-height: 78px; padding: 12px 10px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 26px rgba(40, 28, 20, 0.08); display: grid; align-content: center; justify-items: center; gap: 6px; color: #5f544b; cursor: pointer; transition: transform 0.18s ease, background 0.18s ease; } .reader-float__button:hover { transform: translateY(-1px); background: rgba(255, 250, 243, 0.98); } .reader-float__button strong { font-size: 1rem; } .reader-float__button span { font-size: 0.82rem; } .reader-catalog-inline { min-height: 100%; background: #e1d6c8; padding: 28px 40px 36px; box-shadow: 0 22px 60px rgba(54, 33, 21, 0.08); border-radius: 0; } .reader-catalog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; } .reader-catalog__header h2 { margin: 0; font-size: 2rem; } .reader-catalog__close { border: 0; background: transparent; color: var(--muted); cursor: pointer; } .reader-catalog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; } .reader-catalog-groups { display: grid; gap: 20px; } .reader-catalog__section { display: grid; gap: 12px; } .reader-catalog__section-title { display: flex; align-items: center; gap: 10px; color: #4f433a; } .reader-catalog__section-title strong { font-size: 1.02rem; font-weight: 700; } .reader-catalog__kind { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; padding: 4px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; } .reader-catalog__kind--lore { background: rgba(108, 126, 164, 0.12); color: #55698c; } .reader-catalog__kind--novel { background: rgba(186, 95, 57, 0.12); color: #ba5f39; } .reader-entry-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; } .reader-entry-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; } .reader-entry-badge--lore { background: rgba(92, 117, 168, 0.12); color: #5870a1; } .reader-entry-badge--novel { background: rgba(186, 95, 57, 0.12); color: #ba5f39; } .reader-entry-badge--section { background: rgba(91, 71, 56, 0.08); color: #66584d; } .reader-qq-header--lore h1 { font-size: clamp(2.25rem, 4vw, 3.2rem); } .reader-qq-content--lore p { max-width: 56em; margin-bottom: 1.1em; } .reader-catalog__item { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid rgba(91, 71, 56, 0.08); } .reader-catalog__item span { color: var(--muted); font-size: 0.9rem; } .reader-catalog__item strong { font-size: 1.06rem; font-weight: 600; } .reader-catalog__item--active { color: #ba5f39; font-weight: 700; } .reader-qq-footer { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 18px; padding: 0 72px 48px; margin-top: auto; } .reader-qq-footer__ghost, .reader-qq-footer__button { min-height: 54px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 0; } .reader-qq-footer__ghost { background: rgba(198, 141, 108, 0.14); color: #9a5e3d; } .reader-qq-footer__button { background: linear-gradient(180deg, #6ab1ff, #4f8adb); color: white; } .reader-qq-footer__button--disabled { background: rgba(129, 164, 205, 0.34); color: rgba(255, 255, 255, 0.86); } .chip-row { display: flex; flex-wrap: wrap; gap: 10px; } .chip { padding: 8px 12px; border-radius: 999px; background: rgba(255, 250, 243, 0.92); border: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; } .chat-wechat-page { min-height: calc(100vh - 74px); height: calc(100vh - 74px); padding: 0 0 24px; overflow: hidden; overscroll-behavior: none; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 0; } .chat-wechat-page-title { padding-bottom: 18px; } .chat-wechat-shell { width: 100%; margin-top: 44px; min-height: 0; min-height: calc(100vh - 210px); height: calc(100vh - 210px); border-radius: 30px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.72); background: rgba(255, 252, 248, 0.9); box-shadow: var(--shadow); display: grid; grid-template-columns: 280px minmax(0, 1fr); } .chat-wechat-sidebar { padding: 22px 18px; border-right: 1px solid var(--line); background: rgba(255, 248, 240, 0.92); display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 8px; } .chat-wechat-sidebar__title { font-size: 1.12rem; font-weight: 700; } .chat-wechat-sidebar__meta { color: var(--muted); font-size: 0.9rem; } .chat-wechat-member-list { display: grid; gap: 10px; align-content: start; overflow: auto; padding-right: 4px; } .chat-wechat-member { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; border: 1px solid rgba(91, 71, 56, 0.08); background: rgba(255, 255, 255, 0.76); } .chat-wechat-member--self { background: rgba(184, 92, 56, 0.12); border-color: rgba(184, 92, 56, 0.18); } .chat-wechat-member__body { min-width: 0; display: grid; gap: 4px; } .chat-wechat-member__body strong { font-size: 0.96rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chat-wechat-member__body span { color: var(--muted); font-size: 0.84rem; } .chat-wechat-main { min-width: 0; min-height: 0; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; } .chat-wechat-header { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 248, 240, 0.92); } .chat-wechat-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; } .chat-wechat-header__title { font-size: 1.5rem; font-weight: 700; } .chat-wechat-header__meta { margin-top: 6px; color: var(--muted); } .chat-wechat-header__presence { display: none; } .chat-wechat-header__avatars { display: flex; align-items: center; gap: 6px; } .chat-wechat-header__avatar { width: 28px; height: 28px; border-radius: 10px; border: 2px solid rgba(255, 248, 240, 0.96); background: rgba(184, 92, 56, 0.16); color: #9a583a; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; } .chat-wechat-header__presence-text { color: var(--muted); font-size: 0.84rem; } .chat-wechat-status { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; } .chat-wechat-status__text { color: var(--muted); font-size: 0.92rem; white-space: nowrap; } .chat-wechat-status__icon { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(184, 92, 56, 0.12); color: #9a583a; font-size: 0.72rem; font-weight: 700; } .chat-wechat-member__avatar, .chat-wechat-avatar { width: 38px; height: 38px; border-radius: 14px; display: grid; place-items: center; background: rgba(184, 92, 56, 0.16); color: #9a583a; font-size: 0.88rem; font-weight: 700; } .chat-wechat-messages { padding: 22px 24px; display: grid; gap: 16px; align-content: start; overflow: auto; min-height: 0; background: linear-gradient(180deg, rgba(255, 252, 248, 0.94), rgba(250, 245, 238, 0.98)); } .chat-wechat-empty { padding: 18px; border-radius: 18px; text-align: center; color: var(--muted); background: rgba(255, 255, 255, 0.72); } .chat-wechat-message { display: flex; align-items: flex-start; gap: 12px; } .chat-wechat-message--self { justify-content: flex-end; } .chat-wechat-avatar--self { background: rgba(110, 154, 90, 0.18); color: #4f7740; } .chat-wechat-message__body { max-width: min(620px, 100%); display: inline-flex; flex-direction: column; align-items: flex-start; } .chat-wechat-message__body--image { max-width: min(320px, 100%); } .chat-wechat-message__name, .chat-wechat-message__time { color: var(--muted); font-size: 0.82rem; } .chat-wechat-message__name { margin-bottom: 6px; } .chat-wechat-message__time { margin-top: 6px; } .chat-wechat-message--self .chat-wechat-message__time { text-align: right; width: 100%; } .chat-wechat-bubble { display: inline-block; width: fit-content; max-width: 100%; padding: 14px 16px; border-radius: 8px 18px 18px 18px; background: #ffffff; border: 1px solid rgba(91, 71, 56, 0.08); box-shadow: 0 8px 18px rgba(45, 31, 22, 0.04); } .chat-wechat-message--self .chat-wechat-bubble { border-radius: 18px 8px 18px 18px; background: #dff2d8; } .chat-wechat-bubble__text { line-height: 1.75; overflow-wrap: anywhere; } .chat-wechat-bubble--attachment-only { padding: 10px; } .chat-wechat-bubble--image { padding: 10px; max-width: min(320px, 100%); } .chat-wechat-file { margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.8); } .chat-wechat-file--image { margin-top: 0; padding: 0; background: transparent; display: inline-grid; width: fit-content; max-width: 100%; } .chat-wechat-file--download { min-width: 260px; } .chat-wechat-file__image-button { display: inline-block; padding: 0; border: 0; background: transparent; cursor: pointer; } .chat-wechat-file__image { width: min(280px, 100%); display: block; margin-bottom: 10px; border-radius: 12px; object-fit: cover; } .chat-wechat-file__meta { margin-top: 6px; color: var(--muted); font-size: 0.86rem; } .chat-wechat-file__link { color: inherit; text-decoration: none; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; } .chat-wechat-file__link strong { display: inline-block; } .chat-wechat-file__download { width: 100%; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.78); cursor: pointer; text-align: left; } .chat-wechat-file__icon { width: 38px; height: 38px; border-radius: 12px; background: rgba(184, 92, 56, 0.14); color: #9a583a; display: inline-flex; align-items: center; justify-content: center; font-size: 0.88rem; font-weight: 700; } .chat-wechat-file__info { display: grid; gap: 4px; } .chat-wechat-file__info span { color: var(--muted); font-size: 0.82rem; } .chat-wechat-composer { padding: 16px 18px 18px; border-top: 1px solid var(--line); background: rgba(249, 244, 236, 0.98); } .chat-wechat-composer__tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .chat-wechat-tools-left { display: flex; align-items: center; gap: 8px; } .chat-wechat-composer__row { display: grid; grid-template-columns: minmax(0, 1fr) 74px; gap: 10px; align-items: stretch; } .chat-wechat-tool, .chat-wechat-send { min-height: 44px; border: 0; border-radius: 14px; } .chat-wechat-tool { background: rgba(255, 255, 255, 0.88); cursor: pointer; width: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; } .chat-wechat-tool__icon { width: 18px; height: 18px; display: block; } .chat-wechat-send { background: #7bb463; color: white; cursor: pointer; } .chat-wechat-input { min-height: 44px; height: 44px; max-height: 120px; width: 100%; resize: none; border: 0; border-radius: 16px; background: rgba(255, 255, 255, 0.96); padding: 12px 14px; } .chat-wechat-tool.is-active { background: rgba(123, 180, 99, 0.16); color: #467536; } .chat-wechat-tool--danger { color: #b24a2f; background: rgba(214, 108, 77, 0.12); font-size: 0; position: relative; } .chat-wechat-tool--danger::before { content: ""; width: 18px; height: 18px; display: block; background-repeat: no-repeat; background-position: center; background-size: 18px 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b24a2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5h6m-8 3h10m-8.5 0 .6 10.2c.1 1 1 1.8 2 1.8h2.8c1 0 1.9-.8 2-1.8l.6-10.2M10 10.5v5.5M14 10.5v5.5'/%3E%3C/svg%3E"); } .chat-wechat-emoji-panel { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; margin-bottom: 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.76); } .chat-wechat-emoji-panel button { width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(245, 239, 231, 0.96); cursor: pointer; } .chat-wechat-error { color: #b24a2f; font-size: 0.86rem; } .chat-wechat-attachment { display: grid; grid-template-columns: auto minmax(0, 1fr) 36px; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.78); } .chat-wechat-attachment__image { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; } .chat-wechat-attachment__meta { display: grid; gap: 4px; } .chat-wechat-attachment__meta span { color: var(--muted); font-size: 0.84rem; } .chat-wechat-attachment button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(184, 92, 56, 0.12); color: #9a583a; cursor: pointer; } .chat-wechat-send:disabled { opacity: 0.72; cursor: default; } .chat-wechat-image-viewer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(14, 12, 10, 0.88); } .chat-wechat-image-viewer__image { max-width: min(92vw, 980px); max-height: 92vh; object-fit: contain; border-radius: 16px; } @media (max-width: 960px) { .site-nav { display: none; } .site-menu-button { display: inline-flex; flex-direction: column; } .site-drawer, .site-drawer-backdrop { display: block; } body.reader-body { overflow: hidden; } .hero, .home-sections, .chat-layout, .reader-layout { grid-template-columns: 1fr; } .chat-sidebar, .reader-sidebar { border-right: 0; border-bottom: 1px solid var(--line); } .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .agents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .agent-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .agents-intro, .agent-detail-grid { grid-template-columns: 1fr; } .agents-monitor-top { flex-direction: column; align-items: stretch; } .agents-monitor-controls { justify-items: stretch; } .agents-monitor-summary { grid-template-columns: repeat(5, minmax(0, 1fr)); } .agents-worklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .agents-workitem__head { flex-direction: column; align-items: stretch; } .agents-workitem__metrics { justify-content: flex-start; } .reader-stage { height: 100dvh; padding: 72px 0 86px; overflow: auto; display: block; background: var(--reader-page) !important; } .reader-desktop-layout { display: block; width: auto; max-width: none; } .reader-qq-shell { width: 100% !important; min-height: calc(100dvh - 158px); overflow: visible; background: var(--reader-page); } .reader-float { display: none; } .reader-progress-rail { display: none; } .reader-catalog__grid, .reader-qq-footer { grid-template-columns: 1fr; } .reader-mobile-bar { position: fixed; left: 0; right: 0; z-index: 28; display: grid; gap: 0; padding: 10px 14px; background: var(--reader-page); backdrop-filter: blur(14px); } .reader-mobile-bar--top { top: 0; grid-template-columns: 1fr 56px 56px; align-items: center; border-bottom: 1px solid rgba(91, 71, 56, 0.08); } .reader-mobile-bar--bottom { bottom: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(91, 71, 56, 0.08); } .reader-mobile-bar__icon, .reader-mobile-bar__action { min-height: 42px; padding: 0 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; display: flex; align-items: center; justify-content: center; color: #54483f; } .reader-mobile-bar__icon { font-size: 0.92rem; font-weight: 600; white-space: nowrap; } .reader-mobile-bar__icon--back, .reader-mobile-bar__icon:first-child { justify-content: flex-start; padding-left: 4px; } .reader-mobile-bar__action { font-size: 0.9rem; border-right: 1px solid rgba(91, 71, 56, 0.08); } .reader-mobile-bar__action:last-child { border-right: 0; } .reader-mobile-bar__action--disabled { color: #a99a8d; } .reader-qq-paper, .reader-catalog-inline { min-height: calc(100dvh - 158px); } .reader-qq-paper--desktop-hidden { display: flex; } .reader-qq-paper { box-shadow: none; background: var(--reader-page) !important; } .reader-qq-header { padding: 28px 20px 18px; background: var(--reader-page); } .reader-qq-content { padding: 20px 20px 28px; background: var(--reader-page); } .reader-qq-content p { margin-bottom: 1.35em; font-size: clamp(1rem, 4vw, 1.12rem); line-height: 2.08; } .reader-catalog-inline { padding: 22px 20px 28px; } .reader-catalog-mobile-mask { position: fixed; inset: 0; display: block; background: rgba(28, 21, 16, 0.38); z-index: 26; } .reader-catalog-mobile-mask[hidden] { display: none; } .reader-catalog-mobile-sheet { position: fixed; left: 0; right: 0; bottom: calc(76px + env(safe-area-inset-bottom)); display: block; max-height: min(calc(74dvh - env(safe-area-inset-bottom)), 620px); padding: 18px 18px 18px; border-radius: 26px 26px 0 0; box-shadow: 0 -20px 40px rgba(28, 21, 16, 0.2); transform: translateY(102%); transition: transform 0.22s ease; z-index: 27; overflow: auto; pointer-events: none; } .reader-catalog-mobile-sheet.is-open { transform: translateY(0); pointer-events: auto; } .reader-catalog-mobile-sheet .reader-catalog__header { position: sticky; top: 0; z-index: 1; background: inherit; } .reader-catalog-mobile-sheet .reader-catalog__grid { padding-bottom: 12px; } .reader-catalog-inline { display: none; } .reader-catalog__header { position: sticky; top: 0; padding-bottom: 14px; background: inherit; z-index: 1; } .reader-qq-footer { padding: 0 20px 22px; gap: 12px; } .reader-qq-footer { display: none; } .reader-qq-footer__ghost, .reader-qq-footer__button { min-height: 48px; } .agent-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 640px) { body.chat-body { overflow: hidden; position: static; width: auto; min-height: 100svh; } .chat-wechat-page { padding: 0; height: calc(100svh - 74px); min-height: calc(100svh - 74px); overflow: hidden; width: 100%; max-width: 100%; min-width: 0; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr); gap: 0; background: #efeae2; } .chat-wechat-page-title { display: none; } .chat-wechat-shell { width: 100%; margin-top: 0; min-height: 0; height: 100%; border-radius: 0; border: 0; box-shadow: none; background: #efeae2; display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); } .chat-wechat-main { height: 100%; min-height: 0; } .chat-wechat-sidebar { display: none; } .chat-wechat-header { padding: 14px 16px 10px; background: #f6efe6; } .chat-wechat-header__row { align-items: center; justify-content: space-between; gap: 10px; } .chat-wechat-header__main { min-width: 0; flex: 1 1 auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; } .chat-wechat-header__title { font-size: 1.15rem; white-space: nowrap; } .chat-wechat-header__meta { margin-top: 0; font-size: 0.78rem; white-space: nowrap; text-align: right; overflow: hidden; text-overflow: ellipsis; } .chat-wechat-status { display: none; } .chat-wechat-status__text { font-size: 0.84rem; } .chat-wechat-status__icon { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 10px; } .chat-wechat-messages { padding: 14px 12px 18px; gap: 12px; background: #efeae2; overflow: auto; min-height: 0; padding-bottom: 18px; } .chat-wechat-header__presence { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .chat-wechat-header__avatars { gap: 8px; } .chat-wechat-message { gap: 8px; } .chat-wechat-avatar { width: 34px; height: 34px; border-radius: 12px; } .chat-wechat-message__body { max-width: calc(100% - 48px); } .chat-wechat-bubble { padding: 12px 13px; border-radius: 6px 16px 16px 16px; box-shadow: none; } .chat-wechat-message--self .chat-wechat-bubble { border-radius: 16px 6px 16px 16px; } .chat-wechat-composer { padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(245, 239, 231, 0.98); backdrop-filter: blur(12px); z-index: 6; margin-top: 0; position: relative; box-shadow: 0 -10px 26px rgba(49, 34, 22, 0.06); } .chat-wechat-composer::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-1 * env(safe-area-inset-bottom)); height: env(safe-area-inset-bottom); background: rgba(245, 239, 231, 0.98); } .chat-wechat-composer__tools { margin-bottom: 8px; } .chat-wechat-tool, .chat-wechat-send { min-height: 42px; } .chat-wechat-tool { width: 42px; min-width: 42px; border-radius: 12px; } .chat-wechat-composer__row { grid-template-columns: minmax(0, 1fr) 72px; gap: 8px; } .chat-wechat-input { min-height: 42px; height: 42px; padding: 10px 12px; border-radius: 14px; } .chat-wechat-emoji-panel { padding: 8px; border-radius: 16px; } .chat-wechat-emoji-panel button { width: 38px; height: 38px; border-radius: 10px; } .chat-wechat-attachment { grid-template-columns: auto minmax(0, 1fr) 32px; padding: 9px 10px; } .chat-wechat-attachment__image { width: 40px; height: 40px; } .chat-wechat-attachment button { width: 32px; height: 32px; } .chat-wechat-image-viewer { padding: 14px; } .chat-wechat-image-viewer__image { max-width: calc(100vw - 28px); max-height: calc(100svh - 28px); } .site-header { position: sticky; top: 0; background: #fbf6ef; backdrop-filter: none; } .page-shell { width: min(100vw - 20px, 100%); } .site-header__inner { padding: 10px 0; } .site-drawer, .site-drawer-backdrop { display: block; } .site-drawer { background: transparent; } .site-drawer__panel { margin-left: 0; width: 100vw; min-width: 0; min-height: 100dvh; height: 100dvh; padding-top: 88px; background: #fbf6ef; box-shadow: none; } .site-brand__name { color: #241c16; } .site-brand__tag { display: none; } .site-menu-button { border-color: rgba(60, 42, 27, 0.14); background: #fff8f0; width: 58px; height: 58px; } .hero { padding-top: 18px; gap: 16px; } .library-shell, .agents-shell--compact, .chat-wechat-shell { margin-top: 18px; } .hero__main, .section-card, .library-shell, .agents-shell, .chat-sidebar, .chat-toolbar, .chat-messages, .chat-composer, .reader-sidebar, .reader-topbar, .reader-footer, .reader-content { padding-left: 16px; padding-right: 16px; } .library-grid { grid-template-columns: 1fr; } .book-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); } .book-cover { aspect-ratio: auto; min-height: 100%; padding: 16px; } .book-cover__title { font-size: 1.1rem; } .agents-grid { grid-template-columns: 1fr; } .agent-stats { grid-template-columns: 1fr; } .agents-monitor-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .agents-monitor-summary__item:first-child { grid-column: span 2; } .agents-worklist { grid-template-columns: 1fr; } .agents-workitem { padding: 14px 14px 16px; border-radius: 18px; } .agents-workitem__identity { align-items: flex-start; } .agents-workitem__name-row { gap: 8px; } .agents-workitem__metrics, .agents-workitem__meta { gap: 8px 10px; } .reader-qq-header { padding: 24px 16px 16px; } .reader-qq-header h1 { font-size: clamp(1.6rem, 8vw, 2.1rem); } .reader-qq-meta { justify-content: flex-start; gap: 8px 14px; font-size: 0.84rem; } .reader-catalog-inline { padding: 18px 16px 24px; } .reader-catalog__header h2 { font-size: 1.5rem; } .reader-qq-footer { padding-left: 16px; padding-right: 16px; } .agent-quick-grid { grid-template-columns: 1fr; } .agents-toolbar, .agent-detail-hero { flex-direction: column; align-items: stretch; } .agent-row { grid-template-columns: 1fr; gap: 6px; } .composer-grid { grid-template-columns: 1fr; } .chat-layout { border-radius: 24px; overflow: hidden; background: rgba(255, 250, 243, 0.92); margin-bottom: 18px; } .page-title--compact-mobile { padding: 14px 0 10px; } .page-title--compact-mobile h1 { font-size: 2rem; } .page-title--compact-mobile p { display: none; } .chat-sidebar { padding-top: 14px; padding-bottom: 12px; background: rgba(255, 247, 239, 0.96); } .presence-list { grid-auto-flow: column; grid-auto-columns: minmax(180px, 78%); overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; } .presence-item { min-height: 100%; scroll-snap-align: start; } .chat-main { min-height: auto; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(255, 250, 243, 0.84); } .chat-toolbar strong { display: block; font-size: 1.05rem; } .chat-toolbar__hint, .chat-sidebar__hint { display: none; } .chat-messages { padding-top: 14px; padding-bottom: 16px; max-height: 44vh; overflow: auto; } .message { max-width: 100%; padding: 12px 14px; border-radius: 18px; } .composer-input-hint { font-size: 0.86rem; line-height: 1.5; } .composer-input--drop { min-height: 64px; border-radius: 18px; resize: none; padding: 14px 16px; } .composer-actions--stacked { width: 100%; height: auto; grid-template-columns: minmax(0, 1fr) 92px; grid-template-rows: none; align-items: stretch; gap: 10px; } .composer-actions--stacked .button { min-height: 46px; white-space: nowrap; } .chat-composer { position: sticky; bottom: 0; background: rgba(251, 246, 239, 0.96); backdrop-filter: blur(12px); box-shadow: 0 -12px 30px rgba(49, 34, 22, 0.08); } .button { width: 100%; } .hero__actions { display: grid; } .home-sections { gap: 16px; padding-bottom: 28px; } .reader-paper { padding: 22px 18px; border-radius: 22px; } .site-brand__tag { display: none; } .reader-mobile-bar--top { grid-template-columns: 1fr 92px 92px; } .reader-mobile-bar__icon, .reader-mobile-bar__action { min-height: 42px; } .reader-catalog-mobile-sheet { bottom: calc(74px + env(safe-area-inset-bottom)); max-height: calc(76dvh - env(safe-area-inset-bottom)); padding: 16px 16px 16px; } } @media (max-width: 640px) { .chat-wechat-page { width: 100vw; max-width: 100vw; } .chat-wechat-shell { margin-top: 0 !important; } }