/*!
 * Twikoo v1.7.0
 * (c) 2020-2026 iMaeGoo
 * Released under the MIT License.
 * Last Update: 2/28/2026, 2:10:41 AM
 */

.tk-avatar {
  flex-shrink: 0;
  height: 2.5rem;
  width: 2.5rem;
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  margin-right: 1rem;
}
.tk-comment .tk-submit .tk-avatar,
.tk-replies .tk-avatar {
  height: 1.6rem;
  width: 1.6rem;
}
.tk-avatar.tk-has-avatar {
  background-color: rgba(144,147,153,0.13);
}
.tk-avatar.tk-clickable {
  cursor: pointer;
}
.tk-avatar .tk-avatar-img {
  height: 2.5rem;
  color: #c0c4cc;
}
.tk-comment .tk-submit .tk-avatar .tk-avatar-img,
.tk-replies .tk-avatar .tk-avatar-img {
  height: 1.6rem;
}


/* ========== Twikoo 评论表单样式 - HeroUI 风格 ========== */

.tk-meta-input {
  display: flex;
}
.tk-meta-input .el-input {
  width: auto;
  width: calc((100% - 1rem) / 3);
  flex: 1;
}
.tk-meta-input .el-input + .el-input {
  margin-left: 0.5rem;
}
.tk-meta-input .el-input .el-input-group__prepend {
  padding: 0 1rem;
}
.tk-meta-input .el-input input:invalid {
  border: 1px solid #f56c6c;
  box-shadow: none;
}
@media screen and (max-width: 767px) {
.tk-meta-input {
    flex-direction: column;
}
.tk-meta-input .el-input {
    width: auto;
}
.tk-meta-input .el-input + .el-input {
    margin-left: 0;
    margin-top: 0.5rem;
}
}


/* 发送按钮样式优化 */
.tk-send {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tk-send:hover {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tk-send:active {
  transform: scale(0.97);
}

.tk-meta-input {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  padding-right: 100px; /* 为发送按钮留空间 */
}

.tk-meta-input .el-input {
  flex: 1 1 calc(33.333% - 0.35rem);
  min-width: 120px;
}

.tk-meta-input .el-input-group__prepend {
  padding: 0 0.75rem;
  font-size: 0.8125rem;
}

/* 发送按钮 - 使用绝对定位放在输入框右侧 */
.tk-send {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tk-send:hover {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tk-send:active {
  transform: scale(0.97);
}

/* 文本域区域 */
.tk-input {
  margin-top: 0.75rem;
  width: 100%;
}

.tk-row.actions {
  margin-left: 0;
  margin-top: 0.75rem;
  justify-content: flex-end;
}

/* 响应式 - 移动端 */
@media screen and (max-width: 767px) {
  .tk-col {
    flex-direction: column;
  }
  
  .tk-meta-input {
    padding-right: 0;
  }
  
  .tk-meta-input .el-input {
    flex: 1 1 100%;
  }
  
  .tk-send {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 0.5rem;
  }
}


.tk-submit {
  display: flex;
  flex-direction: column;
}
.tk-row {
  display: flex;
  flex-direction: row;
}
.tk-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tk-meta-input {
  margin-bottom: 0.5rem;
}
.tk-row.actions {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 3.5rem;
  align-items: center;
  justify-content: flex-end;
}
.tk-row-actions-start {
  flex: 1;
  display: flex;
  align-items: center;
}
.tk-submit-action-icon {
  align-self: center;
  display: inline-block;
  width: 1.25em;
  line-height: 0;
  margin-right: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.tk-submit-action-icon svg:hover {
  opacity: 0.8;
}
.tk-submit-action-icon.__markdown {
  color: #909399;
}
.tk-error-message {
  word-break: break-all;
  color: #ff0000;
  font-size: 0.75em;
  flex-shrink: 1;
}
.tk-input-image {
  display: none;
}
.tk-input {
  flex: 1;
}
.tk-input .el-textarea__inner {
  background-position: right bottom;
  background-repeat: no-repeat;
}
.tk-turnstile-container {
  position: absolute;
  right: 0;
  bottom: -75px;
  z-index: 1;
}
.tk-turnstile {
  display: flex;
  flex-direction: column;
}
.tk-geetest-container {
  position: absolute;
  right: 0;
  bottom: -75px;
  z-index: 1;
}
.tk-preview-container {
  margin-left: 3rem;
  margin-bottom: 1rem;
  padding: 5px 15px;
  border: 1px solid rgba(128,128,128,0.31);
  border-radius: 4px;
  word-break: break-word;
}
.tk-fade-in {
  animation: tkFadeIn .3s;
}
@keyframes tkFadeIn {
0% {
    opacity: 0
}
to {
    opacity: 1
}
}


.tk-action {
  display: flex;
  align-items: center;
}
.tk-action-link {
  margin-left: 0.5rem;
  color: #409eff;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.tk-action-link .tk-action-icon-solid {
  display: none;
}
.tk-action-link.tk-liked .tk-action-icon,
.tk-action-link:hover .tk-action-icon {
  display: none;
}
.tk-action-link.tk-liked .tk-action-icon-solid,
.tk-action-link:hover .tk-action-icon-solid {
  display: block;
}
.tk-action-link.tk-disliked .tk-action-icon,
.tk-action-link.tk-disliked:hover .tk-action-icon {
  display: none;
}
.tk-action-link.tk-disliked .tk-action-icon-solid,
.tk-action-link.tk-disliked:hover .tk-action-icon-solid {
  display: block;
}
.tk-action-count {
  margin-left: 0.25rem;
  font-size: 0.75rem;
  height: 1.5rem;
  line-height: 1.5rem;
}
.tk-action-icon {
  display: inline-block;
  height: 1em;
  width: 1em;
  line-height: 0;
  color: #409eff;
}


.tk-main {
  flex: 1;
  width: 0;
}
.tk-row {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.tk-nick-link {
  color: inherit;
  text-decoration: none;
}
.tk-replies .tk-nick-link {
  font-size: .9em;
}
.tk-nick-link:hover {
  color: #409eff;
}
.tk-actions {
  display: none;
  margin-left: 1em;
}
.tk-comment:hover .tk-actions {
  display: inline;
}
.tk-extras {
  color: #999999;
  font-size: 0.875em;
  display: flex;
  flex-wrap: wrap;
}
.tk-extra {
  margin-top: 0.5rem;
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
}
.tk-icon.__comment {
  height: 1em;
  width: 1em;
  line-height: 1;
}
.tk-extra-text {
  line-height: 1;
}
.tk-tag {
  display: inline-block;
  padding: 0 0.5em;
  font-size: 0.75em;
  background-color: #f2f6fc;
}
.tk-tag-green {
  background-color: rgba(103,194,58,0.13);
  border: 1px solid rgba(103,194,58,0.50);
  border-radius: 2px;
  color: #67c23a;
}
.tk-tag-yellow {
  background-color: rgba(230,162,60,0.13);
  border: 1px solid rgba(230,162,60,0.50);
  border-radius: 2px;
  color: #e6a23c;
}
.tk-tag-blue {
  background-color: rgba(64,158,255,0.13);
  border: 1px solid rgba(64,158,255,0.50);
  border-radius: 2px;
  color: #409eff;
}
.tk-tag-red {
  background-color: rgba(245,108,108,0.13);
  border: 1px solid rgba(245,108,108,0.50);
  border-radius: 2px;
  color: #f56c6c;
}
.tk-comment {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  word-break: break-all;
}
.tk-content {
  margin-top: 0.5rem;
  overflow: hidden;
  max-height: 500px;
  position: relative;
}
.tk-content-expand {
  max-height: none;
}
.tk-replies .tk-content {
  font-size: .9em;
}
.tk-comment .vemoji {
  max-height: 2em;
  vertical-align: middle;
}
.tk-replies {
  max-height: 200px;
  overflow: hidden;
  position: relative;
}
.tk-replies-expand {
  max-height: none;
  overflow: unset;
}
.tk-submit {
  margin-top: 1rem;
}
.tk-expand {
  font-size: 0.75em;
}
.tk-lightbox {
  display: block;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}
.tk-lightbox-image {
  min-width: 100px;
  min-height: 30px;
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 95%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #eeeeee 50%, #e3e3e3 0);
  background-size: 40px 100%;
}


.tk-comments-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.tk-comments-count.__hidden {
  visibility: hidden;
}
.tk-comments-container {
  min-height: 10rem;
  display: flex;
  flex-direction: column;
}
.tk-comments-no {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tk-comments-error {
  font-size: 0.75em;
  color: #ff0000;
}
.tk-comments-sort {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5em;
}
.tk-sort-select {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  background: white;
  cursor: pointer;
  color: #409eff;
}
.tk-sort-select:focus {
  outline: none;
  border-color: #409eff;
}
.tk-icon.__comments {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: sub;
  margin-left: 0.5em;
  height: 0.75em;
  width: 0.75em;
  line-height: 0;
  cursor: pointer;
  color: #409eff;
}
.twikoo div.code-toolbar {
  position: relative;
  border-radius: .3em
}
.twikoo div.code-toolbar>.toolbar {
  position: absolute;
  right: 4px;
  top: 4px;
  font-size: .8125rem;
  font-weight: 500;
  display: flex;
}
.twikoo div.code-toolbar>.toolbar>.toolbar-item {
  margin-left: .3em
}
.twikoo div.code-toolbar>.toolbar>.toolbar-item>a,
.twikoo div.code-toolbar>.toolbar>.toolbar-item>button,
.twikoo div.code-toolbar>.toolbar>.toolbar-item>span {
  padding: 2px 4px;
  border-radius: .3em;
}
.twikoo div.code-toolbar>.toolbar>.toolbar-item>button {
  border: 1px solid rgba(128, 128, 128, 0.31);
}
.twikoo div.code-toolbar>.toolbar>.toolbar-item>button:hover {
  cursor: pointer;
}


.tk-footer {
  width: 100%;
  text-align: end;
  font-size: 0.75em;
  color: #999999;
  margin-top: 1em;
}


.tk-pagination,
.tk-pagination-pagers {
  display: flex;
}
.tk-pagination {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.tk-pagination-options {
  display: flex;
  align-items: center;
}
.tk-pagination-pager {
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tk-pagination-pager.__current {
  background-color: #409eff;
  pointer-events: none;
}
.tk-pagination .el-input {
  width: 50px;
}
.tk-pagination .el-input .el-input__inner {
  padding: 0;
  height: 28px;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.tk-pagination .el-input .el-input__inner::-webkit-inner-spin-button,
.tk-pagination .el-input .el-input__inner::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}


.tk-admin-comment {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tk-admin-comment a {
  color: currentColor;
  text-decoration: underline;
}
.tk-admin-warn {
  margin-bottom: 1em;
}
.tk-admin-security-alert {
  position: relative;
  padding-right: 2.5rem;
  margin-bottom: 0;
}
.tk-admin-security-alert .tk-admin-close {
  position: absolute;
  top: 0;
  right: 0;
  float: none;
  width: 1rem;
  height: 1rem;
  padding: 0.5rem;
  margin: 0;
}
.tk-admin-security-alert-message {
  margin-bottom: 0.5em;
}
.tk-admin-security-alert-url {
  word-break: break-all;
  background: rgba(0,0,0,0.2);
  padding: 0.5em;
  border-radius: 4px;
  margin-bottom: 0.5em;
}
.tk-admin-comment-filter {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.tk-admin-comment-filter-keyword {
  flex: 1;
}
.tk-admin-comment-filter-type {
  height: 32px;
  margin: 0 0.5em;
  padding: 0 0.5em;
  color: #ffffff;
  background: none;
  border: 1px solid rgba(144,147,153,0.31);
  border-radius: 4px;
  position: relative;
  -moz-appearance: none;
  -webkit-appearance: none;
}
.tk-admin-comment-filter-type:focus {
  border-color: #409eff;
}
.tk-admin-comment-filter-type option {
  color: initial;
}
.tk-admin-comment-list {
  margin-top: 1em;
}
.tk-admin-comment-list,
.tk-admin-comment-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
.tk-admin-comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.5em;
}
.tk-admin-comment .tk-avatar {
  margin-right: 0.5em;
}
.tk-admin-comment .tk-content {
  max-height: none;
}
.tk-admin-actions {
  display: flex;
  margin-bottom: 1em;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}


.tk-admin-config-groups {
  overflow-y: auto;
  padding-right: 0.5em;
}
.tk-admin-config-groups .tk-admin-config-group,
.tk-admin-config-groups .tk-admin-config-group-title {
  background: transparent;
}
.tk-admin-config-group-title {
  margin-top: 1em;
  font-size: 1.25rem;
  font-weight: bold;
}
.tk-admin-config-item {
  display: grid;
  align-items: center;
  grid-template-columns: 30% 70%;
  margin-top: 1em;
}
.tk-admin-config-title {
  text-align: right;
  margin-right: 1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tk-admin-config-desc {
  margin-top: 0.5em;
  font-size: 0.75em;
  overflow-wrap: break-word;
}
.tk-admin-config-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1em;
}
.tk-admin-config-message {
  margin-top: 0.5em;
  text-align: center;
}
.tk-admin-config-email-test-desc {
  margin: 1em 0;
}


.tk-admin-import {
  display: flex;
  flex-direction: column;
}
.tk-admin-import-label {
  margin-top: 1em;
  font-size: 1.25rem;
  font-weight: bold;
}
.tk-admin-import select,
.tk-admin-import input,
.tk-admin-import .el-button,
.tk-admin-import .el-textarea {
  margin-top: 1em;
}


.tk-admin-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.tk-admin {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  pointer-events: all;
  color: #ffffff;
  background-color: rgba(0,0,0,0.60);
  backdrop-filter: blur(5px);
  transition: all 0.5s ease;
  visibility: hidden;
}
.tk-admin::-webkit-scrollbar {
  width: 5px;
  background-color: transparent;
}
.tk-admin::-webkit-scrollbar-track {
  background-color: transparent;
}
.tk-admin::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.31);
}
.tk-admin.__show {
  left: 0;
  visibility: visible;
}
.tk-admin-close {
  position: sticky;
  float: right;
  display: block;
  top: 0;
  right: 0;
  width: 1rem;
  height: 1rem;
  padding: 1rem;
  box-sizing: content-box;
  color: #ffffff;
}
.tk-login,
.tk-regist {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
}
.tk-login-title {
  color: #ffffff;
  font-size: 1.25rem;
  text-align: center;
  margin-top: 10rem;
}
.tk-password,
.tk-login-msg {
  color: #ffffff;
  width: 80%;
  text-align: center;
  margin-top: 1rem;
}
.tk-password .el-input__inner {
  min-width: 100px;
}
.tk-login-msg a {
  color: #ffffff;
  margin-left: 1em;
  text-decoration: underline;
}
.tk-regist-button {
  margin-top: 1rem;
}
.tk-panel {
  color: #ffffff;
  padding: 2rem;
}
.tk-panel-title {
  font-size: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.tk-panel-logout {
  color: #ffffff;
  font-size: 1rem;
  text-decoration: underline;
}
.tk-panel .tk-tabs {
  display: flex;
  margin-bottom: 1em;
  border-bottom: 2px solid #c0c4cc;
}
.tk-panel .tk-tab {
  color: #c0c4cc;
  cursor: pointer;
  line-height: 2em;
  margin-right: 2em;
  margin-bottom: -2px;
}
.tk-panel .tk-tab.__active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}


.twikoo {
  position: relative;
}
.twikoo svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* 全局 CSS */
.tk-expand {
  width: 100%;
  cursor: pointer;
  padding: 0.75em;
  text-align: center;
  transition: all 0.5s;
}
.tk-expand:hover {
  background-color: rgba(0,0,0,0.13);
}
.tk-expand:active {
  background-color: rgba(0,0,0,0.19);
}
.tk-content img {
  max-width: 300px;
  max-height: 300px;
  vertical-align: middle;
}
.tk-owo-emotion,
.twikoo .OwO-item img {
  width: 3em;
  height: auto;
}

/* element-ui overwrite */
.twikoo .el-input__inner,
.twikoo .el-textarea__inner {
  color: currentColor;
  background-color: transparent;
  border-color: rgba(144,147,153,0.31);
}
.twikoo .el-input__inner:hover,
.twikoo .el-textarea__inner:hover {
  border-color: rgba(144,147,153,0.50);
}
.twikoo .el-input__inner:focus,
.twikoo .el-textarea__inner:focus {
  border-color: #409eff;
}
.twikoo .el-input-group__append,
.twikoo .el-input-group__prepend {
  color: currentColor;
  background-clip: padding-box;
  background-color: rgba(144,147,153,0.13);
  border-color: rgba(144,147,153,0.31);
}
.twikoo .el-button:not(.el-button--primary):not(.el-button--text) {
  color: currentColor;
  background-color: rgba(144,147,153,0.063);
  border-color: rgba(144,147,153,0.31);
}
.twikoo .el-button:not(.el-button--primary):not(.el-button--text):active,
.twikoo .el-button:not(.el-button--primary):not(.el-button--text):focus,
.twikoo .el-button:not(.el-button--primary):not(.el-button--text):hover {
  color: #409eff;
  background-color: rgba(64,158,255,0.063);
  border-color: rgba(64,158,255,0.50);
}
.twikoo .el-button--primary.is-disabled,
.twikoo .el-button--primary.is-disabled:active,
.twikoo .el-button--primary.is-disabled:focus,
.twikoo .el-button--primary.is-disabled:hover {
  color: rgba(255,255,255,0.63);
  background-color: rgba(64,158,255,0.50);
  border-color: transparent;
}
.twikoo .el-loading-mask {
  background-color: transparent;
  backdrop-filter: opacity(20%);
}
.twikoo .el-textarea .el-input__count {
  color: currentColor;
  background: transparent;
}
.tk-admin-warn {
  padding: 1rem 1.5rem;
  background-color: #fff7d0;
  border-left: 0.5rem solid #e7c000;
  color: #6b5900;
  align-self: stretch;
}

.el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#FFF;border:1px solid #DCDFE6;color:#606266;-webkit-appearance:none;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;margin:0;-webkit-transition:.1s;transition:.1s;font-weight:500;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button:focus,.el-button:hover{color:#409EFF;border-color:#c6e2ff;background-color:#ecf5ff}.el-button:active{color:#3a8ee6;border-color:#3a8ee6;outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#FFF;border-color:#409EFF;color:#409EFF}.el-button.is-active,.el-button.is-plain:active{color:#3a8ee6;border-color:#3a8ee6}.el-button.is-plain:active{background:#FFF;outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#C0C4CC;cursor:not-allowed;background-image:none;background-color:#FFF;border-color:#EBEEF5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#FFF;border-color:#EBEEF5;color:#C0C4CC}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:rgba(255,255,255,.35)}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{color:#FFF;background-color:#409EFF;border-color:#409EFF}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#FFF}.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF;outline:0}.el-button--primary.is-active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{color:#FFF;background-color:#a0cfff;border-color:#a0cfff}.el-button--primary.is-plain{color:#409EFF;background:#ecf5ff;border-color:#b3d8ff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#409EFF;border-color:#409EFF;color:#FFF}.el-button--primary.is-plain:active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF;outline:0}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:#8cc5ff;background-color:#ecf5ff;border-color:#d9ecff}.el-button--success{color:#FFF;background-color:#67C23A;border-color:#67C23A}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#FFF}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#FFF}.el-button--success:active{outline:0}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{color:#FFF;background-color:#b3e19d;border-color:#b3e19d}.el-button--success.is-plain{color:#67C23A;background:#f0f9eb;border-color:#c2e7b0}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#67C23A;border-color:#67C23A;color:#FFF}.el-button--success.is-plain:active{background:#5daf34;border-color:#5daf34;color:#FFF;outline:0}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:#a4da89;background-color:#f0f9eb;border-color:#e1f3d8}.el-button--warning{color:#FFF;background-color:#E6A23C;border-color:#E6A23C}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#FFF}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#FFF}.el-button--warning:active{outline:0}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{color:#FFF;background-color:#f3d19e;border-color:#f3d19e}.el-button--warning.is-plain{color:#E6A23C;background:#fdf6ec;border-color:#f5dab1}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#E6A23C;border-color:#E6A23C;color:#FFF}.el-button--warning.is-plain:active{background:#cf9236;border-color:#cf9236;color:#FFF;outline:0}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:#f0c78a;background-color:#fdf6ec;border-color:#faecd8}.el-button--danger{color:#FFF;background-color:#F56C6C;border-color:#F56C6C}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#FFF}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#FFF}.el-button--danger:active{outline:0}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{color:#FFF;background-color:#fab6b6;border-color:#fab6b6}.el-button--danger.is-plain{color:#F56C6C;background:#fef0f0;border-color:#fbc4c4}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#F56C6C;border-color:#F56C6C;color:#FFF}.el-button--danger.is-plain:active{background:#dd6161;border-color:#dd6161;color:#FFF;outline:0}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:#f9a7a7;background-color:#fef0f0;border-color:#fde2e2}.el-button--info{color:#FFF;background-color:#909399;border-color:#909399}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#FFF}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#FFF}.el-button--info:active{outline:0}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{color:#FFF;background-color:#c8c9cc;border-color:#c8c9cc}.el-button--info.is-plain{color:#909399;background:#f4f4f5;border-color:#d3d4d6}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#909399;border-color:#909399;color:#FFF}.el-button--info.is-plain:active{background:#82848a;border-color:#82848a;color:#FFF;outline:0}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:#bcbec2;background-color:#f4f4f5;border-color:#e9e9eb}.el-button--medium{padding:10px 20px;font-size:14px;border-radius:4px}.el-button--mini,.el-button--small{font-size:12px;border-radius:3px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small,.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini,.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{border-color:transparent;color:#409EFF;background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#66b1ff;border-color:transparent;background-color:transparent}.el-button--text:active{color:#3a8ee6;border-color:transparent;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover{border-color:transparent}.el-button-group .el-button--danger:last-child,.el-button-group .el-button--danger:not(:first-child):not(:last-child),.el-button-group .el-button--info:last-child,.el-button-group .el-button--info:not(:first-child):not(:last-child),.el-button-group .el-button--primary:last-child,.el-button-group .el-button--primary:not(:first-child):not(:last-child),.el-button-group .el-button--success:last-child,.el-button-group .el-button--success:not(:first-child):not(:last-child),.el-button-group .el-button--warning:last-child,.el-button-group .el-button--warning:not(:first-child):not(:last-child),.el-button-group>.el-dropdown>.el-button{border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--danger:first-child,.el-button-group .el-button--danger:not(:first-child):not(:last-child),.el-button-group .el-button--info:first-child,.el-button-group .el-button--info:not(:first-child):not(:last-child),.el-button-group .el-button--primary:first-child,.el-button-group .el-button--primary:not(:first-child):not(:last-child),.el-button-group .el-button--success:first-child,.el-button-group .el-button--success:not(:first-child):not(:last-child),.el-button-group .el-button--warning:first-child,.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-right-color:rgba(255,255,255,.5)}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group::after,.el-button-group::before{display:table;content:""}.el-button-group::after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button.is-disabled{z-index:1}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-radius:4px}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:20px}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0}
.el-input__inner,.el-textarea__inner{background-image:none;-webkit-box-sizing:border-box;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:14px}.el-textarea__inner{display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;color:#606266;background-color:#FFF;border:1px solid #DCDFE6;border-radius:4px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner::-webkit-input-placeholder{color:#C0C4CC}.el-textarea__inner:-ms-input-placeholder{color:#C0C4CC}.el-textarea__inner::-ms-input-placeholder{color:#C0C4CC}.el-textarea__inner::placeholder{color:#C0C4CC}.el-textarea__inner:hover{border-color:#C0C4CC}.el-textarea__inner:focus{outline:0;border-color:#409EFF}.el-textarea .el-input__count{color:#909399;background:#FFF;position:absolute;font-size:12px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:#F5F7FA;border-color:#E4E7ED;color:#C0C4CC;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#C0C4CC}.el-textarea.is-exceed .el-textarea__inner{border-color:#F56C6C}.el-textarea.is-exceed .el-input__count{color:#F56C6C}.el-input{position:relative;font-size:14px;display:inline-block;width:100%}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#b4bccc}.el-input::-webkit-scrollbar-corner{background:#fff}.el-input::-webkit-scrollbar-track{background:#fff}.el-input::-webkit-scrollbar-track-piece{background:#fff;width:6px}.el-input .el-input__clear{color:#C0C4CC;font-size:14px;cursor:pointer;-webkit-transition:color .2s cubic-bezier(.645,.045,.355,1);transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-input .el-input__clear:hover{color:#909399}.el-input .el-input__count{height:100%;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#909399;font-size:12px}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input,.el-input__inner{font-size:inherit}.el-input .el-input__count .el-input__count-inner{background:#FFF;line-height:initial;display:inline-block;padding:0 5px}.el-input__inner{-webkit-appearance:none;background-color:#FFF;border-radius:4px;border:1px solid #DCDFE6;box-sizing:border-box;color:#606266;display:inline-block;height:40px;line-height:40px;outline:0;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__prefix,.el-input__suffix{position:absolute;top:0;-webkit-transition:all .3s;text-align:center;height:100%;color:#C0C4CC}.el-input__inner::-ms-reveal{display:none}.el-input__inner::-webkit-input-placeholder{color:#C0C4CC}.el-input__inner:-ms-input-placeholder{color:#C0C4CC}.el-input__inner::-ms-input-placeholder{color:#C0C4CC}.el-input__inner::placeholder{color:#C0C4CC}.el-input__inner:hover{border-color:#C0C4CC}.el-input.is-active .el-input__inner,.el-input__inner:focus{border-color:#409EFF;outline:0}.el-input__suffix{right:5px;transition:all .3s;pointer-events:none}.el-input__suffix-inner{pointer-events:all}.el-input__prefix{left:5px;transition:all .3s}.el-input__icon{height:100%;width:25px;text-align:center;-webkit-transition:all .3s;transition:all .3s;line-height:40px}.el-input__icon:after{content:'';height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__validateIcon{pointer-events:none}.el-input.is-disabled .el-input__inner{background-color:#F5F7FA;border-color:#E4E7ED;color:#C0C4CC;cursor:not-allowed}.el-input.is-disabled .el-input__inner::-webkit-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner::-ms-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner::placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__inner{border-color:#F56C6C}.el-input.is-exceed .el-input__suffix .el-input__count{color:#F56C6C}.el-input--suffix .el-input__inner{padding-right:30px}.el-input--prefix .el-input__inner{padding-left:30px}.el-input--medium{font-size:14px}.el-input--medium .el-input__inner{height:36px;line-height:36px}.el-input--medium .el-input__icon{line-height:36px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:32px;line-height:32px}.el-input--small .el-input__icon{line-height:32px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:28px;line-height:28px}.el-input--mini .el-input__icon{line-height:28px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#F5F7FA;color:#909399;vertical-align:middle;display:table-cell;position:relative;border:1px solid #DCDFE6;border-radius:4px;padding:0 20px;width:1px;white-space:nowrap}.el-input-group--prepend .el-input__inner,.el-input-group__append{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--append .el-input__inner,.el-input-group__prepend{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:-10px -20px}.el-input-group__append button.el-button,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__prepend{border-right:0}.el-input-group__append{border-left:0}.el-input-group--append .el-select .el-input.is-focus .el-input__inner,.el-input-group--prepend .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input__inner::-ms-clear{display:none;width:0;height:0}
.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:rgba(255,255,255,.9);margin:0;top:0;right:0;bottom:0;left:0;-webkit-transition:opacity .3s;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:50px;width:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:#409EFF;margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:42px;width:42px;-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#409EFF;stroke-linecap:round}.el-loading-spinner i{color:#409EFF}.el-loading-fade-enter,.el-loading-fade-leave-active{opacity:0}@-webkit-keyframes loading-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}100%{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}100%{stroke-dasharray:90,150;stroke-dashoffset:-120px}}
/*!
 * OwO v1.0.2
 * Source: https://github.com/DIYgod/OwO/blob/master/dist/OwO.min.css
 * Author: DIYgod
 * Modified by: iMaeGoo
 * Released under the MIT License.
 */

.OwO {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.OwO.OwO-open .OwO-body {
  display: block;
}

.OwO .OwO-logo {
  width: 1.125em;
  display: flex;
}

.OwO .OwO-body {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  max-width: 500px;
  color: #4a4a4a;
  background-color: #ffffff;
  border: 1px solid rgba(144,147,153,0.31);
  top: 2em;
  border-radius: 0 4px 4px;
  z-index: 1000;
}

.night .OwO .OwO-body,
.darkmode .OwO .OwO-body,
.DarkMode .OwO .OwO-body,
[data-theme="dark"] .OwO .OwO-body,
[data-user-color-scheme="dark"] .OwO .OwO-body {
  color: #ffffff;
  background-color: #4a4a4a;
}

.OwO .OwO-body .OwO-items {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: none;
  padding: 10px;
  padding-right: 0;
  margin: 0;
  overflow: auto;
  font-size: 0;
}

.OwO .OwO-body .OwO-items .OwO-item {
  list-style-type: none;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  font-size: 12px;
  line-height: 14px;
  cursor: pointer;
  -webkit-transition: .3s;
  transition: .3s;
  text-align: center;
}

.OwO .OwO-body .OwO-items .OwO-item:hover {
  background-color: rgba(144,147,153,0.13);
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}

.OwO .OwO-body .OwO-items-emoji .OwO-item {
  font-size: 20px;
  line-height: 19px;
}

.OwO .OwO-body .OwO-items-image .OwO-item {
  width: 14%;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  #twikoo .OwO-items > .OwO-item {
    width: 16%;
  }
}

@media screen and (max-width: 460px) {
  #twikoo .OwO-items > .OwO-item {
    width: 20%;
  }
}

@media screen and (max-width: 400px) {
  #twikoo .OwO-items > .OwO-item {
    width: 25%;
  }
}

@media screen and (max-width: 330px) {
  #twikoo .OwO-items > .OwO-item {
    width: 33%;
  }
}


.OwO .OwO-body .OwO-items-image .OwO-item img {
  max-width: 100%;
}

.OwO .OwO-body .OwO-items-show {
  display: block;
}

.OwO .OwO-body .OwO-bar {
  width: 100%;
  border-top: 1px solid rgba(144,147,153,0.31);
  border-radius: 0 0 4px 4px;
}

.OwO .OwO-body .OwO-bar .OwO-packages {
  margin: 0;
  padding: 0;
  font-size: 0;
}

.OwO .OwO-body .OwO-bar .OwO-packages li {
  list-style-type: none;
  display: inline-block;
  line-height: 30px;
  font-size: 14px;
  padding: 0 10px;
  cursor: pointer;
  margin-right: 3px;
}

.OwO .OwO-body .OwO-bar .OwO-packages li:nth-child(1) {
  border-radius: 0 0 0 3px;
}

.OwO .OwO-body .OwO-bar .OwO-packages li:hover {
  background-color: rgba(144,147,153,0.13);
}

.OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active {
  background-color: rgba(144,147,153,0.13);
  -webkit-transition: .3s;
  transition: .3s;
}

/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-animation-delay: 0s;
      --tw-animation-direction: normal;
      --tw-animation-duration: initial;
      --tw-animation-fill-mode: none;
      --tw-animation-iteration-count: 1;
      --tw-enter-blur: 0;
      --tw-enter-opacity: 1;
      --tw-enter-rotate: 0;
      --tw-enter-scale: 1;
      --tw-enter-translate-x: 0;
      --tw-enter-translate-y: 0;
      --tw-exit-blur: 0;
      --tw-exit-opacity: 1;
      --tw-exit-rotate: 0;
      --tw-exit-scale: 1;
      --tw-exit-translate-x: 0;
      --tw-exit-translate-y: 0;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: "Geist Variable", sans-serif;
    --color-rose-50: oklch(96.9% .015 12.422);
    --color-rose-100: oklch(94.1% .03 12.58);
    --color-rose-200: oklch(89.2% .058 10.001);
    --color-rose-300: oklch(81% .117 11.638);
    --color-rose-400: oklch(71.2% .194 13.428);
    --color-rose-500: oklch(64.5% .246 16.439);
    --color-rose-700: oklch(51.4% .222 16.935);
    --color-rose-800: oklch(45.5% .188 13.697);
    --color-rose-900: oklch(41% .159 10.272);
    --color-rose-950: oklch(27.1% .105 12.094);
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-white: #fff;
    --spacing: .25rem;
    --text-xs: .75rem;
    --text-sm: .875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-5xl: 3rem;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --tracking-normal: 0em;
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --radius-xs: .125rem;
    --radius-sm: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --shadow-2xs: 0 1px 1px 0 #0000000d;
    --shadow-xs: 0 1px 2px 0 #0000000d;
    --shadow-sm: 0 1px 3px 0 #00000014, 0 1px 2px -1px #0000000a;
    --shadow-md: 0 4px 6px -1px #00000014, 0 2px 4px -2px #0000000a;
    --shadow-lg: 0 10px 15px -3px #00000014, 0 4px 6px -4px #0000000a;
    --shadow-xl: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000000a;
    --shadow-2xl: 0 25px 50px -12px #0003;
    --ease-in: cubic-bezier(.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: "Geist Variable", sans-serif;
    --default-mono-font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-primary-50: #fff1f2;
    --color-primary-100: #ffe4e6;
    --color-primary-200: #fecdd3;
    --color-primary-300: #fda4af;
    --color-primary-400: #fb7185;
    --color-primary-500: #f43f5e;
    --color-primary-600: #e11d48;
    --color-primary-700: #be123c;
    --color-primary-800: #9f1239;
    --color-primary-900: #881337;
    --spacing-1: calc(var(--spacing) * 1);
    --spacing-1\.5: .375rem;
    --spacing-2: calc(var(--spacing) * 2);
    --spacing-2\.5: .625rem;
    --spacing-3: calc(var(--spacing) * 3);
    --spacing-4: calc(var(--spacing) * 4);
    --spacing-5: calc(var(--spacing) * 5);
    --spacing-6: calc(var(--spacing) * 6);
    --spacing-7: 1.75rem;
    --spacing-8: calc(var(--spacing) * 8);
    --spacing-10: calc(var(--spacing) * 10);
    --spacing-16: calc(var(--spacing) * 16);
    --spacing-20: calc(var(--spacing) * 20);
    --spacing-24: calc(var(--spacing) * 24);
    --shadow-soft-sm: 0 2px 8px -2px #0000000f;
    --shadow-soft-md: 0 4px 12px -2px #00000014;
    --shadow-soft-lg: 0 8px 24px -4px #0000001a;
    --shadow-soft-xl: 0 16px 40px -8px #0000001f;
    --shadow-dark-sm: 0 2px 8px -2px #0000004d;
    --shadow-dark-md: 0 4px 12px -2px #0006;
    --shadow-dark-lg: 0 8px 24px -4px #00000080;
    --shadow-dark-xl: 0 16px 40px -8px #0009;
    --shadow-primary-sm: 0 2px 8px -2px #667eea40;
    --shadow-primary-md: 0 4px 12px -2px #667eea59;
    --shadow-accent-sm: 0 2px 8px -2px #36f3;
    --shadow-accent-md: 0 4px 12px -2px #3366ff4d;
    --shadow-accent-lg: 0 8px 25px -4px #36f6;
    --shadow-ring: 0 0 0 2px #3366ff26;
    --shadow-ring-color: 0 0 0 3px #f43f5e26;
  }

  @supports (color: color-mix(in lab, red, red)) {
    :root, :host {
      --shadow-ring-color: 0 0 0 3px color-mix(in srgb, var(--color-primary-500) 15%, transparent);
    }
  }

  :root, :host {
    --shadow-ring-focus: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--color-primary-500);
    --shadow-sidebar: 4px 0 20px #00000026;
    --z-header: 50;
    --z-sticky: 100;
    --z-tooltip: 1000;
    --z-toast: 9999;
    --ease-default: cubic-bezier(.4, 0, .2, 1);
    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
    --ease-smooth: cubic-bezier(.25, .1, .25, 1);
    --duration-instant: 0s;
    --duration-fast: .1s;
    --duration-normal: .15s;
    --duration-slow: .2s;
    --duration-slower: .3s;
    --duration-slowest: .5s;
    --leading-none: 1;
    --radius-full: 9999px;
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

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

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: Geist Variable, sans-serif;
  }

  :root {
    color-scheme: light;
    --color-primary-50: #fff1f2;
    --color-primary-100: #ffe4e6;
    --color-primary-200: #fecdd3;
    --color-primary-300: #fda4af;
    --color-primary-400: #fb7185;
    --color-primary-500: #f43f5e;
    --color-primary-600: #e11d48;
    --color-primary-700: #be123c;
    --color-primary-800: #9f1239;
    --color-primary-900: #881337;
    --spacing: .25rem;
    --spacing-0: 0;
    --spacing-0\.5: .125rem;
    --spacing-1: .25rem;
    --spacing-1\.5: .375rem;
    --spacing-2: .5rem;
    --spacing-2\.5: .625rem;
    --spacing-3: .75rem;
    --spacing-3\.5: .875rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-7: 1.75rem;
    --spacing-8: 2rem;
    --spacing-9: 2.25rem;
    --spacing-10: 2.5rem;
    --spacing-11: 2.75rem;
    --spacing-12: 3rem;
    --spacing-14: 3.5rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    --spacing-28: 7rem;
    --spacing-32: 8rem;
    --spacing-40: 10rem;
    --spacing-48: 12rem;
    --spacing-56: 14rem;
    --spacing-64: 16rem;
    --radius-xs: .125rem;
    --radius-sm: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-4xl: 2rem;
    --blur-xs: 4px;
    --blur-sm: 8px;
    --blur-md: 12px;
    --blur-lg: 16px;
    --blur-xl: 24px;
    --blur-2xl: 40px;
    --blur-3xl: 64px;
    --text-xs: .75rem;
    --text-sm: .875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    --tracking-tighter: -.05em;
    --tracking-tight: -.025em;
    --tracking-normal: 0em;
    --tracking-wide: .025em;
    --tracking-wider: .05em;
    --tracking-widest: .1em;
    --bg-page: #f9fafb;
    --bg-page-dark: #111827;
    --bg-card: #fff;
    --bg-card-dark: #1f2937;
    --bg-secondary: #f3f4f6;
    --bg-secondary-dark: #374151;
    --bg-tertiary: #fff;
    --bg-tertiary-dark: #111827;
    --text-primary: #111827;
    --text-primary-dark: #f9fafb;
    --text-secondary: #4b5563;
    --text-secondary-dark: #d1d5db;
    --text-tertiary: #9ca3af;
    --text-tertiary-dark: #6b7280;
    --border-color: #e5e7eb;
    --border-color-dark: #374151;
    --accent-color: var(--color-primary-500);
    --accent-color-dark: var(--color-primary-400);
    --accent-bg: var(--color-primary-100);
    --accent-bg-dark: var(--color-primary-900);
    --link-color: var(--color-primary-600);
    --link-color-dark: var(--color-primary-400);
    --nav-active-bg: var(--color-primary-600);
    --nav-active-bg-dark: var(--color-primary-500);
    --nav-active-text: #fff;
    --nav-active-text-dark: #fff;
    --hover-bg: #f3f4f6;
    --hover-bg-dark: #374151;
    --text-on-accent: #fff;
    --moment-accent: #a78bfa;
    --moment-accent-bg: #a78bfa1a;
    --moment-accent-bg-hover: #a78bfa33;
    --moment-accent-dark: #c4b5fd;
    --moment-accent-bg-dark: #c4b5fd26;
    --moment-accent-bg-hover-dark: #c4b5fd40;
    --shadow-2xs: var(--shadow-2xs);
    --shadow-xs: var(--shadow-xs);
    --shadow-sm: var(--shadow-sm);
    --shadow-md: var(--shadow-md);
    --shadow-lg: var(--shadow-lg);
    --shadow-xl: var(--shadow-xl);
    --shadow-2xl: var(--shadow-2xl);
    --shadow-soft-sm: var(--shadow-soft-sm);
    --shadow-soft-md: var(--shadow-soft-md);
    --shadow-soft-lg: var(--shadow-soft-lg);
    --shadow-soft-xl: var(--shadow-soft-xl);
    --shadow-dark-sm: var(--shadow-dark-sm);
    --shadow-dark-md: var(--shadow-dark-md);
    --shadow-dark-lg: var(--shadow-dark-lg);
    --shadow-dark-xl: var(--shadow-dark-xl);
    --shadow-primary-sm: var(--shadow-primary-sm);
    --shadow-primary-md: var(--shadow-primary-md);
    --shadow-accent-sm: var(--shadow-accent-sm);
    --shadow-accent-md: var(--shadow-accent-md);
    --shadow-accent-lg: var(--shadow-accent-lg);
    --shadow-ring: var(--shadow-ring);
    --shadow-ring-color: var(--shadow-ring-color);
    --shadow-ring-focus: var(--shadow-ring-focus);
    --shadow-sidebar: var(--shadow-sidebar);
    --shadow-dark: var(--shadow-dark-md);
  }

  :root .post-content ul, :root .post-content ol, :root .page-content ul, :root .page-content ol, :root .moment-content ul, :root .moment-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
  }

  :root .post-content ul, :root .page-content ul, :root .moment-content ul {
    list-style-type: disc;
  }

  :root .post-content ul ul, :root .post-content ol ul, :root .page-content ul ul, :root .page-content ol ul, :root .moment-content ul ul, :root .moment-content ol ul {
    list-style-type: circle;
  }

  :root .post-content ol, :root .page-content ol, :root .moment-content ol {
    list-style-type: decimal;
  }

  :root .post-content li, :root .page-content li, :root .moment-content li {
    margin: .5em 0;
    line-height: 1.8;
  }

  :root .post-content p, :root .page-content p, :root .moment-content p {
    margin: 1em 0;
    line-height: 1.8;
  }

  :root .post-content pre:not(.shiki), :root .page-content pre:not(.shiki), :root .moment-content pre:not(.shiki) {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin: 1em 0;
    padding: 1em;
    overflow-x: auto;
  }

  :root .post-content code, :root .page-content code, :root .moment-content code {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: .2em .4em;
    font-family: Monaco, Menlo, monospace;
    font-size: .9em;
  }

  :root .post-content pre code, :root .page-content pre code, :root .moment-content pre code {
    background: none;
    padding: 0;
  }

  :root .post-content blockquote, :root .page-content blockquote, :root .moment-content blockquote {
    border-left: 4px solid var(--color-primary-500);
    color: var(--text-secondary);
    margin: 1em 0;
    padding-left: 1em;
  }

  :root .post-content table, :root .page-content table, :root .moment-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
  }

  :root .post-content th, :root .post-content td, :root .page-content th, :root .page-content td, :root .moment-content th, :root .moment-content td {
    border: 1px solid var(--border-color);
    text-align: left;
    padding: .5em 1em;
  }

  :root .post-content th, :root .page-content th, :root .moment-content th {
    background: var(--bg-secondary);
  }

  :root .post-content a, :root .page-content a, :root .moment-content a {
    color: var(--color-primary-600);
    text-decoration: underline;
  }

  :root .post-content a:hover, :root .page-content a:hover, :root .moment-content a:hover {
    color: var(--color-primary-500);
  }

  :root .post-content h1, :root .post-content h2, :root .post-content h3, :root .post-content h4, :root .post-content h5, :root .post-content h6, :root .page-content h1, :root .page-content h2, :root .page-content h3, :root .page-content h4, :root .page-content h5, :root .page-content h6, :root .moment-content h1, :root .moment-content h2, :root .moment-content h3, :root .moment-content h4, :root .moment-content h5, :root .moment-content h6 {
    color: var(--text-primary);
    margin: 1.5em 0 .5em;
    font-weight: 600;
  }

  :root {
    --ease-default: var(--ease-default);
    --ease-in: var(--ease-in);
    --ease-out: var(--ease-out);
    --ease-in-out: var(--ease-in-out);
    --ease-bounce: var(--ease-bounce);
    --ease-smooth: var(--ease-smooth);
    --duration-instant: var(--duration-instant);
    --duration-fast: var(--duration-fast);
    --duration-normal: var(--duration-normal);
    --duration-slow: var(--duration-slow);
    --duration-slower: var(--duration-slower);
    --duration-slowest: var(--duration-slowest);
    --halo-cw-primary-1-color: var(--color-primary-500);
    --halo-cw-primary-2-color: var(--color-primary-100);
    --halo-cw-primary-3-color: var(--color-primary-50);
    --halo-cw-text-1-color: var(--text-primary);
    --halo-cw-text-2-color: var(--text-secondary);
    --halo-cw-text-3-color: var(--text-tertiary);
    --halo-cw-muted-1-color: var(--border-color);
    --halo-cw-muted-2-color: var(--bg-secondary);
    --halo-cw-muted-3-color: var(--bg-page);
    --halo-cw-base-rounded: .5rem;
    --halo-cw-avatar-rounded: 50%;
    --halo-cw-avatar-size: 2.5rem;
    --halo-cw-base-font-size: var(--text-sm);
    --halo-cw-base-font-family: inherit;
    --halo-cw-emoji-picker-rgb-color: 31, 41, 55;
    --halo-cw-emoji-picker-rgb-accent: 244, 63, 94;
    --halo-cw-emoji-picker-rgb-background: 255, 255, 255;
    --halo-cw-emoji-picker-rgb-input: 249, 250, 251;
    --halo-cw-emoji-picker-color-border: var(--border-color);
    --halo-cw-emoji-picker-color-border-over: var(--color-primary-400);
  }

  :root.dark {
    color-scheme: dark;
    --halo-cw-primary-1-color: var(--color-primary-400);
    --halo-cw-primary-2-color: var(--color-primary-900);
    --halo-cw-primary-3-color: var(--color-primary-800);
    --halo-cw-text-1-color: var(--text-primary-dark);
    --halo-cw-text-2-color: var(--text-secondary-dark);
    --halo-cw-text-3-color: var(--text-tertiary-dark);
    --halo-cw-muted-1-color: var(--border-color-dark);
    --halo-cw-muted-2-color: var(--bg-secondary-dark);
    --halo-cw-muted-3-color: var(--bg-page-dark);
    --halo-cw-emoji-picker-rgb-color: 243, 244, 246;
    --halo-cw-emoji-picker-rgb-accent: 251, 113, 133;
    --halo-cw-emoji-picker-rgb-background: 17, 24, 39;
    --halo-cw-emoji-picker-rgb-input: 31, 41, 55;
    --halo-cw-emoji-picker-color-border: var(--border-color-dark);
    --halo-cw-emoji-picker-color-border-over: var(--color-primary-500);
  }

  [data-theme="dark"] {
    color-scheme: dark;
    --halo-cw-primary-1-color: var(--color-primary-400);
    --halo-cw-primary-2-color: var(--color-primary-900);
    --halo-cw-primary-3-color: var(--color-primary-800);
    --halo-cw-text-1-color: var(--text-primary-dark);
    --halo-cw-text-2-color: var(--text-secondary-dark);
    --halo-cw-text-3-color: var(--text-tertiary-dark);
    --halo-cw-muted-1-color: var(--border-color-dark);
    --halo-cw-muted-2-color: var(--bg-secondary-dark);
    --halo-cw-muted-3-color: var(--bg-page-dark);
    --halo-cw-emoji-picker-rgb-color: 243, 244, 246;
    --halo-cw-emoji-picker-rgb-accent: 251, 113, 133;
    --halo-cw-emoji-picker-rgb-background: 17, 24, 39;
    --halo-cw-emoji-picker-rgb-input: 31, 41, 55;
    --halo-cw-emoji-picker-color-border: var(--border-color-dark);
    --halo-cw-emoji-picker-color-border-over: var(--color-primary-500);
    --shadow-sm: var(--shadow-dark-sm);
    --shadow-md: var(--shadow-dark-md);
    --shadow-lg: var(--shadow-dark-lg);
    --shadow-xl: var(--shadow-dark-xl);
    --shadow-2xl: var(--shadow-dark-2xl, 0 25px 50px -12px #00000080);
    --shadow-soft-sm: var(--shadow-dark-sm);
    --shadow-soft-md: var(--shadow-dark-md);
    --shadow-soft-lg: var(--shadow-dark-lg);
    --shadow-soft-xl: var(--shadow-dark-xl);
    --shadow-ring: 0 0 0 2px #3366ff40;
    --shadow-ring-color: 0 0 0 3px #fb718533;
  }

  @supports (color: color-mix(in lab, red, red)) {
    [data-theme="dark"] {
      --shadow-ring-color: 0 0 0 3px color-mix(in srgb, var(--color-primary-400) 20%, transparent);
    }
  }

  [data-theme="dark"] {
    --duration-normal: .2s;
    --duration-slow: .25s;
    --duration-slower: .4s;
  }

  html, body {
    transition: background-color var(--duration-slower), color var(--duration-slower) var(--ease-default);
  }

  * {
    border-color: var(--border);
    outline-color: var(--ring);
  }

  @supports (color: color-mix(in lab, red, red)) {
    * {
      outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
    }
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  nav ol, nav ul, nav menu, .nav-list ol, .nav-list ul, .nav-list menu, .global-list ol, .global-list ul, .global-list menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  button, input, optgroup, select, textarea {
    font: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  body {
    background-color: var(--background);
    color: var(--foreground);
  }
}

@layer components {
  .card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-6);
  }

  html.dark .card, [data-theme="dark"] .card {
    background-color: var(--bg-card-dark);
    border-color: var(--border-color-dark);
    box-shadow: var(--shadow-dark);
  }

  .btn {
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 2);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: .2s;
    border-radius: .5rem;
    transition-duration: .2s;
  }

  .btn:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-outline-style: none;
    outline-style: none;
  }

  .btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 2);
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: .2s;
    border-radius: .5rem;
    transition-duration: .2s;
  }

  .btn-primary:hover, html.dark .btn-primary, [data-theme="dark"] .btn-primary {
    background-color: var(--accent-color-dark);
  }

  .nav-link {
    color: var(--text-secondary);
    transition: color var(--duration-slow) var(--ease-default);
  }

  .nav-link:hover {
    color: var(--accent-color);
  }

  html.dark .nav-link, [data-theme="dark"] .nav-link {
    color: var(--text-secondary-dark);
  }

  html.dark .nav-link:hover, [data-theme="dark"] .nav-link:hover {
    color: var(--accent-color-dark);
  }
}

