/* ============================================================
   app.css —— 设计系统：变量 / 基础 / 通用组件 / 公开站
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root {
  --bg: #f5f6fa;
  --bg-soft: #eceef5;
  --card: #ffffff;
  --card-hover: #fafbff;
  --text: #1a2233;
  --text-2: #5b6675;
  --text-3: #8a93a3;
  --line: #e6e9f0;
  --line-strong: #d5dae4;
  --primary: #4b5cf0;
  --primary-2: #7c5cff;
  --primary-soft: #eef0ff;
  --primary-text: #ffffff;
  --green: #16a34a;
  --green-soft: #e8f7ee;
  --red: #e5484d;
  --red-soft: #fdecec;
  --orange: #e8850c;
  --orange-soft: #fdf3e3;
  --blue: #0b7bd6;
  --blue-soft: #e8f3fd;
  --shadow-sm: 0 1px 2px rgba(20, 30, 60, .05), 0 1px 3px rgba(20, 30, 60, .05);
  --shadow: 0 2px 8px rgba(20, 30, 60, .06), 0 8px 24px rgba(20, 30, 60, .06);
  --shadow-lg: 0 12px 40px rgba(20, 30, 60, .14);
  --radius: 14px;
  --radius-sm: 10px;
  --grad: linear-gradient(135deg, #4b5cf0, #7c5cff);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0c0f16;
  --bg-soft: #121722;
  --card: #151b26;
  --card-hover: #1a2130;
  --text: #e7ecf3;
  --text-2: #9aa6b8;
  --text-3: #66738a;
  --line: #242c3c;
  --line-strong: #2f394d;
  --primary: #6a7bff;
  --primary-2: #9d7cff;
  --primary-soft: #1d2440;
  --primary-text: #ffffff;
  --green: #34c76a;
  --green-soft: #12291c;
  --red: #ff6369;
  --red-soft: #321b1e;
  --orange: #f0a03c;
  --orange-soft: #2e2415;
  --blue: #4aa8ff;
  --blue-soft: #14263a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; }
::selection { background: rgba(75, 92, 240, .25); }

/* 滚动条 */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

.dim { color: var(--text-3); }
.center { text-align: center; }
.center-right { text-align: right; }
.hint { color: var(--text-3); font-size: 12px; font-weight: normal; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--card); color: var(--text);
  font-size: 14px; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: all .16s ease; text-decoration: none;
}
.btn:hover { border-color: var(--primary); color: var(--primary); opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); border: none; color: var(--primary-text); box-shadow: 0 4px 14px rgba(75, 92, 240, .3); }
.btn-primary:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 6px 18px rgba(75, 92, 240, .38); }
.btn-danger { background: var(--red); border: none; color: #fff; }
.btn-danger:hover { color: #fff; filter: brightness(1.06); }
.btn-danger-ghost { color: var(--red); border-color: rgba(229, 72, 77, .4); }
.btn-danger-ghost:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--bg-soft); border-color: transparent; color: var(--text); }
.btn-sm { padding: 5px 11px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 11px 22px; font-size: 15px; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px; border: 1px solid transparent;
  background: transparent; color: var(--text-2); cursor: pointer; transition: all .15s;
  flex: none;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }
.icon-btn.danger:hover { background: var(--red-soft); color: var(--red); }
.icon-btn.sm { width: 26px; height: 26px; border-radius: 7px; }
.i { display: block; }

/* ---------- 表单 ---------- */
.input {
  width: 100%; padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--card); color: var(--text);
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(75, 92, 240, .13); }
textarea.input { resize: vertical; line-height: 1.6; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
.input-lg { font-size: 17px; padding: 11px 14px; font-weight: 600; }
.input-static { background: var(--bg-soft); color: var(--text-2); }
.field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }
.field-inline { display: flex; align-items: center; gap: 8px; }
.field-inline > label { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.field-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-2); cursor: pointer; user-select: none; }
.field-check input { width: 15px; height: 15px; accent-color: var(--primary); }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.hint-box { background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 12.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 3px; }

