.markdown-body {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  margin: 4px 0 0;
  color: #101828;
  background-color: var(--color-canvas-default);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  word-wrap: break-word;
  word-break: break-word;
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text
}

.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before {
  width: 16px;
  height: 16px;
  content: " ";
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
  mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")
}

.markdown-body details,.markdown-body figcaption,.markdown-body figure {
  display: block
}

.markdown-body summary {
  display: list-item
}

.markdown-body [hidden] {
  display: none!important
}

.markdown-body a {
  background-color: transparent;
  color: #155eef;
  text-decoration: none
}

.markdown-body abbr[title] {
  border-bottom: none;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted
}

.markdown-body b,.markdown-body strong {
  font-weight: var(--base-text-weight-semibold,600)
}

.markdown-body dfn {
  font-style: italic
}

.markdown-body mark {
  background-color: var(--color-attention-subtle);
  color: var(--color-fg-default)
}

.markdown-body small {
  font-size: 90%
}

.markdown-body sub,.markdown-body sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

.markdown-body sub {
  bottom: -.25em
}

.markdown-body sup {
  top: -.5em
}

.markdown-body img {
  border-style: none;
  max-width: 100%;
  box-sizing: content-box;
  background-color: var(--color-canvas-default)
}

.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp {
  font-family: monospace;
  font-size: 1em
}

.markdown-body figure {
  margin: 1em 40px
}

.markdown-body hr {
  box-sizing: content-box;
  overflow: hidden;
  background: transparent;
  height: .25em;
  padding: 0;
  margin: 24px 0;
  background-color: var(--color-border-default);
  border: 0
}

.markdown-body input {
  font: inherit;
  margin: 0;
  overflow: visible;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit
}

.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit] {
  -webkit-appearance: button
}

.markdown-body [type=checkbox],.markdown-body [type=radio] {
  box-sizing: border-box;
  padding: 0
}

.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button {
  height: auto
}

.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration {
  -webkit-appearance: none
}

.markdown-body ::-webkit-input-placeholder {
  color: inherit;
  opacity: .54
}

.markdown-body ::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

.markdown-body a:hover {
  text-decoration: underline
}

.markdown-body ::-moz-placeholder {
  color: var(--color-fg-subtle);
  opacity: 1
}

.markdown-body ::placeholder {
  color: var(--color-fg-subtle);
  opacity: 1
}

.markdown-body hr:after,.markdown-body hr:before {
  display: table;
  content: ""
}

.markdown-body hr:after {
  clear: both
}

.markdown-body table {
  border-spacing: 0;
  border-collapse: collapse;
  display: block;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  overflow: auto
}

.markdown-body td,.markdown-body th {
  padding: 0
}

.markdown-body details summary {
  cursor: pointer
}

.markdown-body details:not([open])>:not(summary) {
  display: none!important
}

.markdown-body [role=button]:focus,.markdown-body a:focus,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=radio]:focus {
  outline: 2px solid var(--color-accent-fg);
  outline-offset: -2px;
  box-shadow: none
}

.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body a:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible) {
  outline: 1px solid transparent
}

.markdown-body [role=button]:focus-visible,.markdown-body a:focus-visible,.markdown-body input[type=checkbox]:focus-visible,.markdown-body input[type=radio]:focus-visible {
  outline: 2px solid var(--color-accent-fg);
  outline-offset: -2px;
  box-shadow: none
}

.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible {
  outline-offset: 0
}

.markdown-body kbd {
  display: inline-block;
  padding: 3px 5px;
  font: 11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
  line-height: 10px;
  color: var(--color-fg-default);
  vertical-align: middle;
  background-color: var(--color-canvas-subtle);
  border-bottom-color: var(--color-neutral-muted);
  border: 1px solid var(--color-neutral-muted);
  border-radius: 6px;
  box-shadow: inset 0 -1px 0 var(--color-neutral-muted)
}

.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6 {
  padding-top: 12px;
  margin-bottom: 12px;
  font-weight: var(--base-text-weight-semibold,600);
  line-height: 1.25
}

.markdown-body blockquote {
  margin: 0;
  padding: 0 8px;
  border-left: 2px solid #2970ff
}

.markdown-body ol,.markdown-body ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 2em
}

.markdown-body ol {
  list-style: decimal
}

.markdown-body ul {
  list-style: disc
}

.markdown-body ol ol,.markdown-body ul ol {
  list-style-type: lower-roman
}

.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol {
  list-style-type: lower-alpha
}

.markdown-body dd {
  margin-left: 0
}

.markdown-body code,.markdown-body pre,.markdown-body samp,.markdown-body tt {
  font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
  font-size: 12px
}

