/* Dark Tavern design system. Kept after feature styles to preserve their layout. */
:root {
  color-scheme: dark;
  --tavern-bg: #0c0c12;
  --tavern-surface: rgba(24, 23, 36, .75);
  --tavern-solid: #181724;
  --tavern-raised: #211f30;
  --tavern-border: rgba(255, 255, 255, .08);
  --tavern-primary: #a855f7;
  --tavern-accent: #ec4899;
  --tavern-secondary: #6366f1;
  --tavern-gradient: linear-gradient(115deg, #a855f7, #ec4899);
  --paper: var(--tavern-bg);
  --white: var(--tavern-surface);
  --surface: var(--tavern-surface);
  --ink: #f3f4f6;
  --muted: #9ca3af;
  --line: var(--tavern-border);
  --accent: #c084fc;
  --accent-dark: #e9d5ff;
  --wash: rgba(168, 85, 247, .12);
  --green: #86dfb8;
  --red: #fca5b3;
  --sidebar: #111018;
  --radius: 16px;
  --shadow: 0 16px 60px #0006;
  background: var(--paper);
  color: var(--ink);
}
body { background: var(--paper); color: var(--ink); }
::selection { background: #a855f74d; color: #fff; }
input, textarea, select, .auth-box input {
  background: #12111c; color: var(--ink); border-color: var(--line); border-radius: 12px;
}
input::placeholder, textarea::placeholder { color: #74798b; opacity: 1; }
input:focus, textarea:focus, select:focus {
  border-color: #a855f7; box-shadow: 0 0 0 3px #a855f71f;
}
button:focus-visible, a:focus-visible { outline-color: #d8b4fe; outline-offset: 4px; }
.btn, .icon-button { border-radius: 12px; }
.btn { background: var(--tavern-raised); color: #e5e4ed; }
.btn:hover { background: #2b253e; border-color: #a855f766; }
.btn.primary, .new-story, .composer-send {
  background: var(--tavern-gradient); border-color: #bc6cf080; color: #fff;
  box-shadow: 0 5px 20px #a855f71a;
}
.btn.primary:hover, .new-story:hover, .composer-send:hover {
  background: linear-gradient(115deg, #b874fa, #f36cab); border-color: #da9bfc; color: #fff;
}
.btn.dark { background: #31234a; border-color: #6f43984d; color: #e9d5ff; }
.btn.ghost { background: transparent; color: #c5b7dc; }
.btn.ghost:hover, .icon-button:hover { background: #ffffff0a; }
.btn.danger { color: var(--red); border-color: #f8717138; }
.tag, .type-badge, .status-label {
  background: #a855f71a; color: #d8b4fe; border-radius: 12px; border: 1px solid #b477f127;
}
.pill, .status-label.complete, .note.success {
  color: #86dfb8; background: #14372a70; border-color: #86dfb82b;
}
.pill.pending, .status-label.running, .status-label.queued { background: #48316955; color: #d8b4fe; border-color: #c084fc33; }
.pill.error, .note.error, .status-label.failed, .status-label.interrupted {
  background: #602d374d; color: #fca5b3; border-color: #fb718533;
}
.note { background: #261e38; color: #c9bbdc; border: 1px solid var(--line); border-radius: 12px; }
.spinner { border-color: #a855f733; border-top-color: var(--accent); }
.sidebar { border-right: 1px solid var(--line); color: var(--ink); }
.brand-mark { color: #e9d5ff; background: #a855f714; border-color: #a855f74d; border-radius: 12px; }
.brand-title { color: #f5efff; }
.brand-sub, .sidebar-label, .recent-empty, .user-info small, .topbar-key { color: #888497; }
.nav a, .recent-link, .sidebar-bottom .icon-button { color: #aaa4b9; border-radius: 12px; }
.nav a:hover, .recent-link:hover, .recent-link.selected { background: #a855f70b; color: #e9d5ff; }
.nav a.active { color: #e9d5ff; background: linear-gradient(100deg, #a855f724, #ec489909); }
.nav a.active::before { background: var(--tavern-gradient); }
.user-badge { background: #31213d; color: #e9d5ff; }
.topbar { background: #0c0c12ed; border-color: var(--line); backdrop-filter: blur(16px); }
.breadcrumb { color: #797388; }
.breadcrumb span:last-child { color: #ded8eb; }
.content { max-width: 1510px; }
.page-heading h1 { color: #f4efff; }
.eyebrow { color: #c9a5ed; }
.hero {
  border-color: #a855f733; border-radius: 16px; padding: 32px 36px; min-height: 270px;
  background: radial-gradient(ellipse at 84% 24%, #773bbc3b, transparent 54%), linear-gradient(120deg, #1b1627, #15121d 62%, #271529);
}
.hero h1 { color: #f8f1ff; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.45; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #d8b4fe, #f9a8d4); color: transparent; background-clip: text; }
.hero p { color: #b0a3c1; line-height: 1.9; }
.hero-copy { position: relative; z-index: 2; max-width: 68%; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 22px; margin-top: 22px; color: #a39aad; font-size: 11px; flex-wrap: wrap; }
.hero-facts strong { color: #e2cee9; font-weight: 550; margin-right: 5px; }
.hero-art { right: 5%; top: -65px; width: 365px; height: 365px; border-color: #ba8de525; color: #d8b4fe; }
.hero-art::before, .hero-art::after { border-color: #ba8de51c; }
.hero-art svg { color: #d8b4fe55; width: 90px; height: 90px; left: 136px; top: 146px; }
.hero-art::after { box-shadow: 0 0 75px #a855f714, inset 0 0 50px #ec489908; }
.hero-mark { color: #8d759f; }
.section-heading { margin-top: 32px; margin-bottom: 18px; }
.section-heading h2 { color: #e9e3f2; font-size: 18px; }
.stat-compact { background: var(--surface); border-radius: 16px; }
.stat-compact .stat-icon { background: #a855f71a; color: #c084fc; border-radius: 12px; }
.character-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.character-card {
  aspect-ratio: 3 / 4; min-width: 0; border-radius: 16px; background: #181724;
  border: 1px solid var(--line); isolation: isolate; display: block; overflow: hidden;
}
.character-card:hover { border-color: #a855f780; box-shadow: 0 8px 28px #0004; transform: translateY(-3px); }
.character-card .card-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 60% 23%, color-mix(in srgb, var(--card-color, #a855f7) 37%, #241b3c), transparent 70%), linear-gradient(155deg, #352440, #13121f);
  color: #e9d5ff;
}
.character-card .card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .35s ease; }
.character-card:hover .card-cover img { transform: scale(1.035); }
.character-card .card-cover::before { width: 95%; height: auto; aspect-ratio: 1; top: 11%; left: 20%; border-color: #d8b4fe22; opacity: 1; }
.character-card .card-cover::after { width: 64%; height: auto; aspect-ratio: 1; top: 21%; left: 35%; border-color: #d8b4fe22; transform: rotate(30deg); opacity: 1; }
.character-card .card-cover:has(img)::before, .character-card .card-cover:has(img)::after { display: none; }
.character-card .cover-symbol {
  position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%);
  height: 80px; width: 80px; background: #c084fc0d; border-color: #d8b4fe30; color: #eddbffb3;
}
.character-card .cover-symbol svg { width: 42px; height: 42px; }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0c0c1238, transparent 30%, #0c0c1270 52%, #0c0c12ef 88%, #0c0c12); }
.gallery-tags { position: absolute; z-index: 1; left: 12px; top: 12px; right: 12px; display: flex; gap: 5px; flex-wrap: wrap; max-height: 52px; overflow: hidden; }
.gallery-tags .tag { background: #17131dbd; backdrop-filter: blur(6px); color: #ece1f7; border-color: #ffffff1a; font-size: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 7px; }
.character-card .card-body { position: absolute; z-index: 1; bottom: 0; inset-inline: 0; padding: 16px; display: block; }
.character-card .card-body h3 { font-family: "Microsoft YaHei", "Segoe UI", sans-serif; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.35; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.character-card .card-subtitle { color: #d0c2dd; margin-top: 5px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.character-card .card-summary { color: #a9a1b8; font-size: 11px; line-height: 1.75; margin: 9px 0 12px; min-height: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.character-card .card-bottom { border-top: 1px solid #ffffff10; padding-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 5px; flex-wrap: nowrap; }
.gallery-kind { color: #82778f; font-size: 9px; white-space: nowrap; }
.character-card .card-heat, .world-card .card-heat { color: #d9b7ec; font-size: 10px; margin-left: auto; }
.character-card .card-heat .heat-icon { width: 12px; height: 12px; display: block; }
.world-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.world-card { background: var(--surface); border-radius: 16px; border-color: var(--line); flex-direction: column; overflow: hidden; }
.world-card:hover { border-color: #a855f766; background: #211b2f; box-shadow: 0 8px 24px #0003; }
.world-cover { width: 100%; height: 120px; min-height: 0; background: radial-gradient(ellipse at 76% 30%, color-mix(in srgb, var(--card-color, #a855f7) 35%, #17121f), transparent 80%), #1d192a; color: #dbc0f1; }
.world-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.world-cover svg { width: 44px; height: 44px; right: 30px; top: 36px; opacity: .65; }
.world-cover::before, .world-cover::after { border-color: #c084fc30; }
.world-body { padding: 18px; }
.world-body h3 { color: #f3eafa; }
.world-body p { color: #ada0ba; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.world-banner { background: transparent; border-color: var(--line); color: #9d94ac; padding: 12px 0 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.world-card-bottom { padding-top: 12px; }
.continue-card, .panel, .archive-row, .usage-card, .support-message { background: var(--surface); border-color: var(--line); border-radius: 16px; }
.continue-card:hover { background: #211b2f; border-color: #a855f755; }
.continue-card strong { color: #e9dff3; }
.continue-card p, .continue-card .icon { color: #9f93b0; }
.avatar { background: linear-gradient(145deg, #39234e, #1c1a2a); color: #d9c0f0; border: 1px solid #c084fc29; border-radius: 12px; }
.page-foot { color: #777384; }
.tabs { background: #16131f; border-color: var(--line); border-radius: 12px; }
.tabs button { border-radius: 10px; color: #a29aac; }
.tabs button.active { background: #a855f724; color: #e9d5ff; box-shadow: inset 0 0 0 1px #a855f726; }
.tabs button:hover { color: #f3e8ff; }
.searchbar { border-color: var(--line); background: #14121c; border-radius: 12px; color: #8f839e; }
.searchbar input { background: transparent; }
.library-tools { gap: 14px; }
.field label, .checkline, .chooser-label { color: #c6b8d6; }
.field small, .backup-info, .auth-box .auth-intro, .auth-foot, .detail-top p { color: #a59ab3; }
.details summary, .detail-section h3, .file-transcript summary { color: #c4a5e0; }
.detail-section p { color: #bbb0c8; }
.details summary::marker { color: #c084fc; }
.code, .recovery-code { color: #ddc5f5; background: #251b35; border-radius: 12px; }
.auth-shell { background: var(--paper); }
.auth-story { background: radial-gradient(ellipse at 10% 10%, #6f2f813b, transparent 75%), linear-gradient(145deg, #21152e, #111019); color: #d9c5ee; }
.auth-story .brand-title { color: #f5edff; }
.auth-copy p { color: #b2a3c3; }
.auth-copy .eyebrow { color: #c69be8; }
.auth-circle, .auth-circle::before, .auth-circle::after { border-color: #a855f726; }
.auth-story-foot { color: #8b789d; }
.auth-links { color: #d2a5f3; }
.modal-overlay { background: #05040bc9; }
.modal { background: #181724f7; border-color: #ffffff12; border-radius: 16px; box-shadow: 0 20px 100px #0009; }
.modal-head { background: #181724f5; }
.modal-foot { background: #13111df5; }
.chooser, .world-choice { border-radius: 12px; }
.chooser.selected, .world-choice.selected { border-color: #a855f7; background: #a855f71a; box-shadow: 0 0 0 1px #a855f740; }
.world-choice .checkmark { color: #d8b4fe; }
.toast { background: #2b203e; border-color: #a855f74d; color: #f3e8ff; border-radius: 12px; }
.toast.error { background: #4c2735; color: #fecdd3; border-color: #fb71854d; }
.skeleton { background: linear-gradient(90deg, #1a1724, #2b2439, #1a1724); }
.chat-header { background: #121019; border-color: var(--line); }
.chat-header p, .message-label, .message-actions button, .composer-footer small, .composer-note { color: #9c90ad; }
.chat-header h2 { color: #efe6f8; }
.messages { background: radial-gradient(ellipse at 90% 0, #a855f707, transparent 65%), var(--paper); }
.scene { color: #b6a4ca; background: #21182d; border-color: #a855f730; border-radius: 12px; }
.scene strong { color: #d8b4fe; }
.message-text { color: #e4deec; }
.message-text em { color: #aaa0bb; }
.message-text code, .message-text pre { background: #211b2f; color: #d8c3ed; }
.message.user .message-text { background: #2d1f3f; color: #f3e8ff; border-color: #a855f72e; border-radius: 16px; }
.message-actions button:hover { background: #ffffff0a; color: #d8b4fe; }
.message-error { color: var(--red); }
.typing i { background: #c084fc; }
.composer-wrap { background: #100e18; }
.composer { background: #1b1726; border-color: #b17adb30; border-radius: 16px; box-shadow: 0 4px 22px #0003; }
.composer-send { border-radius: 12px; }
.connection-banner { color: #d0a9e9; }
.chat-aside { background: #121019; }
.aside-block { border-color: var(--line); }
.aside-heading, .memory-count { color: #9885ad; }
.aside-block p, .aside-fact { color: #aca0bb; border-color: var(--line); }
.branch-link { color: #b994d5; }
th { color: #b7a2cb; background: #211b2b; }
td { color: #c6bdcf; border-color: var(--line); }
.bar-item .bar { background: linear-gradient(0deg, #7052b3, #cb7ed4); }
.bar-item .bar-value { color: #b7a2cb; }
.subscription-card { border-top-color: #a855f7; }
.subscription-card:nth-child(3n+2) { border-top-color: #ec4899; }
.subscription-card:nth-child(3n) { border-top-color: #6366f1; }
.subscription-model, .pool-models>div, .subscription-grants>div, .point-wallet-grid>div { background: #211b2d; border-radius: 12px; }
.pool-types button, .model-type-tabs button { border-radius: 12px; }
.pool-types button.active, .model-type-tabs button.active, .model-picker-groups button.active { background: #a855f724; border-color: #a855f766; color: #e9d5ff; }
.group-model-row, .grant-option, .model-radio { background: #181522; border-color: var(--line); border-radius: 12px; }
.grant-option:has(input:checked), .model-radio:has(input:checked) { background: #a855f71a; border-color: #a855f780; }
.type-intelligence { background: #a855f71a; color: #d8b4fe; }
.type-image { background: #ec48991a; color: #f9a8d4; }
.type-video { background: #6366f11a; color: #a5b4fc; }
.type-audio { background: #34d39912; color: #86dfb8; }
.chat-model-picker { background: #262033; border-color: #a855f733; }
.pending-file, .message-file { background: #211a2d; border-color: var(--line); border-radius: 12px; }
.pending-file button:hover { background: #a855f71a; }
.recording-bar { background: #4b233e66; border-radius: 12px; }
.recording-dot { background: #ec4899; }
.generation-controls { background: #20182d; }
.generation-lyrics textarea { background: #12101b; }
.generation-quote { color: #c8abd9; }
.payment-secret-grid section { background: #16121f; border-radius: 12px; }
.payment-test { border-top-color: #a855f7; }
.subscription-offer-grid article, .subscription-offer-grid .tier-card, .tier-editor-preview .tier-card { color: var(--ink); background: #191522; border-radius: 16px; }
.tier-card .tier-name, .tier-editor-preview .tier-name { color: #e9d5ff; }
.tier-card .tier-description, .tier-price>span, .tier-price-note, .tier-term { color: #a99bb7; }
.tier-features { border-color: var(--line); }
.variable-chips button { background: #2a1d3c; color: #d8b4fe; border-color: #a855f73d; border-radius: 12px; }
.variable-chips button:hover { background: #3b2854; }
.admin-ai-tab { color: #d8b4fe; }
.admin-ai-tab:hover { background: #a855f71a; border-radius: 12px; }
.support-message.staff { background: #a855f71a; border-color: #a855f740; }
.mobile-bottom { background: #14111eef; border-color: var(--line); }
.mobile-bottom a { color: #9689a6; }
.mobile-bottom a.active { color: #d8b4fe; }
.mobile-dimmer.open { background: #05040bc4; }
@media (min-width: 1600px) {
  .character-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .home-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .home-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .home-gallery .card-summary { -webkit-line-clamp: 1; line-clamp: 1; }
  .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .hero-art { right: -95px; }
  .hero-copy { max-width: 82%; }
  .character-card .card-body { padding: 12px; }
}
@media (max-width: 900px) {
  .character-grid, .home-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-gallery .card-summary { -webkit-line-clamp: 2; line-clamp: 2; }
}
@media (max-width: 760px) {
  .topbar { background: #0c0c12ed; }
  .content { padding: 22px 16px 92px; }
  .page-heading>.eyebrow { display: none; }
  .hero { padding: 24px 21px; min-height: 278px; margin-bottom: 24px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 29px; margin: 11px 0; }
  .hero p { max-width: 280px; font-size: 12px; }
  .hero .eyebrow { letter-spacing: 1.3px; }
  .hero-art { right: -170px; top: -38px; opacity: .6; }
  .hero-actions { margin-top: 18px; gap: 9px; }
  .hero-actions .btn { padding: 9px 12px; font-size: 12px; }
  .hero-facts { margin-top: 18px; gap: 12px; font-size: 10px; }
  .character-card .card-body { padding: 12px; }
  .character-card .card-body h3 { font-size: 19px; }
  .character-card .card-summary { font-size: 10px; margin: 7px 0 9px; line-height: 1.65; }
  .character-card .card-subtitle { font-size: 10px; margin-top: 4px; }
  .character-card .cover-symbol { width: 64px; height: 64px; top: 32%; }
  .character-card .cover-symbol svg { width: 34px; height: 34px; }
  .gallery-tags { left: 10px; top: 10px; right: 10px; gap: 4px; }
  .gallery-tags .tag { font-size: 9px; padding: 2px 6px; }
  .gallery-kind { font-size: 8px; }
  .character-card .card-heat { font-size: 9px; }
  .character-card .card-bottom { padding-top: 7px; }
  .world-grid { grid-template-columns: 1fr; gap: 12px; }
  .world-card { flex-direction: row; min-height: 150px; }
  .world-cover { width: 30%; height: auto; min-height: 150px; }
  .world-cover svg { right: calc(50% - 20px); top: calc(50% - 20px); width: 40px; height: 40px; }
  .world-cover img { position: absolute; inset: 0; }
  .world-body { padding: 16px; }
  .world-body h3 { font-size: 16px; }
  .world-banner { font-size: 11px; }
  .section-heading { margin-top: 28px; }
  .section-heading h2 { font-size: 17px; }
  .card-section-heading>div:first-child small { display: none; }
  .card-section-heading>.row:last-child { gap: 6px; }
  .card-sort-controls { gap: 5px; }
  .card-sort-controls select, .card-sort-controls .btn { font-size: 11px; }
  .library-tools { gap: 12px; }
  .library-tools>.card-sort-controls { align-self: flex-end; }
  .modal { border-radius: 16px; }
}
@media (max-width: 380px) {
  .content { padding-inline: 12px; }
  .character-card .card-body { padding: 10px; }
  .character-card .card-body h3 { font-size: 17px; }
  .gallery-kind { display: none; }
  .character-card .card-summary { -webkit-line-clamp: 1; line-clamp: 1; }
  .hero h1 { font-size: 26px; }
}

/* Short phone/side-panel viewports: keep tools and notices, give the story more room. */
@media (max-width: 760px) and (max-height: 700px) {
  .chat-page .topbar { height: 46px; padding-inline: 12px; }
  .chat-page .chat-layout { height: calc(100dvh - 46px); }
  .chat-page .chat-aside.open { top: 46px; }
  .chat-page .chat-header { padding: 6px 12px; gap: 5px; flex-shrink: 0; }
  .chat-page .chat-header>.row { gap: 7px; }
  .chat-page .chat-header h2 { font-size: 13px; line-height: 1.3; margin-bottom: 1px; }
  .chat-page .chat-header p { font-size: 9px; line-height: 1.35; }
  .chat-page .chat-header .avatar { width: 30px; height: 30px; }
  .chat-page .chat-header-tools { gap: 4px!important; }
  .chat-page .chat-header-tools .btn { min-height: 30px; padding-block: 4px; }
  .chat-page .chat-header-tools .icon-button { height: 30px; }
  .chat-page .chat-model-picker small { line-height: 1.2; }
  .chat-page .chat-model-picker strong { line-height: 1.3; }
  .chat-page .story-panel { padding: 5px 12px; }
  .chat-page .story-stage { margin-bottom: 3px; gap: 8px; }
  .chat-page .story-stage-select { font-size: 10px; line-height: 1.4; }
  .chat-page .story-stage-select small { font-size: 9px; }
  .chat-page .story-slots-strip { padding: 1px 0 2px; gap: 6px; }
  .chat-page .story-slot-chip, .chat-page .story-slot-add { padding: 4px 7px; font-size: 10px; min-height: 30px; }
  .chat-page .story-slot-chip .avatar { width: 20px; height: 20px; }
  .chat-page .chat-disclaimer { padding: 3px 12px 0; }
  .chat-page .chat-disclaimer .ai-disclaimer { padding: 4px 8px; line-height: 1.5; }
  .chat-page .chat-disclaimer .ai-disclaimer .icon { width: 13px; height: 13px; margin-top: 0; }
  .chat-page .messages { padding: 10px 12px 8px; }
  .chat-page .opening-narrative { padding: 10px 12px!important; margin-bottom: 14px; }
  .chat-page .scene-narrative { line-height: 1.75; }
  .chat-page .scene-narrative p { margin-bottom: 6px; }
  .chat-page .message { margin-bottom: 16px; }
  .chat-page .composer-wrap { padding: 5px 10px max(6px, env(safe-area-inset-bottom)); flex-shrink: 0; }
  .chat-page .story-input-tools { gap: 5px; padding: 4px 6px 2px; }
  .chat-page .story-input-tools>.btn { min-height: 30px; padding: 5px 7px; font-size: 10px; }
  .chat-page .story-input-tools .icon { width: 13px; height: 13px; }
  .chat-page .extra-input-tools summary { padding: 5px; font-size: 10px; }
  .chat-page .input-guide { padding: 5px 8px; gap: 6px; font-size: 10px; line-height: 1.4; }
  .chat-page .input-guide .btn { min-height: 28px; padding: 4px 6px; font-size: 10px; }
  .chat-page .composer textarea#composer-input { min-height: 36px; height: 38px; max-height: 80px; padding: 7px 11px 2px; line-height: 1.5; }
  .chat-page .composer-footer { padding: 4px 8px 6px; gap: 8px; }
  .chat-page .composer-send { height: 30px; min-height: 30px; }
  .chat-page .composer-note { margin-top: 4px; line-height: 1.35; }
}