@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .inset-0 {
    inset: 0;
  }

  .start {
    inset-inline-start: .25rem;
  }

  .end {
    inset-inline-end: .25rem;
  }

  .-z-10 {
    z-index: calc(10 * -1);
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }

  .min-h-screen {
    min-height: 100vh;
  }

  .flex-grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .flex-col {
    flex-direction: column;
  }

  .items-center {
    align-items: center;
  }

  .justify-between {
    justify-content: space-between;
  }

  .scroll-smooth {
    scroll-behavior: smooth;
  }

  .rounded-xl {
    border-radius: .75rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-gray-200 {
    border-color: var(--color-gray-200);
  }

  .border-gray-300 {
    border-color: var(--color-gray-300);
  }

  .bg-rose-50 {
    background-color: var(--color-rose-50);
  }

  .bg-rose-100 {
    background-color: var(--color-rose-100);
  }

  .bg-transparent {
    background-color: #0000;
  }

  .bg-white {
    background-color: var(--color-white);
  }

  .text-5xl {
    font-size: 3rem;
    line-height: var(--tw-leading, var(--leading-none));
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .text-gray-500 {
    color: var(--color-gray-500);
  }

  .text-gray-600 {
    color: var(--color-gray-600);
  }

  .text-gray-700 {
    color: var(--color-gray-700);
  }

  .text-gray-800 {
    color: var(--color-gray-800);
  }

  .text-gray-900 {
    color: var(--color-gray-900);
  }

  .text-rose-500 {
    color: var(--color-rose-500);
  }

  .text-rose-700 {
    color: var(--color-rose-700);
  }

  .capitalize {
    text-transform: capitalize;
  }

  .italic {
    font-style: italic;
  }

  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #00000014), 0 2px 4px -2px var(--tw-shadow-color, #0000000a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .duration-300 {
    --tw-duration: .3s;
    transition-duration: .3s;
  }

  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }

  .running {
    animation-play-state: running;
  }

  @media (hover: hover) {
    .hover\:bg-rose-200:hover {
      background-color: var(--color-rose-200);
    }

    .hover\:text-rose-500:hover {
      color: var(--color-rose-500);
    }

    .hover\:underline:hover {
      text-decoration-line: underline;
    }
  }

  @media (min-width: 40rem) {
    .sm\:hidden {
      display: none;
    }
  }

  @media (min-width: 48rem) {
    .md\:flex {
      display: flex;
    }
  }

  .dark\:border-gray-600:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    border-color: var(--color-gray-600);
  }

  .dark\:border-gray-700:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    border-color: var(--color-gray-700);
  }

  .dark\:bg-gray-700:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    background-color: var(--color-gray-700);
  }

  .dark\:bg-gray-800:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    background-color: var(--color-gray-800);
  }

  .dark\:bg-rose-900:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    background-color: var(--color-rose-900);
  }

  .dark\:bg-rose-950:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    background-color: var(--color-rose-950);
  }

  .dark\:text-gray-200:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-gray-200);
  }

  .dark\:text-gray-300:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-gray-300);
  }

  .dark\:text-gray-400:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-gray-400);
  }

  .dark\:text-rose-100:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-rose-100);
  }

  .dark\:text-rose-300:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-rose-300);
  }

  .dark\:text-rose-400:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-rose-400);
  }

  .dark\:text-white:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
    color: var(--color-white);
  }

  @media (hover: hover) {
    .dark\:hover\:bg-rose-800:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *):hover {
      background-color: var(--color-rose-800);
    }

    .dark\:hover\:text-rose-300:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *):hover {
      color: var(--color-rose-300);
    }

    .dark\:hover\:text-rose-400:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *):hover {
      color: var(--color-rose-400);
    }
  }

  .scrollbar-thin {
    scrollbar-width: thin;
  }
}