/* ---------- 卡片 ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 20px; font-size: 12px; font-weight: 600; line-height: 1.7; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-gray { background: var(--bg-soft); color: var(--text-2); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-orange { background: var(--orange-soft); color: var(--orange); }
.tag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; font-size: 12px; background: var(--primary-soft); color: var(--primary); }
.tag-plain { background: var(--bg-soft); color: var(--text-2); }

/* ---------- 提示 / 加载 / 空状态 ---------- */
.toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: 14px; animation: toast-in .25s ease; max-width: 80vw;
}
.toast.out { animation: toast-out .3s ease forwards; }
.toast-icon { display: flex; }
.toast-success .toast-icon { color: var(--green); }
.toast-error .toast-icon { color: var(--red); }
.toast-warn .toast-icon { color: var(--orange); }
.toast-info .toast-icon { color: var(--blue); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px); } }

.loading { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-3); padding: 34px 0; font-size: 14px; }
.spinner { width: 17px; height: 17px; border: 2px solid var(--line-strong); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 54px 20px; color: var(--text-3); }
.empty-icon { color: var(--text-3); opacity: .6; }
.empty-title { font-size: 15px; font-weight: 600; color: var(--text-2); }
.empty-desc { font-size: 13px; }
.empty-mini { padding: 22px; text-align: center; color: var(--text-3); font-size: 13.5px; }
.center-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.widget-error { color: var(--red); font-size: 13px; padding: 8px 0; }

