:root {
  color-scheme: light;
  --bg: #eff1f0;
  --panel: #ffffff;
  --panel-2: #f6f7f6;
  --ink: #171c22;
  --ink-2: #3b434c;
  --muted: #6a737d;
  --line: #d7dbd9;
  --line-2: #e6e9e7;
  --accent: #d33f2a;
  --accent-ink: #b12f1d;
  --accent-soft: #fbe9e5;
  --ok: #1f7a4d;
  --warn: #b7791f;
  --user-bubble: #e9ecea;
  --radius: 10px;
  --font: ui-sans-serif, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, "SFMono-Regular", Menlo, "Noto Sans Mono CJK SC", monospace;
  --sidebar-w: 264px;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 布局 ---------- */
.app { display: flex; height: 100%; }

.sidebar {
  width: var(--sidebar-w);
  flex: none;
  display: flex;
  flex-direction: column;
  background: var(--panel-2);
  border-right: 1px solid var(--line);
}
.sidebar-head { padding: 14px 12px 8px; }
.sidebar-foot {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.version { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.beian { flex-basis: 100%; font-size: 11px; color: var(--muted); text-decoration: none; text-align: center; }
.beian:hover { color: var(--ink-2); text-decoration: underline; }
.sidebar-foot { flex-wrap: wrap; }

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

.topbar {
  height: 54px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-2);
}
.topbar-right { margin-left: auto; display: flex; gap: 6px; }

.chat { flex: 1; overflow-y: auto; scroll-behavior: smooth; }
.messages { max-width: 840px; margin: 0 auto; padding: 24px 20px 24px; }

.composer {
  flex: none;
  border-top: 1px solid var(--line-2);
  background: var(--panel);
}
.composer-form {
  max-width: 840px;
  margin: 0 auto;
  padding: 8px 20px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.composer-form textarea {
  flex: 1;
  resize: none;
  min-height: 46px;
  max-height: 40vh;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  line-height: 1.5;
}
.composer-form textarea:focus { border-color: var(--ink-2); background: #fff; outline: none; }

/* ---------- 上下文量表：本页面唯一的“重头”元素 ---------- */
.context-meter {
  max-width: 840px;
  margin: 0 auto;
  padding: 10px 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.meter-track {
  width: 120px;
  height: 6px;
  border-radius: 3px;
  background: var(--line-2);
  overflow: hidden;
  flex: none;
}
.meter-fill {
  height: 100%;
  width: 0;
  background: var(--ink-2);
  border-radius: 3px;
  transition: width .3s ease, background-color .3s ease;
}
.meter-fill.warn { background: var(--warn); }
.meter-fill.full { background: var(--accent); }
.meter-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter-text b { color: var(--ink-2); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  line-height: 1.3;
  white-space: nowrap;
}
.btn:hover { border-color: var(--ink-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: 4px 9px; font-size: 13px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--line-2); border-color: transparent; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-icon { padding: 6px; border-color: transparent; background: transparent; }
.btn-icon:hover { background: var(--line-2); }
.btn-new { width: 100%; justify-content: center; border-style: dashed; background: transparent; }
.btn-new:hover { background: #fff; }
.btn-send, .btn-stop {
  width: 46px; height: 46px; flex: none; justify-content: center; padding: 0;
  border-radius: var(--radius);
}
.btn-send { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-send:hover { background: var(--accent-ink); }
.btn-stop { background: var(--ink); border-color: var(--ink); color: #fff; }
.only-mobile { display: none; }

/* ---------- 会话列表 ---------- */
.conv-list { flex: 1; overflow-y: auto; padding: 4px 8px; }
.conv-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 14px;
}
.conv-item:hover { background: var(--line-2); }
.conv-item.active { background: #fff; color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
.conv-item .title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.conv-item .time { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.conv-item .actions { display: none; gap: 2px; }
.conv-item:hover .actions, .conv-item.active .actions { display: inline-flex; }
.conv-item .actions button { padding: 3px; }
.conv-item:hover .time, .conv-item.active .time { display: none; }
.conv-empty { padding: 24px 12px; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- 模型选择 ---------- */
.model-picker { position: relative; }
.model-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  max-width: 60vw;
}
.model-btn:hover { border-color: var(--ink-2); }
.model-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-channel { color: var(--muted); font-size: 13px; white-space: nowrap; }
.model-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
  width: 380px; max-width: 90vw; max-height: 60vh;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(23, 28, 34, .14);
}
.model-search { margin: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; }
.model-groups { overflow-y: auto; padding: 0 6px 8px; }
.model-group-title { padding: 8px 8px 2px; font-size: 12px; color: var(--muted); }
.model-option {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left; padding: 6px 8px; border: 0; background: transparent;
  border-radius: 6px; cursor: pointer; font-family: var(--mono); font-size: 13px;
}
.model-option:hover { background: var(--line-2); }
.model-option.active { background: var(--accent-soft); color: var(--accent-ink); }
.model-option .badge { margin-left: auto; font-family: var(--font); font-size: 11px; color: var(--muted); }
.model-empty { padding: 16px; color: var(--muted); font-size: 13px; }

/* ---------- 消息 ---------- */
.msg { margin: 0 0 22px; }
.msg-user { display: flex; justify-content: flex-end; }
.msg-user .bubble {
  max-width: 88%;
  padding: 10px 14px;
  background: var(--user-bubble);
  border-radius: 14px 14px 4px 14px;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg-assistant { display: grid; grid-template-columns: 1fr; gap: 4px; }
.msg-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.msg-meta .model { font-family: var(--mono); }
.msg-meta .tools { margin-left: auto; display: none; gap: 2px; }
.msg-assistant:hover .msg-meta .tools { display: inline-flex; }
.msg-meta .tools button { padding: 2px 6px; font-size: 12px; }
.msg-error {
  padding: 10px 12px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 14px;
}
.streaming .content > :last-child::after {
  content: "";
  display: inline-block;
  width: 7px; height: 15px; margin-left: 2px; vertical-align: -2px;
  background: var(--accent);
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .streaming .content > :last-child::after { animation: none; }
  .chat { scroll-behavior: auto; }
}

.reasoning { margin: 4px 0 10px; border-left: 3px solid var(--line); padding-left: 12px; color: var(--muted); font-size: 13px; }
.reasoning summary { cursor: pointer; user-select: none; }
.reasoning pre { white-space: pre-wrap; margin: 6px 0 0; font-family: var(--font); }

/* ---------- Markdown 内容 ---------- */
.content { word-break: break-word; overflow-wrap: anywhere; }
.content > :first-child { margin-top: 0; }
.content > :last-child { margin-bottom: 0; }
.content p { margin: 0 0 .8em; }
.content h1, .content h2, .content h3, .content h4 { margin: 1.2em 0 .5em; line-height: 1.3; }
.content h1 { font-size: 1.45em; } .content h2 { font-size: 1.25em; } .content h3 { font-size: 1.1em; }
.content ul, .content ol { padding-left: 1.5em; margin: 0 0 .8em; }
.content li + li { margin-top: .2em; }
.content blockquote { margin: 0 0 .8em; padding: 2px 14px; border-left: 3px solid var(--line); color: var(--ink-2); }
.content table { border-collapse: collapse; margin: 0 0 1em; font-size: 14px; display: block; overflow-x: auto; max-width: 100%; }
.content th, .content td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.content th { background: var(--panel-2); }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 1.2em 0; }
.content img { max-width: 100%; height: auto; }
.content code { font-family: var(--mono); font-size: .9em; }
.content :not(pre) > code { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; }
.content svg { max-width: 100%; height: auto; }
.content > svg { display: block; margin: 0 0 1em; }
.content p > svg { vertical-align: middle; }

/* 代码块 + 工具条 */
.codeblock { margin: 0 0 1em; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.code-head {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px 4px 12px;
  background: var(--panel-2); border-bottom: 1px solid var(--line-2);
  font-size: 12px; color: var(--muted);
}
.code-head .lang { font-family: var(--mono); }
.code-head .spacer { flex: 1; }
.code-head button {
  padding: 2px 8px; border: 1px solid transparent; border-radius: 5px; background: transparent;
  color: var(--ink-2); cursor: pointer; font-size: 12px;
}
.code-head button:hover { background: #fff; border-color: var(--line); }
.code-head button.on { background: #fff; border-color: var(--line); color: var(--accent-ink); font-weight: 600; }
.codeblock pre { margin: 0; padding: 12px 14px; overflow-x: auto; font-size: 13px; line-height: 1.55; }
.codeblock pre code { display: block; font-family: var(--mono); background: transparent; }
.preview { display: none; background: #fff; }
.codeblock.show-preview .preview { display: block; }
.codeblock.show-preview pre { display: none; }
.preview iframe { display: block; width: 100%; height: 320px; border: 0; background: #fff; }
.preview .svg-stage { padding: 14px; text-align: center; overflow: auto; }
.preview .svg-stage svg { max-width: 100%; height: auto; }

.welcome { color: var(--muted); padding: 60px 0; text-align: center; }
.welcome h1 { font-size: 22px; color: var(--ink); margin: 0 0 8px; font-weight: 600; }
.welcome p { margin: 0 0 4px; font-size: 14px; }

/* ---------- 横幅 ---------- */
.banner { padding: 8px 16px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; text-align: center; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 28, 34, .35); }
.modal-panel {
  position: relative; width: min(760px, 94vw); max-height: 90vh;
  display: flex; flex-direction: column;
  background: #fff; border-radius: 14px;
  box-shadow: 0 24px 64px rgba(23, 28, 34, .25);
}
.modal-sm { width: min(520px, 94vw); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 10px; }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-body { overflow-y: auto; padding: 0 20px 20px; }
.settings-section { padding: 12px 0 18px; border-top: 1px solid var(--line-2); }
.settings-section:first-child { border-top: 0; }
.settings-section h3 { margin: 0 0 4px; font-size: 15px; }
.section-head { display: flex; align-items: center; justify-content: space-between; }
.hint { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; display: block; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; margin-top: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { display: block; font-size: 13px; color: var(--ink-2); margin: 8px 0; }
label > input, label > select, label > textarea, .row > input, .modal-body > textarea {
  display: block; width: 100%; margin-top: 4px;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 14px;
}
.row > input { flex: 1; margin-top: 0; }
label.check { display: flex; align-items: center; gap: 8px; }
label.check input { width: auto; margin: 0; }
.label { font-size: 13px; color: var(--ink-2); }
.form-msg { font-size: 13px; color: var(--muted); margin-right: auto; }
.form-msg.err { color: var(--accent-ink); }
.form-msg.ok { color: var(--ok); }

.channel-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.channel-card {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
}
.channel-card.disabled { opacity: .55; }
.channel-card .name { font-weight: 600; }
.channel-card .type { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--muted); margin-left: 6px; }
.channel-card .url, .channel-card .models { font-size: 12.5px; color: var(--muted); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel-card .card-actions { grid-column: 2; grid-row: 1 / span 3; display: flex; gap: 4px; align-items: center; }
.channel-card > div:not(.card-actions) { grid-column: 1; min-width: 0; }
.channel-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--line); border-radius: 10px; }

.channel-editor { background: var(--panel-2); margin: 0 -20px; padding: 14px 20px 18px; }
.models-block { margin-top: 8px; }
.model-checklist {
  margin-top: 6px; max-height: 200px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 6px 10px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 12px;
}
.model-checklist label { margin: 0; font-family: var(--mono); font-size: 12.5px; display: flex; gap: 6px; align-items: center; }
.model-checklist label input { margin: 0; }
.model-checklist .hint { grid-column: 1 / -1; margin: 4px 0; }

/* ---------- 移动端 ---------- */
@media (max-width: 800px) {
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 40;
    transform: translateX(-100%); transition: transform .2s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, .2);
  }
  .sidebar.open { transform: none; }
  .only-mobile { display: inline-flex; }
  .messages, .composer-form, .context-meter { padding-left: 12px; padding-right: 12px; }
  .grid2 { grid-template-columns: 1fr; }
  .model-btn { max-width: 52vw; }
  .model-menu { width: 92vw; }
}

/* ---------- v2：对话 / 生图 切换 ---------- */
.mode-switch {
  display: inline-flex; padding: 3px; border-radius: 9px; background: var(--line-2);
}
.mode-btn {
  padding: 5px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-2);
  cursor: pointer; font-size: 14px; line-height: 1.3;
}
.mode-btn:hover { color: var(--ink); }
.mode-btn.active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(23, 28, 34, .12); }
.app[data-mode="image"] .chat-only { display: none !important; }
.app[data-mode="chat"] .image-only { display: none !important; }

/* ---------- v2：生图页 ---------- */
.imagegen { flex: 1; overflow-y: auto; }
.image-form {
  max-width: 840px; margin: 0 auto; padding: 22px 20px 6px;
}
.image-form textarea {
  display: block; width: 100%; resize: vertical; min-height: 84px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2);
  line-height: 1.5;
}
.image-form textarea:focus { border-color: var(--ink-2); background: #fff; outline: none; }
.image-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 10px; }
.image-controls label { margin: 0; font-size: 12.5px; color: var(--muted); }
.image-controls label > select, .image-controls label > input { margin-top: 3px; padding: 7px 9px; min-width: 120px; }
.image-controls label > select#image-model { min-width: 240px; max-width: 420px; }
.image-controls .btn-primary { margin-left: auto; padding: 9px 22px; background: var(--accent); border-color: var(--accent); }
.image-controls .btn-primary:hover { background: var(--accent-ink); }
.image-form .form-msg { display: block; min-height: 18px; margin: 6px 0 0; }

.gallery {
  max-width: 840px; margin: 0 auto; padding: 8px 20px 30px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.gallery-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); font-size: 14px; }
.image-card {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.image-card .thumb {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--panel-2); cursor: zoom-in;
  border: 0; padding: 0;
}
.image-card .caption { padding: 8px 10px 4px; font-size: 13px; line-height: 1.45; color: var(--ink-2); max-height: 4.4em; overflow: hidden; }
.image-card .meta { padding: 0 10px; font-size: 11.5px; color: var(--muted); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-card .card-tools { display: flex; gap: 2px; padding: 4px 6px 6px; }
.image-card .card-tools .btn { padding: 3px 8px; font-size: 12px; text-decoration: none; }
.image-card.pending .thumb { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; cursor: default; }
.image-card.pending .thumb::before {
  content: ""; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .image-card.pending .thumb::before { animation: none; } }
.image-card.failed .thumb { display: flex; align-items: center; justify-content: center; padding: 14px; color: var(--accent-ink); font-size: 13px; text-align: left; white-space: pre-wrap; cursor: default; }

.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(23, 28, 34, .88);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px;
}
.lightbox img { max-width: 96vw; max-height: 84vh; border-radius: 6px; background: #fff; }
.lightbox-caption { color: #fff; font-size: 13px; max-width: 800px; text-align: center; opacity: .85; }
.lightbox-close { position: absolute; top: 14px; right: 14px; color: #fff; }
.lightbox-close:hover { background: rgba(255, 255, 255, .15); }

/* ---------- v3：文件上传 ---------- */
.btn-attach { width: 46px; height: 46px; flex: none; justify-content: center; padding: 0; border-radius: var(--radius); color: var(--ink-2); background: var(--panel-2); }
.btn-attach:hover { color: var(--ink); background: #fff; }
.chat { position: relative; }
.drop-overlay {
  position: absolute; inset: 10px; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--accent); border-radius: 12px;
  background: rgba(251, 233, 229, .85); color: var(--accent-ink); font-size: 16px; font-weight: 600;
  pointer-events: none;
}

.pending-files, .conv-files {
  max-width: 840px; margin: 0 auto; padding: 8px 20px 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.conv-files { font-size: 12px; color: var(--muted); }
.conv-files .label { margin-right: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 320px;
  padding: 4px 6px 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 12.5px; color: var(--ink-2); line-height: 1.3;
}
.chip .icon { flex: none; width: 16px; height: 16px; color: var(--muted); }
.chip .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.chip .meta { color: var(--muted); font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.chip .thumb { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; flex: none; background: var(--panel-2); }
.chip button { padding: 0 3px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; }
.chip button:hover { color: var(--accent-ink); }
.chip.uploading { opacity: .7; }
.chip.uploading .meta::after { content: "上传中…"; }
.chip.failed { border-color: var(--accent); color: var(--accent-ink); }
.chip.omitted { opacity: .6; text-decoration: line-through; }

/* 气泡里的附件 */
.msg-user .bubble .attachments { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.msg-user .bubble .attachments:last-child { margin-bottom: 0; }
.msg-user .bubble .chip { background: rgba(255, 255, 255, .7); }
.msg-user .bubble .att-image { display: block; max-width: 220px; max-height: 220px; min-width: 40px; min-height: 40px; object-fit: contain; border-radius: 8px; cursor: zoom-in; border: 1px solid var(--line); background: #fff; }