.tk-avatar {
  text-align: center;
  border-radius: 5px;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 1rem;
  overflow: hidden;
}

.tk-comment .tk-submit .tk-avatar, .tk-replies .tk-avatar {
  width: 1.6rem;
  height: 1.6rem;
}

.tk-avatar.tk-has-avatar {
  background-color: #90939921;
}

.tk-avatar.tk-clickable {
  cursor: pointer;
}

.tk-avatar .tk-avatar-img {
  color: #c0c4cc;
  height: 2.5rem;
}

.tk-comment .tk-submit .tk-avatar .tk-avatar-img, .tk-replies .tk-avatar .tk-avatar-img {
  height: 1.6rem;
}

.tk-meta-input {
  display: flex;
}

.tk-meta-input .el-input {
  flex: 1;
  width: calc(33.3333% - .333333rem);
}

.tk-meta-input .el-input + .el-input {
  margin-left: .5rem;
}

.tk-meta-input .el-input .el-input-group__prepend {
  padding: 0 1rem;
}

.tk-meta-input .el-input input:invalid {
  box-shadow: none;
  border: 1px solid #f56c6c;
}

@media screen and (max-width: 767px) {
  .tk-meta-input {
    flex-direction: column;
  }

  .tk-meta-input .el-input {
    width: auto;
  }

  .tk-meta-input .el-input + .el-input {
    margin-top: .5rem;
    margin-left: 0;
  }
}

.tk-send {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 14px;
  transition: all .2s;
}

.tk-meta-input {
  flex-wrap: wrap;
  flex: 1;
  gap: .5rem;
  padding-right: 100px;
  display: flex;
  position: relative;
}

.tk-meta-input .el-input {
  flex: calc(33.333% - .35rem);
  min-width: 120px;
}

.tk-meta-input .el-input-group__prepend {
  padding: 0 .75rem;
  font-size: .8125rem;
}

.tk-send {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: .5rem;
  padding: .5rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
  position: absolute;
  top: 0;
  right: 0;
}

.tk-send:hover {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  box-shadow: 0 4px 12px #00000026;
}

.tk-send:active {
  transform: scale(.97);
}

.tk-input {
  width: 100%;
  margin-top: .75rem;
}

.tk-row.actions {
  justify-content: flex-end;
  margin-top: .75rem;
  margin-left: 0;
}

@media screen and (max-width: 767px) {
  .tk-col {
    flex-direction: column;
  }

  .tk-meta-input {
    padding-right: 0;
  }

  .tk-meta-input .el-input {
    flex: 100%;
  }

  .tk-send {
    width: 100%;
    margin-top: .5rem;
    position: relative;
    top: auto;
    right: auto;
  }
}

.tk-submit {
  flex-direction: column;
  display: flex;
}

.tk-row {
  flex-direction: row;
  display: flex;
}

.tk-col {
  flex-direction: column;
  flex: 1;
  display: flex;
}

.tk-meta-input {
  margin-bottom: .5rem;
}

.tk-row.actions {
  justify-content: flex-end;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 3.5rem;
  position: relative;
}

.tk-row-actions-start {
  flex: 1;
  align-items: center;
  display: flex;
}

.tk-submit-action-icon {
  cursor: pointer;
  flex-shrink: 0;
  align-self: center;
  width: 1.25em;
  margin-right: 10px;
  line-height: 0;
  display: inline-block;
}

.tk-submit-action-icon svg:hover {
  opacity: .8;
}

.tk-submit-action-icon.__markdown {
  color: #909399;
}

.tk-error-message {
  word-break: break-all;
  color: red;
  flex-shrink: 1;
  font-size: .75em;
}

.tk-input-image {
  display: none;
}

.tk-input {
  flex: 1;
}

