@charset "UTF-8";
.artalk,
.atk-layer-wrap {
  --at-color-font:#2a2e2e;
  --at-color-deep:#2a2e2e;
  --at-color-sub:#757575;
  --at-color-grey:#747474;
  --at-color-meta:#697182;
  --at-color-border:#CD9DFA;
  --at-color-light:#8EC5FC;
  --at-color-bg:#fff;
  --at-color-bg-transl:rgba(255,255,255,0.94);
  --at-color-bg-grey:#f3f4f5;
  --at-color-bg-grey-transl:rgba(244,244,244,0.75);
  --at-color-bg-light:rgba(29,161,242,0.1);
  --at-color-main:#CD9DFA;
  --at-color-red:#ff5652;
  --at-color-pink:#fa5a57;
  --at-color-yellow:#ff7c37;
  --at-color-green:#4caf50;
  --at-color-gradient:linear-gradient(
      
      180deg,transparent,rgba(255,255,255) );
}
.artalk.atk-dark-mode,
.atk-layer-wrap.atk-dark-mode {
  --at-color-font:#fff;
  --at-color-deep:#e7e7e7;
  --at-color-sub:#e7e7e7;
  --at-color-grey:#fff;
  --at-color-meta:#fff;
  --at-color-border:#2d3235;
  --at-color-light:#687a86;
  --at-color-bg:#1e2224;
  --at-color-bg-transl:rgba(30,34,36,0.95);
  --at-color-bg-grey:#46494e;
  --at-color-bg-grey-transl:rgba(8,8,8,0.95);
  --at-color-bg-light:rgba(29,161,242,0.1);
  --at-color-main:#0083ff;
  --at-color-red:#ff5652;
  --at-color-pink:#fa5a57;
  --at-color-yellow:#ff7c37;
  --at-color-green:#4caf50;
  --at-color-gradient:linear-gradient(
      
      180deg,transparent,rgba(30,34,36,1) );
}
.atk-comment-wrap {
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid transparent;
}
.atk-comment-wrap.atk-flash-once {
  animation: atkFlashOnce 1s ease-in-out 0s;
}
@keyframes atkFlashOnce {
  0% {
    background: #0083ff33;
  }
  to {
    background: transparent;
  }
}
.atk-comment-wrap.atk-unread:before {
  content: " ";
  position: absolute;
  left: 0;
  top: 10%;
  width: 3px;
  height: 80%;
  background: var(--at-color-main);
}
.atk-comment-wrap.atk-openable {
  cursor: pointer;
}
.atk-comment-wrap.atk-openable:hover {
  background: var(--at-color-bg-grey);
}
.atk-comment-wrap.atk-openable .atk-height-limit:after {
  background: transparent !important;
}
.atk-comment-wrap:last-child {
  border-bottom: none;
}
.atk-comment {
  display: block;
  padding: 10px;
  border: 2px solid transparent;
}
.atk-comment:hover {
  display: block;
  padding: 10px;
  border: 2px solid var(--at-color-border);
  border-radius: 6px;
}
.atk-comment > .atk-avatar {
  display: block;
  padding: 2px 0;
  float: left;
}
.atk-comment > .atk-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 3px;
}
.atk-comment > .atk-main {
  display: block;
  margin-left: 63px;
}
.atk-comment > .atk-main > .atk-header {
  line-height: 1.5;
  font-size: 13px;
  margin-bottom: 0.5em;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.atk-comment > .atk-main > .atk-header .atk-item {
  display: flex;
  align-items: center;
  margin-top: 2px;
  margin-bottom: 2px;
  color: var(--at-color-meta);
}
.atk-comment > .atk-main > .atk-header .atk-item:not(:last-child) {
  margin-right: 6px;
}
.atk-comment > .atk-main > .atk-header .atk-item.atk-nick,
.atk-comment > .atk-main > .atk-header .atk-item.atk-nick a {
  font-size: 14px;
  color: var(--at-color-main);
  text-decoration: none;
}
.atk-comment > .atk-main > .atk-header .atk-item.atk-reply-at {
  margin-left: 2px;
}
.atk-comment > .atk-main > .atk-header .atk-item.atk-reply-at > .atk-arrow:before {
  content: "";
  vertical-align: middle;
  transform: rotate(90deg);
  border-bottom: 4px solid var(--at-color-grey);
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  display: inline-block;
  margin-top: -1px;
}
.atk-comment > .atk-main > .atk-header .atk-item.atk-reply-at > .atk-nick {
  color: var(--at-color-main);
  cursor: pointer;
  margin-left: 6px;
}
.atk-comment > .atk-main > .atk-header .badge,
.atk-comment > .atk-main > .atk-header .atk-ua,
.atk-comment > .atk-main > .atk-header .atk-pinned-badge,
.atk-comment > .atk-main > .atk-header .atk-region-badge,
.atk-comment > .atk-main > .atk-header .atk-badge {
  display: inline-block;
  color: var(--at-color-meta);
  background: var(--at-color-bg-grey);
  background-color: #8EC5FC !important;
  padding: 0 6px;
  line-height: 17px;
  border-radius: 3px;
}
.atk-comment > .atk-main > .atk-header .badge:not(:last-child),
.atk-comment > .atk-main > .atk-header .atk-ua:not(:last-child),
.atk-comment > .atk-main > .atk-header .atk-pinned-badge:not(:last-child),
.atk-comment > .atk-main > .atk-header .atk-region-badge:not(:last-child),
.atk-comment > .atk-main > .atk-header .atk-badge:not(:last-child) {
  margin-right: 6px;
}
.atk-comment > .atk-main > .atk-header .atk-badge-wrap > *:last-child {
  margin-right: 6px;
}
.atk-comment > .atk-main > .atk-header .atk-badge {
  color: #fff;
}
.atk-comment > .atk-main > .atk-header .atk-pinned-badge {
  color: #fff;
  background: #f44336;
}
.atk-comment > .atk-main > .atk-header .atk-verified-icon {
  height: 1.4em;
  width: 1.4em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg" fill="%231d9bf0"><g><path d="M20.396 11c-.018-.646-.215-1.275-.57-1.816-.354-.54-.852-.972-1.438-1.246.223-.607.27-1.264.14-1.897-.131-.634-.437-1.218-.882-1.687-.47-.445-1.053-.75-1.687-.882-.633-.13-1.29-.083-1.897.14-.273-.587-.704-1.086-1.245-1.44S11.647 1.62 11 1.604c-.646.017-1.273.213-1.813.568s-.969.854-1.24 1.44c-.608-.223-1.267-.272-1.902-.14-.635.13-1.22.436-1.69.882-.445.47-.749 1.055-.878 1.688-.13.633-.08 1.29.144 1.896-.587.274-1.087.705-1.443 1.245-.356.54-.555 1.17-.574 1.817.02.647.218 1.276.574 1.817.356.54.856.972 1.443 1.245-.224.606-.274 1.263-.144 1.896.13.634.433 1.218.877 1.688.47.443 1.054.747 1.687.878.633.132 1.29.084 1.897-.136.274.586.705 1.084 1.246 1.439.54.354 1.17.551 1.816.569.647-.016 1.276-.213 1.817-.567s.972-.854 1.245-1.44c.604.239 1.266.296 1.903.164.636-.132 1.22-.447 1.68-.907.46-.46.776-1.044.908-1.681s.075-1.299-.165-1.903c.586-.274 1.084-.705 1.439-1.246.354-.54.551-1.17.569-1.816zM9.662 14.85l-3.429-3.428 1.293-1.302 2.072 2.072 4.4-4.794 1.347 1.246z"></path></g></svg>');
}
@media only screen and (max-width: 768px) {
  .atk-comment > .atk-main > .atk-header .atk-ua-wrap {
    display: block;
  }
}
.atk-comment > .atk-main > .atk-body {
  display: block;
  overflow: hidden;
  position: relative;
}
.atk-comment > .atk-main > .atk-body img {
  max-width: 100%;
}
.atk-comment > .atk-main > .atk-body > .atk-content {
  word-break: break-word;
}
.atk-comment > .atk-main > .atk-body > .atk-content.atk-type-collapsed {
  border: 3px solid var(--at-color-bg-grey);
  border-bottom: 0;
  padding: 5px 10px;
  border-radius: 6px 6px 0 0;
  margin-bottom: -5px;
}
.atk-comment > .atk-main > .atk-body > .atk-content > *:first-child {
  margin-top: 0;
}
.atk-comment > .atk-main > .atk-body > .atk-content > *:last-child {
  margin-bottom: 0;
}
.atk-comment > .atk-main > .atk-body > .atk-content .atk-height-limit-btn {
  bottom: 5px;
}
.atk-comment > .atk-main > .atk-body > .atk-pending {
  color: var(--at-color-meta);
  margin: 3px 0;
  font-size: 13px;
  padding: 10px 18px;
  display: block;
  background: var(--at-color-bg-grey);
  border-left: 4px solid #f44336;
}
.atk-comment > .atk-main > .atk-body > .atk-reply-to {
  padding: 5px 15px;
  border-left: 3px solid var(--at-color-border);
  margin-bottom: 10px;
  position: relative;
  margin-top: 10px;
}
.atk-comment > .atk-main > .atk-body > .atk-reply-to .atk-meta {
  font-size: 15px;
}
.atk-comment > .atk-main > .atk-body > .atk-reply-to .atk-meta .atk-nick {
  color: var(--at-color-main);
}
.atk-comment > .atk-main > .atk-body > .atk-reply-to .atk-content {
  margin-top: 5px;
}
.atk-comment > .atk-main > .atk-body > .atk-collapsed {
  margin: 3px 0;
  font-size: 13px;
  padding: 10px 18px;
  display: block;
  background: var(--at-color-bg-grey);
  border-radius: 6px;
}
.atk-comment > .atk-main > .atk-body > .atk-collapsed .atk-text {
  color: var(--at-color-meta);
}
.atk-comment > .atk-main > .atk-body > .atk-collapsed .atk-show-btn {
  color: var(--at-color-main);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  margin-left: 3px;
}
.atk-comment > .atk-main > .atk-body > .atk-collapsed .atk-show-btn:hover {
  color: var(--at-color-main);
}
.atk-comment > .atk-main > .atk-footer {
  margin-top: 5px;
}
.atk-comment > .atk-main > .atk-footer .atk-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}
.atk-comment > .atk-main > .atk-footer .atk-actions > span {
  color: var(--at-color-meta);
  font-size: 13px;
  line-height: 25px;
  display: inline-flex;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.atk-comment > .atk-main > .atk-footer .atk-actions > span.atk-error,
.atk-comment > .atk-main > .atk-footer .atk-actions > span.atk-error:hover {
  color: var(--at-color-red);
}
.atk-comment > .atk-main > .atk-footer .atk-actions > span:not(:last-child):not(.atk-hide) {
  margin-right: 16px;
}
.atk-comment > .atk-main > .atk-footer .atk-actions > span:hover {
  color: var(--at-color-deep);
}
.atk-comment .atk-height-limit:after {
  position: absolute;
  z-index: 1;
  display: block;
  overflow: hidden;
  width: 100%;
  content: " ";
  bottom: 0;
  height: 80px;
  background: var(--at-color-gradient);
}
.atk-comment .atk-height-limit-btn {
  z-index: 2;
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translate(-50%);
  cursor: pointer;
  border: 1px solid var(--at-color-border);
  border-radius: 6px;
  background: var(--at-color-bg);
  padding: 1px 20px;
  font-size: 15px;
  color: var(--at-color-meta);
  -webkit-user-select: none;
  user-select: none;
}
.atk-comment .atk-height-limit-btn:hover {
  background: var(--at-color-bg-grey);
}
.atk-comment .atk-height-limit .atk-height-limit .atk-height-limit-btn {
  display: none;
}
.atk-comment .atk-height-limit-scroll {
  margin-top: 10px;
  overflow-y: auto;
  background:
    linear-gradient(var(--at-color-bg) 1px, transparent 1px calc(100% - 1px)) center top,
    linear-gradient(transparent calc(100% - 1px), var(--at-color-bg) calc(100% - 1px) 1px) center bottom,
    linear-gradient(var(--at-color-border) 1px, transparent 1px calc(100% - 1px)) center top,
    linear-gradient(transparent calc(100% - 1px), var(--at-color-border) calc(100% - 1px) 1px) center bottom;
  background-repeat: no-repeat;
  background-color: transparent;
  background-size:
    100% 1px,
    100% 1px,
    100% 1px,
    100% 1px;
  background-attachment:
    local,
    local,
    scroll,
    scroll;
}
.atk-comment-children > .atk-comment-wrap {
  margin-top: 10px;
  border-left: 1px dashed transparent;
  border-bottom-color: transparent;
}
.atk-comment-children > .atk-comment-wrap:not(:last-child) {
  margin-bottom: 10px;
}
.atk-comment-children > .atk-comment-wrap > .atk-comment {
  padding: 0;
}
.atk-comment-children > .atk-comment-wrap > .atk-comment > .atk-avatar img {
  width: 36px;
  height: 36px;
}
.atk-comment-children > .atk-comment-wrap > .atk-comment > .atk-main {
  margin-left: 47px;
}
.artalk > .atk-list {
  position: relative;
}
.artalk > .atk-list > .atk-list-header {
  display: flex;
  flex-direction: row;
  padding: 10px 17px;
}
.artalk > .atk-list > .atk-list-header .atk-text {
  display: inline-block;
}
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap {
  position: relative;
  cursor: pointer;
}
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap .atk-arrow-down-icon {
  cursor: pointer;
  vertical-align: middle;
  border-top: 5px solid var(--at-color-grey);
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  margin-top: -1px;
  margin-left: 0.8rem;
  display: inline-block;
}
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap:hover .atk-dropdown {
  display: block;
}
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap .atk-dropdown {
  z-index: 3;
  display: none;
  height: auto !important;
  max-height: calc(100vh - 2.7rem);
  overflow-y: auto;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background-color: var(--at-color-bg);
  padding: 0.6rem 0;
  border: 1px solid var(--at-color-border);
  text-align: center;
  border-radius: 6px;
  white-space: nowrap;
  margin: 0;
  list-style: none;
}
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap .atk-dropdown-item span,
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap .atk-dropdown-item a {
  display: block;
  line-height: 2rem;
  position: relative;
  border-bottom: none;
  font-weight: 400;
  padding: 0 1.5rem;
}
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap .atk-dropdown-item span:hover,
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap .atk-dropdown-item a:hover {
  color: var(--at-color-main);
}
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap .atk-dropdown-item.active span,
.artalk > .atk-list > .atk-list-header .atk-dropdown-wrap .atk-dropdown-item a {
  color: var(--at-color-main);
}
.artalk > .atk-list > .atk-list-header .atk-comment-count {
  font-size: 15px;
}
.artalk > .atk-list > .atk-list-header .atk-comment-count .atk-comment-count-num {
  font-size: 22px;
  margin-right: 4px;
}
.artalk > .atk-list > .atk-list-header .atk-right-action {
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}
.artalk > .atk-list > .atk-list-header .atk-right-action > span {
  font-size: 14px;
  color: var(--at-color-meta);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
}
.artalk > .atk-list > .atk-list-header .atk-right-action > span.atk-on,
.artalk > .atk-list > .atk-list-header .atk-right-action > span.atk-on * {
  color: var(--at-color-main);
}
.artalk > .atk-list > .atk-list-header .atk-right-action > span:not(:last-child):not(.atk-hide) {
  margin-right: 10px;
  padding-right: 10px;
}
.artalk > .atk-list > .atk-list-header .atk-right-action > span .atk-unread-badge {
  position: absolute;
  top: -5px;
  left: -6px;
  color: #fff;
  background: var(--at-color-pink);
  text-align: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 8px;
  line-height: 16px;
  font-size: 12px;
}
.artalk > .atk-list > .atk-list-body {
  min-height: 150px;
  border-radius: 6px;
}
.artalk > .atk-list > .atk-list-footer {
  text-align: right;
}
@media only screen and (max-width: 768px) {
  .artalk > .atk-list > .atk-list-footer {
    float: initial;
    text-align: center;
  }
}
.artalk > .atk-list > .atk-list-footer .atk-copyright {
  display: block;
  font-size: 12px;
  color: var(--at-color-meta);
  padding-right: 15px;
}
.artalk > .atk-list > .atk-list-footer .atk-copyright a {
  color: var(--at-color-main);
  text-decoration: none;
}
.atk-list-no-comment {
  height: 150px;
  display: flex;
  font-size: 19px;
  justify-content: center;
  align-items: center;
  word-break: break-word;
  text-align: center;
}
.atk-list-read-more {
  border-top: 1px dashed var(--at-color-border);
  margin-top: 28px;
  padding-bottom: 25px;
}
@media only screen and (max-width: 768px) {
  .atk-list-read-more {
    padding-bottom: 10px;
  }
}
.atk-list-read-more.atk-err .atk-text {
  color: var(--at-color-red) !important;
}
.atk-list-read-more .atk-list-read-more-inner {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  padding: 0 15px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  display: flex;
  height: 30px;
  flex-direction: row;
  place-content: center;
  align-items: center;
  width: 120px;
  margin: -15px auto 0;
  background: var(--at-color-bg);
  border-color: var(--at-color-border);
}
.atk-list-read-more .atk-list-read-more-inner > .atk-loading-icon {
  height: 15px;
  width: 15px;
}
.atk-list-read-more .atk-list-read-more-inner > .atk-text {
  color: var(--at-color-meta);
}
.atk-list-read-more .atk-list-read-more-inner:hover {
  background: var(--at-color-bg-grey);
}
.atk-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 10px 0;
  position: relative;
}
.atk-pagination > .atk-btn,
.atk-pagination > .atk-input {
  height: 30px;
  border: 1px solid var(--at-color-border);
  border-radius: 3px;
  padding: 0 5px;
  text-align: center;
  background: var(--at-color-bg);
}
.atk-pagination > .atk-btn {
  -webkit-user-select: none;
  user-select: none;
  width: 60px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.atk-pagination > .atk-btn:hover {
  background: var(--at-color-bg-grey);
}
.atk-pagination > .atk-btn.atk-disabled {
  color: var(--at-color-sub);
}
.atk-pagination > .atk-btn.atk-disabled:hover {
  cursor: default;
  background: initial;
}
.atk-pagination > .atk-input {
  background: transparent;
  color: var(--at-color-font);
  font-size: 18px;
  width: 60px;
  outline: none;
}
.atk-pagination > .atk-input:focus {
  border-color: var(--at-color-main);
}
.atk-pagination > *:not(:last-child) {
  margin-right: 10px;
}
.atk-main-editor {
  position: relative;
  overflow: hidden;
  background: var(--at-color-bg);
  border: 2px solid var(--at-color-border);
  border-radius: 6px;
  margin-bottom: 10px;
}
@media only screen and (max-width: 768px) {
  .atk-main-editor {
    margin-bottom: 7px;
  }
}
.atk-main-editor.editor-traveling {
  margin-top: 5px;
  margin-bottom: 10px;
}
.atk-main-editor > .atk-header {
  display: flex;
  flex-direction: row;
  padding: 10px 14px 0;
}
.atk-main-editor > .atk-header input {
  flex: 1;
  width: 100%;
  font-size: 14px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 6px 5px;
  resize: none;
  outline: none;
}
.atk-main-editor > .atk-header input:hover {
  border-bottom: 2px solid var(--at-color-border);
}
.atk-main-editor > .atk-header input:not(:last-child) {
  margin-right: 2px;
}
.atk-main-editor > .atk-textarea-wrap {
  position: relative;
}
.atk-main-editor > .atk-textarea-wrap > .atk-textarea {
  display: block;
  overflow: hidden;
  color: var(--at-color-font);
  font-size: 15px;
  background-color: var(--at-color-bg);
  border: 2px solid transparent;
  border-radius: 3px;
  width: 100%;
  min-height: 120px;
  margin-top: 2px;
  padding: 10px 20px;
  resize: none;
  word-wrap: break-word;
  outline: none;
}
.atk-main-editor > .atk-textarea-wrap > .atk-comment-closed {
  pointer-events: none;
  color: var(--at-color-meta);
  font-size: 12px;
  background-color: var(--at-color-bg);
  border-top: 1px solid var(--at-color-border);
  padding: 5px 15px;
  margin-top: 10px;
}
.atk-main-editor > .atk-plug-panel-wrap {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--at-color-border);
  animation: 0.3s both atkFadeIn;
  transition: 0.2s height ease-in-out;
}
.atk-main-editor > .atk-bottom {
  display: flex;
  flex-direction: row;
  row-gap: 5px;
  justify-content: space-between;
  padding: 5px;
  flex-wrap: wrap;
}
.atk-main-editor > .atk-bottom > .atk-item {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.atk-main-editor > .atk-bottom > .atk-bottom-left > .atk-state-wrap {
  margin-right: 5px;
}
.atk-main-editor > .atk-bottom > .atk-bottom-left > .atk-plug-btn-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 5px;
}
.atk-main-editor > .atk-bottom .atk-plug-btn {
  display: flex;
  justify-content: center;
  place-items: center;
  padding: 0 10px;
  line-height: 30px;
  height: 30px;
  cursor: pointer;
  color: var(--at-color-grey);
  font-size: 14px;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 3px;
  word-break: keep-all;
}
.atk-main-editor > .atk-bottom .atk-plug-btn:not(:last-child) {
  margin-right: 5px;
}
.atk-main-editor > .atk-bottom .atk-plug-btn:hover {
  background: var(--at-color-bg-grey);
}
.atk-main-editor > .atk-bottom .atk-plug-btn.active {
  color: var(--at-color-main);
}
.atk-main-editor > .atk-bottom .atk-plug-btn.active svg.markdown path {
  fill: var(--at-color-main);
}
.atk-main-editor > .atk-bottom .atk-plug-btn i {
  display: flex;
  justify-content: center;
  place-items: center;
  color: var(--at-color-grey);
}
.atk-main-editor > .atk-bottom .atk-plug-btn i:not(:first-child) {
  margin-left: 4px;
}
.atk-main-editor > .atk-bottom .atk-state-btn {
  z-index: 2;
  height: 30px;
  padding: 0 0 0 10px;
  font-size: 14px;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  place-items: center;
  background: var(--at-color-bg-grey-transl);
  cursor: pointer;
  overflow: hidden;
  border-radius: 3px;
}
.atk-main-editor > .atk-bottom .atk-state-btn:hover .atk-cancel {
  background: #0000000a;
}
@media only screen and (max-width: 768px) {
  .atk-main-editor > .atk-bottom .atk-state-btn {
    padding: 0;
  }
  .atk-main-editor > .atk-bottom .atk-state-btn .atk-text-wrap {
    display: none;
  }
}
.atk-main-editor > .atk-bottom .atk-state-btn .atk-text-wrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 8px 0 2px;
  max-width: 8em;
}
.atk-main-editor > .atk-bottom .atk-state-btn .atk-cancel {
  display: flex;
  justify-content: center;
  place-items: center;
  padding: 0 10px;
  font-weight: 700;
  height: 100%;
  background: #00000005;
}
.atk-main-editor > .atk-bottom .atk-send-btn {
  background: var(--at-color-main);
  color: #fff;
  font-size: 14px;
  border: none;
  margin: 0;
  height: 30px;
  min-width: 7.3em;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
  outline: none;
  border-radius: 3px;
}
@media only screen and (max-width: 768px) {
  .atk-main-editor > .atk-bottom .atk-send-btn {
    min-width: 6em;
  }
}
.atk-main-editor > .atk-bottom .atk-send-btn:active {
  opacity: 0.9;
}
.atk-main-editor > .atk-notify-wrap {
  z-index: 3;
  position: absolute;
  right: -2px;
  bottom: 40px;
  width: 225px;
  opacity: 0.83;
}
.atk-sidebar-layer {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  width: 430px;
  height: 100%;
  background: var(--at-color-bg);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  transform: translate(430px);
}
@media only screen and (max-width: 430px) {
  .atk-sidebar-layer {
    width: 100%;
  }
}
.atk-sidebar-layer .atk-sidebar-inner {
  position: relative;
  height: 100%;
}
.atk-sidebar-layer .atk-sidebar-header {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 99999;
}
.atk-sidebar-layer .atk-sidebar-header .atk-sidebar-close {
  display: flex;
  flex-direction: column;
  width: 60px;
  height: 60px;
  align-items: center;
  place-content: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  margin-left: 10px;
  font-size: 22px;
}
.atk-sidebar-layer .atk-sidebar-header .atk-sidebar-close:hover:after {
  background-color: #e81123e6;
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap {
  height: 100%;
  position: relative;
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap iframe {
  border: 0;
  width: 100%;
  height: 100%;
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap .atk-err-alert {
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  background: var(--at-color-bg);
  padding: 40px 30px;
  width: 80%;
  text-align: center;
  border-radius: 4px;
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap .atk-err-alert .atk-title {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: var(--at-color-font);
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap .atk-err-alert .atk-text {
  color: var(--at-color-font);
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap .atk-err-alert .atk-text span {
  cursor: pointer;
  color: var(--at-color-main);
}
.artalk {
  position: relative;
  width: 100%;
  min-height: 200px;
}
.artalk,
.atk-layer-wrap {
  color: var(--at-color-font);
  word-wrap: break-word;
  word-break: break-word;
}
.artalk *,
.atk-layer-wrap * {
  box-sizing: border-box;
}
.artalk input,
.artalk textarea,
.artalk button,
.artalk optgroup,
.artalk select,
.atk-layer-wrap input,
.atk-layer-wrap textarea,
.atk-layer-wrap button,
.atk-layer-wrap optgroup,
.atk-layer-wrap select {
  font-family: inherit;
  color: inherit;
  font-size: inherit;
}
.artalk code,
.atk-layer-wrap code {
  font-family:
    source code pro,
    Consolas,
    Monaco,
    Menlo,
    sans-serif;
  margin: 0 0.05em;
  padding: 0 0.4em;
  display: inline-block;
  vertical-align: middle;
  font-size: 0.9em;
  background-color: var(--at-color-bg-grey);
  color: var(--at-color-font);
  border-radius: 2px;
}
.artalk pre,
.atk-layer-wrap pre {
  margin: 10px 0 0;
  padding: 0;
  line-height: 0;
}
.artalk pre code,
.atk-layer-wrap pre code {
  line-height: 1.6em;
  display: block;
  padding: 10px 15px;
  white-space: pre-wrap !important;
  background-color: var(--at-color-bg-grey);
  color: var(--at-color-font);
  margin: 0;
}
.artalk pre code *,
.atk-layer-wrap pre code * {
  font-family:
    source code pro,
    Consolas,
    Monaco,
    Menlo,
    sans-serif;
}
.artalk a,
.atk-layer-wrap a {
  color: var(--at-color-main);
  text-decoration: none;
}
.artalk blockquote,
.atk-layer-wrap blockquote {
  position: static;
  margin: 10px 0;
  padding: 10px 20px;
  background: var(--at-color-bg-grey);
  border-left: 4px solid #687a86;
  color: var(--at-color-font);
}
.artalk p:first-child,
.atk-layer-wrap p:first-child {
  margin-top: 0;
}
.artalk p:last-child,
.atk-layer-wrap p:last-child {
  margin-bottom: 0;
}
.artalk img,
.atk-layer-wrap img {
  max-width: 100%;
}
.artalk table,
.atk-layer-wrap table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 1.5em;
  font-size: 0.96em;
}
.artalk td,
.artalk th,
.atk-layer-wrap td,
.atk-layer-wrap th {
  text-align: left;
  padding: 4px 8px 4px 10px;
  border: 1px solid var(--at-color-border);
}
.artalk td,
.atk-layer-wrap td {
  vertical-align: top;
}
.artalk tr:nth-child(2n),
.atk-layer-wrap tr:nth-child(2n) {
  background-color: var(--at-color-bg-grey);
}
.artalk ul,
.atk-layer-wrap ul {
  list-style: disc;
}
.artalk ol,
.atk-layer-wrap ol {
  list-style: decimal;
}
.artalk li + li,
.atk-layer-wrap li + li {
  margin-top: 8px;
}
.artalk li > ol,
.artalk li > ul,
.atk-layer-wrap li > ol,
.atk-layer-wrap li > ul {
  margin: 8px 0 0;
}
.atk-hide {
  display: none !important;
}
.atk-full-layer,
.atk-layer-dialog-wrap,
.atk-error-layer,
.atk-loading {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--at-color-bg);
  z-index: 4;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  display: flex;
}
.atk-loading-spinner {
  position: relative;
  width: 50px;
  height: 50px;
}
.atk-loading-spinner svg {
  animation: atkRotate 2s linear infinite;
  transform-origin: center center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.atk-loading-spinner svg circle {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: atkDash 1.5s ease-in-out infinite, atkColor 6s ease-in-out infinite;
  stroke-linecap: round;
}
@keyframes atkRotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes atkDash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  to {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}
@keyframes atkColor {
  0%, to {
    stroke: #ff5652;
  }
  40% {
    stroke: #2196f3;
  }
  66% {
    stroke: #32c787;
  }
  80%, 90% {
    stroke: #ffc107;
  }
}
@keyframes atkLoadingIconRotate {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.atk-loading-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: solid 1px transparent;
  border-top-color: #29d;
  border-left-color: #29d;
  border-radius: 50%;
  animation: atkLoadingIconRotate 0.4s linear infinite;
}
.atk-fade-in {
  animation: atkFadeIn both 0.3s;
}
.atk-fade-out {
  animation: atkFadeOut both 0.2s;
}
.atk-rotate {
  animation: atkRotate 2s linear infinite;
}
@keyframes atkFadeIn {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes atkFadeOut {
  to {
    opacity: 0;
  }
}
@keyframes atkRotate {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.atk-icon:after {
  display: block;
  content: "";
  width: 1em;
  height: 1em;
  background-color: var(--at-color-deep);
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.atk-icon-sync:after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.99133 4.87635C2.22512 7.64257 2.22512 12.1275 4.99133 14.8937C6.04677 15.9491 7.3524 16.6019 8.71732 16.8519' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M14.4179 15.4815L15.0072 14.8922C17.7734 12.126 17.7734 7.64107 15.0072 4.87486C13.9518 3.81942 12.6461 3.16668 11.2812 2.91664' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M6.17106 4.99252L5.58181 4.40327L4.99255 3.81401H6.17106V4.99252Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M13.8299 15.0084L14.4192 15.5976L15.0084 16.1869H13.8299V15.0084Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.99133 4.87635C2.22512 7.64257 2.22512 12.1275 4.99133 14.8937C6.04677 15.9491 7.3524 16.6019 8.71732 16.8519' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M14.4179 15.4815L15.0072 14.8922C17.7734 12.126 17.7734 7.64107 15.0072 4.87486C13.9518 3.81942 12.6461 3.16668 11.2812 2.91664' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M6.17106 4.99252L5.58181 4.40327L4.99255 3.81401H6.17106V4.99252Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M13.8299 15.0084L14.4192 15.5976L15.0084 16.1869H13.8299V15.0084Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E");
}
.atk-icon-del:after {
  background-color: var(--at-color-red) !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.29167 5.04166L4.81251 5.04166M4.81251 5.04166L4.81251 18.3333C4.81251 18.5865 5.01771 18.7917 5.27084 18.7917L16.7292 18.7917C16.9823 18.7917 17.1875 18.5865 17.1875 18.3333V5.04166M4.81251 5.04166L7.33334 5.04166M17.1875 5.04166L19.7083 5.04166M17.1875 5.04166L14.6667 5.04166M7.33334 5.04166V3.20833L14.6667 3.20833V5.04166M7.33334 5.04166L14.6667 5.04166' stroke='%23D06565' stroke-width='2'/%3E%3Cpath d='M9.16667 8.25V15.125M12.8333 8.25V15.125' stroke='%23D06565' stroke-width='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.29167 5.04166L4.81251 5.04166M4.81251 5.04166L4.81251 18.3333C4.81251 18.5865 5.01771 18.7917 5.27084 18.7917L16.7292 18.7917C16.9823 18.7917 17.1875 18.5865 17.1875 18.3333V5.04166M4.81251 5.04166L7.33334 5.04166M17.1875 5.04166L19.7083 5.04166M17.1875 5.04166L14.6667 5.04166M7.33334 5.04166V3.20833L14.6667 3.20833V5.04166M7.33334 5.04166L14.6667 5.04166' stroke='%23D06565' stroke-width='2'/%3E%3Cpath d='M9.16667 8.25V15.125M12.8333 8.25V15.125' stroke='%23D06565' stroke-width='2'/%3E%3C/svg%3E");
}
.atk-icon-edit:after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.70618 4.08515L12.6081 7.06376M1.00041 13.021L11.7376 2L14.6392 4.97861L3.90274 16H1L1.00041 13.021Z' stroke='%234E5969' stroke-width='1.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.70618 4.08515L12.6081 7.06376M1.00041 13.021L11.7376 2L14.6392 4.97861L3.90274 16H1L1.00041 13.021Z' stroke='%234E5969' stroke-width='1.5'/%3E%3C/svg%3E");
}
.atk-icon-yes:after,
.atk-icon-check:after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.7071 5.75533L9.92197 17.5404L3.29285 10.9113' stroke='%234E5969'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.7071 5.75533L9.92197 17.5404L3.29285 10.9113' stroke='%234E5969'/%3E%3C/svg%3E");
}
.atk-icon-plus:after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.08331 10H17.9166' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M10 2.08334L10 17.9167' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.08331 10H17.9166' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M10 2.08334L10 17.9167' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E");
}
.atk-icon-close-slim:after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M19.8657 5.13431L12.5 12.5L5.13431 19.8657' stroke='%234E5969'/%3E%3Cpath d='M5.13431 5.13432L12.5 12.5L19.8657 19.8657' stroke='%234E5969'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M19.8657 5.13431L12.5 12.5L5.13431 19.8657' stroke='%234E5969'/%3E%3Cpath d='M5.13431 5.13432L12.5 12.5L19.8657 19.8657' stroke='%234E5969'/%3E%3C/svg%3E");
}
.atk-icon-arrow-left:after {
  -webkit-mask-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M6.54542 8.00004L11 12.6667L9.72729 14L4 8.00004L9.72729 2L11 3.33333L6.54542 8.00004Z" /></svg>');
  mask-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M6.54542 8.00004L11 12.6667L9.72729 14L4 8.00004L9.72729 2L11 3.33333L6.54542 8.00004Z" /></svg>');
}
.atk-icon-no:after,
.atk-icon-close:after {
  -webkit-mask-image: url('data:image/svg+xml,<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"></path></svg>');
  mask-image: url('data:image/svg+xml,<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"></path></svg>');
}
.atk-error-layer {
  background-color: var(--at-color-bg-transl);
}
.atk-error-layer .atk-error-title {
  color: var(--at-color-red);
}
.atk-error-layer .atk-warn-title {
  color: var(--at-color-yellow);
}
.atk-error-layer .atk-error-title,
.atk-error-layer .atk-warn-title {
  display: inline-block;
  padding: 0 15px;
  margin-bottom: 20px;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.atk-error-layer .atk-error-text {
  text-align: center;
  padding: 0 20px;
}
.atk-error-layer .atk-error-text * {
  color: var(--at-color-deep);
}
.atk-error-layer .atk-error-text a {
  color: var(--at-color-meta);
}
.atk-version-check-notice {
  background: var(--at-color-bg-grey);
  border-radius: 6px;
  padding: 10px 20px;
  margin-bottom: 10px;
  font-size: 14px;
}
.atk-version-check-notice .atk-info {
  color: var(--at-color-meta);
}
.atk-version-check-notice .atk-ignore-btn {
  cursor: pointer;
  float: right;
}
.atk-version-check-notice .atk-ignore-btn:hover {
  opacity: 0.8;
}
.atk-layer-dialog-wrap {
  background-color: var(--at-color-bg-transl);
}
.atk-layer-dialog-wrap > .atk-layer-dialog {
  width: 25%;
}
.atk-layer-dialog-wrap > .atk-layer-dialog > .atk-layer-dialog-content .atk-captcha-img {
  cursor: pointer;
  width: 170px;
  height: auto;
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px solid var(--at-color-border);
  vertical-align: bottom;
}
.atk-layer-dialog-wrap > .atk-layer-dialog > .atk-layer-dialog-content input {
  width: 100%;
  line-height: 34px;
  background-color: var(--at-color-bg);
  border: 1px solid var(--at-color-border);
  border-radius: 3px;
  outline: none;
  padding: 0 6px;
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: center;
}
.atk-layer-dialog-wrap > .atk-layer-dialog > .atk-layer-dialog-actions {
  display: flex;
  flex-direction: row;
}
.atk-layer-dialog-wrap > .atk-layer-dialog > .atk-layer-dialog-actions button {
  flex: 1;
  display: block;
  cursor: pointer;
  border: 1px solid var(--at-color-main);
  background: transparent;
  color: var(--at-color-main);
  border-radius: 3px;
  padding: 0 15px;
  line-height: 30px;
  outline: none;
}
.atk-layer-dialog-wrap > .atk-layer-dialog > .atk-layer-dialog-actions button:active {
  color: #fff;
  background: var(--at-color-main);
}
.atk-layer-dialog-wrap > .atk-layer-dialog > .atk-layer-dialog-actions button:not(:last-child) {
  margin-right: 5px;
}
.atk-layer-dialog-wrap > .atk-layer-dialog > .atk-layer-dialog-actions button.error {
  color: #fff;
  background: #ff5652;
  border-color: #ff5652;
}
.atk-layer-dialog-wrap > .atk-layer-dialog .atk-checker-iframe-wrap {
  position: fixed;
  z-index: 999998;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
}
.atk-layer-dialog-wrap > .atk-layer-dialog .atk-checker-iframe-wrap > iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.atk-layer-dialog-wrap > .atk-layer-dialog .atk-checker-iframe-wrap .atk-close-btn {
  z-index: 999999;
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  width: 50px;
  height: 50px;
  align-items: center;
  place-content: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  margin-left: 10px;
}
.atk-layer-dialog-wrap > .atk-layer-dialog .atk-checker-iframe-wrap .atk-close-btn:hover .atk-icon-close:after {
  background-color: #e81123e6;
}
@media only screen and (max-width: 768px) {
  .atk-layer-dialog-wrap > .atk-layer-dialog {
    width: 90% !important;
  }
}
.atk-notify {
  display: block;
  overflow: hidden;
  background-color: #2c2c2c;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  padding: 5px 15px;
}
.atk-notify:not(:last-child) {
  margin-bottom: 3px;
}
.atk-notify .atk-notify-content {
  color: #fff;
}
.atk-layer-wrap .atk-layer-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  background: #0000004d;
}
.atk-layer-wrap .atk-layer-item {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.atk-common-action-btn.atk-btn-confirm,
.atk-common-action-btn.atk-btn-warn {
  color: var(--at-color-yellow) !important;
}
.atk-common-action-btn.atk-btn-error {
  color: var(--at-color-red) !important;
}
.atk-common-action-btn.atk-btn-success {
  color: var(--at-color-green) !important;
}
img[atk-emoticon] {
  max-height: 60px;
  display: initial;
}
.atk-slim-scrollbar::-webkit-scrollbar,
.atk-editor-plug-emoticons > .atk-grp-wrap::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background: transparent;
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb,
.atk-editor-plug-emoticons > .atk-grp-wrap::-webkit-scrollbar-thumb,
.atk-slim-scrollbar::-webkit-scrollbar-thumb:window-inactive {
  background: #5656564d;
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb:vertical:hover,
.atk-editor-plug-emoticons > .atk-grp-wrap::-webkit-scrollbar-thumb:vertical:hover {
  background: #414a52c4;
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb:vertical:active,
.atk-editor-plug-emoticons > .atk-grp-wrap::-webkit-scrollbar-thumb:vertical:active {
  background: #292f35c4;
}
.atk-editor-plug-emoticons {
  height: 100%;
  width: 100%;
}
.atk-editor-plug-emoticons > .atk-grp-wrap {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
}
.atk-editor-plug-emoticons > .atk-grp-wrap > .atk-grp {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 5px 10px 35px;
}
.atk-editor-plug-emoticons > .atk-grp-wrap > .atk-grp[data-type=image] > .atk-item {
  height: 63px;
  width: 63px;
}
.atk-editor-plug-emoticons > .atk-grp-wrap > .atk-grp > .atk-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 3px;
  font-size: 15px;
  min-width: 35px;
  margin: 2px;
}
.atk-editor-plug-emoticons > .atk-grp-wrap > .atk-grp > .atk-item > img {
  max-height: 100%;
  width: auto;
}
.atk-editor-plug-emoticons > .atk-grp-wrap > .atk-grp > .atk-item:hover {
  background: var(--at-color-bg-grey);
}
.atk-editor-plug-emoticons > .atk-grp-switcher {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--at-color-bg-transl);
  height: 30px;
  border-top: 1px solid var(--at-color-border);
  border-bottom: 1px solid var(--at-color-border);
}
.atk-editor-plug-emoticons > .atk-grp-switcher > span {
  -webkit-user-select: none;
  user-select: none;
  padding: 0 10px;
  line-height: 30px;
  float: left;
  display: block;
  cursor: pointer;
  font-size: 14px;
}
.atk-editor-plug-emoticons > .atk-grp-switcher > span:hover,
.atk-editor-plug-emoticons > .atk-grp-switcher > span.active {
  background: var(--at-color-bg-grey);
}
.atk-slim-scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background: transparent;
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb,
.atk-slim-scrollbar::-webkit-scrollbar-thumb:window-inactive {
  background: #5656564d;
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb:vertical:hover {
  background: #414a52c4;
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb:vertical:active {
  background: #292f35c4;
}
.atk-editor-plug-preview {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  padding: 10px 15px;
}
:root,
.artalk,
.atk-layer-wrap,
.artalk-comments {
	/* 核心调色盘 - 基于 OKLCH 确保感知均匀性 */
	--artalk-ink: oklch(25% 0.02 260);
	--artalk-muted: oklch(55% 0.02 260);
	--artalk-surface: oklch(99.5% 0.005 260);
	--artalk-soft: oklch(98% 0.01 260);
	
	/* 品牌粉彩体系 */
	--artalk-petal: oklch(96% 0.025 340);
	--artalk-lilac: oklch(95% 0.035 300);
	--artalk-peach: oklch(96% 0.03 50);
	
	/* 线条与投影 */
	--artalk-line: oklch(90% 0.01 260);
	--artalk-line-strong: oklch(80% 0.03 300);
	--artalk-shadow: oklch(25% 0.02 260 / 0.04);
	--artalk-accent-shadow: oklch(var(--theme-primary) / 0.15);
	
	/* 动作色 */
	--artalk-accent: var(--theme-primary);
	--artalk-accent-strong: var(--accent-dark);
	--artalk-orange: oklch(75% 0.15 50);

	/* 映射至 Artalk 原生变量 */
	--at-color-font: var(--artalk-ink);
	--at-color-deep: var(--artalk-ink);
	--at-color-sub: var(--artalk-muted);
	--at-color-grey: var(--artalk-muted);
	--at-color-meta: var(--artalk-muted);
	--at-color-border: var(--artalk-line);
	--at-color-main: var(--artalk-accent);
	--at-color-bg: var(--artalk-surface);
	--at-color-bg-transl: oklch(100% 0 / 0.95);
	--at-color-bg-grey: var(--artalk-soft);
	--at-color-bg-light: var(--artalk-petal);
	--at-color-gradient: linear-gradient(transparent, var(--artalk-surface));
}

.artalk.atk-dark-mode,
.atk-layer-wrap.atk-dark-mode {
	--artalk-ink: oklch(90% 0.02 260);
	--artalk-muted: oklch(70% 0.03 260);
	--artalk-surface: oklch(18% 0.02 260);
	--artalk-soft: oklch(22% 0.025 260);
	--artalk-petal: oklch(28% 0.04 340 / 0.3);
	--artalk-lilac: oklch(28% 0.05 300 / 0.3);
	--artalk-peach: oklch(30% 0.04 50 / 0.3);
	--artalk-line: oklch(30% 0.03 260);
	--artalk-line-strong: oklch(45% 0.08 300);
	--artalk-shadow: oklch(0% 0 0 / 0.4);
	--artalk-accent-shadow: oklch(var(--theme-primary) / 0.25);
}

.artalk {
	container-type: inline-size;
	font-family: var(--font-atkinson, sans-serif) !important;
	font-size: 16px !important;
	margin-top: 1rem !important;
}

/* --- 标题栏设计 --- */
.artalk-comments__header {
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
}

.artalk-comments__title {
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	color: var(--artalk-ink) !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
}

.artalk-comments__title::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background: var(--artalk-accent);
	border-radius: 4px;
	box-shadow: 
		0.4rem 0.4rem 0 var(--artalk-peach),
		-0.2rem -0.2rem 0 var(--artalk-lilac);
	transform: rotate(15deg);
}

/* --- 编辑器设计：数字纸张 --- */
.artalk .atk-main-editor {
	border: 1px solid var(--artalk-line) !important;
	border-radius: 16px !important;
	background: var(--artalk-surface) !important;
	padding: 0.75rem 1rem !important; /* 减小上下外边距 */
	box-shadow: 
		0 2px 4px var(--artalk-shadow),
		0 12px 24px -8px var(--artalk-shadow) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	position: relative !important;
}

.artalk .atk-main-editor:focus-within {
	border-color: var(--artalk-line-strong) !important;
	box-shadow: 
		0 4px 8px var(--artalk-shadow),
		0 20px 40px -12px var(--artalk-shadow),
		0 0 0 4px var(--artalk-lilac) !important;
	transform: translateY(-1px) !important;
}

.artalk .atk-main-editor .atk-header {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 0.65rem !important; /* 适中的间距 */
	padding: 0 0 0.75rem 0 !important; /* 减小底部间距 */
	border-bottom: 1px dashed var(--artalk-line) !important;
}

.artalk .atk-main-editor .atk-header input {
	background: var(--artalk-soft) !important;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	padding: 0.4rem 0.65rem !important; /* 减小纵向 Padding */
	font-size: 0.9rem !important;
	transition: all 0.2s ease !important;
}

.artalk .atk-main-editor .atk-header input:focus {
	background: var(--artalk-surface) !important;
	border-color: var(--artalk-accent) !important;
	box-shadow: 0 0 0 3px var(--artalk-lilac) !important;
}

.artalk .atk-textarea-wrap {
	padding: 0.5rem 0 !important; /* 减小纵向间距 */
}

.artalk .atk-textarea {
	min-height: 150px !important; /* 增加最小高度以突出主体 */
	line-height: 1.8 !important;
	font-size: 1rem !important;
	background: transparent !important;
}

.artalk .atk-bottom {
	border-top: 1px solid var(--artalk-line) !important;
	padding-top: 0.65rem !important; /* 收窄底部高度 */
	align-items: center !important;
}

.artalk .atk-send-btn {
	background: var(--artalk-accent) !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	padding: 0.5rem 1.25rem !important;
	height: auto !important;
	box-shadow: 0 4px 12px var(--artalk-accent-shadow) !important;
	transition: all 0.2s ease !important;
}

.artalk .atk-send-btn:hover {
	background: var(--artalk-accent-strong) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 16px var(--artalk-accent-shadow) !important;
}

.artalk .atk-plug-btn {
	width: 2.25rem !important;
	height: 2.25rem !important;
}

/* --- 评论列表设计 --- */
.artalk .atk-list-header {
	margin: 2rem 0 1rem 0 !important;
	border-bottom: 1px solid var(--artalk-line) !important;
}

.artalk .atk-comment-count {
	font-size: 1.1rem !important;
	font-weight: 700 !important;
}

.artalk .atk-comment-count-num {
	color: var(--artalk-accent) !important;
	font-size: 1.5rem !important;
}

.artalk .atk-comment-wrap {
	margin-bottom: 1.5rem !important;
	animation: artalk-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes artalk-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.artalk .atk-comment {
	background: var(--artalk-surface) !important;
	border: 1px solid var(--artalk-line) !important;
	border-radius: 12px !important;
	padding: 1.25rem !important;
	transition: all 0.2s ease !important;
}

.artalk .atk-comment:hover {
	border-color: var(--artalk-line-strong) !important;
	box-shadow: 0 8px 20px -8px var(--artalk-shadow) !important;
}

.artalk .atk-avatar img {
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: var(--box-shadow) !important;
	object-fit: cover !important;
	transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.artalk .atk-avatar img:hover {
	transform: scale(1.08) rotate(5deg) !important;
}

.artalk .atk-nick {
	font-weight: 700 !important;
	font-size: 1rem !important;
}

.artalk .atk-badge {
	background: var(--artalk-peach) !important;
	color: var(--artalk-ink) !important;
	font-size: 0.75rem !important;
	padding: 2px 8px !important;
}

.artalk .atk-content {
	line-height: 1.75 !important;
	margin-top: 0.5rem !important;
}

.artalk .atk-comment-children {
	margin-top: 1rem !important;
	border-left: 2px solid var(--artalk-line) !important;
	padding-left: 1.5rem !important;
}

.artalk .atk-comment-children .atk-comment {
	background: var(--artalk-soft) !important;
	border: none !important;
	padding: 1rem !important;
}

/* --- 骨架屏设计 --- */
.artalk-loading {
	gap: 1.5rem !important;
}

.artalk-skeleton-editor,
.artalk-skeleton-comment,
.artalk-skeleton-list-header {
	background: var(--artalk-soft) !important;
	border: 1px solid var(--artalk-line) !important;
	border-radius: 12px !important;
	position: relative;
	overflow: hidden;
}

.artalk-skeleton-editor { height: 180px !important; }
.artalk-skeleton-list-header { height: 40px !important; border: none !important; width: 30% !important; }
.artalk-skeleton-comment { height: 120px !important; }

.artalk-skeleton-editor::after,
.artalk-skeleton-comment::after,
.artalk-skeleton-list-header::after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(90deg, transparent, oklch(100% 0 0 / 0.4), transparent);
	transform: translateX(-100%);
	animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
	100% { transform: translateX(100%); }
}

/* --- 响应式优化 --- */
@container (max-width: 768px) {
	.artalk .atk-main-editor .atk-header {
		grid-template-columns: 1fr !important;
	}
	
	.artalk .atk-comment-children {
		padding-left: 1rem !important;
	}
	
	.artalk .atk-comment {
		padding: 1rem !important;
	}
}

/* --- 评论容器与分割线 --- */
.artalk-comments {
	width: 100%;
	max-width: var(--artalk-max-width, 1000px) !important;
	margin: clamp(4rem, 10vw, 7rem) auto 0 !important;
	padding-top: clamp(2.5rem, 6vw, 3.5rem) !important;
	position: relative !important;
}

.artalk-comments::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		to right,
		transparent,
		var(--artalk-line) 20%,
		var(--artalk-line) 80%,
		transparent
	);
}

.artalk-comments::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	background: var(--artalk-accent);
	border: 3.5px solid var(--artalk-surface);
	border-radius: 50%;
	box-shadow: 0 0 14px var(--artalk-accent-shadow);
}
