/* Coze Chat Tools – frontend.css v1.2.6 */
.czt-shell,
.czt-shell *,
.czt-shell *::before,
.czt-shell *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.czt-shell {
  --czt-primary: var(--theme-color, #3b82f6);
  --czt-primary-l: color-mix(in srgb, var(--czt-primary) 12%, #fff);
  --czt-bg: #f5f7fa;
  --czt-card: #ffffff;
  --czt-text: #1f2937;
  --czt-muted: #6b7280;
  --czt-line: #e5e7eb;
  --czt-radius: 12px;
  --czt-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --czt-user-bubble: var(--czt-primary);
  --czt-ai-bubble: #f3f4f6;
  --czt-ai-text: var(--czt-text);
  width: 100%;
  font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--czt-text);
  position: relative;
}

.dark .czt-shell,
[data-theme="dark"] .czt-shell,
body.dark-mode .czt-shell,
html.dark .czt-shell,
.czt-shell.czt-dark {
  --czt-bg: #0f172a;
  --czt-card: #1e293b;
  --czt-text: #e2e8f0;
  --czt-muted: #94a3b8;
  --czt-line: #334155;
  --czt-ai-bubble: #334155;
  --czt-ai-text: #e2e8f0;
  --czt-primary-l: color-mix(in srgb, var(--czt-primary) 18%, #1e293b);
  --czt-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
.czt-shell.czt-auto-dark {
    --czt-bg: #0f172a;
    --czt-card: #1e293b;
    --czt-text: #e2e8f0;
    --czt-muted: #94a3b8;
    --czt-line: #334155;
    --czt-ai-bubble: #334155;
    --czt-ai-text: #e2e8f0;
    --czt-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
}

.czt-page-hub-template .czt-page-hub-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.czt-page-hub-template .czt-page-hub-shell::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto;
  height: 220px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--theme-color, #2251ff) 18%, #fff), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(15, 118, 110, 0.16), transparent 24%),
    linear-gradient(135deg, #fbfdff, #f4f8ff 54%, #f9fafc);
  z-index: 0;
}

.czt-page-hub-template .czt-page-hub-search {
  position: relative;
  width: 100%;
}

.czt-page-hub-template .czt-page-hub-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.czt-page-hub-template .czt-page-hub-search-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.czt-page-hub-template .czt-page-hub-hero,
.czt-page-hub-template .czt-page-hub-filters,
.czt-page-hub-template .czt-page-hub-results,
.czt-page-hub-template .czt-page-hub-grid,
.czt-page-hub-template .czt-page-hub-empty {
  position: relative;
  z-index: 1;
}

.czt-page-hub-template .czt-page-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.czt-page-hub-template .czt-page-hub-hero-copy,
.czt-page-hub-template .czt-page-hub-hero-panel {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(219, 227, 239, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.czt-page-hub-template .czt-page-hub-hero-copy {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(247,250,255,0.92));
  box-shadow: 0 20px 60px rgba(148, 163, 184, 0.14);
}

.czt-page-hub-template .czt-page-hub-hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,252,255,0.85));
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.czt-page-hub-template .czt-page-hub-display {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.czt-page-hub-template .czt-page-hub-lead {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.72;
  color: #5c677d;
}

.czt-page-hub-template .czt-page-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.czt-page-hub-template .czt-page-hub-stat {
  min-width: 148px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.czt-page-hub-template .czt-page-hub-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: #0f172a;
}

.czt-page-hub-template .czt-page-hub-stat span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #667085;
}

.czt-page-hub-template .czt-page-hub-search input {
  width: 100%;
  height: 54px;
  border: 1px solid #d5deeb;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,255,0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 14px 38px rgba(148, 163, 184, 0.10);
  padding: 0 20px 0 52px;
  font-size: 17px;
  color: #111827;
}

.czt-page-hub-template .czt-page-hub-search input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--theme-color, #4f46e5) 32%, #dbe3ef);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color, #4f46e5) 10%, transparent), 0 12px 32px rgba(148, 163, 184, 0.12);
}

.czt-page-hub-template .czt-page-hub-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.czt-page-hub-template .czt-page-hub-quick-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 13px;
  color: #5f6b84;
}