.tk-input .el-textarea__inner {
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.tk-turnstile-container {
  z-index: 1;
  position: absolute;
  bottom: -75px;
  right: 0;
}

.tk-turnstile {
  flex-direction: column;
  display: flex;
}

.tk-geetest-container {
  z-index: 1;
  position: absolute;
  bottom: -75px;
  right: 0;
}

.tk-preview-container {
  word-break: break-word;
  border: 1px solid #8080804f;
  border-radius: 4px;
  margin-bottom: 1rem;
  margin-left: 3rem;
  padding: 5px 15px;
}

.tk-fade-in {
  animation: .3s tkFadeIn;
}

@keyframes tkFadeIn {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tk-action {
  align-items: center;
  display: flex;
}

.tk-action-link {
  color: #409eff;
  align-items: center;
  margin-left: .5rem;
  text-decoration: none;
  display: flex;
}

.tk-action-link .tk-action-icon-solid, .tk-action-link.tk-liked .tk-action-icon, .tk-action-link:hover .tk-action-icon {
  display: none;
}

.tk-action-link.tk-liked .tk-action-icon-solid, .tk-action-link:hover .tk-action-icon-solid {
  display: block;
}

.tk-action-link.tk-disliked .tk-action-icon, .tk-action-link.tk-disliked:hover .tk-action-icon {
  display: none;
}

.tk-action-link.tk-disliked .tk-action-icon-solid, .tk-action-link.tk-disliked:hover .tk-action-icon-solid {
  display: block;
}

.tk-action-count {
  height: 1.5rem;
  margin-left: .25rem;
  font-size: .75rem;
  line-height: 1.5rem;
}

.tk-action-icon {
  color: #409eff;
  width: 1em;
  height: 1em;
  line-height: 0;
  display: inline-block;
}

.tk-main {
  flex: 1;
  width: 0;
}

.tk-row {
  flex-direction: row;
  flex: 1;
  justify-content: space-between;
  display: flex;
}

.tk-nick-link {
  color: inherit;
  text-decoration: none;
}

.tk-replies .tk-nick-link {
  font-size: .9em;
}

.tk-nick-link:hover {
  color: #409eff;
}

.tk-actions {
  margin-left: 1em;
  display: none;
}

.tk-comment:hover .tk-actions {
  display: inline;
}

.tk-extras {
  color: #999;
  flex-wrap: wrap;
  font-size: .875em;
  display: flex;
}

.tk-extra {
  align-items: center;
  margin-top: .5rem;
  margin-right: .75rem;
  display: flex;
}

.tk-icon.__comment {
  width: 1em;
  height: 1em;
  line-height: 1;
}

.tk-extra-text {
  line-height: 1;
}

.tk-tag {
  background-color: #f2f6fc;
  padding: 0 .5em;
  font-size: .75em;
  display: inline-block;
}

.tk-tag-green {
  color: #67c23a;
  background-color: #67c23a21;
  border: 1px solid #67c23a80;
  border-radius: 2px;
}

.tk-tag-yellow {
  color: #e6a23c;
  background-color: #e6a23c21;
  border: 1px solid #e6a23c80;
  border-radius: 2px;
}

.tk-tag-blue {
  color: #409eff;
  background-color: #409eff21;
  border: 1px solid #409eff80;
  border-radius: 2px;
}

.tk-tag-red {
  color: #f56c6c;
  background-color: #f56c6c21;
  border: 1px solid #f56c6c80;
  border-radius: 2px;
}

.tk-comment {
  word-break: break-all;
  flex-direction: row;
  margin-top: 1rem;
  display: flex;
}

.tk-content {
  max-height: 500px;
  margin-top: .5rem;
  position: relative;
  overflow: hidden;
}

.tk-content-expand {
  max-height: none;
}

.tk-replies .tk-content {
  font-size: .9em;
}

.tk-comment .vemoji {
  vertical-align: middle;
  max-height: 2em;
}

.tk-replies {
  max-height: 200px;
  position: relative;
  overflow: hidden;
}

.tk-replies-expand {
  max-height: none;
  overflow: unset;
}

.tk-submit {
  margin-top: 1rem;
}

.tk-expand {
  font-size: .75em;
}

.tk-lightbox {
  z-index: 999;
  background-color: #0000004d;
  display: block;
  position: fixed;
  inset: 0;
}

.tk-lightbox-image {
  background: linear-gradient(90deg, #eee 50%, #e3e3e3 0) 0 0 / 40px 100%;
  width: auto;
  min-width: 100px;
  max-width: 95%;
  height: auto;
  min-height: 30px;
  max-height: 95%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tk-comments-title {
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
  display: flex;
}

.tk-comments-count.__hidden {
  visibility: hidden;
}

.tk-comments-container {
  flex-direction: column;
  min-height: 10rem;
  display: flex;
}

.tk-comments-no {
  text-align: center;
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.tk-comments-error {
  color: red;
  font-size: .75em;
}

.tk-comments-sort {
  align-items: center;
  margin-right: .5em;
  display: inline-flex;
}

.tk-sort-select {
  cursor: pointer;
  color: #409eff;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: .25rem;
  padding: .25rem .5rem;
  font-size: .75rem;
}

.tk-sort-select:focus {
  border-color: #409eff;
  outline: none;
}

.tk-icon.__comments {
  vertical-align: sub;
  cursor: pointer;
  color: #409eff;
  justify-content: center;
  align-items: center;
  width: .75em;
  height: .75em;
  margin-left: .5em;
  line-height: 0;
  display: inline-flex;
}

.twikoo div.code-toolbar {
  border-radius: .3em;
  position: relative;
}

.twikoo div.code-toolbar > .toolbar {
  font-size: .8125rem;
  font-weight: 500;
  display: flex;
  position: absolute;
  top: 4px;
  right: 4px;
}

.twikoo div.code-toolbar > .toolbar > .toolbar-item {
  margin-left: .3em;
}

.twikoo div.code-toolbar > .toolbar > .toolbar-item > a, .twikoo div.code-toolbar > .toolbar > .toolbar-item > button, .twikoo div.code-toolbar > .toolbar > .toolbar-item > span {
  border-radius: .3em;
  padding: 2px 4px;
}

.twikoo div.code-toolbar > .toolbar > .toolbar-item > button {
  border: 1px solid #8080804f;
}

.twikoo div.code-toolbar > .toolbar > .toolbar-item > button:hover {
  cursor: pointer;
}

.tk-footer {
  text-align: end;
  color: #999;
  width: 100%;
  margin-top: 1em;
  font-size: .75em;
}

.tk-pagination, .tk-pagination-pagers {
  display: flex;
}

.tk-pagination {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.tk-pagination-options {
  align-items: center;
  display: flex;
}

.tk-pagination-pager {
  cursor: pointer;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  display: flex;
}

.tk-pagination-pager.__current {
  pointer-events: none;
  background-color: #409eff;
}

.tk-pagination .el-input {
  width: 50px;
}

.tk-pagination .el-input .el-input__inner {
  text-align: center;
  appearance: textfield;
  height: 28px;
  padding: 0;
}

.tk-pagination .el-input .el-input__inner::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.tk-pagination .el-input .el-input__inner::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.tk-admin-comment {
  flex-direction: column;
  align-items: center;
  display: flex;
}

.tk-admin-comment a {
  color: currentColor;
  text-decoration: underline;
}

.tk-admin-warn {
  margin-bottom: 1em;
}

.tk-admin-security-alert {
  margin-bottom: 0;
  padding-right: 2.5rem;
  position: relative;
}

.tk-admin-security-alert .tk-admin-close {
  float: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  padding: .5rem;
  position: absolute;
  top: 0;
  right: 0;
}

.tk-admin-security-alert-message {
  margin-bottom: .5em;
}

.tk-admin-security-alert-url {
  word-break: break-all;
  background: #0003;
  border-radius: 4px;
  margin-bottom: .5em;
  padding: .5em;
}

.tk-admin-comment-filter {
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  display: flex;
}

.tk-admin-comment-filter-keyword {
  flex: 1;
}

.tk-admin-comment-filter-type {
  color: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: 1px solid #9093994f;
  border-radius: 4px;
  height: 32px;
  margin: 0 .5em;
  padding: 0 .5em;
  position: relative;
}

.tk-admin-comment-filter-type:focus {
  border-color: #409eff;
}

.tk-admin-comment-filter-type option {
  color: initial;
}

.tk-admin-comment-list {
  margin-top: 1em;
}

.tk-admin-comment-list, .tk-admin-comment-item {
  flex-direction: column;
  justify-content: stretch;
  width: 100%;
  display: flex;
}

.tk-admin-comment-meta {
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: .5em;
  display: flex;
}

.tk-admin-comment .tk-avatar {
  margin-right: .5em;
}

.tk-admin-comment .tk-content {
  max-height: none;
}

.tk-admin-actions {
  border-bottom: 1px solid #ffffff80;
  margin-bottom: 1em;
  display: flex;
}

.tk-admin-config-groups {
  padding-right: .5em;
  overflow-y: auto;
}

.tk-admin-config-groups .tk-admin-config-group, .tk-admin-config-groups .tk-admin-config-group-title {
  background: none;
}

.tk-admin-config-group-title {
  margin-top: 1em;
  font-size: 1.25rem;
  font-weight: bold;
}

.tk-admin-config-item {
  grid-template-columns: 30% 70%;
  align-items: center;
  margin-top: 1em;
  display: grid;
}

.tk-admin-config-title {
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 1em;
  overflow: hidden;
}

.tk-admin-config-desc {
  overflow-wrap: break-word;
  margin-top: .5em;
  font-size: .75em;
}

.tk-admin-config-actions {
  justify-content: center;
  align-items: center;
  margin-top: 1em;
  display: flex;
}

.tk-admin-config-message {
  text-align: center;
  margin-top: .5em;
}

.tk-admin-config-email-test-desc {
  margin: 1em 0;
}

.tk-admin-import {
  flex-direction: column;
  display: flex;
}

.tk-admin-import-label {
  margin-top: 1em;
  font-size: 1.25rem;
  font-weight: bold;
}

.tk-admin-import select, .tk-admin-import input, .tk-admin-import .el-button, .tk-admin-import .el-textarea {
  margin-top: 1em;
}

.tk-admin-container {
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.tk-admin {
  pointer-events: all;
  color: #fff;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  visibility: hidden;
  background-color: #0009;
  width: 100%;
  height: 100%;
  transition: all .5s;
  position: absolute;
  top: 0;
  left: 100%;
  overflow-y: auto;
}

.tk-admin::-webkit-scrollbar {
  background-color: #0000;
  width: 5px;
}

.tk-admin::-webkit-scrollbar-track {
  background-color: #0000;
}

.tk-admin::-webkit-scrollbar-thumb {
  background-color: #ffffff4f;
}

.tk-admin.__show {
  visibility: visible;
  left: 0;
}

.tk-admin-close {
  float: right;
  box-sizing: content-box;
  color: #fff;
  width: 1rem;
  height: 1rem;
  padding: 1rem;
  display: block;
  position: sticky;
  top: 0;
  right: 0;
}

.tk-login, .tk-regist {
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  display: flex;
}

.tk-login-title {
  color: #fff;
  text-align: center;
  margin-top: 10rem;
  font-size: 1.25rem;
}

.tk-password, .tk-login-msg {
  color: #fff;
  text-align: center;
  width: 80%;
  margin-top: 1rem;
}

.tk-password .el-input__inner {
  min-width: 100px;
}

.tk-login-msg a {
  color: #fff;
  margin-left: 1em;
  text-decoration: underline;
}

.tk-regist-button {
  margin-top: 1rem;
}

.tk-panel {
  color: #fff;
  padding: 2rem;
}

.tk-panel-title {
  justify-content: space-between;
  align-items: flex-end;
  font-size: 1.5rem;
  display: flex;
}

.tk-panel-logout {
  color: #fff;
  font-size: 1rem;
  text-decoration: underline;
}

.tk-panel .tk-tabs {
  border-bottom: 2px solid #c0c4cc;
  margin-bottom: 1em;
  display: flex;
}

.tk-panel .tk-tab {
  color: #c0c4cc;
  cursor: pointer;
  margin-bottom: -2px;
  margin-right: 2em;
  line-height: 2em;
}

.tk-panel .tk-tab.__active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

.twikoo {
  position: relative;
}

.twikoo svg {
  fill: currentColor;
  width: 100%;
  height: 100%;
}

.tk-expand {
  cursor: pointer;
  text-align: center;
  width: 100%;
  padding: .75em;
  transition: all .5s;
}

.tk-expand:hover {
  background-color: #00000021;
}

.tk-expand:active {
  background-color: #00000030;
}

.tk-content img {
  vertical-align: middle;
  max-width: 300px;
  max-height: 300px;
}

.tk-owo-emotion, .twikoo .OwO-item img {
  width: 3em;
  height: auto;
}

.twikoo .el-input__inner, .twikoo .el-textarea__inner {
  color: currentColor;
  background-color: #0000;
  border-color: #9093994f;
}

.twikoo .el-input__inner:hover, .twikoo .el-textarea__inner:hover {
  border-color: #90939980;
}

.twikoo .el-input__inner:focus, .twikoo .el-textarea__inner:focus {
  border-color: #409eff;
}

.twikoo .el-input-group__append, .twikoo .el-input-group__prepend {
  color: currentColor;
  background-color: #90939921;
  background-clip: padding-box;
  border-color: #9093994f;
}

.twikoo .el-button:not(.el-button--primary):not(.el-button--text) {
  color: currentColor;
  background-color: #90939910;
  border-color: #9093994f;
}

.twikoo .el-button:not(.el-button--primary):not(.el-button--text):active, .twikoo .el-button:not(.el-button--primary):not(.el-button--text):focus, .twikoo .el-button:not(.el-button--primary):not(.el-button--text):hover {
  color: #409eff;
  background-color: #409eff10;
  border-color: #409eff80;
}

.twikoo .el-button--primary.is-disabled, .twikoo .el-button--primary.is-disabled:active, .twikoo .el-button--primary.is-disabled:focus, .twikoo .el-button--primary.is-disabled:hover {
  color: #ffffffa1;
  background-color: #409eff80;
  border-color: #0000;
}

.twikoo .el-loading-mask {
  -webkit-backdrop-filter: opacity(20%);
  backdrop-filter: opacity(20%);
  background-color: #0000;
}

.twikoo .el-textarea .el-input__count {
  color: currentColor;
  background: none;
}

.tk-admin-warn {
  color: #6b5900;
  background-color: #fff7d0;
  border-left: .5rem solid #e7c000;
  align-self: stretch;
  padding: 1rem 1.5rem;
}

.el-button {
  white-space: nowrap;
  cursor: pointer;
  color: #606266;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  outline: 0;
  margin: 0;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: all .1s;
  display: inline-block;
}

.el-button + .el-button {
  margin-left: 10px;
}

.el-button:focus, .el-button:hover {
  color: #409eff;
  background-color: #ecf5ff;
  border-color: #c6e2ff;
}

.el-button:active {
  color: #3a8ee6;
  border-color: #3a8ee6;
  outline: 0;
}

.el-button::-moz-focus-inner {
  border: 0;
}

.el-button [class*="el-icon-"] + span {
  margin-left: 5px;
}

.el-button.is-plain:focus, .el-button.is-plain:hover {
  color: #409eff;
  background: #fff;
  border-color: #409eff;
}

.el-button.is-active, .el-button.is-plain:active {
  color: #3a8ee6;
  border-color: #3a8ee6;
}

.el-button.is-plain:active {
  background: #fff;
  outline: 0;
}

.el-button.is-disabled, .el-button.is-disabled:focus, .el-button.is-disabled:hover {
  color: #c0c4cc;
  cursor: not-allowed;
  background-color: #fff;
  background-image: none;
  border-color: #ebeef5;
}

.el-button.is-disabled.el-button--text {
  background-color: #0000;
}

.el-button.is-disabled.is-plain, .el-button.is-disabled.is-plain:focus, .el-button.is-disabled.is-plain:hover {
  color: #c0c4cc;
  background-color: #fff;
  border-color: #ebeef5;
}

.el-button.is-loading {
  pointer-events: none;
  position: relative;
}

.el-button.is-loading:before {
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background-color: #ffffff59;
  position: absolute;
  inset: -1px;
}

.el-button.is-round {
  border-radius: 20px;
  padding: 12px 23px;
}

.el-button.is-circle {
  border-radius: 50%;
  padding: 12px;
}

.el-button--primary {
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
}

.el-button--primary:focus, .el-button--primary:hover {
  color: #fff;
  background: #66b1ff;
  border-color: #66b1ff;
}

.el-button--primary:active {
  color: #fff;
  background: #3a8ee6;
  border-color: #3a8ee6;
  outline: 0;
}

.el-button--primary.is-active {
  color: #fff;
  background: #3a8ee6;
  border-color: #3a8ee6;
}

.el-button--primary.is-disabled, .el-button--primary.is-disabled:active, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:hover {
  color: #fff;
  background-color: #a0cfff;
  border-color: #a0cfff;
}

.el-button--primary.is-plain {
  color: #409eff;
  background: #ecf5ff;
  border-color: #b3d8ff;
}

.el-button--primary.is-plain:focus, .el-button--primary.is-plain:hover {
  color: #fff;
  background: #409eff;
  border-color: #409eff;
}

.el-button--primary.is-plain:active {
  color: #fff;
  background: #3a8ee6;
  border-color: #3a8ee6;
  outline: 0;
}

.el-button--primary.is-plain.is-disabled, .el-button--primary.is-plain.is-disabled:active, .el-button--primary.is-plain.is-disabled:focus, .el-button--primary.is-plain.is-disabled:hover {
  color: #8cc5ff;
  background-color: #ecf5ff;
  border-color: #d9ecff;
}

.el-button--success {
  color: #fff;
  background-color: #67c23a;
  border-color: #67c23a;
}

.el-button--success:focus, .el-button--success:hover {
  color: #fff;
  background: #85ce61;
  border-color: #85ce61;
}

.el-button--success.is-active, .el-button--success:active {
  color: #fff;
  background: #5daf34;
  border-color: #5daf34;
}

.el-button--success:active {
  outline: 0;
}

.el-button--success.is-disabled, .el-button--success.is-disabled:active, .el-button--success.is-disabled:focus, .el-button--success.is-disabled:hover {
  color: #fff;
  background-color: #b3e19d;
  border-color: #b3e19d;
}

.el-button--success.is-plain {
  color: #67c23a;
  background: #f0f9eb;
  border-color: #c2e7b0;
}

.el-button--success.is-plain:focus, .el-button--success.is-plain:hover {
  color: #fff;
  background: #67c23a;
  border-color: #67c23a;
}

.el-button--success.is-plain:active {
  color: #fff;
  background: #5daf34;
  border-color: #5daf34;
  outline: 0;
}

.el-button--success.is-plain.is-disabled, .el-button--success.is-plain.is-disabled:active, .el-button--success.is-plain.is-disabled:focus, .el-button--success.is-plain.is-disabled:hover {
  color: #a4da89;
  background-color: #f0f9eb;
  border-color: #e1f3d8;
}

.el-button--warning {
  color: #fff;
  background-color: #e6a23c;
  border-color: #e6a23c;
}

.el-button--warning:focus, .el-button--warning:hover {
  color: #fff;
  background: #ebb563;
  border-color: #ebb563;
}

.el-button--warning.is-active, .el-button--warning:active {
  color: #fff;
  background: #cf9236;
  border-color: #cf9236;
}

.el-button--warning:active {
  outline: 0;
}

.el-button--warning.is-disabled, .el-button--warning.is-disabled:active, .el-button--warning.is-disabled:focus, .el-button--warning.is-disabled:hover {
  color: #fff;
  background-color: #f3d19e;
  border-color: #f3d19e;
}

.el-button--warning.is-plain {
  color: #e6a23c;
  background: #fdf6ec;
  border-color: #f5dab1;
}

.el-button--warning.is-plain:focus, .el-button--warning.is-plain:hover {
  color: #fff;
  background: #e6a23c;
  border-color: #e6a23c;
}

.el-button--warning.is-plain:active {
  color: #fff;
  background: #cf9236;
  border-color: #cf9236;
  outline: 0;
}

.el-button--warning.is-plain.is-disabled, .el-button--warning.is-plain.is-disabled:active, .el-button--warning.is-plain.is-disabled:focus, .el-button--warning.is-plain.is-disabled:hover {
  color: #f0c78a;
  background-color: #fdf6ec;
  border-color: #faecd8;
}

.el-button--danger {
  color: #fff;
  background-color: #f56c6c;
  border-color: #f56c6c;
}

.el-button--danger:focus, .el-button--danger:hover {
  color: #fff;
  background: #f78989;
  border-color: #f78989;
}

.el-button--danger.is-active, .el-button--danger:active {
  color: #fff;
  background: #dd6161;
  border-color: #dd6161;
}

.el-button--danger:active {
  outline: 0;
}

.el-button--danger.is-disabled, .el-button--danger.is-disabled:active, .el-button--danger.is-disabled:focus, .el-button--danger.is-disabled:hover {
  color: #fff;
  background-color: #fab6b6;
  border-color: #fab6b6;
}

.el-button--danger.is-plain {
  color: #f56c6c;
  background: #fef0f0;
  border-color: #fbc4c4;
}

.el-button--danger.is-plain:focus, .el-button--danger.is-plain:hover {
  color: #fff;
  background: #f56c6c;
  border-color: #f56c6c;
}

.el-button--danger.is-plain:active {
  color: #fff;
  background: #dd6161;
  border-color: #dd6161;
  outline: 0;
}

.el-button--danger.is-plain.is-disabled, .el-button--danger.is-plain.is-disabled:active, .el-button--danger.is-plain.is-disabled:focus, .el-button--danger.is-plain.is-disabled:hover {
  color: #f9a7a7;
  background-color: #fef0f0;
  border-color: #fde2e2;
}

.el-button--info {
  color: #fff;
  background-color: #909399;
  border-color: #909399;
}

.el-button--info:focus, .el-button--info:hover {
  color: #fff;
  background: #a6a9ad;
  border-color: #a6a9ad;
}

.el-button--info.is-active, .el-button--info:active {
  color: #fff;
  background: #82848a;
  border-color: #82848a;
}

.el-button--info:active {
  outline: 0;
}

.el-button--info.is-disabled, .el-button--info.is-disabled:active, .el-button--info.is-disabled:focus, .el-button--info.is-disabled:hover {
  color: #fff;
  background-color: #c8c9cc;
  border-color: #c8c9cc;
}

.el-button--info.is-plain {
  color: #909399;
  background: #f4f4f5;
  border-color: #d3d4d6;
}

.el-button--info.is-plain:focus, .el-button--info.is-plain:hover {
  color: #fff;
  background: #909399;
  border-color: #909399;
}

.el-button--info.is-plain:active {
  color: #fff;
  background: #82848a;
  border-color: #82848a;
  outline: 0;
}

.el-button--info.is-plain.is-disabled, .el-button--info.is-plain.is-disabled:active, .el-button--info.is-plain.is-disabled:focus, .el-button--info.is-plain.is-disabled:hover {
  color: #bcbec2;
  background-color: #f4f4f5;
  border-color: #e9e9eb;
}

.el-button--medium {
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 14px;
}

.el-button--mini, .el-button--small {
  border-radius: 3px;
  font-size: 12px;
}

.el-button--medium.is-round {
  padding: 10px 20px;
}

.el-button--medium.is-circle {
  padding: 10px;
}

.el-button--small, .el-button--small.is-round {
  padding: 9px 15px;
}

.el-button--small.is-circle {
  padding: 9px;
}

.el-button--mini, .el-button--mini.is-round {
  padding: 7px 15px;
}

.el-button--mini.is-circle {
  padding: 7px;
}

.el-button--text {
  color: #409eff;
  background: none;
  border-color: #0000;
  padding-left: 0;
  padding-right: 0;
}

.el-button--text:focus, .el-button--text:hover {
  color: #66b1ff;
  background-color: #0000;
  border-color: #0000;
}

.el-button--text:active {
  color: #3a8ee6;
  background-color: #0000;
  border-color: #0000;
}

.el-button--text.is-disabled, .el-button--text.is-disabled:focus, .el-button--text.is-disabled:hover {
  border-color: #0000;
}

.el-button-group .el-button--danger:last-child, .el-button-group .el-button--danger:not(:first-child):not(:last-child), .el-button-group .el-button--info:last-child, .el-button-group .el-button--info:not(:first-child):not(:last-child), .el-button-group .el-button--primary:last-child, .el-button-group .el-button--primary:not(:first-child):not(:last-child), .el-button-group .el-button--success:last-child, .el-button-group .el-button--success:not(:first-child):not(:last-child), .el-button-group .el-button--warning:last-child, .el-button-group .el-button--warning:not(:first-child):not(:last-child), .el-button-group > .el-dropdown > .el-button {
  border-left-color: #ffffff80;
}

.el-button-group .el-button--danger:first-child, .el-button-group .el-button--danger:not(:first-child):not(:last-child), .el-button-group .el-button--info:first-child, .el-button-group .el-button--info:not(:first-child):not(:last-child), .el-button-group .el-button--primary:first-child, .el-button-group .el-button--primary:not(:first-child):not(:last-child), .el-button-group .el-button--success:first-child, .el-button-group .el-button--success:not(:first-child):not(:last-child), .el-button-group .el-button--warning:first-child, .el-button-group .el-button--warning:not(:first-child):not(:last-child) {
  border-right-color: #ffffff80;
}

.el-button-group {
  vertical-align: middle;
  display: inline-block;
}

.el-button-group:after, .el-button-group:before {
  content: "";
  display: table;
}

.el-button-group:after {
  clear: both;
}

.el-button-group > .el-button {
  float: left;
  position: relative;
}

.el-button-group > .el-button + .el-button {
  margin-left: 0;
}

.el-button-group > .el-button.is-disabled {
  z-index: 1;
}

.el-button-group > .el-button:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.el-button-group > .el-button:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.el-button-group > .el-button:first-child:last-child {
  border-radius: 4px;
}

.el-button-group > .el-button:first-child:last-child.is-round {
  border-radius: 20px;
}

.el-button-group > .el-button:first-child:last-child.is-circle {
  border-radius: 50%;
}

.el-button-group > .el-button:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.el-button-group > .el-button:not(:last-child) {
  margin-right: -1px;
}

.el-button-group > .el-button.is-active, .el-button-group > .el-button:not(.is-disabled):active, .el-button-group > .el-button:not(.is-disabled):focus, .el-button-group > .el-button:not(.is-disabled):hover {
  z-index: 1;
}

.el-button-group > .el-dropdown > .el-button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.el-input__inner, .el-textarea__inner {
  -webkit-box-sizing: border-box;
  background-image: none;
  -webkit-transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
}

.el-textarea {
  vertical-align: bottom;
  width: 100%;
  font-size: 14px;
  display: inline-block;
  position: relative;
}

.el-textarea__inner {
  resize: vertical;
  box-sizing: border-box;
  width: 100%;
  line-height: 1.5;
  font-size: inherit;
  color: #606266;
  background-color: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 5px 15px;
  transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
  display: block;
}

.el-textarea__inner::-webkit-input-placeholder {
  color: #c0c4cc;
}

.el-textarea__inner:-ms-placeholder-shown {
  color: #c0c4cc;
}

.el-textarea__inner::placeholder {
  color: #c0c4cc;
}

.el-textarea__inner:hover {
  border-color: #c0c4cc;
}

.el-textarea__inner:focus {
  border-color: #409eff;
  outline: 0;
}

.el-textarea .el-input__count {
  color: #909399;
  background: #fff;
  font-size: 12px;
  position: absolute;
  bottom: 5px;
  right: 10px;
}

.el-textarea.is-disabled .el-textarea__inner {
  color: #c0c4cc;
  cursor: not-allowed;
  background-color: #f5f7fa;
  border-color: #e4e7ed;
}

.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder {
  color: #c0c4cc;
}

.el-textarea.is-disabled .el-textarea__inner:-ms-placeholder-shown {
  color: #c0c4cc;
}

.el-textarea.is-disabled .el-textarea__inner::placeholder {
  color: #c0c4cc;
}

.el-textarea.is-exceed .el-textarea__inner {
  border-color: #f56c6c;
}

.el-textarea.is-exceed .el-input__count {
  color: #f56c6c;
}

.el-input {
  width: 100%;
  font-size: 14px;
  display: inline-block;
  position: relative;
}

.el-input::-webkit-scrollbar {
  z-index: 11;
  width: 6px;
}

.el-input::-webkit-scrollbar:horizontal {
  height: 6px;
}

.el-input::-webkit-scrollbar-thumb {
  background: #b4bccc;
  border-radius: 5px;
  width: 6px;
}

.el-input::-webkit-scrollbar-corner {
  background: #fff;
}

.el-input::-webkit-scrollbar-track {
  background: #fff;
}

.el-input::-webkit-scrollbar-track-piece {
  background: #fff;
  width: 6px;
}

.el-input .el-input__clear {
  color: #c0c4cc;
  cursor: pointer;
  font-size: 14px;
  transition: color .2s cubic-bezier(.645, .045, .355, 1);
}

.el-input .el-input__clear:hover {
  color: #909399;
}

.el-input .el-input__count {
  color: #909399;
  align-items: center;
  height: 100%;
  font-size: 12px;
  display: inline-flex;
}

.el-input-group__append .el-button, .el-input-group__append .el-input, .el-input-group__prepend .el-button, .el-input-group__prepend .el-input, .el-input__inner {
  font-size: inherit;
}

.el-input .el-input__count .el-input__count-inner {
  line-height: initial;
  background: #fff;
  padding: 0 5px;
  display: inline-block;
}

.el-input__inner {
  -webkit-appearance: none;
  box-sizing: border-box;
  color: #606266;
  background-color: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  outline: 0;
  width: 100%;
  height: 40px;
  padding: 0 15px;
  line-height: 40px;
  transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
  display: inline-block;
}

.el-input__prefix, .el-input__suffix {
  text-align: center;
  color: #c0c4cc;
  height: 100%;
  -webkit-transition: all .3s;
  position: absolute;
  top: 0;
}

.el-input__inner::-ms-reveal {
  display: none;
}

.el-input__inner::-webkit-input-placeholder {
  color: #c0c4cc;
}

.el-input__inner:-ms-placeholder-shown {
  color: #c0c4cc;
}

.el-input__inner::placeholder {
  color: #c0c4cc;
}

.el-input__inner:hover {
  border-color: #c0c4cc;
}

.el-input.is-active .el-input__inner, .el-input__inner:focus {
  border-color: #409eff;
  outline: 0;
}

.el-input__suffix {
  pointer-events: none;
  transition: all .3s;
  right: 5px;
}

.el-input__suffix-inner {
  pointer-events: all;
}

.el-input__prefix {
  transition: all .3s;
  left: 5px;
}

.el-input__icon {
  text-align: center;
  width: 25px;
  height: 100%;
  line-height: 40px;
  transition: all .3s;
}

.el-input__icon:after {
  content: "";
  vertical-align: middle;
  width: 0;
  height: 100%;
  display: inline-block;
}

.el-input__validateIcon {
  pointer-events: none;
}

.el-input.is-disabled .el-input__inner {
  color: #c0c4cc;
  cursor: not-allowed;
  background-color: #f5f7fa;
  border-color: #e4e7ed;
}

.el-input.is-disabled .el-input__inner::-webkit-input-placeholder {
  color: #c0c4cc;
}

.el-input.is-disabled .el-input__inner:-ms-placeholder-shown {
  color: #c0c4cc;
}

.el-input.is-disabled .el-input__inner::placeholder {
  color: #c0c4cc;
}

.el-input.is-disabled .el-input__icon {
  cursor: not-allowed;
}

.el-input.is-exceed .el-input__inner {
  border-color: #f56c6c;
}

.el-input.is-exceed .el-input__suffix .el-input__count {
  color: #f56c6c;
}

.el-input--suffix .el-input__inner {
  padding-right: 30px;
}

.el-input--prefix .el-input__inner {
  padding-left: 30px;
}

.el-input--medium {
  font-size: 14px;
}

.el-input--medium .el-input__inner {
  height: 36px;
  line-height: 36px;
}

.el-input--medium .el-input__icon {
  line-height: 36px;
}

.el-input--small {
  font-size: 13px;
}

.el-input--small .el-input__inner {
  height: 32px;
  line-height: 32px;
}

.el-input--small .el-input__icon {
  line-height: 32px;
}

.el-input--mini {
  font-size: 12px;
}

.el-input--mini .el-input__inner {
  height: 28px;
  line-height: 28px;
}

.el-input--mini .el-input__icon {
  line-height: 28px;
}

.el-input-group {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  line-height: normal;
  display: inline-table;
}

.el-input-group > .el-input__inner {
  vertical-align: middle;
  display: table-cell;
}

.el-input-group__append, .el-input-group__prepend {
  color: #909399;
  vertical-align: middle;
  white-space: nowrap;
  background-color: #f5f7fa;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  width: 1px;
  padding: 0 20px;
  display: table-cell;
  position: relative;
}

.el-input-group--prepend .el-input__inner, .el-input-group__append {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.el-input-group--append .el-input__inner, .el-input-group__prepend {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.el-input-group__append:focus, .el-input-group__prepend:focus {
  outline: 0;
}

.el-input-group__append .el-button, .el-input-group__append .el-select, .el-input-group__prepend .el-button, .el-input-group__prepend .el-select {
  margin: -10px -20px;
  display: inline-block;
}

.el-input-group__append button.el-button, .el-input-group__append div.el-select .el-input__inner, .el-input-group__append div.el-select:hover .el-input__inner, .el-input-group__prepend button.el-button, .el-input-group__prepend div.el-select .el-input__inner, .el-input-group__prepend div.el-select:hover .el-input__inner {
  color: inherit;
  background-color: #0000;
  border-color: currentColor #0000;
  border-top-style: none;
  border-top-width: 0;
  border-bottom-style: none;
  border-bottom-width: 0;
}

.el-input-group__prepend {
  border-right: 0;
}

.el-input-group__append {
  border-left: 0;
}

.el-input-group--append .el-select .el-input.is-focus .el-input__inner, .el-input-group--prepend .el-select .el-input.is-focus .el-input__inner {
  border-color: #0000;
}

.el-input__inner::-ms-clear {
  width: 0;
  height: 0;
  display: none;
}

.el-loading-parent--relative {
  position: relative !important;
}

.el-loading-parent--hidden {
  overflow: hidden !important;
}

.el-loading-mask {
  z-index: 2000;
  background-color: #ffffffe6;
  margin: 0;
  transition: opacity .3s;
  position: absolute;
  inset: 0;
}

.el-loading-mask.is-fullscreen {
  position: fixed;
}

.el-loading-mask.is-fullscreen .el-loading-spinner {
  margin-top: -25px;
}

.el-loading-mask.is-fullscreen .el-loading-spinner .circular {
  width: 50px;
  height: 50px;
}

.el-loading-spinner {
  text-align: center;
  width: 100%;
  margin-top: -21px;
  position: absolute;
  top: 50%;
}

.el-loading-spinner .el-loading-text {
  color: #409eff;
  margin: 3px 0;
  font-size: 14px;
}

.el-loading-spinner .circular {
  width: 42px;
  height: 42px;
  animation: 2s linear infinite loading-rotate;
}

.el-loading-spinner .path {
  stroke-dasharray: 90 150;
  stroke-dashoffset: 0;
  stroke-width: 2px;
  stroke: #409eff;
  stroke-linecap: round;
  animation: 1.5s ease-in-out infinite loading-dash;
}

.el-loading-spinner i {
  color: #409eff;
}

.el-loading-fade-enter, .el-loading-fade-leave-active {
  opacity: 0;
}

@keyframes loading-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loading-dash {
  0% {
    stroke-dasharray: 1 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90 150;
    stroke-dashoffset: -40px;
  }

  100% {
    stroke-dasharray: 90 150;
    stroke-dashoffset: -120px;
  }
}

.OwO {
  -webkit-user-select: none;
  user-select: none;
}

.OwO.OwO-open .OwO-body {
  display: block;
}

.OwO .OwO-logo {
  width: 1.125em;
  display: flex;
}

.OwO .OwO-body {
  color: #4a4a4a;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #9093994f;
  border-radius: 0 4px 4px;
  max-width: 500px;
  display: none;
  position: absolute;
  top: 2em;
  left: 0;
  right: 0;
}

.night .OwO .OwO-body, .darkmode .OwO .OwO-body, .DarkMode .OwO .OwO-body, [data-theme="dark"] .OwO .OwO-body, [data-user-color-scheme="dark"] .OwO .OwO-body {
  color: #fff;
  background-color: #4a4a4a;
}

.OwO .OwO-body .OwO-items {
  -webkit-user-select: none;
  user-select: none;
  margin: 0;
  padding: 10px 0 10px 10px;
  font-size: 0;
  display: none;
  overflow: auto;
}

.OwO .OwO-body .OwO-items .OwO-item {
  cursor: pointer;
  text-align: center;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 14px;
  list-style-type: none;
  transition: all .3s;
  display: inline-block;
}

.OwO .OwO-body .OwO-items .OwO-item:hover {
  background-color: #90939921;
  box-shadow: 0 2px 2px #00000024, 0 3px 1px -2px #0003, 0 1px 5px #0000001f;
}

.OwO .OwO-body .OwO-items-emoji .OwO-item {
  font-size: 20px;
  line-height: 19px;
}

.OwO .OwO-body .OwO-items-image .OwO-item {
  box-sizing: border-box;
  width: 14%;
}

@media screen and (max-width: 600px) {
  #twikoo .OwO-items > .OwO-item {
    width: 16%;
  }
}

@media screen and (max-width: 460px) {
  #twikoo .OwO-items > .OwO-item {
    width: 20%;
  }
}

@media screen and (max-width: 400px) {
  #twikoo .OwO-items > .OwO-item {
    width: 25%;
  }
}

@media screen and (max-width: 330px) {
  #twikoo .OwO-items > .OwO-item {
    width: 33%;
  }
}

.OwO .OwO-body .OwO-items-image .OwO-item img {
  max-width: 100%;
}

.OwO .OwO-body .OwO-items-show {
  display: block;
}

.OwO .OwO-body .OwO-bar {
  border-top: 1px solid #9093994f;
  border-radius: 0 0 4px 4px;
  width: 100%;
}

.OwO .OwO-body .OwO-bar .OwO-packages {
  margin: 0;
  padding: 0;
  font-size: 0;
}

.OwO .OwO-body .OwO-bar .OwO-packages li {
  cursor: pointer;
  margin-right: 3px;
  padding: 0 10px;
  font-size: 14px;
  line-height: 30px;
  list-style-type: none;
  display: inline-block;
}

.OwO .OwO-body .OwO-bar .OwO-packages li:first-child {
  border-radius: 0 0 0 3px;
}

.OwO .OwO-body .OwO-bar .OwO-packages li:hover {
  background-color: #90939921;
}

.OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active {
  background-color: #90939921;
  transition: all .3s;
}

@property --tw-animation-delay {
  syntax: "*";
  inherits: false;
  initial-value: 0s;
}

@property --tw-animation-direction {
  syntax: "*";
  inherits: false;
  initial-value: normal;
}

@property --tw-animation-duration {
  syntax: "*";
  inherits: false
}

@property --tw-animation-fill-mode {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

@property --tw-animation-iteration-count {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-exit-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-exit-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@font-face {
  font-family: Geist Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Geist Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Geist Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.prettyprint {
  background: var(--bg-secondary);
  font-family: Monaco, Menlo, Consolas, monospace;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  padding: var(--spacing-4);
  border-radius: var(--radius-lg);
  margin: var(--spacing-4) 0;
  overflow-x: auto;
}

.prettyprint .linenums {
  color: var(--text-tertiary);
}

.prettyprint li.L0, .prettyprint li.L1, .prettyprint li.L2, .prettyprint li.L3, .prettyprint li.L4, .prettyprint li.L5, .prettyprint li.L6, .prettyprint li.L7, .prettyprint li.L8, .prettyprint li.L9 {
  padding-left: var(--spacing-2);
  list-style-type: decimal;
}

.prettyprint .str {
  color: #032f62;
}

.prettyprint .kwd {
  color: #d73a49;
}

.prettyprint .com {
  color: #6a737d;
}

.prettyprint .typ, .prettyprint .lit {
  color: #005cc5;
}

.prettyprint .pun, .prettyprint .opn, .prettyprint .clo {
  color: #d73a49;
}

.prettyprint .tag {
  color: #22863a;
}

.prettyprint .atn {
  color: #6f42c1;
}

.prettyprint .atv {
  color: #032f62;
}

.prettyprint .dec {
  color: #005cc5;
}

.prettyprint .var {
  color: #e36209;
}

.prettyprint .fun {
  color: #6f42c1;
}

.aside-tab {
  transition: var(--duration-slower);
  margin: 0 0 1rem;
  padding: 1px 0 0;
  display: flex;
}

#tocWidget {
  padding: 0;
  box-shadow: none !important;
  background: none !important;
  border: none !important;
}

#tocWidget .toc-list {
  margin: 0;
}

.toc-list {
  margin-top: var(--spacing-2\.5);
  list-style: none;
}

.toc-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-nav li {
  margin: var(--spacing-1) 0;
}

.toc-link {
  padding: var(--spacing-1) var(--spacing-2);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  transition: all var(--duration-slow) var(--ease-default);
  text-decoration: none;
  display: block;
}

.toc-link:hover {
  background: var(--hover-bg);
  color: var(--link-color);
}

html.dark .toc-link, [data-theme="dark"] .toc-link {
  color: var(--text-secondary-dark);
}

html.dark .toc-link:hover, [data-theme="dark"] .toc-link:hover {
  background: var(--hover-bg-dark);
  color: var(--link-color-dark);
}

.toc-link.active {
  color: var(--link-color);
  background: var(--accent-bg);
  font-weight: var(--font-medium);
}

html.dark .toc-link.active, [data-theme="dark"] .toc-link.active {
  color: var(--link-color-dark);
  background: var(--accent-bg-dark);
}

html, body {
  flex-direction: column;
  height: 100%;
  margin: 0;
  display: flex;
}

body {
  background-color: var(--bg-page);
  color: var(--text-secondary);
  font-family: -apple-system, system-ui, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
  font-size: var(--text-base);
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary) !important;
}

html.dark h1, html.dark h2, html.dark h3, html.dark h4, html.dark h5, html.dark h6, [data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
  color: var(--text-primary-dark) !important;
}

a, a:link, a:visited, a:hover, a:active {
  color: var(--text-secondary) !important;
  text-decoration: none !important;
}

html.dark a, html.dark a:link, html.dark a:visited, html.dark a:hover, html.dark a:active, [data-theme="dark"] a, [data-theme="dark"] a:link, [data-theme="dark"] a:visited, [data-theme="dark"] a:hover, [data-theme="dark"] a:active {
  color: var(--text-secondary-dark) !important;
}

:root {
  --halo-search-widget-primary-color: var(--link-color);
  --background: oklch(100% 0 0);
  --foreground: oklch(14.5% 0 0);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(14.5% 0 0);
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(14.5% 0 0);
  --primary: oklch(20.5% 0 0);
  --primary-foreground: oklch(98.5% 0 0);
  --secondary: oklch(97% 0 0);
  --secondary-foreground: oklch(20.5% 0 0);
  --muted: oklch(97% 0 0);
  --muted-foreground: oklch(55.6% 0 0);
  --accent: oklch(97% 0 0);
  --accent-foreground: oklch(20.5% 0 0);
  --destructive: oklch(57.7% .245 27.325);
  --border: oklch(92.2% 0 0);
  --input: oklch(92.2% 0 0);
  --ring: oklch(70.8% 0 0);
  --chart-1: oklch(87% 0 0);
  --chart-2: oklch(55.6% 0 0);
  --chart-3: oklch(43.9% 0 0);
  --chart-4: oklch(37.1% 0 0);
  --chart-5: oklch(26.9% 0 0);
  --radius: .625rem;
  --sidebar: oklch(98.5% 0 0);
  --sidebar-foreground: oklch(14.5% 0 0);
  --sidebar-primary: oklch(20.5% 0 0);
  --sidebar-primary-foreground: oklch(98.5% 0 0);
  --sidebar-accent: oklch(97% 0 0);
  --sidebar-accent-foreground: oklch(20.5% 0 0);
  --sidebar-border: oklch(92.2% 0 0);
  --sidebar-ring: oklch(70.8% 0 0);
}

@media (prefers-color-scheme: dark) {
  .color-scheme-auto, [data-color-scheme="auto"] {
    color-scheme: dark;
    --halo-cw-primary-1-color: var(--bg-secondary-dark);
    --halo-cw-primary-2-color: var(--bg-secondary-dark);
    --halo-cw-primary-3-color: var(--bg-secondary-dark);
    --halo-cw-text-1-color: var(--text-primary-dark);
    --halo-cw-text-2-color: var(--text-secondary-dark);
    --halo-cw-text-3-color: var(--text-tertiary-dark);
    --halo-cw-muted-1-color: var(--text-secondary-dark);
    --halo-cw-muted-2-color: var(--border-color-dark);
    --halo-cw-muted-3-color: var(--bg-card-dark);
    --halo-cw-emoji-picker-rgb-color: 222, 222, 221;
    --halo-cw-emoji-picker-rgb-accent: 58, 130, 247;
    --halo-cw-emoji-picker-rgb-background: 21, 22, 23;
    --halo-cw-emoji-picker-rgb-input: 0, 0, 0;
    --halo-cw-emoji-picker-color-border: #ffffff1a;
    --halo-cw-emoji-picker-color-border-over: #fff3;
  }
}

html.dark :root, [data-theme="dark"] :root {
  --halo-cw-text-1-color: var(--text-primary-dark);
  --halo-cw-text-2-color: var(--text-secondary-dark);
  --halo-cw-muted-1-color: var(--border-color-dark);
  --halo-cw-muted-2-color: var(--bg-secondary-dark);
  --halo-cw-bg-1-color: var(--bg-card-dark);
  --halo-cw-bg-2-color: var(--bg-page-dark);
  --halo-cw-bg-color: var(--bg-card-dark);
  --halo-cw-text-color: var(--text-primary-dark);
  --halo-cw-text-secondary-color: var(--text-secondary-dark);
  --halo-cw-border-color: var(--border-color-dark);
}

.global-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

#header {
  padding: var(--spacing-3) var(--spacing-4);
  height: 56px;
  z-index: var(--z-header);
  transition: transform var(--duration-slower) var(--ease-default);
  overscroll-behavior: none;
  will-change: transform;
  backface-visibility: hidden;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateZ(0);
}

@media not all and (min-width: 48rem) {
  #header {
    z-index: calc(var(--z-sticky) + 2);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
  }
}

@media (min-width: 48rem) {
  #header {
    padding: var(--spacing-4) var(--spacing-4);
  }
}

@media (min-width: 64rem) {
  #header {
    padding: calc(var(--spacing) * 7.5) var(--spacing-20);
    overscroll-behavior: auto;
    will-change: auto;
    backface-visibility: visible;
    background-color: #0000;
    border-bottom: none;
    height: auto;
    position: static;
    transform: none;
  }
}

.fullname {
  align-items: center;
  height: 100%;
  display: flex;
}

.fullname h1 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  margin: 0;
}

@media (min-width: 48rem) {
  .fullname h1 {
    font-size: var(--text-3xl);
  }
}