/* ---------- 模态框 ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(10, 15, 30, .45); backdrop-filter: blur(3px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade-in .18s ease; }
[data-theme="dark"] .modal-overlay { background: rgba(0, 0, 0, .6); }
.modal-overlay.closing { animation: fade-out .18s ease forwards; }
.modal { background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; max-height: 88vh; display: flex; flex-direction: column; animation: modal-in .22s cubic-bezier(.2, .9, .3, 1.2); border: 1px solid var(--line); }
.modal-overlay.closing .modal { animation: modal-out .18s ease forwards; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
.modal-title { font-size: 16px; font-weight: 700; }
.modal-body { padding: 16px 20px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 20px 18px; }
.confirm-body { font-size: 14px; color: var(--text-2); line-height: 1.7; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--text-3); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg-soft); }
.table th:first-child { border-top-left-radius: var(--radius); }
.table th:last-child { border-top-right-radius: var(--radius); }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--card-hover); }
.cell-title { font-weight: 600; }
.cell-desc { font-size: 12.5px; margin-top: 2px; }
.cell-tags { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.row-actions { display: flex; gap: 4px; align-items: center; }

/* ---------- 分页 / 工具栏 / tabs ---------- */
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; flex-wrap: wrap; gap: 10px; }
.pager-info { color: var(--text-3); font-size: 13px; }
.pager-btns { display: flex; gap: 8px; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar-right { margin-left: auto; display: flex; gap: 10px; }
.tabs { display: flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: 12px; width: fit-content; margin-bottom: 16px; flex-wrap: wrap; }
.tab { border: none; background: transparent; padding: 7px 16px; border-radius: 9px; font-size: 13.5px; font-family: inherit; color: var(--text-2); cursor: pointer; transition: all .15s; }
.tab.active { background: var(--card); color: var(--text); font-weight: 600; box-shadow: var(--shadow-sm); }

/* ---------- 页头 ---------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.page-title { font-size: 21px; font-weight: 750; margin: 0; letter-spacing: -.2px; }
.page-sub { color: var(--text-3); font-size: 13.5px; margin: 5px 0 0; }
.section-sub-title { font-size: 15px; font-weight: 700; margin: 22px 0 12px; }
.link-back { display: inline-flex; align-items: center; gap: 2px; color: var(--text-3); font-size: 13.5px; margin-bottom: 14px; }
.link-back:hover { color: var(--primary); }

/* ============================================================
   公开站
   ============================================================ */
.pub-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.pub-head { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pub-head-inner { max-width: 1020px; margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; gap: 26px; }
.pub-brand { display: flex; align-items: center; gap: 9px; font-weight: 750; font-size: 16px; color: var(--text); }
.pub-brand:hover { opacity: .9; }
.brand-dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(75, 92, 240, .35); }
.pub-nav { display: flex; gap: 4px; margin-left: 6px; }
.pub-nav-link { padding: 7px 13px; border-radius: 9px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.pub-nav-link:hover { background: var(--bg-soft); color: var(--text); opacity: 1; }
.pub-nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Hero */
.hero { padding: 68px 22px 30px; }
.hero-inner { max-width: 860px; margin: 0 auto; display: flex; gap: 34px; align-items: center; }
.hero-avatar { width: 118px; height: 118px; border-radius: 30px; object-fit: cover; box-shadow: var(--shadow-lg); flex: none; }
.hero-avatar-fallback { display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 800; color: #fff; background: var(--grad); }
.hero-name { font-size: 34px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.5px; }
.hero-sub { color: var(--text-2); font-size: 16px; margin: 0 0 14px; font-weight: 500; }
.hero-bio { color: var(--text-2); font-size: 14.5px; max-width: 560px; }
.hero-bio p { margin: 2px 0; }
.hero-links { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; transition: all .15s; box-shadow: var(--shadow-sm); }
.chip-link:hover { border-color: var(--primary); color: var(--primary); opacity: 1; transform: translateY(-1px); }
.chip-ico { display: inline-flex; color: var(--primary); }

/* 区块 */
.section { max-width: 1020px; margin: 0 auto; padding: 26px 22px; width: 100%; }
.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-title { font-size: 20px; font-weight: 750; margin: 0; }
.section-title::before { content: ''; display: inline-block; width: 4px; height: 18px; background: var(--grad); border-radius: 3px; margin-right: 10px; vertical-align: -2px; }
.section-count { color: var(--text-3); font-size: 13px; }

/* 文章卡片 */
.article-grid { display: grid; gap: 14px; }
.article-card { display: flex; align-items: center; gap: 14px; padding: 19px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all .18s ease; color: var(--text); }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary); opacity: 1; }
.article-card-body { flex: 1; min-width: 0; }
.article-card-title { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.article-card-summary { color: var(--text-2); font-size: 13.5px; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-meta { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12.5px; flex-wrap: wrap; }
.meta-item { display: inline-flex; align-items: center; gap: 4px; }
.article-card-arrow { color: var(--text-3); flex: none; }
.article-card:hover .article-card-arrow { color: var(--primary); }
.more-btn { margin-top: 8px; }

/* 关于 */
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.about-text { color: var(--text-2); }
.about-text p { margin: 4px 0; }

/* 文章详情 */
.article-page { max-width: 780px; margin: 0 auto; padding: 30px 22px 60px; width: 100%; }
.article-head { margin-bottom: 26px; }
.article-title { font-size: 30px; font-weight: 800; line-height: 1.35; margin: 0 0 14px; letter-spacing: -.3px; }
.article-meta { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 13px; flex-wrap: wrap; }
.article-body { font-size: 15.5px; line-height: 1.85; color: var(--text); word-wrap: break-word; }
.article-body h1, .article-body h2, .article-body h3 { margin: 1.4em 0 .6em; line-height: 1.4; }
.article-body h2 { font-size: 21px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.article-body h3 { font-size: 17.5px; }
.article-body p { margin: .7em 0; }
.article-body a { border-bottom: 1px solid rgba(75, 92, 240, .35); }
.article-body code { background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; font-size: .9em; font-family: ui-monospace, "SF Mono", Consolas, monospace; }
.article-body pre { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; overflow-x: auto; line-height: 1.6; }
.article-body pre code { background: none; padding: 0; }
.article-body blockquote { margin: 1em 0; padding: 8px 18px; border-left: 3px solid var(--primary); background: var(--primary-soft); border-radius: 0 10px 10px 0; color: var(--text-2); }
.article-body img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.article-body table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line-strong); padding: 7px 12px; text-align: left; }
.article-body th { background: var(--bg-soft); }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.article-tags { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.article-end { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 34px; letter-spacing: 2px; }

/* 页脚 */
.pub-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 26px 22px; text-align: center; }
.pub-foot .foot-line { font-size: 13px; color: var(--text-2); margin: 3px 0; }
.pub-foot .foot-line.dim { color: var(--text-3); font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pub-foot .sep { opacity: .5; }
.pub-foot a { color: var(--text-3); }

/* 登录 / 注册 */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg); position: relative; overflow: hidden; }
.auth-page::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: var(--grad); opacity: .09; filter: blur(80px); top: -160px; right: -120px; }
.auth-page::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--primary-2); opacity: .07; filter: blur(80px); bottom: -150px; left: -100px; }
.auth-card { position: relative; z-index: 1; width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px 34px 28px; box-shadow: var(--shadow-lg); }
.auth-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; margin-bottom: 20px; }
.auth-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.auth-sub { color: var(--text-3); font-size: 13.5px; margin: 0 0 22px; }
.auth-form { display: flex; flex-direction: column; gap: 15px; }
.auth-form .btn-lg { margin-top: 6px; }
.auth-foot { margin-top: 20px; text-align: center; color: var(--text-3); font-size: 13.5px; }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .pub-head-inner { padding: 11px 14px; gap: 12px; }
  .pub-nav { display: none; }
  .hero { padding: 40px 16px 20px; }
  .hero-inner { flex-direction: column; text-align: center; gap: 20px; }
  .hero-links { justify-content: center; }
  .hero-avatar { width: 96px; height: 96px; }
  .hero-name { font-size: 27px; }
  .section { padding: 20px 16px; }
  .article-page { padding: 20px 16px 44px; }
  .article-title { font-size: 23px; }
  .field-row { flex-direction: column; gap: 10px; }
  .page-head { flex-direction: column; }
}