.czt-page-hub-template .czt-page-hub-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 0 2px;
}

.czt-page-hub-template .czt-page-hub-filter {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255,255,255,0.78);
  color: #64748b;
  border-radius: 18px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.czt-page-hub-template .czt-page-hub-filter span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  font-size: 12px;
}

.czt-page-hub-template .czt-page-hub-filter:hover,
.czt-page-hub-template .czt-page-hub-filter.is-active {
  color: var(--theme-color, #4f46e5);
  background: color-mix(in srgb, var(--theme-color, #4f46e5) 12%, #fff);
  border-color: color-mix(in srgb, var(--theme-color, #4f46e5) 18%, #d7deeb);
  transform: translateY(-1px);
}

.czt-page-hub-template .czt-page-hub-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px;
  margin-top: -2px;
}

.czt-page-hub-template .czt-page-hub-results-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.czt-page-hub-template .czt-page-hub-results-copy strong {
  font-size: 26px;
  line-height: 1;
  color: #111827;
}

.czt-page-hub-template .czt-page-hub-results-copy span {
  font-size: 14px;
  color: #64748b;
}

.czt-page-hub-template .czt-page-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.czt-page-hub-template .czt-page-hub-grid > [hidden] {
  display: none !important;
}

.czt-page-hub-template .czt-page-hub-card.is-filter-hidden {
  display: none !important;
}

.czt-page-hub-template .czt-page-hub-card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #edf2f7;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(251,252,255,0.98)),
    linear-gradient(135deg, rgba(34,81,255,0.06), transparent 52%);
}

.czt-page-hub-template .czt-page-hub-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--theme-color, #4f46e5) 20%, #edf2f7);
  box-shadow: 0 22px 60px rgba(79, 70, 229, 0.10);
}

.czt-page-hub-template .czt-page-hub-thumb {
  display: block;
  width: 96px;
  flex: 0 0 96px;
  user-select: none;
  -webkit-user-drag: none;
}

.czt-page-hub-template .czt-page-hub-graphic,
.czt-page-hub-template .czt-page-hub-graphic img {
  display: block;
  height: 96px;
  width: 100%;
  border-radius: 16px;
  user-select: none;
  -webkit-user-drag: none;
}

.czt-page-hub-template .czt-page-hub-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--theme-color, #3b82f6) 22%, #fff), transparent 38%),
    linear-gradient(135deg, color-mix(in srgb, var(--theme-color, #3b82f6) 14%, #fff), #f8fafc 80%);
  font-size: 30px;
  font-weight: 700;
  color: var(--theme-color, #3b82f6);
  position: relative;
  overflow: hidden;
}

.czt-page-hub-template .czt-page-hub-cover-ai {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
}

.czt-page-hub-template .czt-page-hub-body {
  padding: 16px 16px 14px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.czt-page-hub-template .czt-page-hub-card-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.czt-page-hub-template .czt-page-hub-content {
  min-width: 0;
  flex: 1 1 auto;
}

.czt-page-hub-template .czt-page-hub-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.czt-page-hub-template .czt-page-hub-card-cat {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.czt-page-hub-template .czt-page-hub-title {
  font-size: 18px;
  line-height: 1.32;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.czt-page-hub-template .czt-page-hub-title a {
  color: #111827;
  user-select: text;
}

.czt-page-hub-template .czt-page-hub-excerpt {
  min-height: 56px;
  font-size: 14px;
  line-height: 1.62;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  user-select: text;
}

.czt-page-hub-template .czt-page-hub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef2f7;
  padding-top: 12px;
  margin-top: auto;
}

.czt-page-hub-template .czt-page-hub-points {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.czt-page-hub-template .czt-page-hub-points-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
}

.czt-page-hub-template .czt-page-hub-points-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.czt-page-hub-template .czt-page-hub-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--theme-color, #00a2e3), color-mix(in srgb, var(--theme-color, #00a2e3) 62%, #1d4ed8));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 26px color-mix(in srgb, var(--theme-color, #00a2e3) 24%, transparent);
  user-select: none;
  -webkit-user-drag: none;
}

.czt-page-hub-template .czt-page-hub-button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--theme-color, #00a2e3) 32%, transparent);
}

.czt-page-hub-template .czt-page-hub-button svg {
  width: 16px;
  height: 16px;
  display: block;
}

.czt-page-hub-template .czt-page-hub-notice {
  color: #646970;
}

.czt-page-hub-template .czt-page-hub-empty {
  padding: 28px 20px;
  border: 1px dashed #dbe3ef;
  border-radius: 18px;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
}

.czt-page-hub-template .czt-page-hub-loadmore {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.czt-page-hub-template .czt-page-hub-loadmore-btn {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--theme-color, #00a2e3) 18%, #dbe3ef);
  background: linear-gradient(180deg, #fff, #f7fbff);
  color: var(--theme-color, #00a2e3);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: all .18s ease;
}

.czt-page-hub-template .czt-page-hub-loadmore-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.czt-page-hub-template .czt-page-hub-loadmore-btn:disabled {
  opacity: .72;
  cursor: wait;
}

.dark .czt-page-hub-template .czt-page-hub-shell::before,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-shell::before,
body.dark-mode .czt-page-hub-template .czt-page-hub-shell::before,
html.dark .czt-page-hub-template .czt-page-hub-shell::before {
  background:
    radial-gradient(circle at 8% 18%, rgba(59, 130, 246, 0.18), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(16, 185, 129, 0.14), transparent 24%),
    linear-gradient(135deg, #0f1729, #111c31 54%, #111827);
}

.dark .czt-page-hub-template .czt-page-hub-hero-copy,
.dark .czt-page-hub-template .czt-page-hub-hero-panel,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-hero-copy,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-hero-panel,
body.dark-mode .czt-page-hub-template .czt-page-hub-hero-copy,
body.dark-mode .czt-page-hub-template .czt-page-hub-hero-panel,
html.dark .czt-page-hub-template .czt-page-hub-hero-copy,
html.dark .czt-page-hub-template .czt-page-hub-hero-panel {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(17, 24, 39, 0.9));
  border-color: rgba(51, 65, 85, 0.92);
}

.dark .czt-page-hub-template .czt-page-hub-kicker,
.dark .czt-page-hub-template .czt-page-hub-stat,
.dark .czt-page-hub-template .czt-page-hub-quick-pill,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-kicker,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-stat,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-quick-pill,
body.dark-mode .czt-page-hub-template .czt-page-hub-kicker,
body.dark-mode .czt-page-hub-template .czt-page-hub-stat,
body.dark-mode .czt-page-hub-template .czt-page-hub-quick-pill,
html.dark .czt-page-hub-template .czt-page-hub-kicker,
html.dark .czt-page-hub-template .czt-page-hub-stat,
html.dark .czt-page-hub-template .czt-page-hub-quick-pill {
  background: rgba(15, 23, 42, 0.58);
  border-color: rgba(51, 65, 85, 0.95);
}

.dark .czt-page-hub-template .czt-page-hub-display,
.dark .czt-page-hub-template .czt-page-hub-stat strong,
.dark .czt-page-hub-template .czt-page-hub-results-copy strong,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-display,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-stat strong,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-results-copy strong,
body.dark-mode .czt-page-hub-template .czt-page-hub-display,
body.dark-mode .czt-page-hub-template .czt-page-hub-stat strong,
body.dark-mode .czt-page-hub-template .czt-page-hub-results-copy strong,
html.dark .czt-page-hub-template .czt-page-hub-display,
html.dark .czt-page-hub-template .czt-page-hub-stat strong,
html.dark .czt-page-hub-template .czt-page-hub-results-copy strong {
  color: #f8fafc;
}

.dark .czt-page-hub-template .czt-page-hub-lead,
.dark .czt-page-hub-template .czt-page-hub-stat span,
.dark .czt-page-hub-template .czt-page-hub-results-copy span,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-lead,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-stat span,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-results-copy span,
body.dark-mode .czt-page-hub-template .czt-page-hub-lead,
body.dark-mode .czt-page-hub-template .czt-page-hub-stat span,
body.dark-mode .czt-page-hub-template .czt-page-hub-results-copy span,
html.dark .czt-page-hub-template .czt-page-hub-lead,
html.dark .czt-page-hub-template .czt-page-hub-stat span,
html.dark .czt-page-hub-template .czt-page-hub-results-copy span {
  color: #a8b3c7;
}

.dark .czt-page-hub-template .czt-page-hub-search input,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-search input,
body.dark-mode .czt-page-hub-template .czt-page-hub-search input,
html.dark .czt-page-hub-template .czt-page-hub-search input {
  background: linear-gradient(180deg, #182235, #131c2c);
  border-color: #2b3a55;
  color: #e5edf8;
}

.dark .czt-page-hub-template .czt-page-hub-filter,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-filter,
body.dark-mode .czt-page-hub-template .czt-page-hub-filter,
html.dark .czt-page-hub-template .czt-page-hub-filter {
  color: #c6d0e1;
}

.dark .czt-page-hub-template .czt-page-hub-card,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-card,
body.dark-mode .czt-page-hub-template .czt-page-hub-card,
html.dark .czt-page-hub-template .czt-page-hub-card {
  border-color: #263246;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
  background:
    linear-gradient(180deg, rgba(15,23,42,0.92), rgba(17,24,39,0.96)),
    linear-gradient(135deg, rgba(56,189,248,0.08), transparent 52%);
}

.dark .czt-page-hub-template .czt-page-hub-card .item-heading a,
[data-theme="dark"] .czt-page-hub-template .czt-page-hub-title a,
body.dark-mode .czt-page-hub-template .czt-page-hub-title a,
html.dark .czt-page-hub-template .czt-page-hub-title a,
.dark .czt-page-hub-template .czt-page-hub-title a {
  color: #f8fafc;
}

@media (max-width: 960px) {
  .czt-page-hub-template .czt-page-hub-hero {
    grid-template-columns: 1fr;
  }

  .czt-page-hub-template .czt-page-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .czt-page-hub-template .czt-page-hub-shell::before {
    inset: -18px -14px auto;
    height: 200px;
    border-radius: 24px;
  }

  .czt-page-hub-template .czt-page-hub-hero-copy,
  .czt-page-hub-template .czt-page-hub-hero-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .czt-page-hub-template .czt-page-hub-search input {
    height: 48px;
    font-size: 16px;
    border-radius: 16px;
  }

  .czt-page-hub-template .czt-page-hub-filter {
    padding: 8px 12px;
    font-size: 14px;
  }

  .czt-page-hub-template .czt-page-hub-grid {
    grid-template-columns: 1fr;
  }

  .czt-page-hub-template .czt-page-hub-thumb {
    width: 84px;
    flex-basis: 84px;
  }

  .czt-page-hub-template .czt-page-hub-graphic,
  .czt-page-hub-template .czt-page-hub-graphic img {
    height: 84px;
  }

  .czt-page-hub-template .czt-page-hub-title {
    font-size: 18px;
  }

  .czt-page-hub-template .czt-page-hub-results-copy strong {
    font-size: 22px;
  }
}

.czt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.czt-app {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  height: min(82vh, 760px);
  background: var(--czt-bg);
  border-radius: var(--czt-radius);
  overflow: hidden;
  border: 1px solid var(--czt-line);
  box-shadow: var(--czt-shadow);
  position: relative;
}

.czt-sidebar {
  background: var(--czt-card);
  border-right: 1px solid var(--czt-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.czt-sidebar-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--czt-line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 10px;
}

.czt-sidebar-head-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.czt-sidebar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--czt-text);
}

.czt-sidebar-note-inline {
  font-size: 11px;
  line-height: 1.5;
  color: var(--czt-muted);
}

.czt-history {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.czt-history::-webkit-scrollbar,
.czt-messages::-webkit-scrollbar {
  width: 5px;
}

.czt-history::-webkit-scrollbar-thumb,
.czt-messages::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.25);
  border-radius: 3px;
}

.czt-history-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--czt-muted);
  font-size: 13px;
}

.czt-history-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 4px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: all 0.15s;
}

.czt-history-item:hover,
.czt-history-item.is-active {
  background: var(--czt-primary-l);
  border-left-color: var(--czt-primary);
}

.czt-history-item strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.czt-history-item span {
  font-size: 11px;
  color: var(--czt-muted);
}

.czt-sidebar-panel {
  border-top: 1px solid var(--czt-line);
  padding: 12px 14px;
  flex-shrink: 0;
}

.czt-extra-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--czt-muted);
  margin-bottom: 8px;
}

.czt-account-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.czt-account-card-compact {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--czt-bg);
  flex-wrap: wrap;
}

.czt-account-line {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--czt-bg);
  color: var(--czt-text);
  font-size: 13px;
  line-height: 1.5;
}