.fullname h1 a {
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

html.dark .fullname h1 a, [data-theme="dark"] .fullname h1 a {
  color: var(--text-primary-dark) !important;
}

.search-box {
  align-items: center;
  gap: 0;
  display: flex;
}

.search-icon {
  width: var(--spacing-8);
  height: var(--spacing-8);
  font-size: var(--text-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--duration-slow) var(--ease-default);
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.search-icon:hover, .search-icon:active {
  background: var(--accent-bg);
  color: var(--accent-color);
}

.menu-icon {
  width: var(--spacing-8);
  height: var(--spacing-8);
  font-size: var(--text-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--duration-slow) var(--ease-default);
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

@media (min-width: 64rem) {
  .menu-icon {
    display: none;
  }
}

.menu-icon:hover, .menu-icon:active {
  background: var(--accent-bg);
  color: var(--accent-color);
}

html.dark .search-icon, html.dark .menu-icon, [data-theme="dark"] .search-icon, [data-theme="dark"] .menu-icon {
  color: var(--text-secondary-dark);
}

html.dark .search-icon:hover, html.dark .search-icon:active, html.dark .menu-icon:hover, html.dark .menu-icon:active, [data-theme="dark"] .search-icon:hover, [data-theme="dark"] .search-icon:active, [data-theme="dark"] .menu-icon:hover, [data-theme="dark"] .menu-icon:active {
  background: var(--accent-bg-dark);
  color: var(--accent-color-dark);
}

.theme-dropdown {
  align-items: center;
  display: inline-flex;
  position: relative;
}

.theme-dropdown-trigger {
  width: var(--spacing-8);
  height: var(--spacing-8);
  cursor: pointer;
  color: var(--text-secondary);
  transition: background var(--duration-slow), color var(--duration-slow) var(--ease-default);
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.theme-dropdown-trigger:hover {
  background: var(--accent-bg);
  color: var(--accent-color);
}

html.dark .theme-dropdown-trigger, [data-theme="dark"] .theme-dropdown-trigger {
  color: var(--text-secondary-dark);
}

html.dark .theme-dropdown-trigger:hover, [data-theme="dark"] .theme-dropdown-trigger:hover {
  background: var(--accent-bg-dark);
  color: var(--accent-color-dark);
}

.theme-dropdown-trigger .icon-sun, .theme-dropdown-trigger .icon-moon, .theme-dropdown-trigger .icon-auto {
  font-size: var(--text-sm);
  transition: opacity var(--duration-slow), transform var(--duration-slow) var(--ease-default);
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
}

.theme-dropdown-menu {
  min-width: calc(var(--spacing) * 32.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: calc(var(--spacing) * 1.5);
  opacity: 0;
  transform-origin: 100% 0;
  pointer-events: none;
  transition: opacity var(--duration-normal), transform var(--duration-normal) var(--ease-smooth);
  background: #ffffffd9;
  border: 1px solid #0000000f;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  transform: scale(.92) translateY(-6px);
}

.theme-dropdown-menu.open {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media not all and (min-width: 48rem) {
  .theme-dropdown-menu.open {
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
  }
}

.theme-dropdown-menu.open {
  pointer-events: auto;
}

html.dark .theme-dropdown-menu, [data-theme="dark"] .theme-dropdown-menu {
  box-shadow: var(--shadow-dark-lg);
  background: #1e1e24e0;
  border-color: #ffffff14;
}

.theme-dropdown-item {
  padding: calc(var(--spacing) * 1.75) calc(var(--spacing) * 2.5);
  border-radius: var(--radius-lg);
  cursor: pointer;
  color: var(--text-primary);
  font-size: var(--text-sm);
  -webkit-user-select: none;
  user-select: none;
  transition: background var(--duration-normal), color var(--duration-normal) var(--ease-default);
  align-items: center;
  gap: 8px;
  font-weight: 450;
  display: flex;
  position: relative;
}

.theme-dropdown-item:hover {
  background: #0000000d;
}

html.dark .theme-dropdown-item, [data-theme="dark"] .theme-dropdown-item {
  color: var(--text-primary-dark, #f1f5f9);
}

html.dark .theme-dropdown-item:hover, [data-theme="dark"] .theme-dropdown-item:hover {
  background: #ffffff12;
}

.theme-dropdown-item.selected {
  color: var(--accent-color);
  background: var(--accent-bg);
  font-weight: var(--font-medium);
}

html.dark .theme-dropdown-item.selected, [data-theme="dark"] .theme-dropdown-item.selected {
  color: var(--accent-color-dark);
  background: var(--accent-bg-dark);
}

.theme-opt-icon {
  width: calc(var(--spacing) * 4.5);
  font-size: var(--text-sm);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.theme-opt-label {
  flex: 1;
}

.theme-opt-check {
  font-size: var(--text-xs);
  color: var(--accent-color);
  flex-shrink: 0;
  align-items: center;
  display: none;
}

.theme-dropdown-item.selected .theme-opt-check {
  display: flex;
}

html.dark .theme-opt-check, [data-theme="dark"] .theme-opt-check {
  color: var(--accent-color-dark);
}

.search-input {
  opacity: 0;
  width: 0;
  font-size: var(--text-sm);
  height: calc(var(--spacing) * 9);
  border-radius: var(--radius-3xl);
  transition: width var(--duration-slower) var(--ease-out), opacity var(--duration-slower) var(--ease-out), padding var(--duration-slower) var(--ease-out), transform var(--duration-slower) var(--ease-out);
  pointer-events: none;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  overflow: hidden;
  transform: translateX(10px);
}

.search-input.show {
  width: 140px;
  padding: 0 calc(var(--spacing) * 3.5);
  margin-right: var(--spacing-1\.5);
  border: 1px solid var(--border-color);
  opacity: 1;
  pointer-events: all;
  background: var(--bg-card);
  color: var(--text-primary);
  transform: translateX(0);
}

@media (min-width: 64rem) {
  .search-input.show {
    width: calc(var(--spacing) * 48);
  }
}

html.dark .search-input.show, [data-theme="dark"] .search-input.show {
  border-color: var(--border-color-dark);
  background: var(--bg-tertiary-dark);
  color: var(--text-primary-dark);
}

.icon-sun, .icon-moon {
  pointer-events: none;
  display: none;
}

html, body {
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  display: flex;
}

.container {
  width: 100%;
  max-width: calc(var(--spacing) * 325);
  padding: calc(var(--spacing) * 2.5) 0;
  box-sizing: border-box;
  flex: 1;
  gap: 10px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  position: sticky;
  top: 0;
}

@media (min-width: 48rem) {
  .container {
    padding: var(--spacing-3) var(--spacing-4);
    gap: 12px;
    padding-top: 56px;
  }
}

@media (min-width: 64rem) {
  .container {
    padding: var(--spacing-5) var(--spacing-20);
    padding-top: var(--spacing-5);
    gap: var(--spacing-5);
    position: sticky;
    top: 10px;
  }
}

.sidebar {
  width: calc(var(--spacing) * 62.5);
  height: 100vh;
  z-index: var(--z-toast);
  transition: all var(--duration-slower) var(--ease-default);
  box-sizing: border-box;
  flex: none;
  gap: 20px;
  display: block;
  top: 0;
  left: 0;
}

@media (min-width: 64rem) {
  .sidebar {
    top: calc(var(--spacing) * 5);
    height: calc(100vh - var(--spacing) * 10);
    position: sticky;
    overflow-y: auto;
  }
}

@media not all and (min-width: 48rem) {
  .sidebar {
    width: 70%;
    padding: var(--spacing-4);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    background: #ffffffb8;
    padding-top: 72px;
    display: none;
    position: fixed;
    overflow-y: auto;
  }

  html.dark .sidebar, [data-theme="dark"] .sidebar {
    background: #1f2937c7;
  }
}

.sidebar.active {
  opacity: 1;
  visibility: visible;
  box-shadow: var(--shadow-sidebar);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(0);
}

@media not all and (min-width: 48rem) {
  .sidebar.active {
    z-index: var(--z-tooltip);
    display: block;
  }
}

.sidebar .widget-box {
  transition: all var(--duration-slowest) var(--ease-default);
}

.content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  flex: 1;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

@media not all and (min-width: 48rem) {
  .content {
    padding: 40px 0;
  }
}

@media (min-width: 64rem) {
  .content {
    border-radius: var(--radius-xl);
  }
}

html.dark .content, [data-theme="dark"] .content {
  background: var(--bg-card-dark);
  border-color: var(--border-color-dark);
}

.widget-box {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-5);
  width: 100%;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  border: 1px solid var(--border-color);
}

html.dark .widget-box, [data-theme="dark"] .widget-box {
  background: var(--bg-card-dark);
  border-color: var(--border-color-dark);
  box-shadow: var(--shadow-dark);
}

.author-card {
  margin-top: 20px;
  padding: 0;
  overflow: visible;
}

@media (min-width: 48rem) {
  .author-card {
    margin-top: calc(var(--spacing) * 5.5);
  }
}

.author-card .author-cover {
  border-radius: 8px;
  margin: 12px;
  overflow: hidden;
}

.author-cover {
  height: calc(var(--spacing) * 30);
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-3);
  margin-left: var(--spacing-2\.5);
  margin-right: var(--spacing-2\.5);
  position: relative;
  overflow: hidden;
}

.author-cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.author-cover-gradient {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  width: 100%;
  height: 100%;
}

.author-follow-btn {
  top: var(--spacing-3);
  right: var(--spacing-3);
  width: calc(var(--spacing) * 7);
  height: calc(var(--spacing) * 7);
  cursor: pointer;
  padding: 0 calc(var(--spacing) * 1.75);
  white-space: nowrap;
  color: #667eea;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  transition: width var(--duration-slower) var(--ease-default), background .2s, box-shadow .2s;
  box-shadow: var(--shadow-xs);
  background: #ffffffe6;
  border: none;
  border-radius: 50%;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  text-decoration: none;
  display: inline-flex;
  position: absolute;
  overflow: hidden;
}

.author-follow-btn .follow-btn-text {
  opacity: 0;
  max-width: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-primary-600);
  transition: max-width var(--duration-slower) var(--ease-default), opacity .2s, margin-right .28s;
  white-space: nowrap;
  margin-right: 0;
  display: inline-block;
  overflow: hidden;
}

.author-follow-btn .czs {
  font-size: var(--text-sm);
  color: var(--color-primary-600);
  transition: color var(--duration-slow) var(--ease-default);
  flex-shrink: 0;
}

.author-follow-btn:hover {
  width: auto;
  min-width: calc(var(--spacing) * 7);
  padding: 0 calc(var(--spacing) * 2.5) 0 var(--spacing-2);
  box-shadow: var(--shadow-primary-sm);
  border-radius: var(--radius-xl);
  background: #fffffff7;
}

.author-follow-btn:hover .follow-btn-text {
  max-width: calc(var(--spacing) * 30);
  opacity: 1;
  margin-right: calc(var(--spacing) * 1.25);
}

html.dark .author-follow-btn, [data-theme="dark"] .author-follow-btn {
  background: #1e1e28d9;
}

html.dark .author-follow-btn .follow-btn-text, html.dark .author-follow-btn .czs, [data-theme="dark"] .author-follow-btn .follow-btn-text, [data-theme="dark"] .author-follow-btn .czs {
  color: #a5b4fc;
}

html.dark .author-follow-btn:hover, [data-theme="dark"] .author-follow-btn:hover {
  box-shadow: var(--shadow-primary-md);
  background: #28283cf2;
}

.author-avatar-wrap {
  margin-top: calc(var(--spacing) * -7.5);
  justify-content: center;
  display: flex;
  position: relative;
}

.author-avatar {
  width: calc(var(--spacing) * 16);
  height: calc(var(--spacing) * 16);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bg-card);
  z-index: 1;
  border-radius: 50%;
  position: relative;
}

.author-avatar-wrap:before {
  content: "";
  width: calc(var(--spacing) * 16.5);
  height: calc(var(--spacing) * 16.5);
  z-index: 0;
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 0% 75%);
  background: conic-gradient(#ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff, #5f27cd, #ff6b6b);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.author-info {
  padding: var(--spacing-3) calc(var(--spacing) * 3.75);
  text-align: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.author-name {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin: 0 0 var(--spacing-1) 0;
  color: var(--text-primary);
}

html.dark .author-name, [data-theme="dark"] .author-name {
  color: var(--text-primary-dark);
}

.author-bio {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

html.dark .author-bio, [data-theme="dark"] .author-bio {
  color: var(--text-secondary-dark);
}

.author-stats {
  background-color: var(--bg-secondary);
  padding: var(--spacing-4) calc(var(--spacing) * 1.75);
  margin: calc(var(--spacing) * 1.5) var(--spacing-3);
  border-radius: var(--radius-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
}

html.dark .author-stats, [data-theme="dark"] .author-stats {
  background-color: var(--bg-secondary-dark);
  border-color: var(--border-color-dark);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-value {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  display: block;
}

html.dark .stat-value, [data-theme="dark"] .stat-value {
  color: var(--text-primary-dark);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

html.dark .stat-label, [data-theme="dark"] .stat-label {
  color: var(--text-tertiary-dark);
}

.author-social {
  padding: var(--spacing-3) calc(var(--spacing) * 3.75);
  justify-content: center;
  gap: 16px;
  display: flex;
}

.social-link {
  width: var(--spacing-8);
  height: var(--spacing-8);
  transition: all var(--duration-slow) var(--ease-default);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  display: flex;
  color: var(--text-secondary) !important;
}

html.dark .social-link, [data-theme="dark"] .social-link {
  color: var(--text-secondary-dark) !important;
}

.social-link:hover {
  background: var(--link-color);
  color: var(--text-on-accent) !important;
}

.side-nav {
  width: 100%;
  padding: var(--spacing-5);
  box-sizing: border-box;
  flex-direction: column;
  display: flex;
}

.nav-list {
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.nav-item {
  width: 100%;
  margin: 0;
  padding: 0;
}

.iconfont {
  font-size: var(--text-base);
}

.nav-item a svg {
  stroke: var(--text-secondary);
  width: var(--spacing-6);
  height: var(--spacing-6);
}

html.dark .nav-item a svg, [data-theme="dark"] .nav-item a svg {
  stroke: var(--text-secondary-dark);
}

.nav-item a {
  padding: var(--spacing-2) var(--spacing-3);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  transition: all var(--duration-slow) var(--ease-default);
  align-items: center;
  gap: 8px;
  text-decoration: none;
  display: flex;
}

html.dark .nav-item a, [data-theme="dark"] .nav-item a {
  color: var(--text-secondary-dark);
}

.nav-item a:hover {
  background-color: var(--hover-bg);
}

html.dark .nav-item a:hover, [data-theme="dark"] .nav-item a:hover {
  background-color: var(--hover-bg-dark);
}

.nav-item.active a {
  background-color: var(--nav-active-bg);
  color: var(--nav-active-text) !important;
}

html.dark .nav-item.active a, [data-theme="dark"] .nav-item.active a {
  background-color: var(--nav-active-bg-dark);
}

.nav-item.active .czs {
  color: var(--nav-active-text) !important;
}

.sub-arrow {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  transition: transform var(--duration-slow) var(--ease-default);
  margin-left: auto;
}

html.dark .sub-arrow, [data-theme="dark"] .sub-arrow {
  color: var(--text-tertiary-dark);
}

.nav-sublist {
  padding: 0;
  padding-left: var(--spacing-5);
  opacity: 0;
  max-height: 0;
  transform: translateY(calc(var(--spacing) * -2.5));
  margin: 0;
  list-style: none;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1), opacity .35s cubic-bezier(.4, 0, .2, 1), transform .35s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.nav-item:hover > .nav-sublist, .nav-item:has(.nav-subitem.active) > .nav-sublist, .nav-item.has-active-child > .nav-sublist {
  max-height: calc(var(--spacing) * 125);
  opacity: 1;
  transform: translateY(0);
}

.nav-item:hover > a .sub-arrow {
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  transform: rotate(180deg);
}

.nav-item:has(.nav-subitem.active) > a .sub-arrow {
  transform: rotate(180deg);
}

.nav-subitem {
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-subitem a {
  padding: var(--spacing-2) var(--spacing-3);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  transition: all var(--duration-slow) var(--ease-default);
  align-items: center;
  gap: 8px;
  text-decoration: none;
  display: flex;
}

html.dark .nav-subitem a, [data-theme="dark"] .nav-subitem a {
  color: var(--text-secondary-dark);
}

.nav-subitem a:hover {
  background-color: var(--hover-bg);
}

html.dark .nav-subitem a:hover, [data-theme="dark"] .nav-subitem a:hover {
  background-color: var(--hover-bg-dark);
}

.nav-subitem.active a {
  background-color: var(--nav-active-bg);
  color: var(--nav-active-text) !important;
}

html.dark .nav-subitem.active a, [data-theme="dark"] .nav-subitem.active a {
  background-color: var(--nav-active-bg-dark);
}

.sidebar-inner {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.sidebar-menu {
  background: var(--bg-secondary);
  min-height: calc(var(--spacing) * 50);
  border-radius: var(--radius-xl);
  padding: var(--spacing-5);
}

html.dark .sidebar-menu, [data-theme="dark"] .sidebar-menu {
  background: var(--bg-secondary-dark);
}

.sidebar-widgets {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.widget {
  background: var(--bg-secondary);
  min-height: calc(var(--spacing) * 37.5);
  border-radius: var(--radius-xl);
  padding: var(--spacing-5);
}

html.dark .widget, [data-theme="dark"] .widget {
  background: var(--bg-secondary-dark);
}

.footer {
  width: 100%;
  height: auto;
  padding: calc(var(--spacing) * 2.5) var(--spacing-4);
}

@media (min-width: 48rem) {
  .footer {
    padding: var(--spacing-8) var(--spacing-24);
    height: calc(var(--spacing) * 37.5);
  }
}

.footer-container {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin: 20px auto;
  display: flex;
}

@media (min-width: 48rem) {
  .footer-container {
    font-size: var(--text-base);
    margin: 0 auto;
  }
}

html.dark .footer-container, [data-theme="dark"] .footer-container {
  color: var(--text-secondary-dark);
}

.footer-left {
  align-items: center;
  gap: 20px;
  display: flex;
}

@media not all and (min-width: 48rem) {
  .footer-left {
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    gap: 10px;
  }
}

.footer-left a {
  font-weight: var(--font-bold) !important;
  color: var(--text-secondary) !important;
}

html.dark .footer-left a, [data-theme="dark"] .footer-left a {
  color: var(--text-secondary-dark) !important;
}

.footer-left a:hover {
  color: var(--link-color) !important;
}

html.dark .footer-left a:hover, [data-theme="dark"] .footer-left a:hover {
  color: var(--link-color-dark) !important;
}

.footer-right {
  align-items: center;
  gap: 20px;
  text-decoration: none;
  display: flex;
}

@media not all and (min-width: 48rem) {
  .footer-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    text-decoration: none;
  }
}

.icp {
  color: var(--text-tertiary);
}

html.dark .icp, [data-theme="dark"] .icp {
  color: var(--text-tertiary-dark);
}

.theme-by-wing {
  color: inherit;
  font-size: var(--text-lg);
  align-items: baseline;
  text-decoration: none;
  display: inline-flex;
  position: relative;
}

.theme-by-wing .text-light {
  color: var(--text-tertiary);
  margin-right: var(--spacing-1);
}

html.dark .theme-by-wing .text-light, [data-theme="dark"] .theme-by-wing .text-light {
  color: var(--text-tertiary-dark);
}

.theme-by-wing .text-bold {
  color: var(--text-secondary);
  font-weight: var(--font-semibold);
}

html.dark .theme-by-wing .text-bold, [data-theme="dark"] .theme-by-wing .text-bold {
  color: var(--text-secondary-dark);
}

.theme-by-wing .rainbow-bar {
  width: 60%;
  height: 3px;
  box-shadow: 0 0 0 1px var(--bg-card);
  background: linear-gradient(60deg, red 0%, #f90 20%, #ff0 40%, #0c0 60%, #00f 80%, #609 100%);
  border-radius: .0625rem;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.theme-by-wing:hover .text-light, .theme-by-wing:hover .text-bold {
  opacity: .8;
}

.page-404 {
  min-height: 60vh;
  padding: var(--spacing-6);
  justify-content: center;
  align-items: center;
  display: flex;
}

.container-404 {
  text-align: center;
}

.code-404 {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  color: var(--link-color);
  margin: 0 0 var(--spacing-4);
}

.desc-404 {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin: 0 0 calc(var(--spacing) * 7);
}

.btn-back-home {
  padding: calc(var(--spacing) * 3.5) calc(var(--spacing) * 5.5);
  background: var(--link-color);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
  transition: background var(--duration-slow) var(--ease-default);
  align-items: center;
  gap: 8px;
  text-decoration: none;
  display: inline-flex;
  color: var(--text-on-accent) !important;
}

.btn-back-home:hover {
  background: var(--nav-active-bg-dark);
}

.btn-back-home i {
  font-size: var(--text-xl);
}

.notes-layout {
  width: 100%;
  height: 100vh;
  max-width: calc(var(--spacing) * 400);
  flex: 7 0 0;
  align-items: stretch;
  margin: 0 auto 10px;
  display: flex;
}

.notes-core {
  background: var(--bg-card);
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  width: 0;
  min-width: 0;
  overflow-y: auto;
}

html.dark .notes-core, [data-theme="dark"] .notes-core {
  background: var(--bg-card-dark);
}

.notes-core.full-width {
  width: 100%;
  max-width: calc(var(--spacing) * 300);
  margin: var(--spacing-3) auto;
  padding: 0 20px;
}

.notes-aside {
  width: calc(var(--spacing) * 57.5);
  background: var(--bg-card);
}

@media (max-width: 64rem) {
  .notes-aside {
    display: none;
  }
}

html.dark .notes-aside, [data-theme="dark"] .notes-aside {
  background: var(--bg-card-dark);
}

.notes-core::-webkit-scrollbar {
  display: none;
}

.load-more {
  text-align: center;
  padding: var(--spacing-5);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--duration-slower) var(--ease-default);
}

.load-more:hover {
  color: var(--link-color);
}

.page-btn {
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--radius-3xl);
  transition: all var(--duration-slower) var(--ease-default);
  text-decoration: none;
}

html.dark .page-btn, [data-theme="dark"] .page-btn {
  background: var(--bg-secondary-dark);
  color: var(--text-secondary-dark);
}

.page-btn:hover {
  background: var(--link-color);
  color: var(--text-on-accent) !important;
}

.notes-tabbar {
  border-bottom: 1px solid var(--border-color);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  z-index: var(--z-sticky);
  background: #ffffffd9;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: sticky;
  top: 0;
}

@media not all and (min-width: 48rem) {
  .notes-tabbar {
    top: -2px;
  }
}

html.dark .notes-tabbar, [data-theme="dark"] .notes-tabbar {
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-color: var(--border-color-dark);
  background: #1f2937d9;
}

.tab.global-list {
  padding: 0 var(--spacing-5);
  margin: 0;
  list-style: none;
  display: flex;
}

.tab-item {
  margin-right: var(--spacing-10);
  padding: var(--spacing-4) 0;
  cursor: pointer;
  position: relative;
}

.tab-item a {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  text-decoration: none;
}

html.dark .tab-item a, [data-theme="dark"] .tab-item a {
  color: var(--text-secondary-dark);
}

.tab-item.active a {
  color: var(--link-color);
}

html.dark .tab-item.active a, [data-theme="dark"] .tab-item.active a {
  color: var(--link-color-dark);
}

.tab-item:after {
  content: "";
  background-color: var(--link-color);
  width: 0;
  height: 3px;
  transition: width var(--duration-slow) var(--ease-default);
  position: absolute;
  bottom: -1px;
  left: 0;
}

html.dark .tab-item:after, [data-theme="dark"] .tab-item:after {
  background-color: var(--link-color-dark);
}

.tab-item.active:after {
  width: 100%;
}

.article-card {
  padding: var(--spacing-4) 0;
  border-bottom: 1px solid var(--border-color);
  gap: calc(var(--spacing) * 1.25);
  margin-bottom: var(--spacing-2);
  transition: color var(--duration-slow) var(--ease-default);
  flex-direction: column;
  text-decoration: none;
  display: flex;
}

html.dark .article-card, [data-theme="dark"] .article-card {
  border-bottom-color: var(--border-color-dark);
}

@keyframes card-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

.noteCard {
  animation: .4s both card-fade-up;
}

.noteCard-moment {
  background: var(--bg-secondary);
  border-left: 3px solid var(--moment-accent);
}

html.dark .noteCard-moment, [data-theme="dark"] .noteCard-moment {
  background: var(--bg-secondary-dark);
  border-left-color: var(--moment-accent-dark);
}

.noteCard-moment .noteCard-content {
  padding: var(--spacing-4);
}

.moment-card-content {
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.6;
}

html.dark .moment-card-content, [data-theme="dark"] .moment-card-content {
  color: var(--text-primary-dark);
}

.moment-card-content img {
  border-radius: var(--radius-sm);
  max-width: 100%;
  margin: var(--spacing-2) 0;
}

.noteCard-tags {
  margin: calc(var(--spacing) * 2.5) 0;
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.noteCard-tag {
  font-size: var(--text-xs);
  color: var(--moment-accent);
  background: var(--moment-accent-bg);
  padding: calc(var(--spacing) * .5) var(--spacing-2);
  border-radius: var(--radius-lg);
  text-decoration: none;
}

.noteCard-tag:hover {
  background: var(--moment-accent-bg-hover);
}

html.dark .noteCard-tag, [data-theme="dark"] .noteCard-tag {
  color: var(--moment-accent-dark);
  background: var(--moment-accent-bg-dark);
}

html.dark .noteCard-tag:hover, [data-theme="dark"] .noteCard-tag:hover {
  background: var(--moment-accent-bg-hover-dark);
}

.moment-link {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-left: auto;
  text-decoration: none;
}

.moment-link:hover {
  color: var(--link-color);
}

.moment-excerpt {
  color: var(--text-primary);
  line-height: 1.6;
}

.moment-excerpt img {
  border-radius: var(--radius-sm);
  max-width: 100%;
  margin: var(--spacing-2) 0;
}

.tags-inline {
  color: var(--moment-accent);
  font-size: var(--text-xs);
}

html.dark .tags-inline, [data-theme="dark"] .tags-inline {
  color: var(--moment-accent-dark);
}

.noteCard:first-child {
  animation-delay: 40ms;
}

.noteCard:nth-child(2) {
  animation-delay: 80ms;
}

.noteCard:nth-child(3) {
  animation-delay: .12s;
}

.noteCard:nth-child(4) {
  animation-delay: .16s;
}

.noteCard:nth-child(5) {
  animation-delay: .2s;
}

.noteCard:nth-child(6) {
  animation-delay: .24s;
}

.noteCard:nth-child(7) {
  animation-delay: .28s;
}

.noteCard:nth-child(8) {
  animation-delay: .32s;
}

.noteCard:hover .card-title {
  color: var(--link-color);
  transition: color var(--duration-slow) var(--ease-default);
}

html.dark .noteCard:hover .card-title, [data-theme="dark"] .noteCard:hover .card-title {
  color: var(--link-color-dark);
}

.noteCard:hover .read-more {
  transition: gap var(--duration-slow) var(--ease-default);
  gap: 6px;
}

.noteCard:hover .read-more:after {
  transition: transform var(--duration-slow) var(--ease-default);
  transform: translateX(3px);
}

.card-cover {
  width: calc(var(--spacing) * 52.5);
  height: calc(var(--spacing) * 22.5);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  flex-shrink: 0;
  overflow: hidden;
}

.card-cover img {
  object-fit: cover;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  transition: transform var(--duration-slower) var(--ease-default);
  display: block;
}

.noteCard:hover .card-cover img {
  transform: scale(1.05);
}

.card-content {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2) 0;
}

html.dark .card-title, [data-theme="dark"] .card-title {
  color: var(--text-primary-dark);
}

.card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
}

html.dark .card-excerpt, [data-theme="dark"] .card-excerpt {
  color: var(--text-secondary-dark);
}

.card-meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--spacing-2);
  padding-top: var(--spacing-2);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

html.dark .card-meta, [data-theme="dark"] .card-meta {
  color: var(--text-tertiary-dark);
}

.card-meta .meta-left {
  align-items: center;
  gap: 4px;
  display: flex;
}

.card-tag {
  background: var(--accent-bg);
  color: var(--accent-color);
  padding: calc(var(--spacing) * .5) calc(var(--spacing) * 1.5);
  border-radius: var(--radius-sm);
}

html.dark .card-tag, [data-theme="dark"] .card-tag {
  background: var(--accent-bg-dark);
  color: var(--accent-color-dark);
}

.read-more {
  color: var(--link-color);
  transition: color var(--duration-slow) var(--ease-default);
  align-items: center;
  display: inline-flex;
}

html.dark .read-more, [data-theme="dark"] .read-more {
  color: var(--link-color-dark);
}

.read-more:after {
  content: "→";
  margin-left: var(--spacing-1);
  transition: transform var(--duration-slow) var(--ease-default);
  display: inline-block;
  transform: translateX(0);
}

.article-item {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-slower) var(--ease-default);
  position: relative;
  overflow: hidden;
}

html.dark .article-item, [data-theme="dark"] .article-item {
  background: var(--bg-card-dark);
  box-shadow: var(--shadow-dark);
}

.article-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-mask {
  color: inherit;
  text-decoration: none;
  display: block;
}

.article-thumbnail {
  height: calc(var(--spacing) * 40);
  background-position: center;
  background-size: cover;
  background-color: var(--bg-secondary);
}

.article-header {
  padding: var(--spacing-4);
}

.article-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin: 0 0 var(--spacing-3) 0;
  line-height: 1.4;
}

.text-ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.text-dark {
  color: var(--text-primary);
}

.text-gray {
  color: var(--text-tertiary);
}

.text-tiny {
  font-size: var(--text-xs);
}

.reset-ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.d-flex {
  display: flex;
}

.article-subtitle ul {
  gap: 16px;
  display: flex;
}

.article-subtitle li {
  align-items: center;
  gap: 4px;
  display: flex;
}

.article-subtitle i {
  font-size: var(--text-xs);
}

.stats-card {
  text-align: center;
  width: 100%;
  margin-top: calc(var(--spacing) * 4.5);
  padding: calc(var(--spacing) * 2.5);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  justify-content: space-around;
  align-items: center;
  display: flex;
}

html.dark .stats-card, [data-theme="dark"] .stats-card {
  background-color: var(--bg-secondary-dark);
}

.stats-item h5 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1) 0;
}

html.dark .stats-item h5, [data-theme="dark"] .stats-item h5 {
  color: var(--text-primary-dark);
}

.stats-item span {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
}

html.dark .stats-item span, [data-theme="dark"] .stats-item span {
  color: var(--text-tertiary-dark);
}

.stats-divider {
  width: 1px;
  height: calc(var(--spacing) * 7.5);
  background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

html.dark .stats-divider, [data-theme="dark"] .stats-divider {
  background: linear-gradient(to bottom, transparent, var(--border-color-dark), transparent);
}

.heatmap-card {
  padding: 0 var(--spacing-5);
}

.heatmap-map {
  background: none;
  border-radius: 0;
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: repeat(15, 1fr);
  gap: 3px;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  display: grid;
}

.heatmap-map__item {
  aspect-ratio: 1;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.heatmap-map__item-block {
  background: var(--bg-secondary);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
  transition: transform var(--duration-slow) var(--ease-default);
  box-sizing: border-box;
  z-index: 0;
  position: absolute;
  inset: 0;
}

html.dark .heatmap-map__item-block, [data-theme="dark"] .heatmap-map__item-block {
  background: var(--bg-secondary-dark);
  border-color: var(--border-color-dark);
}

.heatmap-map__item:hover .heatmap-map__item-block, .heatmap-map__item:hover .heatmap-map__item-inner {
  transform: scale(1.15);
}

.heatmap-map__item-inner {
  border-radius: var(--radius-xs);
  transition: transform var(--duration-slow) var(--ease-default);
  display: none;
  position: absolute;
  inset: 0;
}

.heatmap-map__item-inner.active {
  display: block;
}

.heatmap-map__item-inner.comments {
  background: var(--color-primary-400);
}

.heatmap-map__item-inner.posts {
  background: var(--color-primary-500);
}

.heatmap-map__item-inner.moments {
  background: var(--color-primary-600);
}

.heatmap-map__item-inner.both {
  background: var(--color-primary-700);
}

.heatmap-map__item-inner.notes {
  background: #fdba74;
}

.heatmap-tooltip {
  background: var(--color-primary-500);
  border-radius: var(--radius-md);
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  z-index: var(--z-tooltip);
  pointer-events: none;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  position: fixed;
}

.heatmap-tooltip .tooltip-date {
  font-weight: var(--font-semibold);
  margin-bottom: var(--spacing-1);
  color: var(--text-on-accent);
}

.heatmap-tooltip .tooltip-line {
  color: #ffffffe6;
  line-height: var(--leading-normal);
}

.heatmap-tooltip .tooltip-line:first-of-type {
  color: #fff;
  font-weight: var(--font-medium);
}

.heatmap-tooltip .tooltip-empty {
  color: #ffffffb3;
  font-style: italic;
}

.topic-list {
  margin-top: var(--spacing-4);
  padding-top: var(--spacing-3);
  padding-left: var(--spacing-2\.5);
  padding-right: var(--spacing-2\.5);
}

.topic-list .topic-items {
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.topic-item {
  padding: calc(var(--spacing) * 1.25) calc(var(--spacing) * 2.5);
  border-radius: var(--radius-sm);
  transition: background var(--duration-slow) var(--ease-default);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-item:hover {
  background: var(--hover-bg);
}

html.dark .topic-item:hover, [data-theme="dark"] .topic-item:hover {
  background: var(--hover-bg-dark);
}

.topic-item a {
  font-size: var(--text-xs);
  text-decoration: none;
  color: var(--text-secondary) !important;
}

html.dark .topic-item a, [data-theme="dark"] .topic-item a {
  color: var(--text-secondary-dark) !important;
}

.topic-item:hover a {
  color: var(--link-color) !important;
}

html.dark .topic-item:hover a, [data-theme="dark"] .topic-item:hover a {
  color: var(--link-color-dark) !important;
}

.topic-count {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
}

html.dark .topic-count, [data-theme="dark"] .topic-count {
  color: var(--text-tertiary-dark);
}

.page-title {
  padding: var(--spacing-10) 0 calc(var(--spacing) * 2.5) 0;
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
}

.entry-title {
  padding: var(--spacing-3) var(--spacing-10);
}

.tags-title {
  padding: 0;
}

.tags-wrapper {
  padding: calc(var(--spacing) * 8.5) var(--spacing-8);
}

.tags-page .tags-cloud {
  padding: var(--spacing-2) 0;
  flex-wrap: wrap;
  gap: 1.5rem;
  display: flex;
}

.tags-page .tag-block {
  padding: var(--spacing-2) calc(var(--spacing) * 3.5);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--duration-slow) var(--ease-default);
  align-items: center;
  gap: 6px;
  text-decoration: none;
  display: inline-flex;
}

html.dark .tags-page .tag-block, [data-theme="dark"] .tags-page .tag-block {
  background: var(--bg-secondary-dark);
  border-color: var(--border-color-dark);
}

.tags-page .tag-block:hover {
  background: var(--link-color);
  color: var(--text-on-accent);
  transform: scale(1.05);
}

.tags-page .tag-name {
  color: var(--text-secondary);
  font-size: var(--text-base);
}

html.dark .tags-page .tag-name, [data-theme="dark"] .tags-page .tag-name {
  color: var(--text-secondary-dark);
}

.tags-page .tag-icon {
  color: var(--text-tertiary);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.tags-page .tag-block:hover .tag-name, .tags-page .tag-block:hover .tag-icon {
  color: var(--text-on-accent);
}

.tags-page .tag-count {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  padding: calc(var(--spacing) * .5) calc(var(--spacing) * 1.5);
  border-radius: var(--radius-lg);
  background: #00000014;
}

.tags-page .tag-block:hover .tag-count {
  color: var(--text-on-accent);
  background: #fff3;
}

.tag-count {
  color: var(--text-on-accent) !important;
  background-color: #000 !important;
}

.tags-empty {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  padding: var(--spacing-5) 0;
  text-align: center;
}

.archives-content {
  padding: calc(var(--spacing) * 2.5) 0;
}

.archive-wrapper {
  margin-bottom: var(--spacing-6);
  position: relative;
}

.archive-year-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-4) 0;
  padding: var(--spacing-2) 0;
  align-items: center;
  gap: var(--spacing-3);
  display: flex;
}

.archive-year-title .year-text {
  flex: 1;
}

.archive-year-title .year-count {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  padding: calc(var(--spacing) * .5) var(--spacing-3);
  border-radius: var(--radius-xl);
}

html.dark .archive-year-title, [data-theme="dark"] .archive-year-title {
  color: var(--text-primary-dark);
}

html.dark .archive-year-title .year-count, [data-theme="dark"] .archive-year-title .year-count {
  background: var(--bg-secondary-dark);
  color: var(--text-tertiary-dark);
}

.archive-list {
  gap: var(--spacing-3);
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.archive-list li {
  list-style: none;
}

.archive-list a {
  font-size: var(--text-base);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-default);
  background: #fffc;
  border: 1px solid #0000000f;
  text-decoration: none;
  display: flex;
  overflow: hidden;
  box-shadow: 0 1px 3px #0000000a, 0 4px 12px #00000008;
  color: var(--text-primary) !important;
}

html.dark .archive-list a, [data-theme="dark"] .archive-list a {
  background: #1e293bcc;
  border-color: #ffffff1a;
  color: var(--text-primary-dark) !important;
}

.archive-cover {
  width: 80px;
  height: 50px;
  margin: var(--spacing-3);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
}

html.dark .archive-cover, [data-theme="dark"] .archive-cover {
  background: var(--bg-secondary-dark);
}

.archive-cover img {
  object-fit: cover;
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  display: block;
}

.archive-content {
  padding: var(--spacing-3) var(--spacing-3) var(--spacing-3) 0;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 0;
  height: 72px;
  display: flex;
}

.archive-title-row {
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-4);
  width: 100%;
  display: flex;
}

.archive-title {
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.archive-date {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.archive-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  margin: 0;
  line-height: 1.5;
  overflow: hidden;
}

html.dark .archive-excerpt, [data-theme="dark"] .archive-excerpt {
  color: var(--text-secondary-dark);
}

.archive-list a:hover {
  border-color: var(--link-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px #00000014, 0 8px 24px #0000000f;
}

html.dark .archive-list a:hover, [data-theme="dark"] .archive-list a:hover {
  border-color: var(--link-color-dark);
  box-shadow: 0 4px 16px #0000004d, 0 8px 24px #0003;
}

html.dark .archive-pagination, [data-theme="dark"] .archive-pagination {
  border-color: var(--border-color-dark);
}

.archive-pagination a {
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  transition: all var(--duration-slow) var(--ease-default);
  text-decoration: none;
}

html.dark .archive-pagination a, [data-theme="dark"] .archive-pagination a {
  background: var(--bg-secondary-dark);
  color: var(--text-secondary-dark);
}

.archive-pagination a:hover {
  background: var(--link-color);
  color: var(--text-on-accent);
}

.archive-pagination span {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
}

.archive-pagination {
  justify-content: center;
  align-items: center;
  gap: var(--spacing-4);
  margin-top: calc(var(--spacing) * 7.5);
  padding-top: var(--spacing-5);
  border-top: 1px solid var(--border-color);
  display: flex;
}

.archive-pagination .page-btn {
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  transition: all var(--duration-slow) var(--ease-default);
  text-decoration: none;
}

html.dark .archive-pagination .page-btn, [data-theme="dark"] .archive-pagination .page-btn {
  background: var(--bg-secondary-dark);
  color: var(--text-secondary-dark);
}

.archive-pagination .page-btn:hover {
  background: var(--link-color);
  color: var(--text-on-accent);
}

.archive-pagination .page-info {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
}

.page-article {
  padding: 0;
}

.page-cover {
  width: 100%;
  height: calc(var(--spacing) * 75);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

.page-cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.page-cover-empty {
  width: 100%;
  height: calc(var(--spacing) * 75);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  justify-content: center;
  align-items: center;
  display: flex;
}

.page-cover-empty .czs-cup-l {
  font-size: var(--text-5xl);
  color: #ffffff4d;
}

.page-article .page-header {
  padding: var(--spacing-8) var(--spacing-10) var(--spacing-6);
  border-bottom: 1px solid var(--border-color);
}

html.dark .page-article .page-header, [data-theme="dark"] .page-article .page-header {
  border-color: var(--border-color-dark);
}

.page-article .page-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin: 0 0 var(--spacing-4);
  line-height: 1.4;
  color: var(--text-primary) !important;
}

.page-meta {
  padding: var(--spacing-3) var(--spacing-10);
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  display: flex;
}

.meta-item {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  align-items: center;
  gap: 6px;
  display: flex;
}

.meta-item .czs {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.meta-item .czs-calendar {
  color: var(--accent-color);
}

.meta-item .czs-eye {
  color: #10b981;
}

.meta-item .czs-comment {
  color: var(--link-color);
}

html.dark .meta-item, [data-theme="dark"] .meta-item {
  color: var(--text-secondary-dark);
}

html.dark .meta-item .czs, [data-theme="dark"] .meta-item .czs {
  color: var(--text-tertiary-dark);
}

.meta-item:hover {
  color: var(--text-primary);
}

.meta-item .avatar {
  object-fit: cover;
  border: 2px solid var(--bg-card);
  width: 22px;
  height: 22px;
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
}

.meta-item i {
  font-size: var(--text-base);
}

.page-tags {
  padding: calc(var(--spacing) * 2.5) var(--spacing-10) calc(var(--spacing) * 2.5) var(--spacing-10);
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  display: flex;
}

.page-content {
  padding: var(--spacing-8) var(--spacing-10) var(--spacing-10);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

html.dark .page-content, [data-theme="dark"] .page-content {
  color: var(--text-secondary-dark);
}

.page-content img {
  border-radius: var(--radius-lg);
  max-width: 100%;
  height: auto;
  margin: var(--spacing-4) 0;
}

.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 {
  margin: var(--spacing-6) 0 var(--spacing-3);
  font-weight: var(--font-semibold);
  color: var(--text-primary) !important;
}

.page-content h1, .page-content h2 {
  font-size: var(--text-2xl);
}

.page-content h3, .page-content h4 {
  font-size: var(--text-base);
}

.page-content p {
  margin: var(--spacing-3) 0;
}

.page-content a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.page-content a:hover {
  text-decoration: underline !important;
}

.page-content pre:not(.shiki) {
  background: var(--bg-secondary);
  padding: var(--spacing-4);
  border-radius: var(--radius-lg);
  margin: var(--spacing-4) 0;
  overflow-x: auto;
}

html.dark .page-content pre:not(.shiki), [data-theme="dark"] .page-content pre:not(.shiki) {
  background: var(--bg-secondary-dark);
}

.page-content code {
  background: var(--bg-secondary);
  padding: calc(var(--spacing) * .5) calc(var(--spacing) * 1.5);
  border-radius: var(--radius-sm);
  font-family: Monaco, Menlo, monospace;
  font-size: .9em;
}

html.dark .page-content code, [data-theme="dark"] .page-content code {
  background: var(--bg-secondary-dark);
}

.page-content blockquote {
  border-left: 4px solid var(--link-color);
  padding-left: var(--spacing-4);
  margin: var(--spacing-4) 0;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

html.dark .page-content blockquote, [data-theme="dark"] .page-content blockquote {
  background: var(--bg-secondary-dark);
  color: var(--text-secondary-dark);
}

.page-content ul, .page-content ol {
  padding-left: var(--spacing-6);
  margin: var(--spacing-3) 0;
}

.page-content li {
  margin: var(--spacing-2) 0;
}

.page-content table {
  border-collapse: collapse;
  width: 100%;
  margin: var(--spacing-4) 0;
}

.page-content th, .page-content td {
  border: 1px solid var(--border-color);
  padding: calc(var(--spacing) * 2.5) calc(var(--spacing) * 3.5);
  text-align: left;
}

html.dark .page-content th, html.dark .page-content td, [data-theme="dark"] .page-content th, [data-theme="dark"] .page-content td {
  border-color: var(--border-color-dark);
}

.page-content th {
  background: var(--bg-secondary);
  font-weight: var(--font-semibold);
}

html.dark .page-content th, [data-theme="dark"] .page-content th {
  background: var(--bg-secondary-dark);
}

.tag-header {
  margin-bottom: var(--spacing-6);
}

.tag-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--spacing-2);
}

.tag-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2);
}

.tag-post-count {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
}

.article-list {
  padding: 15px var(--spacing-5);
  display: block;
}

@media not all and (min-width: 48rem) {
  .article-list {
    padding-top: 10px;
  }
}

.article-item {
  margin: 0;
}

.archive-pagination {
  justify-content: center;
  gap: var(--spacing-3);
  margin-top: var(--spacing-6);
  display: flex;
}

.article-list {
  display: block;
}

.tag-page {
  padding: var(--spacing-6) var(--spacing-5);
}

.tag-header {
  margin-bottom: var(--spacing-5);
  color: var(--text-primary);
  font-size: 1.375rem;
}

.post-card-list {
  gap: var(--spacing-4);
  grid-template-columns: 1fr;
  display: grid;
}

@media (min-width: 64rem) {
  .post-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-slow) var(--ease-default), box-shadow var(--duration-slow) var(--ease-default);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

html.dark .post-card, [data-theme="dark"] .post-card {
  background: var(--bg-card-dark);
  box-shadow: var(--shadow-dark);
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.post-card-cover {
  width: 100%;
  height: 140px;
}

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

.post-card-content {
  padding: calc(var(--spacing) * 3.5);
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  display: flex;
}

.post-card-title {
  font-size: var(--text-base);
  margin: 0 0 var(--spacing-2) 0;
  line-height: var(--leading-normal);
}

.post-card-title a {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-decoration: none;
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-primary) !important;
}

.post-card-meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.pagination::-webkit-scrollbar {
  display: none;
}

.pagination {
  margin: var(--spacing-8) 0;
  margin-bottom: var(--spacing-8);
  scrollbar-width: none;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  display: flex;
  overflow-x: auto;
}

@media (min-width: 48rem) {
  .pagination {
    justify-content: center;
    gap: var(--spacing-3);
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.post-article {
  padding: calc(var(--spacing) * 7.5);
  background: var(--bg-card);
  width: 100%;
}

html.dark .post-article, [data-theme="dark"] .post-article {
  background: var(--bg-card-dark);
}

.post-content {
  font-size: var(--text-base);
  color: var(--text-secondary);
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
  padding: 0;
  line-height: 1.8;
}

html.dark .post-content, [data-theme="dark"] .post-content {
  color: var(--text-secondary-dark);
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  margin: var(--spacing-8) 0 var(--spacing-4);
  font-weight: var(--font-bold);
  line-height: 1.4;
  position: relative;
  color: var(--text-primary) !important;
}

html.dark .post-content h1, html.dark .post-content h2, html.dark .post-content h3, html.dark .post-content h4, html.dark .post-content h5, [data-theme="dark"] .post-content h1, [data-theme="dark"] .post-content h2, [data-theme="dark"] .post-content h3, [data-theme="dark"] .post-content h4, [data-theme="dark"] .post-content h5 {
  color: var(--text-primary-dark) !important;
}

html.dark .post-content h6, [data-theme="dark"] .post-content h6 {
  color: var(--text-secondary-dark) !important;
}

.post-content h1 {
  font-size: var(--text-3xl);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

html.dark .post-content h1, [data-theme="dark"] .post-content h1 {
  border-bottom-color: var(--border-color-dark);
}

.post-content h2 {
  font-size: var(--text-2xl);
  padding-left: var(--spacing-3);
  border-left: 4px solid var(--link-color);
}

.post-content h3 {
  font-size: 1.375rem;
}

.post-content h4 {
  font-size: var(--text-xl);
}

.post-content h5 {
  font-size: var(--text-lg);
}

.post-content h6 {
  font-size: var(--text-base);
  color: var(--text-tertiary) !important;
}

.post-content p {
  margin: var(--spacing-4) 0;
}

.post-content img {
  border-radius: var(--radius-lg);
  max-width: 100%;
  height: auto;
  margin: var(--spacing-5) 0;
  box-shadow: var(--shadow-soft-sm);
}

.post-content a {
  transition: border-color var(--duration-slow) var(--ease-default);
  border-bottom: 1px solid #0000;
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.post-content a:hover {
  border-bottom-color: var(--link-color);
}

.post-content pre {
  background: var(--bg-secondary);
  padding: var(--spacing-4);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

html.dark .post-content pre, [data-theme="dark"] .post-content pre {
  background: var(--bg-secondary-dark);
}

.post-content code {
  background: var(--bg-secondary);
  padding: calc(var(--spacing) * .5) calc(var(--spacing) * 1.5);
  border-radius: var(--radius-sm);
  color: #dc2626;
  font-family: Monaco, Menlo, Consolas, monospace;
  font-size: .875em;
}

html.dark .post-content code, [data-theme="dark"] .post-content code {
  background: var(--bg-secondary-dark);
  color: #f87171;
}

.post-content pre code {
  font-size: var(--text-sm);
  color: inherit;
  background: none;
  padding: 0;
}

.post-content blockquote {
  border-left: 4px solid var(--link-color);
  margin: var(--spacing-5) 0;
  padding: var(--spacing-3) var(--spacing-5);
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
}

html.dark .post-content blockquote, [data-theme="dark"] .post-content blockquote {
  background: var(--bg-secondary-dark);
  color: var(--text-secondary-dark);
}

.post-content blockquote p {
  margin: 0;
}

.post-content ul, .post-content ol {
  padding-left: var(--spacing-6);
  margin: var(--spacing-4) 0;
}

.post-content li {
  margin: var(--spacing-2) 0;
  line-height: 1.7;
}

.post-content li > ul, .post-content li > ol {
  margin: var(--spacing-1) 0;
}

.post-content input[type="checkbox"] {
  margin-right: var(--spacing-2);
  accent-color: var(--link-color);
}

.post-content table {
  border-collapse: collapse;
  width: 100%;
  margin: var(--spacing-5) 0;
  font-size: var(--text-sm);
}

.post-content th, .post-content td {
  border: 1px solid var(--border-color);
  padding: var(--spacing-3) var(--spacing-4);
  text-align: left;
}

html.dark .post-content th, html.dark .post-content td, [data-theme="dark"] .post-content th, [data-theme="dark"] .post-content td {
  border-color: var(--border-color-dark);
}

.post-content th {
  background: var(--bg-secondary);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

html.dark .post-content th, [data-theme="dark"] .post-content th {
  background: var(--bg-secondary-dark);
  color: var(--text-primary-dark);
}

.post-content tr:hover td {
  background: var(--bg-secondary);
}

html.dark .post-content tr:hover td, [data-theme="dark"] .post-content tr:hover td {
  background: var(--bg-secondary-dark);
}

.post-content hr {
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  height: 1px;
  margin: var(--spacing-8) 0;
  border: none;
}

.post-content strong {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.post-content em {
  font-style: italic;
}

.post-content del {
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.bilibili-embed {
  margin: var(--spacing-5) 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

html.dark .bilibili-embed, [data-theme="dark"] .bilibili-embed {
  border-color: var(--border-color-dark);
}

.bilibili-player-title {
  display: none;
}

.bilibili-player-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bilibili-player-wrapper iframe {
  border: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.sidebar-tabs {
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-bottom: calc(var(--spacing) * .25);
  display: flex;
}

.sidebar-tab {
  width: 36px;
  height: calc(var(--spacing) * 9);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-slower) var(--ease-default);
  color: var(--text-secondary);
  border: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

html.dark .sidebar-tab, [data-theme="dark"] .sidebar-tab {
  background: var(--bg-secondary-dark);
  color: var(--text-secondary-dark);
}

.sidebar-tab i {
  font-size: var(--text-lg);
}

.sidebar-tab:hover {
  background: var(--border-color);
  color: var(--link-color);
}

html.dark .sidebar-tab:hover, [data-theme="dark"] .sidebar-tab:hover {
  background: var(--border-color-dark);
}

.sidebar-tab.active {
  background: var(--link-color);
  color: var(--text-on-accent);
}

.sidebar-content {
  opacity: 0;
  transition: opacity var(--duration-slower) var(--ease-default), transform .3s cubic-bezier(.4, 0, .2, 1);
  display: none;
  transform: translateX(-10px);
}

.sidebar-content.active {
  opacity: 1;
  z-index: 10;
  flex-direction: column;
  display: flex;
  transform: translateX(0);
}

.toc-empty {
  padding: var(--spacing-5);
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--text-sm);
}

.post-meta {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 0;
  display: flex;
}

.post-meta .meta-item {
  padding: calc(var(--spacing) * 1.5) var(--spacing-3);
  background: var(--link-color);
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
  transition: all var(--duration-slow) var(--ease-default);
  border: 1px solid #ffffff4d;
  align-items: center;
  gap: 6px;
  display: inline-flex;
  color: var(--text-on-accent) !important;
}

.post-meta .meta-item i {
  font-size: var(--text-sm);
}

.post-meta .meta-item:hover {
  background: var(--link-color-dark);
  transform: translateY(-1px);
}

.post-tags {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  display: flex;
}

.post-tag {
  padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 3.5);
  background: var(--bg-secondary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  transition: all var(--duration-slow) var(--ease-default);
  align-items: center;
  display: inline-flex;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
}

html.dark .post-tag, [data-theme="dark"] .post-tag {
  background: var(--bg-secondary-dark);
  color: var(--text-secondary-dark) !important;
}

.post-tag:hover {
  background: var(--link-color);
  box-shadow: var(--shadow-accent-md);
  transform: translateY(-1px);
  color: var(--text-on-accent) !important;
}

.article-comment {
  padding: 0;
}

:root {
  --halo-cw-primary-1-color: var(--color-primary-600);
  --halo-cw-primary-2-color: var(--color-primary-500);
  --halo-cw-primary-3-color: var(--color-primary-400);
  --halo-cw-text-1-color: var(--text-primary);
  --halo-cw-text-2-color: var(--text-secondary);
  --halo-cw-text-3-color: var(--text-tertiary);
  --halo-cw-muted-1-color: var(--border-color);
  --halo-cw-muted-2-color: var(--bg-secondary);
  --halo-cw-muted-3-color: var(--bg-tertiary);
  --halo-cw-base-rounded: .5rem;
  --halo-cw-avatar-rounded: 50%;
  --halo-cw-avatar-size: 2.5rem;
  --halo-cw-base-font-size: var(--text-base);
  --halo-cw-base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html.dark, [data-theme="dark"] {
  --halo-cw-primary-1-color: var(--color-primary-400);
  --halo-cw-primary-2-color: var(--color-primary-500);
  --halo-cw-primary-3-color: var(--color-primary-600);
  --halo-cw-text-1-color: var(--text-primary-dark);
  --halo-cw-text-2-color: var(--text-secondary-dark);
  --halo-cw-text-3-color: var(--text-tertiary-dark);
  --halo-cw-muted-1-color: var(--border-color-dark);
  --halo-cw-muted-2-color: var(--bg-secondary-dark);
  --halo-cw-muted-3-color: var(--bg-tertiary-dark);
}

.hui-input {
  width: 100%;
  padding: calc(var(--spacing) * 3) var(--spacing-4);
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all var(--duration-slow) var(--ease-default);
}

.hui-input:focus {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
  border-color: var(--color-primary-500);
}

html.dark .hui-input, [data-theme="dark"] .hui-input {
  background: var(--bg-card-dark);
  border-color: var(--border-color-dark);
  color: var(--text-primary-dark);
}

html.dark .hui-input:focus, [data-theme="dark"] .hui-input:focus {
  outline-color: var(--color-primary-400);
  border-color: var(--color-primary-400);
}

.hui-btn {
  padding: calc(var(--spacing) * 2.5) calc(var(--spacing) * 5);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-slow) var(--ease-default);
  border: none;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  display: inline-flex;
}

.hui-btn-primary {
  background: var(--color-primary-600);
  color: #fff;
}

.hui-btn-primary:hover {
  background: var(--color-primary-700);
}

.hui-btn-primary:active {
  background: var(--color-primary-800);
}

.hui-btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.hui-btn-secondary:hover {
  background: var(--bg-tertiary);
}

html.dark .hui-btn-secondary, [data-theme="dark"] .hui-btn-secondary {
  background: var(--bg-secondary-dark);
  color: var(--text-secondary-dark);
  border-color: var(--border-color-dark);
}

html.dark .hui-btn-secondary:hover, [data-theme="dark"] .hui-btn-secondary:hover {
  background: var(--bg-tertiary-dark);
}

.hui-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: var(--spacing-6);
}

html.dark .hui-card, [data-theme="dark"] .hui-card {
  background: var(--bg-card-dark);
  border-color: var(--border-color-dark);
}

.article-comment {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
}

html.dark .article-comment, [data-theme="dark"] .article-comment {
  background: var(--bg-card-dark);
}

.article-comment .halo-comment-widget [class*="input"] {
  background: var(--bg-secondary) !important;
}

html.dark .article-comment .halo-comment-widget [class*="input"], [data-theme="dark"] .article-comment .halo-comment-widget [class*="input"] {
  background: var(--bg-secondary-dark) !important;
}

.article-comment .halo-comment-widget [class*="item"] {
  border-color: var(--border-color) !important;
}

html.dark .article-comment .halo-comment-widget [class*="item"], [data-theme="dark"] .article-comment .halo-comment-widget [class*="item"] {
  border-color: var(--border-color-dark) !important;
}

.form-account {
  display: none !important;
}

.moment-item {
  padding: var(--spacing-4) 0;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.6;
}

html.dark .moment-item, [data-theme="dark"] .moment-item {
  border-bottom-color: var(--border-color-dark);
}

.moment-item:last-child {
  border-bottom: none;
}

.moment-content {
  margin-bottom: var(--spacing-2\.5);
  word-wrap: break-word;
  word-break: break-all;
  max-width: 100%;
  overflow-x: auto;
}

.moment-content ol, .moment-content ul {
  padding-left: var(--spacing-6);
  margin: var(--spacing-2) 0;
  max-width: 100%;
  overflow-x: auto;
}

.moment-content li {
  white-space: normal;
  word-break: break-word;
}

.moment-content p {
  margin: 0 0 var(--spacing-2) 0;
}

.moment-content p:last-child {
  margin-bottom: 0;
}

.moment-media {
  margin: calc(var(--spacing) * 2.5) 0;
}

.moment-photos {
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  display: grid;
}

.moment-photos.single {
  grid-template-columns: 1fr;
  max-width: 50%;
}

.moment-photos.single .photo-item {
  aspect-ratio: 16 / 9;
}

.moment-photos.four {
  grid-template-columns: repeat(2, 1fr);
}

.photo-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.photo-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.moment-media video, .moment-media audio {
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 100%;
  margin-bottom: var(--spacing-2);
}

.moment-video-wrapper {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  width: 100%;
  margin-bottom: var(--spacing-2);
  background: #000;
  position: relative;
  overflow: hidden;
}

.moment-video-wrapper.vertical {
  cursor: pointer;
}

.moment-video-wrapper.vertical .moment-video {
  display: none;
}

.moment-video-wrapper.vertical .moment-video-overlay {
  background: #0006;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex !important;
}

.moment-video-play-icon {
  width: 48px;
  height: 48px;
  font-size: var(--text-xl);
  color: var(--text-primary);
  padding-left: var(--spacing-1);
  background: #ffffffe6;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.moment-video {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.moment-media-badge {
  padding: calc(var(--spacing) * .5) var(--spacing-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--text-on-accent);
  background: #0009;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  display: inline-flex;
}

.media-icon, .media-label {
  font-size: var(--text-xs);
}

.moment-audio-wrapper {
  margin-bottom: var(--spacing-2);
  position: relative;
}

.moment-audio-wrapper audio {
  border-radius: var(--radius-3xl);
  width: 100%;
  height: 40px;
}

.moment-audio-wrapper .moment-media-badge {
  top: calc(var(--spacing) * -6);
  position: absolute;
  left: 0;
}

.moment-post-link {
  color: inherit;
  margin-bottom: 8px;
  text-decoration: none;
  display: block;
}

.moment-post-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--duration-slow) var(--ease-default);
  display: flex;
  overflow: hidden;
}

html.dark .moment-post-card, [data-theme="dark"] .moment-post-card {
  background: var(--bg-secondary-dark);
  border-color: var(--border-color-dark);
}

.moment-post-card:hover {
  border-color: var(--link-color);
  box-shadow: var(--shadow-accent-sm);
}

.moment-post-cover {
  flex-shrink: 0;
  width: 100px;
  min-height: 80px;
}

.moment-post-cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.moment-post-info {
  padding: calc(var(--spacing) * 2.5) var(--spacing-3);
  flex-direction: column;
  flex: 1;
  justify-content: center;
  min-width: 0;
  display: flex;
}

.moment-post-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1) 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

html.dark .moment-post-title, [data-theme="dark"] .moment-post-title {
  color: var(--text-primary-dark);
}

.moment-post-excerpt {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
}

.moment-post-meta {
  align-items: center;
  display: flex;
}

.moment-post-meta .moment-media-badge {
  background: var(--link-color);
  margin-top: 0;
}

.video-viewer {
  width: 100%;
  height: 100%;
  z-index: var(--z-toast);
  justify-content: center;
  align-items: center;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
}

.video-viewer-backdrop {
  background: #000000d9;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.video-viewer-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.video-viewer-content video {
  border-radius: var(--radius-lg);
  max-width: 100%;
  max-height: 90vh;
}

.video-viewer-close {
  color: var(--text-on-accent);
  font-size: var(--text-2xl);
  cursor: pointer;
  padding: var(--spacing-2);
  line-height: var(--leading-none);
  background: none;
  border: none;
  position: absolute;
  top: -40px;
  right: 0;
}

.moment-header {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-2);
}

.moment-time {
  margin-right: var(--spacing-3);
}

.moment-content .tag-text {
  display: none;
}

.tags {
  gap: var(--spacing-2);
  margin-top: var(--spacing-2);
  flex-wrap: wrap;
  padding: 5px 0;
  display: flex;
}

.tag {
  padding: calc(var(--spacing) * .5) var(--spacing-2);
  background: var(--accent-bg);
  color: var(--accent-color);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  transition: all var(--duration-slow) var(--ease-default);
  line-height: 1.4;
  text-decoration: none;
  display: inline-block;
}

.tag:hover {
  background: var(--link-color);
  color: var(--text-on-accent) !important;
}

html.dark .tag, [data-theme="dark"] .tag {
  background: var(--accent-bg-dark);
  color: var(--accent-color-dark);
}

.moment-filter-bar {
  padding: var(--spacing-1) var(--spacing-3);
  background: var(--accent-bg);
  border: 1px solid var(--link-color);
  border-radius: var(--radius-2xl);
  font-size: var(--text-sm);
  align-items: center;
  gap: 6px;
  margin-left: auto;
  display: flex;
}

html.dark .moment-filter-bar, [data-theme="dark"] .moment-filter-bar {
  background: var(--accent-bg-dark);
  border-color: var(--link-color-dark);
}

.moment-filter-tag {
  font-weight: var(--font-medium);
  color: var(--link-color);
}

.moment-filter-clear {
  width: 16px;
  height: 16px;
  margin-left: var(--spacing-1);
  color: var(--link-color);
  cursor: pointer;
  background: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  display: inline-flex;
  position: relative;
}

.moment-filter-clear:before {
  content: "×";
  font-size: var(--text-sm);
  line-height: var(--leading-none);
  font-weight: var(--font-bold);
}

.moment-filter-clear:hover {
  background: var(--bg-card);
}

.moment-footer {
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  display: flex;
}

.moment-actions {
  gap: 16px;
  display: flex;
}

.action-item {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color var(--duration-slow) var(--ease-default);
  align-items: center;
  gap: 4px;
  text-decoration: none;
  display: flex;
}

.action-item:hover {
  color: var(--text-secondary);
}

.moment-like:active i {
  transform: scale(1.2);
}

.moment-like .czs-heart.liked {
  color: #ef4444;
}

.action-item i {
  font-size: var(--text-base);
}

.moment-source {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  align-items: center;
  gap: 4px;
  display: flex;
}

.moment-source i {
  font-size: var(--text-sm);
}

.moment-likes, .moment-comments {
  margin-right: var(--spacing-3);
}

.empty-moments {
  text-align: center;
  padding: var(--spacing-10) var(--spacing-5);
  color: var(--text-tertiary);
}

.plugin-notice {
  padding: var(--spacing-10) var(--spacing-5);
  margin: var(--spacing-5);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--border-color);
  justify-content: center;
  align-items: center;
  gap: 16px;
  display: flex;
}

html.dark .plugin-notice, [data-theme="dark"] .plugin-notice {
  background: var(--bg-secondary-dark);
  border-color: var(--border-color-dark);
}

.plugin-notice-icon {
  font-size: var(--text-5xl);
}

.plugin-notice-content {
  text-align: left;
}

.plugin-notice-content h3 {
  margin: 0 0 var(--spacing-2) 0;
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.plugin-notice-content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.plugin-notice-content a {
  color: var(--link-color);
  text-decoration: none;
}

.plugin-notice-content a:hover {
  text-decoration: underline;
}

.image-viewer {
  width: 100%;
  height: 100%;
  z-index: var(--z-toast);
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.viewer-backdrop {
  background: #000000e6;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.viewer-content {
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  position: relative;
}

.viewer-content img {
  object-fit: contain;
  max-width: 100%;
  max-height: 90vh;
}

.viewer-prev, .viewer-next {
  color: var(--text-on-accent);
  font-size: var(--text-2xl);
  padding: calc(var(--spacing) * 3.75);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--duration-slow) var(--ease-default);
  background: #fff3;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.viewer-prev:hover, .viewer-next:hover {
  background: #fff6;
}

.viewer-prev {
  left: 20px;
}

.viewer-next {
  right: 20px;
}

.viewer-close {
  color: var(--text-on-accent);
  font-size: var(--text-2xl);
  cursor: pointer;
  width: 44px;
  height: 44px;
  transition: background var(--duration-slow) var(--ease-default);
  background: #fff3;
  border: none;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: 20px;
}

.viewer-close:before {
  content: "×";
  font-size: 1.75rem;
  line-height: var(--leading-none);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.viewer-close:hover {
  background: #fff6;
}

.viewer-counter {
  color: var(--text-on-accent);
  font-size: var(--text-sm);
  padding: calc(var(--spacing) * 1.5) var(--spacing-4);
  border-radius: var(--radius-3xl);
  background: #00000080;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.moment-comments {
  border-top: 1px solid var(--border-color);
  margin-top: 12px;
  padding-top: 12px;
}

html.dark .moment-comments, [data-theme="dark"] .moment-comments {
  border-color: var(--border-color-dark);
}

.comments-section {
  width: 100%;
  margin-top: 48px;
  padding: 0;
}

html.dark .comments-section, [data-theme="dark"] .comments-section {
  border-color: var(--border-color-dark);
}

.comments-header {
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-6);
  padding-bottom: var(--spacing-4);
  display: flex;
}

.comments-header i {
  font-size: var(--text-base);
  color: var(--color-primary-500);
}

.comments-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.comments-count {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: var(--font-normal);
}

.comments-list {
  margin-bottom: var(--spacing-3);
}

.comment-item {
  gap: var(--spacing-2\.5);
  padding: var(--spacing-2) 0;
  display: flex;
}

.comment-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

html.dark .comment-item:not(:last-child), [data-theme="dark"] .comment-item:not(:last-child) {
  border-color: var(--border-color-dark);
}

.comment-avatar {
  width: var(--spacing-8);
  height: var(--spacing-8);
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.comment-avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-header {
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  display: flex;
}

.comment-author {
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.comment-time {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.comment-content {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  word-break: break-word;
}

.no-comments {
  text-align: center;
  padding: var(--spacing-3);
  color: var(--text-tertiary);
  font-size: var(--text-sm);
}

.comment-form {
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

.comment-input {
  padding: var(--spacing-2) var(--spacing-3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  resize: none;
  min-height: calc(var(--spacing) * 9);
  max-height: calc(var(--spacing) * 30);
  background: var(--bg-card);
  color: var(--text-primary);
  flex: 1;
  font-family: inherit;
}

html.dark .comment-input, [data-theme="dark"] .comment-input {
  border-color: var(--border-color-dark);
  background: var(--bg-tertiary-dark);
  color: var(--text-primary-dark);
}

.comment-input:focus {
  border-color: var(--link-color);
  outline: none;
}

.comment-submit {
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--link-color);
  color: var(--text-on-accent);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: background var(--duration-slow) var(--ease-default);
  border: none;
}

.comment-submit:hover {
  background: var(--nav-active-bg-dark);
}

.comment-submit:disabled {
  background: var(--text-tertiary);
  cursor: not-allowed;
}

.moment-comments-toggle {
  cursor: pointer;
}

.moment-comments-toggle i.active {
  color: var(--link-color);
}

.moment-comments-wrapper {
  border-top: 1px solid var(--border-color);
  margin-top: 12px;
  padding-top: 12px;
  transition: opacity .3s, transform .3s, max-height .4s, margin-top .3s, padding-top .3s;
  overflow: hidden;
  opacity: 1 !important;
  max-height: 2000px !important;
  display: block !important;
  transform: translateY(0) !important;
}

body .moment-comments-wrapper.moment-comments-hidden, body .moment-item .moment-comments-wrapper.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  border-top: none !important;
  max-height: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  display: block !important;
  overflow: hidden !important;
  transform: translateY(-10px) !important;
}

.post-comment-section {
  border-top: 1px solid var(--halo-cw-border-color);
  margin-top: 40px;
  padding-top: 30px;
}

.halo-comment-widget {
  box-shadow: none !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.halo-comment-widget-header {
  font-size: var(--text-lg) !important;
  font-weight: var(--font-semibold) !important;
  margin-bottom: var(--spacing-5) !important;
  border: none !important;
  padding: 0 !important;
}

.halo-comment-widget-input-area {
  border-radius: var(--halo-cw-radius) !important;
  border-color: var(--halo-cw-border-color) !important;
}

.halo-comment-widget-input-area:focus-within {
  border-color: var(--link-color) !important;
  box-shadow: var(--shadow-ring) !important;
}

.halo-comment-widget-submit-btn {
  background: var(--link-color) !important;
  border-radius: var(--radius-md) !important;
  height: 36px !important;
  padding: 0 var(--spacing-4) !important;
}

.halo-comment-widget-submit-btn:hover {
  background: var(--link-color-dark) !important;
}

.halo-comment-widget-item {
  padding: var(--spacing-4) 0 !important;
  border-bottom: 1px solid var(--halo-cw-border-color) !important;
}

.halo-comment-widget-item:last-child {
  border-bottom: none !important;
}

.halo-comment-widget-author-name {
  font-weight: var(--font-medium) !important;
  color: var(--text-primary) !important;
}

.halo-comment-widget-time {
  font-size: var(--text-xs) !important;
  color: var(--text-tertiary) !important;
}

.halo-comment-widget-content {
  margin-top: var(--spacing-2) !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
}

.halo-comment-widget-reply-btn {
  color: var(--theme-color) !important;
  font-size: var(--text-xs) !important;
}

.halo-comment-widget-reply-btn:hover {
  color: var(--link-color) !important;
  background: none !important;
}

.halo-comment-widget-children {
  margin-left: var(--spacing-10) !important;
}

.halo-comment-widget-children .halo-comment-widget-item {
  padding: var(--spacing-3) 0 !important;
}

.halo-comment-widget-loadmore {
  color: var(--link-color) !important;
}

.plugin-notice-modal {
  width: 100%;
  height: 100%;
  z-index: var(--z-toast);
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.plugin-notice-backdrop {
  background: #00000080;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.plugin-notice-dialog {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-10);
  max-width: calc(var(--spacing) * 90);
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
}

html.dark .plugin-notice-dialog, [data-theme="dark"] .plugin-notice-dialog {
  background: var(--bg-card-dark);
  color: var(--text-primary-dark);
}

.plugin-notice-close {
  font-size: var(--text-2xl);
  color: var(--text-tertiary);
  cursor: pointer;
  padding: var(--spacing-1) var(--spacing-2);
  line-height: var(--leading-none);
  background: none;
  border: none;
  position: absolute;
  top: 12px;
  right: 12px;
}

.plugin-notice-close:hover {
  color: var(--text-primary);
}

.plugin-notice-dialog .plugin-notice-icon {
  margin-bottom: var(--spacing-4);
  font-size: 3.5rem;
}

.plugin-notice-dialog h3 {
  margin: 0 0 var(--spacing-3) 0;
  font-size: var(--text-xl);
  color: var(--text-primary);
}

.plugin-notice-dialog p {
  margin: 0 0 var(--spacing-3) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.plugin-notice-dialog a {
  color: var(--link-color);
  text-decoration: none;
}

.plugin-notice-dialog a:hover {
  text-decoration: underline;
}

.plugin-notice-hint {
  font-size: var(--text-xs) !important;
  color: var(--text-tertiary) !important;
}

.friends-list .empty-state {
  text-align: center;
  padding: var(--spacing-16) var(--spacing-5);
  color: var(--text-tertiary);
}

.friend-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-4);
  margin-bottom: var(--spacing-4);
  transition: all var(--duration-slower) var(--ease-default);
}

html.dark .friend-card, [data-theme="dark"] .friend-card {
  background: var(--bg-card-dark);
  color: var(--text-primary-dark);
  border-color: var(--border-color-dark);
}

.friend-card:hover {
  border-color: var(--link-color);
  box-shadow: var(--shadow-soft-sm);
  transform: translateY(-2px);
}

.friend-header {
  margin-bottom: var(--spacing-3);
  align-items: center;
  display: flex;
}

.friend-avatar {
  width: 40px;
  height: 40px;
  margin-right: var(--spacing-3);
  object-fit: cover;
  border-radius: 50%;
}

.friend-info {
  flex-direction: column;
  display: flex;
}

.friend-author {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  text-decoration: none;
}

.friend-author:hover {
  color: var(--link-color);
}

.friend-date {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

.friend-content {
  text-decoration: none;
  display: block;
}

.friend-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2) 0;
  transition: color var(--duration-slower) var(--ease-default);
}

.friend-content:hover .friend-title {
  color: var(--link-color);
}

.friend-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
}

.pagination-previous, .pagination-next {
  padding: 0 var(--spacing-2);
  height: calc(var(--spacing) * 9);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--duration-slow), color var(--duration-slow) var(--ease-default);
  -webkit-user-select: none;
  user-select: none;
  border: none;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  display: inline-flex !important;
}

.pagination-list {
  align-items: center;
  gap: var(--spacing-1);
  flex-wrap: nowrap;
  justify-content: flex-start;
  display: flex;
}

.pagination-page {
  min-width: var(--spacing-6);
  height: var(--spacing-8);
  padding: 0 var(--spacing-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--duration-slow), color var(--duration-slow) var(--ease-default);
  background: none;
  border: none;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  display: inline-flex;
}

.pagination-gap {
  min-width: var(--spacing-4);
  height: var(--spacing-8);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  -webkit-user-select: none;
  user-select: none;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

@media (min-width: 48rem) {
  .pagination-previous, .pagination-next {
    padding: 0 calc(var(--spacing) * 3.5);
  }

  .pagination-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }

  .pagination-page {
    min-width: 36px;
    height: calc(var(--spacing) * 9);
    padding: 0 8px;
  }

  .pagination-gap {
    min-width: 36px;
    height: calc(var(--spacing) * 9);
  }
}

.pagination-previous:hover, .pagination-next:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.pagination-previous.disabled, .pagination-next.disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-list, .pagination.simple .pagination-list.simple-list {
  align-items: center;
  gap: 2px;
  display: flex;
}

.pagination-page {
  min-width: 36px;
  height: calc(var(--spacing) * 9);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--duration-slow), color var(--duration-slow) var(--ease-default);
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  text-decoration: none;
  display: inline-flex;
}

html.dark .pagination-page, [data-theme="dark"] .pagination-page {
  color: var(--text-secondary-dark);
}

.pagination-page:hover:not(.current) {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

html.dark .pagination-page:hover:not(.current), [data-theme="dark"] .pagination-page:hover:not(.current) {
  background: var(--bg-secondary-dark);
  color: var(--text-primary-dark);
}

.pagination-page.current {
  background: var(--link-color);
  color: var(--text-on-accent) !important;
}

.pagination.simple .pagination-list.simple-list .pagination-page {
  min-width: var(--spacing-8);
  height: var(--spacing-8);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  padding: 0 6px;
}

.pagination-gap {
  min-width: 36px;
  height: calc(var(--spacing) * 9);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  -webkit-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

html.dark .pagination-gap, [data-theme="dark"] .pagination-gap {
  color: var(--text-tertiary-dark);
}

.pagination.simple .pagination-list.simple-list .pagination-gap {
  min-width: var(--spacing-6);
  height: var(--spacing-8);
  font-size: var(--text-sm);
}

.friends-pagination {
  justify-content: center;
  align-items: center;
  gap: var(--spacing-4);
  margin-top: var(--spacing-6);
  padding: var(--spacing-4) 0;
  display: flex;
}

.pagination-btn {
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--link-color);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  transition: all var(--duration-slower) var(--ease-default);
  text-decoration: none;
  color: var(--text-on-accent) !important;
}

.friends-pagination .pagination-btn {
  border: 1px solid var(--text-on-accent);
  background: none;
}

.pagination-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.pagination-info {
  color: var(--link-color);
  font-size: var(--text-sm);
}

.link-group {
  margin-bottom: var(--spacing-8);
}

.link-group-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
  padding-bottom: var(--spacing-2);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--link-color);
  -webkit-text-decoration-color: var(--link-color);
  text-decoration-color: var(--link-color);
  text-underline-offset: var(--spacing-1\.5);
  text-decoration-thickness: 2px;
}

.link-items {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  display: grid;
}

.link-group:has(.style-lost) .link-items {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.link-item {
  padding: var(--spacing-4);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: inherit;
  transition: all var(--duration-slower) var(--ease-default);
  align-items: center;
  text-decoration: none;
  display: flex;
}

html.dark .link-item, [data-theme="dark"] .link-item {
  background: var(--bg-card-dark);
  color: var(--text-primary-dark);
  border-color: var(--border-color-dark);
}

.link-item:hover {
  border-color: var(--link-color);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.link-logo {
  border-radius: var(--radius-lg);
  width: 48px;
  height: 48px;
  margin-right: var(--spacing-3);
  flex-shrink: 0;
  overflow: hidden;
}

.link-logo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.link-info {
  flex: 1;
  min-width: 0;
}

.link-name {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-1) 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform var(--duration-slower) var(--ease-smooth), color var(--duration-slower) var(--ease-default);
  overflow: hidden;
}

.link-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform var(--duration-slower) var(--ease-smooth), color var(--duration-slower) var(--ease-default);
  margin: 0;
  overflow: hidden;
}

.link-item.style-recommend {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.link-item.style-recommend .link-logo {
  border: 2px solid #fffc;
}

.link-item.style-recommend .link-name {
  color: var(--text-on-accent);
  font-weight: var(--font-bold);
}

.link-item.style-recommend .link-desc {
  color: #ffffffd9;
}

.link-item.style-recommend:hover {
  box-shadow: var(--shadow-accent-lg);
  transform: translateY(-4px) scale(1.02);
}

.link-item.style-recommend:hover .link-name, .link-item.style-recommend:hover .link-desc {
  transform: translateX(-4px) scale(1.05);
}

.link-item.style-lost {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: calc(var(--spacing) * 2.5) var(--spacing-3);
  height: 48px;
  min-height: 48px;
}

html.dark .link-item.style-lost, [data-theme="dark"] .link-item.style-lost {
  background: var(--bg-secondary-dark);
  border-color: var(--border-color-dark);
}

.link-item.style-lost .link-logo {
  width: var(--spacing-8);
  height: var(--spacing-8);
  margin-right: var(--spacing-2);
  filter: grayscale();
  opacity: .6;
  transition: all var(--duration-slower) var(--ease-smooth);
}

.link-item.style-lost .link-info {
  align-items: center;
  display: flex;
}

.link-item.style-lost .link-name {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  transition: all var(--duration-slower) var(--ease-smooth);
  margin: 0;
}

.link-item.style-lost .link-desc {
  display: none;
}

.link-item.style-lost:hover {
  background: var(--link-color);
  box-shadow: var(--shadow-accent-lg);
  padding: calc(var(--spacing) * 2.5) var(--spacing-3);
  border-color: #0000;
  height: 48px;
  min-height: 48px;
  transform: translateY(-2px);
}

.link-item.style-lost:hover .link-logo {
  opacity: 0;
  width: 0;
  margin-right: 0;
}

.link-item.style-lost:hover .link-name {
  text-shadow: 0 1px 2px #0000001a;
  transform: translateX(6px) scale(1.05);
  color: var(--text-on-accent) !important;
}

.links-list .empty-state {
  text-align: center;
  padding: var(--spacing-16) var(--spacing-5);
  color: var(--text-tertiary);
}

.links-list .empty-state p {
  font-size: var(--text-base);
}

.page-header {
  margin-bottom: var(--spacing-8);
}

.page-header .page-title {
  font-size: 1.75rem;
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-2) 0;
}

.page-header .page-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

::view-transition-old(root) {
  mix-blend-mode: normal;
  animation: none;
}

::view-transition-new(root) {
  mix-blend-mode: normal;
  animation: none;
}

html.dark, [data-theme="dark"] {
  --bg-primary: var(--bg-page-dark);
  --bg-secondary: var(--bg-secondary-dark);
  --bg-card: var(--bg-card-dark);
  --text-primary: var(--text-primary-dark);
  --text-secondary: var(--text-secondary-dark);
  --border-color: var(--border-color-dark);
  --accent-color: var(--accent-color-dark);
}

html.dark body, [data-theme="dark"] body {
  background-color: var(--bg-page-dark);
  color: var(--text-secondary-dark);
}

html.dark .prettyprint, [data-theme="dark"] .prettyprint {
  background-color: var(--bg-secondary-dark);
  border-color: var(--border-color-dark);
}

.link-apply-btn-solid, .link-apply-btn-solid:link, .link-apply-btn-solid:visited, .link-apply-btn-solid:hover, .link-apply-btn-solid:active, html.dark .link-apply-btn-solid, html.dark .link-apply-btn-solid:link, html.dark .link-apply-btn-solid:visited, html.dark .link-apply-btn-solid:hover, html.dark .link-apply-btn-solid:active, [data-theme="dark"] .link-apply-btn-solid, [data-theme="dark"] .link-apply-btn-solid:link, [data-theme="dark"] .link-apply-btn-solid:visited, [data-theme="dark"] .link-apply-btn-solid:hover, [data-theme="dark"] .link-apply-btn-solid:active {
  color: #fff !important;
}

.link-apply-btn-solid {
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  letter-spacing: var(--tracking-normal);
  align-items: center;
  gap: .375rem;
  text-decoration: none;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  display: inline-flex;
}

.link-apply-btn-solid:hover {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.link-apply-btn-solid:active {
  box-shadow: var(--shadow-xs);
  transform: scale(.97);
}

.link-apply-btn-solid i {
  font-size: var(--text-sm);
  transition: transform var(--duration-slower) var(--ease-default);
}

.link-apply-btn-solid:hover i {
  transform: rotate(90deg);
}

:root {
  --link-submit-widget-base-font-size: var(--text-sm);
  --link-submit-widget-base-font-family: inherit;
  --link-submit-widget-base-rounded: 1rem;
  --link-submit-widget-base-bg-color: var(--bg-page, #fff);
  --link-submit-widget-modal-layer-color: rgba(var(--color-primary-900-rgb, 17, 24, 39), .45);
  --link-submit-widget-form-bg-color: var(--bg-card, #fff);
  --link-submit-widget-form-border-color: var(--border-color, #00000014);
  --link-submit-widget-form-text-color: var(--text-primary, #1f2937);
  --link-submit-widget-form-label-color: var(--text-secondary, #4b5563);
  --link-submit-widget-form-placeholder-color: var(--text-tertiary, #9ca3af);
  --link-submit-widget-form-button-bg-color: var(--color-primary-500);
  --link-submit-widget-form-button-text-color: #fff;
  --link-submit-widget-form-button-hover-bg-color: var(--color-primary-600);
}

html.dark {
  --link-submit-widget-modal-layer-color: #000000a6;
  --link-submit-widget-form-bg-color: var(--bg-card-dark, #1f2937);
  --link-submit-widget-form-border-color: var(--border-color-dark, #ffffff1a);
  --link-submit-widget-form-text-color: var(--text-primary-dark, #f3f4f6);
  --link-submit-widget-form-label-color: var(--text-secondary-dark, #d1d5db);
  --link-submit-widget-form-placeholder-color: var(--text-tertiary-dark, #6b7280);
}

.link-accordions {
  margin: var(--spacing-8) 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  overflow: hidden;
}

html.dark .link-accordions {
  border-color: var(--border-color-dark);
  background: var(--bg-card-dark);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
  border-bottom: none;
}

html.dark .accordion-item {
  border-color: var(--border-color-dark);
}

.accordion-header {
  padding: var(--spacing-4) var(--spacing-5);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  justify-content: space-between;
  align-items: center;
  transition: background-color .2s;
  display: flex;
}

.accordion-header:hover {
  background-color: var(--hover-bg);
}

html.dark .accordion-header:hover {
  background-color: var(--hover-bg-dark);
}

.accordion-title-wrapper {
  flex: 1;
  min-width: 0;
}

.accordion-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

html.dark .accordion-title {
  color: var(--text-primary-dark);
}

.accordion-subtitle {
  margin: var(--spacing-1) 0 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

html.dark .accordion-subtitle {
  color: var(--text-secondary-dark);
}

.accordion-indicator {
  margin-left: var(--spacing-3);
  width: var(--spacing-6);
  height: var(--spacing-6);
  color: var(--text-secondary);
  transition: transform var(--duration-slower) var(--ease-default);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

html.dark .accordion-indicator {
  color: var(--text-secondary-dark);
}

.accordion-item.expanded .accordion-indicator {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.accordion-item.expanded .accordion-content {
  max-height: 2000px;
}

.accordion-body {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  padding: 0 20px 20px;
  line-height: 1.8;
}

html.dark .accordion-body {
  color: var(--text-secondary-dark);
}

.accordion-body p {
  margin: 0 0 12px;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

.accordion-body ul, .accordion-body ol {
  margin: var(--spacing-3) 0;
  padding-left: 0;
  list-style: none;
}

.accordion-body ul li {
  padding-left: var(--spacing-5);
  margin: var(--spacing-2) 0;
  position: relative;
}

.accordion-body ul li:before {
  content: "";
  left: 0;
  top: var(--spacing-2\.5);
  width: calc(var(--spacing) * 1.5);
  height: calc(var(--spacing) * 1.5);
  background-color: var(--color-primary-500);
  border-radius: 50%;
  position: absolute;
}

.accordion-body ol {
  counter-reset: accordion-ol;
}

.accordion-body ol li {
  padding-left: var(--spacing-7);
  margin: var(--spacing-2) 0;
  counter-increment: accordion-ol;
  position: relative;
}

.accordion-body ol li:before {
  content: counter(accordion-ol);
  background-color: var(--color-primary-500);
  color: #fff;
  width: 20px;
  height: 20px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 2px;
  left: 0;
}

.accordion-body a {
  text-decoration: none;
  color: var(--link-color) !important;
}

.accordion-body a:hover {
  text-decoration: underline;
}

html.dark .accordion-body a {
  color: var(--link-color-dark) !important;
}

.accordion-body code {
  background: var(--bg-secondary);
  padding: calc(var(--spacing) * .5) calc(var(--spacing) * 1.5);
  border-radius: var(--radius-sm);
  font-family: JetBrains Mono, Fira Code, Monaco, Menlo, Consolas, monospace;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

html.dark .accordion-body code {
  background: var(--bg-secondary-dark);
  color: var(--text-primary-dark);
}

.accordion-body pre {
  border-radius: var(--radius-lg);
  padding: var(--spacing-4) var(--spacing-5);
  margin: var(--spacing-4) 0;
  background: #1e1e2e;
  position: relative;
  overflow-x: auto;
}

.accordion-body pre:before {
  content: "";
  background: #ff5f56;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 12px;
  left: 16px;
  box-shadow: 18px 0 #ffbd2e, 36px 0 #27ca40;
}

.accordion-body pre code {
  padding: var(--spacing-6) 0 0;
  color: #cdd6f4;
  font-size: var(--text-sm);
  background: none;
  line-height: 1.7;
  display: block;
}

.accordion-body pre code .hljs-keyword, .accordion-body pre code .hljs-selector-tag, .accordion-body pre code .hljs-literal {
  color: #cba6f7;
}

.accordion-body pre code .hljs-string, .accordion-body pre code .hljs-attr {
  color: #a6e3a1;
}

.accordion-body pre code .hljs-number, .accordion-body pre code .hljs-built_in {
  color: #fab387;
}

.accordion-body pre code .hljs-comment {
  color: #6c7086;
  font-style: italic;
}

.accordion-body pre code .hljs-function, .accordion-body pre code .hljs-title {
  color: #89b4fa;
}

.accordion-body blockquote {
  border-left: 3px solid var(--link-color);
  margin: var(--spacing-3) 0;
  padding: var(--spacing-2) var(--spacing-4);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

html.dark .accordion-body blockquote {
  background: var(--bg-secondary-dark);
}

.dark {
  --background: oklch(14.5% 0 0);
  --foreground: oklch(98.5% 0 0);
  --card: oklch(20.5% 0 0);
  --card-foreground: oklch(98.5% 0 0);
  --popover: oklch(20.5% 0 0);
  --popover-foreground: oklch(98.5% 0 0);
  --primary: oklch(92.2% 0 0);
  --primary-foreground: oklch(20.5% 0 0);
  --secondary: oklch(26.9% 0 0);
  --secondary-foreground: oklch(98.5% 0 0);
  --muted: oklch(26.9% 0 0);
  --muted-foreground: oklch(70.8% 0 0);
  --accent: oklch(26.9% 0 0);
  --accent-foreground: oklch(98.5% 0 0);
  --destructive: oklch(70.4% .191 22.216);
  --border: oklch(100% 0 0 / .1);
  --input: oklch(100% 0 0 / .15);
  --ring: oklch(55.6% 0 0);
  --chart-1: oklch(87% 0 0);
  --chart-2: oklch(55.6% 0 0);
  --chart-3: oklch(43.9% 0 0);
  --chart-4: oklch(37.1% 0 0);
  --chart-5: oklch(26.9% 0 0);
  --sidebar: oklch(20.5% 0 0);
  --sidebar-foreground: oklch(98.5% 0 0);
  --sidebar-primary: oklch(48.8% .243 264.376);
  --sidebar-primary-foreground: oklch(98.5% 0 0);
  --sidebar-accent: oklch(26.9% 0 0);
  --sidebar-accent-foreground: oklch(98.5% 0 0);
  --sidebar-border: oklch(100% 0 0 / .1);
  --sidebar-ring: oklch(55.6% 0 0);
}

:root {
  --twikoo-theme-op: #4259ef23;
  --twikoo-white: #fff;
  --twikoo-main: var(--twikoo-theme);
  --twikoo-shadow-black: 0 0 12px 4px #0000000d;
  --twikoo-shadow-border: 0 8px 16px -4px #2c2d300c;
  --style-border: 1px solid var(--twikoo-card-border);
  --style-border-hover: 2px solid var(--twikoo-main);
  --style-border-dashed: 1px dashed var(--twikoo-theme-op);
  --style-border-avatar: 4px solid var(--twikoo-background);
  --style-border-always: 2px solid var(--twikoo-card-border);
}

.light {
  --twikoo-theme: #a78bfa;
  --twikoo-theme-op: #a78bfa23;
  --twikoo-green: #57bd6a;
  --twikoo-fontcolor: #363636;
  --twikoo-background: #f7f9fe;
  --twikoo-maskbg: #fff9;
  --twikoo-lighttext: var(--twikoo-main);
  --twikoo-secondtext: #3c3c4399;
  --twikoo-secondbg: #edf0f7;
  --twikoo-card-bg: #fff;
  --twikoo-shadow-lightblack: 0 5px 12px -5px #6440;
  --twikoo-card-border: #c0c6d8;
}

.dark {
  --twikoo-theme: #a78bfa;
  --twikoo-theme-op: #a78bfa23;
  --twikoo-green: #57bd6a;
  --twikoo-fontcolor: #f7f7fa;
  --twikoo-background: #18171d;
  --twikoo-maskbg: #0009;
  --twikoo-lighttext: #f2b94b;
  --twikoo-secondtext: #a1a2b8;
  --twikoo-secondbg: #30343f;
  --twikoo-card-bg: #1d1b26;
  --twikoo-shadow-lightblack: 0 5px 12px -5px #6440;
  --twikoo-card-border: #42444a;
}

.OwO .OwO-body {
  min-width: 31.25rem;
}

.twikoo svg {
  color: var(--twikoo-fontcolor);
}

@keyframes owoIn {
  0% {
    opacity: 0;
    transform: translate(0, -95%);
  }

  100% {
    opacity: 1;
    transform: translate(0, -112%);
  }
}

#owo-big {
  z-index: 9999;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 10px;
  align-items: center;
  animation: .3s cubic-bezier(.42, 0, .3, 1.11) owoIn;
  display: none;
  position: fixed;
  overflow: hidden;
  transform: translate(0, -112%);
}

#owo-big img {
  width: 100%;
}

.tk-expand {
  cursor: pointer;
  text-align: center;
  border: var(--style-border);
  letter-spacing: 5px;
  background-color: var(--twikoo-card-bg);
  border-radius: 50px;
  width: 100%;
  padding: .75em;
  transition: all .5s;
  box-shadow: 0 8px 16px -4px #2c2d300c;
}

#twikoo .tk-comments > .tk-submit {
  gap: 1rem;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  display: flex !important;
  overflow: visible !important;
}

#twikoo .tk-comments > .tk-submit .tk-meta-input {
  flex: 1;
  min-width: 0;
}

#twikoo .tk-comments > .tk-submit .tk-row.actions {
  flex-shrink: 0;
  margin: 0 !important;
}

#twikoo .tk-comments .OwO .OwO-body {
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  cursor: auto;
  animation: .3s .1s both donate_effcet;
  overflow: hidden;
  transform: translateZ(0);
  background-color: var(--twikoo-maskbg) !important;
  border-radius: 8px !important;
  top: 2.1em !important;
}

#twikoo .tk-comments .OwO .OwO-body .OwO-items-show {
  margin: 12px 8px;
}

#twikoo .tk-comments button.el-button.tk-cancel.el-button--default.el-button--small {
  background: var(--twikoo-secondbg);
  color: var(--twikoo-fontcolor);
  border-radius: 8px;
}

#twikoo .tk-comments button.el-button.tk-cancel.el-button--default.el-button--small:hover {
  background: var(--twikoo-lighttext);
  color: var(--twikoo-white);
}

#twikoo .tk-comments a.tk-submit-action-icon.__markdown, #twikoo .tk-comments > div.tk-submit > div.tk-row.actions > a, #twikoo .tk-comments .el-button.tk-preview {
  display: none;
}

#twikoo .tk-comments .el-button--primary.is-disabled, #twikoo .tk-comments .el-button--primary.is-disabled:active, #twikoo .tk-comments .el-button--primary.is-disabled:focus, #twikoo .tk-comments .el-button--primary.is-disabled:hover {
  opacity: .2;
}

#twikoo .tk-comments .el-button--primary {
  border-color: var(--twikoo-fontcolor);
  color: var(--twikoo-card-bg);
  box-shadow: var(--twikoo-shadow-black);
  border-radius: 12px;
  width: 6.25rem;
  height: 32px;
  transition: all .3s;
  position: absolute;
  right: 0;
  margin-left: .5rem !important;
  top: 149px !important;
}

#twikoo .tk-comments .tk-input .el-textarea__inner {
  resize: vertical;
  box-sizing: border-box;
  width: 100%;
  line-height: 1.5;
  font-size: inherit;
  color: var(--twikoo-fontcolor);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 16px 16px 40px;
  transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
  display: block;
  background-color: var(--bg-secondary) !important;
  min-height: 130px !important;
}

#twikoo .tk-comments .el-input__inner {
  padding-left: 8px;
  background: var(--twikoo-secondbg) !important;
  color: var(--twikoo-fontcolor) !important;
  border: none !important;
}

#twikoo .tk-comments .el-input__inner:focus {
  border: none;
}

#twikoo .tk-comments .el-input-group__append, #twikoo .tk-comments .el-input-group__prepend {
  background-color: var(--twikoo-card-bg);
  color: var(--twikoo-fontcolor);
  border-color: var(--twikoo-card-border);
  font-weight: 700;
  border: 1px solid var(--border-color) !important;
}

#twikoo .tk-comments .el-input-group--prepend .el-input__inner, #twikoo .tk-comments .el-input-group__append {
  border-radius: 0 10px 10px 0;
}

#twikoo .tk-comments .el-input--small .el-input__inner {
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--border-color) !important;
}

#twikoo .tk-comments .el-input-group--prepend .el-input__inner, #twikoo .tk-comments .el-input-group__append {
  border-left-width: 0 !important;
}

#twikoo .tk-meta-input {
  padding-right: 100px;
}

#twikoo .tk-comments .tk-meta-input input[name="nick"] {
  background-color: #3b82f614;
}

#twikoo .tk-comments .tk-meta-input input[name="mail"] {
  background-color: #8b5cf614;
}

#twikoo .tk-comments .tk-meta-input input[name="link"] {
  background-color: #10b98114;
}

#twikoo .tk-comments .tk-meta-input {
  flex-wrap: nowrap;
  align-items: center;
  width: 98%;
  margin-top: 8px;
  display: flex;
  position: relative;
}

#twikoo .tk-comments .tk-meta-input .el-input.el-input--small.el-input-group.el-input-group--prepend {
  border: var(--style-border-always);
  border-radius: 12px;
}

#twikoo .tk-comments .tk-meta-input .el-input .el-input-group__prepend {
  -webkit-user-select: none;
  user-select: none;
  border-radius: 12px 0 0 12px;
  background-color: var(--bg-tertiary) !important;
}

#twikoo .tk-comments .tk-meta-input .el-input--small.el-input-group.el-input-group--prepend:focus-within {
  border: var(--style-border-hover);
}

#twikoo .tk-comments .tk-row .tk-avatar {
  display: none;
}