.markdown-body pre {
  margin-top: 0;
  margin-bottom: 0;
  word-wrap: normal
}

.markdown-body .octicon {
  display: inline-block;
  overflow: visible!important;
  vertical-align: text-bottom;
  fill: currentColor
}

.markdown-body input::-webkit-inner-spin-button,.markdown-body input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
  appearance: none
}

.markdown-body:after,.markdown-body:before {
  display: table;
  content: ""
}

.markdown-body:after {
  clear: both
}

.markdown-body>:first-child {
  margin-top: 0!important
}

.markdown-body>:last-child {
  margin-bottom: 0!important
}

.markdown-body>div *:last-child {
  margin-bottom: 0!important
}

.markdown-body a:not([href]) {
  color: inherit;
  text-decoration: none
}

.markdown-body .absent {
  color: var(--color-danger-fg)
}

.markdown-body .anchor {
  float: left;
  padding-right: 4px;
  margin-left: -20px;
  line-height: 1
}

.markdown-body .anchor:focus {
  outline: none
}

.markdown-body blockquote,.markdown-body details,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul {
  margin-top: 0;
  margin-bottom: 12px
}

.markdown-body blockquote>:first-child {
  margin-top: 0
}

.markdown-body blockquote>:last-child {
  margin-bottom: 0
}

.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link {
  color: var(--color-fg-default);
  vertical-align: middle;
  visibility: hidden
}

.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor {
  text-decoration: none
}

.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link {
  visibility: visible
}

.markdown-body h1 code,.markdown-body h1 tt,.markdown-body h2 code,.markdown-body h2 tt,.markdown-body h3 code,.markdown-body h3 tt,.markdown-body h4 code,.markdown-body h4 tt,.markdown-body h5 code,.markdown-body h5 tt,.markdown-body h6 code,.markdown-body h6 tt {
  padding: 0 .2em;
  font-size: inherit
}

.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6 {
  display: inline-block
}

.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor {
  margin-left: -40px
}

.markdown-body summary h1,.markdown-body summary h2 {
  padding-bottom: 0;
  border-bottom: 0
}

.markdown-body ol.no-list,.markdown-body ul.no-list {
  padding: 0;
  list-style-type: none
}

.markdown-body ol[type=a] {
  list-style-type: lower-alpha
}

.markdown-body ol[type=A] {
  list-style-type: upper-alpha
}

.markdown-body ol[type=i] {
  list-style-type: lower-roman
}

.markdown-body ol[type=I] {
  list-style-type: upper-roman
}

.markdown-body div>ol:not([type]),.markdown-body ol[type="1"] {
  list-style-type: decimal
}

.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul {
  margin-top: 0;
  margin-bottom: 0
}

.markdown-body li>p {
  margin-top: 16px
}

.markdown-body li+li {
  margin-top: .25em
}

.markdown-body dl {
  padding: 0
}

.markdown-body dl dt {
  padding: 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: var(--base-text-weight-semibold,600)
}

.markdown-body dl dd {
  padding: 0 16px;
  margin-bottom: 16px
}

.markdown-body table th {
  font-weight: var(--base-text-weight-semibold,600);
  white-space: nowrap
}

.markdown-body table td,.markdown-body table th {
  padding: 6px 13px;
  border: 1px solid #e3e3e3;
}

.markdown-body table tr {
  background-color: var(--color-canvas-default);
  border-top: 1px solid var(--color-border-muted)
}

.markdown-body table tr:nth-child(2n) {
  background-color: var(--color-canvas-subtle)
}

.markdown-body table img {
  background-color: transparent
}

.markdown-body img[align=right] {
  padding-left: 20px
}

.markdown-body img[align=left] {
  padding-right: 20px
}

.markdown-body .emoji {
  max-width: none;
  vertical-align: text-top;
  background-color: transparent
}

.markdown-body span.frame {
  display: block;
  overflow: hidden
}

.markdown-body span.frame>span {
  display: block;
  float: left;
  width: auto;
  padding: 7px;
  margin: 13px 0 0;
  overflow: hidden;
  border: 1px solid var(--color-border-default)
}

.markdown-body span.frame span img {
  display: block;
  float: left
}

.markdown-body span.frame span span {
  display: block;
  padding: 5px 0 0;
  clear: both;
  color: var(--color-fg-default)
}

.markdown-body span.align-center {
  display: block;
  overflow: hidden;
  clear: both
}

.markdown-body span.align-center>span {
  display: block;
  margin: 13px auto 0;
  overflow: hidden;
  text-align: center
}

.markdown-body span.align-center span img {
  margin: 0 auto;
  text-align: center
}