.czt-account-line strong,
.czt-account-line span:last-child {
  display: block;
  margin-top: 4px;
  font-weight: 600;
  color: var(--czt-text);
}

.czt-account-label {
  display: inline-block;
  color: var(--czt-muted);
  font-size: 12px;
}

.czt-account-card-compact strong {
  color: var(--czt-text);
  font-size: 13px;
  font-weight: 700;
}

.czt-tip-copy {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--czt-bg);
  color: var(--czt-text);
  font-size: 13px;
  line-height: 1.7;
}

.czt-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--czt-card);
}

.czt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--czt-line);
  flex-shrink: 0;
  gap: 8px;
}

.czt-toolbar-left,
.czt-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.czt-toolbar-left {
  min-width: 0;
}

.czt-toolbar-right {
  flex-shrink: 0;
}

.czt-menu-btn,
.czt-icon-btn {
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: var(--czt-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.czt-menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  font-size: 18px;
}

.czt-icon-btn {
  width: 30px;
  height: 30px;
  font-size: 16px;
}

.czt-icon-btn:hover {
  background: var(--czt-line);
  color: var(--czt-text);
}

.czt-tool-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--czt-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.czt-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  vertical-align: middle;
  margin-right: 3px;
  animation: czt-pulse 2s infinite;
}