#twikoo .tk-comments .tk-row .tk-col {
  flex-direction: column-reverse;
  padding-bottom: 40px;
  position: relative;
}

#twikoo .tk-comments .tk-row-actions-start {
  z-index: 50 !important;
  gap: 12px !important;
  display: flex !important;
  position: absolute !important;
  bottom: 8px !important;
  left: 12px !important;
}

#twikoo .tk-comments .tk-row.actions {
  justify-content: space-around;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
}

#twikoo .tk-comments .tk-admin {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

#twikoo .tk-comments .el-button {
  background-color: var(--color-primary-600);
  border: 0 solid var(--twikoo-main);
  opacity: 1 !important;
  color: var(--nav-active-text) !important;
}

#twikoo .tk-tag-green {
  background-color: var(--color-primary-600);
  color: var(--twikoo-white);
  border-radius: 4px;
}

#twikoo .tk-comments {
  background-color: var(--twikoo-main);
  border: none;
  border-radius: 4px;
}

#twikoo .tk-comments .tk-action-icon {
  color: var(--twikoo-main);
  cursor: pointer;
}

#twikoo .tk-comments .tk-icon.__comments {
  color: var(--twikoo-main);
}

#twikoo .tk-comments .tk-actions a {
  cursor: pointer;
}

#twikoo .tk-comments .tk-nick {
  line-height: 40px;
}