/* ---------- 登录方式切换 / 第三方登录（v1.1.0） ---------- */
.auth-mode-tabs { display: flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: 12px; margin-bottom: 18px; }
.auth-mode-tab { flex: 1; padding: 8px 10px; border: none; border-radius: 9px; background: transparent; color: var(--text-2); font-size: 13.5px; font-family: inherit; cursor: pointer; transition: all .15s; }
.auth-mode-tab.active { background: var(--card); color: var(--primary); font-weight: 650; box-shadow: var(--shadow-sm); }
.auth-form-block { display: flex; flex-direction: column; gap: 15px; }
.auth-form-block .btn-lg { margin-top: 6px; }

.sms-row { display: flex; gap: 10px; }
.sms-row .input { flex: 1; min-width: 0; }
.sms-send-btn { flex: none; white-space: nowrap; padding: 0 14px; }

.oauth-area { margin-top: 24px; }
.oauth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12.5px; margin-bottom: 14px; }
.oauth-divider::before, .oauth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.oauth-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.oauth-btn { flex: 1; min-width: 140px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font-size: 13.5px; font-weight: 600; }
.oauth-btn:hover { border-color: var(--primary); color: var(--primary); opacity: 1; }
.oauth-ico { display: inline-flex; }
.oauth-qq .oauth-ico { color: #12b7f5; }
.oauth-wx .oauth-ico { color: #07c160; }

.notice-box { display: flex; gap: 11px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--orange-soft); border: 1px solid rgba(232, 133, 12, .22); color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.notice-ico { flex: none; color: var(--orange); display: inline-flex; margin-top: 1px; }