.czt-status-text {
  font-size: 12px;
  color: var(--czt-muted);
  white-space: nowrap;
}

@keyframes czt-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.czt-points-pill {
  padding: 5px 12px;
  background: #fef3c7;
  border: 1px solid rgba(146, 64, 14, 0.12);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #92400e !important;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.czt-points-pill.is-login-link {
  cursor: pointer;
  background: var(--czt-primary-l);
  color: var(--czt-primary) !important;
}

.czt-points-pill.is-login-link:hover {
  background: var(--czt-primary);
  color: #fff !important;
}

.dark .czt-points-pill,
[data-theme="dark"] .czt-points-pill,
.czt-shell.czt-dark .czt-points-pill {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(251, 191, 36, 0.22);
  color: #fde68a !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark .czt-points-pill.is-login-link,
[data-theme="dark"] .czt-points-pill.is-login-link,
.czt-shell.czt-dark .czt-points-pill.is-login-link {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.24);
  color: #bfdbfe !important;
}

.dark .czt-points-pill.is-login-link:hover,
[data-theme="dark"] .czt-points-pill.is-login-link:hover,
.czt-shell.czt-dark .czt-points-pill.is-login-link:hover {
  background: var(--czt-primary);
  border-color: transparent;
  color: #fff !important;
}