#twikoo .tk-comments .tk-extras {
  margin-top: .5rem;
  padding-bottom: .5rem;
}

#twikoo .tk-comments .tk-expand:hover {
  color: #fff;
  background-color: var(--twikoo-main);
  border: var(--style-border-none);
}

#twikoo .tk-comments .tk-content p {
  margin: 0;
}

#twikoo .tk-comments .tk-admin-config-input .el-input__inner {
  background: none !important;
}

#twikoo pre code {
  background: none;
}

#twikoo code {
  background: var(--twikoo-secondbg);
  color: #f47466;
  padding: 2px 4px;
}

#twikoo .tk-comment .tk-submit .tk-avatar, #twikoo .tk-replies .tk-avatar {
  width: 2.5rem !important;
  height: 2.5rem !important;
}

#twikoo .tk-comment pre {
  background: #272822;
  border-radius: .3em;
  margin: .5em 0;
  padding: 1em;
  overflow: auto;
}

@media not all and (min-width: 48rem) {
  #twikoo .tk-comments-container .tk-comment {
    border: var(--style-border-always);
    box-shadow: var(--twikoo-shadow-border);
    background: var(--twikoo-card-bg);
    padding: 1rem;
  }

  #twikoo .tk-replies .tk-comment {
    border: none;
  }
}