.markdown-body span.align-right {
  display: block;
  overflow: hidden;
  clear: both
}

.markdown-body span.align-right>span {
  display: block;
  margin: 13px 0 0;
  overflow: hidden;
  text-align: right
}

.markdown-body span.align-right span img {
  margin: 0;
  text-align: right
}

.markdown-body span.float-left {
  display: block;
  float: left;
  margin-right: 13px;
  overflow: hidden
}

.markdown-body span.float-left span {
  margin: 13px 0 0
}

.markdown-body span.float-right {
  display: block;
  float: right;
  margin-left: 13px;
  overflow: hidden
}

.markdown-body span.float-right>span {
  display: block;
  margin: 13px auto 0;
  overflow: hidden;
  text-align: right
}

.markdown-body code,.markdown-body tt {
  padding: .2em .4em;
  margin: 0;
  font-size: 85%;
  white-space: break-spaces;
  background-color: var(--color-neutral-muted);
  border-radius: 6px
}

.markdown-body code br,.markdown-body tt br {
  display: none
}

.markdown-body del code {
  text-decoration: inherit
}

.markdown-body samp {
  font-size: 85%
}

.markdown-body pre code {
  font-size: 100%;
  white-space: pre-wrap!important
}

.markdown-body pre>code {
  padding: 0;
  margin: 0;
  word-break: normal;
  white-space: pre-wrap;
  background: transparent;
  border: 0
}

.markdown-body .highlight {
  margin-bottom: 16px
}

.markdown-body .highlight pre {
  margin-bottom: 0;
  word-break: normal
}

.markdown-body .highlight pre,.markdown-body pre {
  padding: 16px;
  overflow: auto;
  font-size: 16px;
  line-height: 1.8;
  border-radius: 6px;
  margin-bottom: 0;
}

.markdown-body pre {
  padding: 0
}

.markdown-body pre code,.markdown-body pre tt {
  display: inline-block;
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  line-height: inherit;
  word-wrap: normal;
  background-color: transparent;
  border: 0
}

.markdown-body .csv-data td,.markdown-body .csv-data th {
  padding: 5px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1;
  text-align: left;
  white-space: nowrap
}

.markdown-body .csv-data .blob-num {
  padding: 10px 8px 9px;
  text-align: right;
  background: var(--color-canvas-default);
  border: 0
}

.markdown-body .csv-data tr {
  border-top: 0
}

.markdown-body .csv-data th {
  font-weight: var(--base-text-weight-semibold,600);
  background: var(--color-canvas-subtle);
  border-top: 0
}

.markdown-body [data-footnote-ref]:before {
  content: "["
}

.markdown-body [data-footnote-ref]:after {
  content: "]"
}

.markdown-body .footnotes {
  font-size: 12px;
  color: var(--color-fg-muted);
  border-top: 1px solid var(--color-border-default)
}

.markdown-body .footnotes ol {
  padding-left: 16px
}

.markdown-body .footnotes ol ul {
  display: inline-block;
  padding-left: 16px;
  margin-top: 16px
}

.markdown-body .footnotes li {
  position: relative
}

.markdown-body .footnotes li:target:before {
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -24px;
  pointer-events: none;
  content: "";
  border: 2px solid var(--color-accent-emphasis);
  border-radius: 6px
}

.markdown-body .footnotes li:target {
  color: var(--color-fg-default)
}

.markdown-body .footnotes .data-footnote-backref g-emoji {
  font-family: monospace
}

.markdown-body .pl-c {
  color: var(--color-prettylights-syntax-comment)
}

.markdown-body .pl-c1,.markdown-body .pl-s .pl-v {
  color: var(--color-prettylights-syntax-constant)
}

.markdown-body .pl-e,.markdown-body .pl-en {
  color: var(--color-prettylights-syntax-entity)
}

.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi {
  color: var(--color-prettylights-syntax-storage-modifier-import)
}

.markdown-body .pl-ent {
  color: var(--color-prettylights-syntax-entity-tag)
}

.markdown-body .pl-k {
  color: var(--color-prettylights-syntax-keyword)
}

.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre {
  color: var(--color-prettylights-syntax-string)
}

.markdown-body .pl-smw,.markdown-body .pl-v {
  color: var(--color-prettylights-syntax-variable)
}

.markdown-body .pl-bu {
  color: var(--color-prettylights-syntax-brackethighlighter-unmatched)
}

.markdown-body .pl-ii {
  color: var(--color-prettylights-syntax-invalid-illegal-text);
  background-color: var(--color-prettylights-syntax-invalid-illegal-bg)
}