.czt-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 16px;
  scroll-behavior: smooth;
}

.czt-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  animation: czt-msg-in 0.25s ease-out;
}

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

@keyframes czt-msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.czt-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  background: var(--czt-primary);
  overflow: hidden;
}

.czt-msg-user .czt-avatar {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.czt-avatar.has-image {
  background: transparent;
}

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

.czt-bubble-wrap {
  max-width: 75%;
  min-width: 0;
}

.czt-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.65;
  background: var(--czt-ai-bubble);
  color: var(--czt-ai-text);
  word-break: break-word;
  white-space: pre-wrap;
  position: relative;
}

.czt-msg-assistant .czt-bubble {
  padding-right: 42px;
  padding-bottom: 14px;
}

.czt-bubble a {
  color: var(--czt-primary) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.czt-bubble strong {
  font-weight: 700;
  color: inherit;
}

.czt-md-list {
  display: block;
  margin-top: 2px;
}

.czt-msg-user .czt-bubble {
  background: var(--czt-user-bubble);
  color: #fff;
}

.czt-msg-system {
  justify-content: center;
}

.czt-msg-system .czt-bubble {
  background: #fef3c7;
  color: #78350f;
  max-width: 88%;
  text-align: center;
  border-radius: 10px;
  font-size: 13px;
  padding: 8px 16px;
}

.dark .czt-msg-system .czt-bubble,
[data-theme="dark"] .czt-msg-system .czt-bubble,
.czt-shell.czt-dark .czt-msg-system .czt-bubble {
  background: #78350f;
  color: #fef3c7;
}

.czt-msg.is-pending .czt-bubble {
  background: var(--czt-ai-bubble);
  color: var(--czt-muted);
}

.czt-typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 0;
}