#twikoo .tk-avatar {
  border-radius: 50px;
}

#twikoo .tk-avatar .tk-avatar-img {
  height: 2.5rem !important;
}

#twikoo .tk-replies {
  max-height: 10rem !important;
}

#twikoo .tk-replies.tk-replies-expand {
  max-height: none !important;
}

#twikoo .tk-replies .tk-comment {
  border-top: var(--style-border-dashed);
  border-radius: 12px;
  margin-top: 0;
  padding: 1rem 0 0;
  transition: all .3s;
}

#twikoo .tk-replies .tk-content span:first-child:not(.token) {
  color: var(--twikoo-secondtext);
  font-size: .75rem;
}

[data-theme="dark"] #owo-big {
  background-color: #4a4a4a;
}

.el-input.el-input--small.el-input-group.el-input-group--prepend:first-child:before {
  content: "输入QQ号会自动获取昵称和头像🐧";
}

.el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(2):before {
  content: "收到回复将会发送到您的邮箱📧";
}

.el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(3):before {
  content: "可以通过昵称访问您的网站🔗";
}

.el-input.el-input--small.el-input-group.el-input-group--prepend:focus-within:before {
  z-index: 2;
  animation: .3s commonTipsIn;
  display: block;
}

.el-input.el-input--small.el-input-group.el-input-group--prepend:focus-within:after {
  animation: .3s commonTriangleIn;
  display: block;
}

.el-input.el-input--small.el-input-group.el-input-group--prepend:before {
  white-space: nowrap;
  color: #fff;
  z-index: 100;
  background: #444;
  border-radius: 10px;
  padding: 14px 18px;
  display: none;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translate(-50%);
}

.el-input.el-input--small.el-input-group.el-input-group--prepend:after {
  content: "";
  border: 12px solid #0000;
  border-top-color: #444;
  display: none;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -46px);
}

.vwrap {
  background: #ffffff4d;
  border-radius: 8px;
  margin: 30px 0;
  padding: 30px;
  box-shadow: 2px 2px 5px #bbb;
}

.vcard {
  background: #ffffff4d;
  border-radius: 8px;
  margin: 30px 0 0;
  padding: 30px;
  box-shadow: 2px 2px 5px #bbb;
}

#twikoo .tk-extra {
  background: var(--twikoo-card-bg);
  color: var(--twikoo-secondtext);
  border-radius: 8px;
  margin-top: 6px;
  margin-right: 4px;
  padding: 4px 8px;
  font-size: .8rem;
  border: 1px solid var(--border-color) !important;
}

#twikoo .tk-extra-text {
  font-size: .75rem;
}

#twikoo .tk-replies .tk-content {
  font-size: .9rem;
}

#twikoo .tk-content {
  margin-top: 0;
}

.tk-content span a:not([data-fancybox="gallery"]) {
  border-bottom: solid 2px var(--twikoo-lighttext);
  color: var(--twikoo-fontcolor);
  padding: 0 .2em;
  font-weight: 500;
  text-decoration: none;
}

.tk-content span a:not([data-fancybox="gallery"]):hover {
  color: var(--twikoo-white);
  background-color: var(--twikoo-theme);
  border-radius: 4px;
}

.tk-main .tk-content span > a {
  border-bottom: none;
}

#post-comment .comment-head {
  margin-bottom: .5rem;
  font-size: .8em !important;
}

@keyframes commonTipsIn {
  0% {
    opacity: 0;
    top: -50px;
  }

  100% {
    opacity: 1;
    top: -60px;
  }
}

@keyframes commonTriangleIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -36px);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -46px);
  }
}

@keyframes donate_effcet {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: translateY(0);
  }
}

#body-wrap.page .el-input__inner {
  background: var(--twikoo-card-bg);
  box-shadow: var(--twikoo-shadow-border);
  color: var(--twikoo-fontcolor);
}

#body-wrap.page .tk-admin-config .el-input__inner {
  color: currentColor;
}

.tk-comments-container > .tk-comment {
  border: none;
  border-top: var(--style-border-dashed);
  border-radius: 12px;
  padding: 1rem 0 0;
  transition: all .3s;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

#post-comment .comment-tips {
  border: var(--style-border-always);
  border-color: var(--twikoo-green);
  color: var(--twikoo-green);
  background-color: #67c23a21;
  border-radius: 8px;
  width: 100%;
  margin-top: .5rem;
  padding: 8px 12px;
  display: none;
}

#post-comment .comment-tips.show {
  display: flex;
}

#page .tk-comments-container > .tk-comment {
  background: var(--twikoo-card-bg);
  border: var(--style-border);
  border-top: var(--style-border);
  box-shadow: var(--twikoo-shadow-border);
  padding: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  #page .tk-comments-container > .tk-comment {
    animation: 1s linear forwards animate-in-and-out;
    animation-timeline: view();
  }

  #page .tk-comments-container > .tk-comment:has(.OwO-open) {
    z-index: 1;
  }
}

.tk-content {
  max-height: 500px;
  margin-top: .5rem;
  overflow: auto;
}

@media not all and (min-width: 48rem) {
  .OwO .OwO-body {
    min-width: 260px;
  }

  .tk-comments .tk-row-actions-start {
    top: -176px;
  }

  #twikoo .tk-comments .tk-submit .el-button--primary {
    height: 122px;
    top: -126px;
  }

  #twikoo .el-textarea__inner {
    overflow: hidden;
    background: var(--twikoo-card-bg) !important;
    resize: none !important;
    padding-bottom: 40px !important;
    position: relative !important;
  }

  .tk-comments button.el-button.tk-preview.el-button--default.el-button--small {
    display: none;
  }

  .tk-comments .tk-main .tk-submit .tk-row.actions {
    justify-content: center;
  }

  .tk-comments button.el-button.tk-send, .tk-comments button.el-button.tk-cancel {
    width: 100%;
  }

  .tk-comments .tk-row-actions-start {
    z-index: 50 !important;
    gap: 12px !important;
    display: flex !important;
    position: absolute !important;
    bottom: 8px !important;
    left: 12px !important;
  }
}

.OwO .OwO-body .OwO-items .OwO-item:hover {
  border-radius: 8px;
  box-shadow: var(--twikoo-shadow-lightblack) !important;
}

.moments-end-tip {
  color: var(--text-secondary, #999);
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  font-size: 13px;
  display: flex;
}

.moments-end-tip .end-line {
  background: var(--border-color, #e0e0e0);
  flex: 1;
  max-width: 60px;
  height: 1px;
}

.moments-end-tip .end-text {
  white-space: nowrap;
}

.friends {
  padding: 0 20px;
}

.pagination-list.hidden.md\:flex {
  display: none;
}

@media (max-width: 767px) {
  .pagination {
    padding: 0 8px;
    overflow-x: visible;
    justify-content: center !important;
  }

  .pagination-previous, .pagination-next {
    min-width: 70px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .pagination-page {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .pagination-list.sm\:hidden {
    display: none !important;
  }

  .pagination-list.hidden.md\:flex {
    display: flex !important;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-duration {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}
/*$vite$:1*/