﻿/* Local enhancements keep the original layout untouched. */
html { scroll-behavior: smooth; }
body.kuaidazi { min-width: 320px; }
img { max-width: 100%; }
.el-menu-item { cursor: pointer; }
.el-menu-item:focus-visible,
a:focus-visible,
button:focus-visible { outline: 2px solid rgba(64,158,255,.75); outline-offset: 3px; }
.no-hover { outline: none; }
.demo-toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 9999;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 12px 22px; border-radius: 999px;
  color: #fff; background: rgba(22, 35, 48, .92);
  box-shadow: 0 12px 34px rgba(19, 44, 74, .24);
  font-size: 14px; letter-spacing: .02em;
  transition: opacity .24s ease, transform .24s ease;
}
.demo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.login-dialog {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  padding: 24px; background: rgba(11, 24, 38, .5); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease;
}
.login-dialog.is-open { opacity: 1; visibility: visible; }
.login-dialog__panel {
  width: min(420px, 100%); border-radius: 18px; background: #fff;
  box-shadow: 0 28px 80px rgba(18, 45, 74, .28); padding: 32px 32px 28px;
  transform: translateY(10px) scale(.985); transition: transform .22s ease;
}
.login-dialog.is-open .login-dialog__panel { transform: none; }
.login-dialog__close {
  float: right; border: 0; background: transparent; color: #8b97a8;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.login-dialog h2 { margin: 4px 0 8px; color: #203040; font-size: 24px; }
.login-dialog p { margin: 0 0 22px; color: #8290a3; font-size: 14px; }
.login-dialog label { display: block; margin: 16px 0 7px; color: #536273; font-size: 13px; }
.login-dialog input {
  box-sizing: border-box; width: 100%; height: 44px; border: 1px solid #dbe3ed;
  border-radius: 9px; background: #f8fafd; padding: 0 13px; color: #203040; font-size: 14px;
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.login-dialog input:focus { border-color: #69b6ff; box-shadow: 0 0 0 3px rgba(64,158,255,.12); }
.login-dialog__submit {
  width: 100%; height: 46px; margin-top: 22px; border: 0; border-radius: 9px;
  color: #fff; background: linear-gradient(120deg, #409eff 12%, #27a8a1 88%);
  font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 22px rgba(64,158,255,.24);
}
.login-dialog__submit:hover { filter: brightness(1.04); }
.login-dialog__hint { margin-top: 16px !important; text-align: center; font-size: 12px !important; color: #a2adba !important; }
.wechat-login { text-align: center; }
.wechat-login__heading {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 4px 0 8px;
}
.wechat-login__mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; color: #fff; background: #07c160;
  font-size: 18px; font-weight: 700; box-shadow: 0 6px 16px rgba(7,193,96,.24);
}
.wechat-login h2 { margin: 0; color: #203040; font-size: 23px; }
.wechat-login__subtitle { margin: 0 0 20px !important; color: #8290a3 !important; }
.wechat-login__qr-box {
  width: 236px; height: 236px; box-sizing: border-box; margin: 0 auto;
  padding: 10px; border: 1px solid #e4ebf2; border-radius: 16px;
  background: #fff; box-shadow: 0 12px 32px rgba(25, 55, 86, .10);
  position: relative;
}
.wechat-login__qr-box::before,
.wechat-login__qr-box::after {
  content: ''; position: absolute; width: 22px; height: 22px; border-color: #07c160;
}
.wechat-login__qr-box::before { left: -2px; top: -2px; border-left: 3px solid; border-top: 3px solid; border-radius: 14px 0 0 0; }
.wechat-login__qr-box::after { right: -2px; bottom: -2px; border-right: 3px solid; border-bottom: 3px solid; border-radius: 0 0 14px 0; }
.wechat-login__qr { display: block; width: 100%; height: 100%; object-fit: contain; }
.wechat-login__steps { margin: 18px 0 8px !important; color: #536273 !important; line-height: 1.75; }
.wechat-login__refresh {
  border: 0; background: transparent; padding: 4px 8px; color: #07c160;
  font-size: 13px; cursor: pointer;
}
.wechat-login__refresh:hover { text-decoration: underline; }
.wechat-login__refresh:disabled { color: #9eabb9; cursor: default; text-decoration: none; }
.wechat-login .login-dialog__hint { margin-top: 12px !important; }
@media (max-width: 767px) {
  .login-dialog__panel { padding: 26px 22px 22px; }
  .wechat-login__qr-box { width: 218px; height: 218px; }
}

/* Explicit Font Awesome glyph fallbacks for file:// previews. */
.fa-house::before { content: "\f015"; }
.fa-rectangle-list::before { content: "\f022"; }
.fa-user::before { content: "\f007"; }

.course-card, .article-wrap, .article-info, .lesson { cursor: pointer; }

.el-breadcrumb__inner.is-link { cursor: pointer; }