.markdown-body .pl-c2 {
  color: var(--color-prettylights-syntax-carriage-return-text);
  background-color: var(--color-prettylights-syntax-carriage-return-bg)
}

.markdown-body .pl-sr .pl-cce {
  font-weight: 700;
  color: var(--color-prettylights-syntax-string-regexp)
}

.markdown-body .pl-ml {
  color: var(--color-prettylights-syntax-markup-list)
}

.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms {
  font-weight: 700;
  color: var(--color-prettylights-syntax-markup-heading)
}

.markdown-body .pl-mi {
  font-style: italic;
  color: var(--color-prettylights-syntax-markup-italic)
}

.markdown-body .pl-mb {
  font-weight: 700;
  color: var(--color-prettylights-syntax-markup-bold)
}

.markdown-body .pl-md {
  color: var(--color-prettylights-syntax-markup-deleted-text);
  background-color: var(--color-prettylights-syntax-markup-deleted-bg)
}

.markdown-body .pl-mi1 {
  color: var(--color-prettylights-syntax-markup-inserted-text);
  background-color: var(--color-prettylights-syntax-markup-inserted-bg)
}

.markdown-body .pl-mc {
  color: var(--color-prettylights-syntax-markup-changed-text);
  background-color: var(--color-prettylights-syntax-markup-changed-bg)
}

.markdown-body .pl-mi2 {
  color: var(--color-prettylights-syntax-markup-ignored-text);
  background-color: var(--color-prettylights-syntax-markup-ignored-bg)
}

.markdown-body .pl-mdr {
  font-weight: 700;
  color: var(--color-prettylights-syntax-meta-diff-range)
}

.markdown-body .pl-ba {
  color: var(--color-prettylights-syntax-brackethighlighter-angle)
}

.markdown-body .pl-sg {
  color: var(--color-prettylights-syntax-sublimelinter-gutter-mark)
}

.markdown-body .pl-corl {
  text-decoration: underline;
  color: var(--color-prettylights-syntax-constant-other-reference-link)
}

.markdown-body g-emoji {
  display: inline-block;
  min-width: 1ch;
  font-family: Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
  font-size: 1em;
  font-style: normal!important;
  font-weight: var(--base-text-weight-normal,400);
  line-height: 1;
  vertical-align: -.075em
}

.markdown-body g-emoji img {
  width: 1em;
  height: 1em
}

.markdown-body .task-list-item {
  list-style-type: none
}

.markdown-body .task-list-item label {
  font-weight: var(--base-text-weight-normal,400)
}

.markdown-body .task-list-item.enabled label {
  cursor: pointer
}

.markdown-body .task-list-item+.task-list-item {
  margin-top: 4px
}

.markdown-body .task-list-item .handle {
  display: none
}

.markdown-body .task-list-item-checkbox {
  margin: 0 .2em .25em -1.4em;
  vertical-align: middle
}

.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
  margin: 0 -1.6em .25em .2em
}

.markdown-body .contains-task-list {
  position: relative
}

.markdown-body .contains-task-list:focus-within .task-list-item-convert-container,.markdown-body .contains-task-list:hover .task-list-item-convert-container {
  display: block;
  width: auto;
  height: 24px;
  overflow: visible;
  clip: auto
}

.markdown-body ::-webkit-calendar-picker-indicator {
  filter: invert(50%)
}

.markdown-body .react-syntax-highlighter-line-number {
  color: #d0d5dd
}