.czt-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--czt-muted);
  animation: czt-dot 1.4s infinite ease-in-out both;
}

.czt-typing-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.czt-typing-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes czt-dot {
  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

.czt-msg-actions {
  position: absolute;
  right: 8px;
  bottom: 8px;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  transform: translateY(2px);
  pointer-events: none;
}

.czt-msg-assistant .czt-bubble:hover .czt-msg-actions,
.czt-msg-assistant .czt-bubble:focus-within .czt-msg-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.czt-action-sm {
  width: 28px;
  height: 28px;
  padding: 0;
  background: color-mix(in srgb, var(--czt-card) 88%, transparent);
  border: 1px solid var(--czt-line);
  border-radius: 999px;
  color: var(--czt-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.czt-action-sm:hover {
  border-color: var(--czt-primary);
  color: var(--czt-primary);
}

.czt-action-sm svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.czt-action-sm.is-copied {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.28);
}

.czt-msg-img {
  max-width: 240px;
  max-height: 180px;
  border-radius: 10px;
  margin-top: 6px;
  cursor: pointer;
  object-fit: cover;
  display: block;
  border: 1px solid var(--czt-line);
  transition: opacity 0.2s;
}

.czt-msg-img:hover {
  opacity: 0.85;
}

.czt-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 12px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.czt-inline-chip-muted {
  background: rgba(15, 23, 42, 0.08);
  color: var(--czt-muted);
  border-color: rgba(148, 163, 184, 0.24);
}

.czt-msg-user .czt-inline-chip-muted {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.22);
}

.czt-attachment-state {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--czt-muted);
  background: rgba(148, 163, 184, 0.12);
  border: 1px dashed rgba(148, 163, 184, 0.28);
}

.czt-msg-assistant .czt-inline-chip {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--czt-line);
  color: var(--czt-muted);
}

.czt-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: var(--czt-muted);
  font-size: 12px;
}

.czt-divider::before,
.czt-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--czt-line);
}

.czt-alert {
  display: none;
  padding: 8px 14px;
  margin: 0 16px 8px;
  border-radius: 8px;
  font-size: 13px;
  flex-shrink: 0;
}