/* index.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    user-select: none;
}
#window {
    position: fixed;
    width: 422px;
    height: 760px;
    background: linear-gradient(180deg, #d3f3fa, #e2f7f3 30%, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999999;
}
#titlebar {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 6px;
    cursor: grab;
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 2px;
}
#titlebar:active {
    cursor: grabbing;
}
.icon-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.icon-btn:hover {
    background: rgba(0,0,0,0.08);
}
.icon-btn.active {
    background: rgba(0,0,0,0.12);
}
.dropdown-wrapper {
    position: relative;
}
.dropdown-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 10;
}
.dropdown-panel.show {
    display: block;
}
#font-size-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 10;
    padding: 4px;
    gap: 2px;
}
#font-size-dropdown.show {
    display: flex;
    flex-direction: row;
}
#font-size-dropdown button {
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}
#font-size-dropdown button:hover {
    background: #f0f0f0;
}
#font-size-dropdown button.active {
    background: #d3f3fa;
    font-weight: 600;
}
#more-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 10;
    min-width: 85px;
}
#more-dropdown.show {
    display: block;
}
#more-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    text-align: left;
}
#more-dropdown button:hover {
    background: #f0f0f0;
}
#content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
}
#content::-webkit-scrollbar {
    width: 0;
    background: transparent;
}
#welcome-box {
    margin: 0 0 24px;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(-58deg, #F4FEFF 5%, #E6F9FA 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#welcome-title {
    font-size: 16px;
    color: #246CAA;
    font-weight: 700;
    margin-bottom: 5px;
}
#welcome-desc {
    font-size: 14px;
    color: #999;
    line-height: 28px;
}
#input-area {
    height: 96px;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
    margin: 0 12px 12px;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
}
#input-area textarea {
    flex: 1;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    font-family: inherit;
}
#input-area textarea::placeholder {
    color: #999;
}
#input-area textarea::-webkit-scrollbar {
    width: 5px;
    background-color: #fff;
}
#input-area textarea::-webkit-scrollbar-thumb {
    width: 5px;
    height: 30px;
    background: #c1c1c1;
    border-radius: 5px;
}
#input-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    flex-shrink: 0;
}
#new-chat-btn {
    height: 28px;
    line-height: 28px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s;
    white-space: nowrap;
}
#new-chat-btn:hover {
    background: rgba(0,0,0,0.04);
}
#send-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #2e78b8, #61acf6);
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s;
    flex-shrink: 0;
}
#send-btn span {
    display: inline-block;
    transform: rotateZ(-35deg);
    margin-top: -2px;
}
#send-btn:hover {
    opacity: 0.85;
}
#send-btn.stop-btn {
    background: #e74c3c;
    position: relative;
    overflow: hidden;
}
#send-btn.stop-btn span {
    transform: rotate(0deg);
    margin-top: 0;
    z-index: 2;
}
#send-btn.stop-btn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-right-color: #fff;
    border-bottom-color: #fff;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
#resize-handle {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    cursor: nwse-resize;
    z-index: 20;
    background: linear-gradient(135deg, rgba(0,0,0,0.06) 0%, transparent 50%);
    border-radius: 12px 0 0 0;
}
#resize-handle::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-left: 2px solid rgba(0,0,0,0.2);
    border-top: 2px solid rgba(0,0,0,0.2);
    border-radius: 10px 0 0 0;
}
.chat-bubble {
    background: #fff;
    border: 1px solid #EAECED;
    border-radius: 2px 8px 8px 8px;
    padding: 12px;
    margin-bottom: 8px;
    width: fit-content;
    max-width: 100%;
}
.chat-user {
    padding: 10px 12px;
    line-height: 30px;
    color: #000;
    background: #cbedfa;
    border-radius: 8px 2px 8px 8px;
    margin-bottom: 8px;
    margin-left: auto;
    width: fit-content;
    max-width: 100%;
}
.ai-answer {
    background: #fff;
    border: 1px solid #EAECED;
    border-radius: 2px 8px 8px 8px;
    padding: 12px;
    margin-bottom: 8px;
    width: fit-content;
    max-width: 100%;
}
.ai-answer-content {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}
.ai-answer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #EAECED;
    padding-top: 8px;
}
.ai-answer-disclaimer {
    color: #999;
    line-height: 28px;
}
.ai-answer-copy {
    width: 40px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    margin-left: 20px;
}
.ai-answer-copy:hover {
    background: rgba(0,0,0,0.06);
}
.toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
}
.loading-indicator {
    display: inline-block;
    color: #333;
    font-size: 14px;
    font-weight: bold;
}
.loading-indicator::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}
.chat-bubble-title {
    font-size: 16px;
    color: #333;
    font-weight: 700;
    margin-bottom: 8px;
}
.chat-bubble-suggest {
    font-size: 14px;
    color: #000;
    background: linear-gradient(270deg, #F1FAFF 0%, #E3F7F1 49%, #D3F3FA 100%);
    border-radius: 4px;
    line-height: 30px;
    padding: 7px 10px;
    cursor: pointer;
}
.modal-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
}
.modal-overlay.show {
    display: block;
}
.modal {
    position: absolute;
    top: 130px;
    left: 50px;
    right: 50px;
    max-height: calc(100% - 260px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.modal-title {
    font-size: 20px;
    color: #000;
    font-weight: 700;
}
.modal-close {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    background: rgba(0, 0, 0, 0.06);
}
.modal-content {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px;
}
.agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: #333;
}
.agreement-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.agreement-btn {
    display: block;
    width: 100%;
    height: 40px;
    margin-top: 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    background: #eee;
    cursor: not-allowed;
    transition: all 0.3s;
}
.agreement-btn:not(:disabled) {
    background: #457AC6;
    color: #fff;
    cursor: pointer;
}
.agreement-btn:not(:disabled):hover {
    opacity: 0.9;
}