.czt-alert.czt-alert-visible,
.czt-alert.is-visible {
  display: block;
}

.czt-alert-success {
  background: #ecfdf5;
  color: #065f46;
}

.czt-alert-warning {
  background: #fffbeb;
  color: #78350f;
}

.czt-alert-error {
  background: #fef2f2;
  color: #991b1b;
}

.dark .czt-alert-success,
[data-theme="dark"] .czt-alert-success,
.czt-shell.czt-dark .czt-alert-success {
  background: #064e3b;
  color: #a7f3d0;
}

.dark .czt-alert-warning,
[data-theme="dark"] .czt-alert-warning,
.czt-shell.czt-dark .czt-alert-warning {
  background: #78350f;
  color: #fde68a;
}

.dark .czt-alert-error,
[data-theme="dark"] .czt-alert-error,
.czt-shell.czt-dark .czt-alert-error {
  background: #7f1d1d;
  color: #fecaca;
}

.czt-input-area {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--czt-line);
  flex-shrink: 0;
  background: color-mix(in srgb, var(--czt-card) 78%, rgba(255, 255, 255, 0.72));
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.06);
}

.czt-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.czt-attach-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--czt-primary) 9%, var(--czt-card));
  border: 1px solid color-mix(in srgb, var(--czt-primary) 16%, var(--czt-line));
  border-radius: 14px;
  font-size: 12px;
  color: var(--czt-text);
  position: relative;
}

.czt-attach-thumb {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--czt-line);
  display: block;
}

.czt-attach-name {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 4px;
}

.czt-attach-remove {
  border: none;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s, background 0.15s;
}

.czt-attach-thumb + .czt-attach-remove {
  position: absolute;
  top: -6px;
  right: -6px;
}

.czt-attach-remove:hover {
  transform: scale(1.06);
  background: rgba(220, 38, 38, 0.92);
}

.czt-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.czt-input-box {
  flex: 1;
  position: relative;
  background: color-mix(in srgb, var(--czt-card) 82%, rgba(255, 255, 255, 0.68));
  border: 1px solid color-mix(in srgb, var(--czt-primary) 10%, var(--czt-line));
  border-radius: 18px;
  min-height: 54px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.czt-input-box:focus-within {
  border-color: var(--czt-primary);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--czt-primary) 12%, transparent),
    0 12px 30px rgba(59, 130, 246, 0.1);
  background: color-mix(in srgb, var(--czt-card) 92%, #fff);
}

.czt-input-box textarea {
  width: 100%;
  padding: 14px 58px 14px 16px;
  border: none !important;
  background: transparent !important;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  color: var(--czt-text);
  resize: none;
  outline: none !important;
  box-shadow: none !important;
  max-height: 180px;
  min-height: 52px;
  overflow-y: auto;
}

.czt-input-box textarea::placeholder {
  color: var(--czt-muted);
  opacity: 0.88;
}

.czt-plus-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--czt-muted);
  font-size: 20px;
  font-weight: 500;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.czt-plus-btn:hover {
  background: var(--czt-primary);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.czt-plus-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.czt-send-btn {
  min-width: 86px;
  height: 40px;
  border: none;
  background: linear-gradient(135deg, var(--czt-primary) 0%, color-mix(in srgb, var(--czt-primary) 72%, #0f172a) 100%);
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 4px 3px 12px;
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--czt-primary) 28%, transparent);
  align-self: center;
}

.czt-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--czt-primary) 40%, transparent);
}

.czt-send-btn:active {
  transform: translateY(0);
}

.czt-send-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.czt-send-cost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  min-height: 100%;
}

.czt-send-bolt {
  font-size: 13px;
  line-height: 1;
}

.czt-send-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}

.czt-send-arrow svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.czt-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--czt-primary-l);
  color: var(--czt-primary) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  margin-top: 8px;
}

.czt-hidden {
  display: none !important;
}

.czt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.czt-lightbox.is-open {
  display: flex;
}

.czt-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.czt-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
  border-radius: var(--czt-radius);
}

.czt-overlay.is-visible {
  display: block;
}

.czt-suggested-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  flex-shrink: 0;
  background: var(--czt-card);
}

.czt-suggested-chips.czt-hidden {
  display: none;
}

.czt-suggested-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--czt-primary-l);
  border: 1px solid color-mix(in srgb, var(--czt-primary) 18%, transparent);
  border-radius: 18px;
  font-size: 12px;
  color: var(--czt-primary);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  white-space: nowrap;
  text-align: left;
}

.czt-suggested-chip:hover {
  background: var(--czt-primary);
  color: #fff;
  border-color: var(--czt-primary);
}

.czt-suggested-chip:active {
  transform: scale(0.96);
}

.czt-suggested-chip-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--czt-primary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.czt-suggested-chip:hover .czt-suggested-chip-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.czt-suggested-chip-text {
  display: inline-block;
  white-space: normal;
}

@media (max-width: 1100px) {
  .czt-app {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  body.czt-tool-page .float-right,
  body:has(.czt-shell) .float-right,
  body.czt-tool-page .float-btn,
  body:has(.czt-shell) .float-btn,
  body.czt-tool-page .service-wechat,
  body:has(.czt-shell) .service-wechat,
  body.czt-tool-page .qrcode-btn,
  body:has(.czt-shell) .qrcode-btn,
  body.czt-tool-page .newadd-btns.float-btn,
  body:has(.czt-shell) .newadd-btns.float-btn,
  body.czt-tool-page .ontop,
  body:has(.czt-shell) .ontop,
  body.czt-tool-page .footer,
  body:has(.czt-shell) .footer,
  body.czt-tool-page .footer-tabbar,
  body:has(.czt-shell) .footer-tabbar,
  body.czt-tool-page .footer-tabbar-placeholder,
  body:has(.czt-shell) .footer-tabbar-placeholder {
    display: none !important;
  }

  body.czt-tool-page main.container,
  body:has(.czt-shell) main.container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  body.czt-tool-page .article-content,
  body:has(.czt-shell) .article-content,
  body.czt-tool-page .wp-posts-content {
    padding-left: 0;
    padding-right: 0;
  }

  .czt-shell {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 8px;
  }

  .czt-app {
    grid-template-columns: 1fr;
    height: calc(100svh - 84px);
    min-height: 620px;
    border-radius: 10px;
  }

  .czt-sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-radius: var(--czt-radius) 0 0 var(--czt-radius);
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.08);
  }

  .czt-sidebar.is-open {
    transform: translateX(0);
  }

  .czt-menu-btn {
    display: flex;
  }

  .czt-bubble-wrap {
    max-width: 85%;
  }

  .czt-toolbar {
    padding: 10px 12px;
  }

  .czt-messages {
    padding: 14px 12px;
  }

  .czt-input-area {
    padding: 10px 12px max(14px, env(safe-area-inset-bottom));
  }

  .czt-input-row {
    gap: 10px;
  }

  .czt-input-box textarea {
    min-height: 48px;
    padding: 13px 54px 13px 14px;
    font-size: 13px;
  }

  .czt-send-btn {
    min-width: 80px;
    height: 38px;
    padding-left: 11px;
  }

  .czt-send-arrow {
    width: 28px;
    height: 28px;
  }

  .czt-tool-name {
    font-size: 14px;
  }

  .czt-points-pill {
    font-size: 11px;
    padding: 4px 10px;
  }

  .czt-msg-img {
    max-width: 180px;
    max-height: 140px;
  }

  .czt-plus-btn {
    width: 34px;
    height: 34px;
    right: 7px;
  }

  .czt-attach-thumb {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 420px) {
  .czt-bubble-wrap {
    max-width: 92%;
  }

  .czt-shell {
    padding: 0;
  }

  .czt-app {
    height: calc(100svh - 78px);
    min-height: 600px;
    border-radius: 8px;
  }
}
