:root {
  --primary: #4f6ef7;
  --primary-dark: #3b56d4;
  --success: #18a058;
  --danger: #e0483e;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #2c3345;
  --muted: #8a92a6;
  --border: #e6e9f2;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(31, 45, 97, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { overflow-x: hidden; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; }

/* ---------- 导航 ---------- */
.navbar { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.nav-inner { width: 80%; margin: 0 auto; padding: 0 20px; height: 60px;
  display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 18px; font-weight: 700; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-left { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--text); font-size: 14px; }
.nav-links a:hover { color: var(--primary); }
.nav-links .admin-link { color: var(--danger); font-weight: 600; }
.nav-short { display: none; }

/* 顶栏用户头像 + 昵称 */
.nav-user { display: inline-flex; align-items: center; gap: 8px; padding: 4px 2px; }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #7c4dff);
  color: #fff; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  user-select: none; border: 1px solid #e6e9f2;
}
.nav-avatar-img { object-fit: cover; background: none; }
.nav-info { display: inline-flex; align-items: center; line-height: 1.25; }
.nav-nick {
  color: var(--text); font-size: 13px; font-weight: 600;
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 导航移动端适配：未登录 3 项 / 已登录 4 项，小屏下收窄间距保证单行不溢出 */
@media (max-width: 768px) {
  .nav-inner { width: 92%; padding: 0 10px; height: 52px; }
  .nav-left { gap: 12px; }
  .nav-links { gap: 12px; }
  .brand { font-size: 16px; }
  .nav-links a, .nav-left .nav-link { font-size: 13px; }
  .nav-left .nav-link { padding: 8px 2px; }
  .nav-links a { padding: 8px 2px; }
}
@media (max-width: 400px) {
  .nav-left { gap: 8px; }
  .nav-links { gap: 8px; }
  .brand { font-size: 15px; }
  .nav-long { display: none; }
  .nav-short { display: inline; }
}

.container { width: 70%; margin: 0 auto; padding: 24px 0; flex: 1; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1f2537; color: #aab1c4; margin-top: 40px; }
.footer-inner { width: 80%; margin: 0 auto; padding: 40px 0 0; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1.4fr; gap: 32px; padding-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { font-size: 13px; line-height: 2; }
.footer-col a { color: #aab1c4; }
.footer-col a:hover { color: #fff; }
.footer-logo { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.footer-desc { font-size: 13px; line-height: 1.8; max-width: 260px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 16px 0; font-size: 12px; }
.footer-bottom p { color: #7c8499; }
.footer-bottom a { color: #7c8499; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- 按钮 / 表单 ---------- */
.btn {
  display: inline-block; border: 1px solid var(--border); background: #fff;
  color: var(--text); padding: 9px 20px; border-radius: 8px; cursor: pointer;
  font-size: 14px; transition: .15s;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 6px; }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 36px; font-size: 16px; }
.btn-buy { background: linear-gradient(135deg, #ff7a45, #ff4d4f); color: #fff; border: none; }
.btn-buy:hover { opacity: .9; color: #fff; }
.btn-success { background: var(--success); color: #fff; border: none; }
.btn-success:hover { opacity: .9; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; border: none; }
.btn-danger:hover { opacity: .9; color: #fff; }

input, textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; outline: none; font-family: inherit;
}
input:focus, textarea:focus { border-color: var(--primary); }
label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
label.inline { display: flex; align-items: center; gap: 8px; color: var(--text); }
label.inline input { width: auto; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.error { color: var(--danger); font-size: 13px; margin-bottom: 12px; }

/* ---------- 首页 ---------- */
.hero { text-align: center; padding: 48px 0 32px; }
.hero h1 { font-size: 34px; margin-bottom: 10px; }
.hero p { color: var(--muted); margin-bottom: 24px; }
.search-box { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.search-box input { border-radius: 24px; padding: 12px 20px; }
.search-box .btn { border-radius: 24px; padding: 0 28px; flex-shrink: 0; white-space: nowrap; }

.nav-link { padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-link.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }

.hero-home { padding: 64px 0 40px; border-radius: 16px;
  background: linear-gradient(135deg, #eef3ff 0%, #f7fbff 60%, #eafaf1 100%); margin-bottom: 8px; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 32px; }
.hero-stats .stat { text-align: center; }
.hero-stats b { display: block; font-size: 26px; color: var(--primary); }
.hero-stats span { font-size: 13px; color: var(--muted); }

.home-section { margin: 36px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 20px; }
.section-head .more { font-size: 13px; color: var(--muted); }
.section-head .more:hover { color: var(--primary); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
  transition: all .15s; }
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card .cat-icon { font-size: 22px; }
.cat-card .cat-name { font-size: 13px; color: var(--text); }

.home-cta { text-align: center; margin: 40px 0 16px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.chip {
  display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 13px;
  background: #fff; border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.green { background: #e8f7ef; border-color: #bfe9d2; color: var(--success); }
.chip.red { background: #fdecec; border-color: #f5c6c6; color: var(--danger); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); color: var(--text); display: flex; flex-direction: column;
  gap: 10px; transition: .2s; border: 1px solid transparent;
}
.card:hover { transform: translateY(-3px); border-color: var(--primary); }
.card-cat { font-size: 12px; color: var(--primary); }
.card h3 { font-size: 17px; }
.card .desc { font-size: 13px; color: var(--muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; justify-content: space-between; align-items: center; }
.price { color: #ff4d4f; font-size: 18px; font-weight: 700; }
.price.free { color: var(--success); }
.meta { color: var(--muted); font-size: 12px; }
.mono { font-family: Consolas, monospace; font-size: 12px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 28px 0; }
.pager button { padding: 8px 18px; border: 1px solid var(--border); background: #fff;
  border-radius: 8px; cursor: pointer; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

.loading, .empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- 详情 / 账户 ---------- */
.detail-wrap, .auth-wrap { max-width: 760px; margin: 0 auto; }
.detail-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.detail-head h1 { margin: 12px 0 6px; font-size: 24px; }
.detail-desc { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--border); }
.detail-desc h3 { font-size: 15px; margin-bottom: 10px; }
.pre { white-space: pre-wrap; line-height: 1.8; margin-bottom: 12px; }
.buy-panel { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 24px; }
.buy-price { font-size: 30px; font-weight: 800; color: #ff4d4f; }
.buy-price.free { color: var(--success); }

.page-title { margin-bottom: 20px; font-size: 22px; }
.page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.page-head .page-title { margin-bottom: 0; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.toolbar input { max-width: 300px; }

.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.panel h3 { font-size: 15px; margin-bottom: 16px; }
.balance { font-size: 40px; font-weight: 800; color: #ff4d4f; margin: 8px 0 20px; }
.topup-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.topup-input { width: 100px; }

/* ---------- 账户页（左侧菜单 / 资料卡 / 统计 / 订单） ---------- */
.side-menu { padding: 18px 14px; }
.side-title { font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 0 10px 12px; letter-spacing: 1px; }
.side-list { display: flex; flex-direction: column; gap: 4px; }
.side-item { display: block; width: 100%; text-align: left; padding: 11px 14px;
  border: none; background: transparent; border-radius: 8px; cursor: pointer;
  font-size: 14px; color: var(--text); transition: .15s; }
.side-item:hover { background: #f1f4fb; color: var(--primary); }
.side-item.active { background: var(--primary); color: #fff; font-weight: 600; }
.side-item.active:hover { background: var(--primary); color: #fff; }
.side-item-danger:hover { background: #fdecec; color: var(--danger); }
.account-main { min-width: 0; }

.profile-card { display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.profile-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #7c4dff);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; user-select: none; }
.avatar-img { object-fit: cover; background: none; }
.profile-name { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.profile-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

.account-stats { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 16px; }
.stat-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; }
.stat-box .stat-num { font-size: 24px; font-weight: 800; color: var(--text); }
.stat-box .stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

.table-scroll { overflow-x: auto; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 12px; white-space: nowrap; }
.badge-buy { background: #eef1ff; color: var(--primary); }
.badge-recharge { background: #e8f7ef; color: var(--success); }
.badge-paid { background: #e8f7ef; color: var(--success); }
.badge-wait { background: #fff7e8; color: #d48806; }
.badge-closed { background: #f2f3f5; color: #8a919f; }
.amount-out { color: #ff4d4f; font-weight: 600; }
.amount-in { color: var(--success); font-weight: 600; }
.order-table td { vertical-align: middle; }

.empty-order { display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 44px 0; }
.empty-order .empty-icon { color: #c6cddd; }
.empty-order p { color: var(--muted); font-size: 14px; }

/* ---------- 注册信息页 ---------- */
.btn-primary { background: var(--primary); color: #fff; border: none; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.info-list { list-style: none; }
.info-list li { display: flex; align-items: center; gap: 16px;
  padding: 13px 0; border-bottom: 1px dashed var(--border); }
.info-list li:last-child { border-bottom: none; }
.info-label { width: 110px; flex-shrink: 0; color: var(--muted); font-size: 13px; }
.info-value { flex: 1; min-width: 0; word-break: break-all; font-size: 14px; }
.info-section { margin-top: 16px; }
.avatar-edit { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

@media (max-width: 800px) {
  .account-stats { grid-template-columns: repeat(2, 1fr); }
  .side-title { display: none; }
  .side-list { flex-direction: row; flex-wrap: wrap; }
  .side-item { width: auto; }
}
@media (max-width: 640px) {
  .order-table thead { display: none; }
  .order-table tbody tr { display: block; border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 12px; padding: 6px 0;
    background: #fff; }
  .order-table tbody td { display: flex; justify-content: space-between;
    align-items: center; border: none; padding: 8px 14px; }
  .order-table tbody td::before { content: attr(data-label);
    color: var(--muted); font-size: 13px; }
}

.auth-wrap { display: flex; justify-content: center; padding: 60px 0; }
.auth-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px; width: 380px; }
.auth-card h2 { margin-bottom: 24px; text-align: center; }
.auth-tip { text-align: center; color: var(--muted); font-size: 13px; margin-top: 16px; }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: var(--muted); font-weight: 500; font-size: 13px; white-space: nowrap; }
.table tr:hover td { background: #fafbfe; }
.ops { white-space: nowrap; }
.ops .btn { margin-right: 6px; margin-bottom: 4px; }

/* ---------- 后台 ---------- */
.admin-body { flex-direction: row; }
.sidebar {
  width: 220px; min-height: 100vh; background: #1f2733; color: #cfd6e4;
  display: flex; flex-direction: column; padding: 20px 14px; flex-shrink: 0;
}
.sidebar .brand { color: #fff; padding: 0 10px 20px; font-size: 17px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-nav a { color: #cfd6e4; padding: 11px 14px; border-radius: 8px; font-size: 14px; }
.side-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side-nav a.active { background: var(--primary); color: #fff; }
.side-foot { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.side-foot a { color: #8a92a6; }
.side-foot a:hover { color: #fff; }
.side-foot .admin-name { color: #fff; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-main { flex: 1; padding: 28px 32px; min-width: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--text); margin-bottom: 6px; }

/* ---------- 弹窗 / 提示 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .45);
  display: flex; align-items: center; justify-content: center; z-index: 200; }
.modal { background: #fff; border-radius: var(--radius); padding: 28px; width: 560px; max-height: 90vh;
  overflow: auto; }
.modal h3 { margin-bottom: 18px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.modal { position: relative; }
.modal-close { position: absolute; top: 2px; right: 2px; border: none; background: transparent;
  font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
.modal-close:hover { color: var(--text); }

/* 登录 / 注册弹窗 */
.auth-modal { width: 380px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 22px; background: #f1f5f9;
  border-radius: 8px; padding: 4px; }
.auth-tab { flex: 1; border: none; background: transparent; padding: 8px 0; cursor: pointer;
  border-radius: 6px; font-size: 14px; color: var(--muted); }
.auth-tab.active { background: #fff; color: var(--text); font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.btn-wechat { background: #07c160; color: #fff; }
.btn-wechat:hover { background: #06ad56; }
.btn-wechat:disabled { opacity: .6; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted);
  font-size: 12px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* 账号登录下的第三方登录入口 */
.alt-login { margin-top: 18px; }
.alt-login-divider { display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.alt-login-divider::before, .alt-login-divider::after { content: "";
  flex: 1; height: 1px; background: var(--border); }
.alt-login-items { display: flex; justify-content: center; }
.wx-icon-btn { width: 44px; height: 44px; border-radius: 50%; border: none;
  cursor: pointer; background: #07c160; display: flex; align-items: center;
  justify-content: center; transition: .15s; }
.wx-icon-btn:hover { opacity: .85; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.btn-code { flex-shrink: 0; white-space: nowrap; }
.hint { color: var(--success); font-size: 13px; margin-bottom: 12px; }

/* 滑块拼图验证 */
#slider-mask { z-index: 260; }
.slider-modal { width: 380px; overflow: hidden; }
.slider-head { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; }
.slider-head-btns { display: flex; gap: 6px; }
.slider-icon { border: none; background: transparent; font-size: 18px; cursor: pointer;
  color: var(--muted); padding: 2px 6px; border-radius: 6px; }
.slider-icon:hover { background: #f1f5f9; color: var(--text); }
.slider-canvas { position: relative; width: 320px; height: 160px;
  border-radius: 8px; overflow: hidden; user-select: none; background: #f1f5f9; }
.slider-canvas img { position: absolute; left: 0; top: 0; pointer-events: none; }
.slider-canvas.shake { animation: shake .4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.slider-track { position: relative; width: 320px; height: 44px; margin-top: 12px;
  background: #f1f5f9; border-radius: 22px; overflow: hidden; }
.slider-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: rgba(79, 110, 247, .15); }
.slider-tip { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; color: var(--muted); font-size: 13px; }
.slider-handle { position: absolute; left: 0; top: 0; width: 44px; height: 44px;
  background: var(--primary); color: #fff; border-radius: 22px; display: flex;
  align-items: center; justify-content: center; cursor: grab; touch-action: none;
  z-index: 2; font-size: 16px; user-select: none; }
.slider-handle:active { cursor: grabbing; }
#slider-hint { margin-top: 10px; margin-bottom: 0; }

.toast { position: fixed; top: 76px; left: 50%; transform: translateX(-50%);
  background: #333; color: #fff; padding: 10px 24px; border-radius: 8px; z-index: 300;
  font-size: 14px; box-shadow: var(--shadow); }
.toast.ok { background: var(--success); }
.toast.err { background: var(--danger); }

/* ---------- 支付宝扫码弹窗 ---------- */
.pay-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .45);
  display: flex; align-items: center; justify-content: center; z-index: 250; }
.pay-modal { background: #fff; border-radius: var(--radius); padding: 28px;
  width: 320px; text-align: center; }
.pay-modal h3 { margin-bottom: 6px; }
.pay-amount { font-size: 26px; font-weight: 700; color: #1677ff; margin-bottom: 14px; }
.qr-box { display: flex; justify-content: center; margin-bottom: 12px; }
.qr-box img, .qr-box canvas { border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
.pay-modal .meta { margin-bottom: 16px; }

/* ---------- 后台修改密码弹窗 ---------- */
.pwd-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .45);
  display: none; align-items: center; justify-content: center; z-index: 220; }
.pwd-modal { background: #fff; border-radius: var(--radius); padding: 28px; width: 360px; }
.pwd-title { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.pwd-modal label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.pwd-modal input { display: block; width: 100%; margin-top: 6px; }
.pwd-err { color: var(--danger); font-size: 13px; margin-bottom: 10px; }
.pwd-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.pwd-actions .btn-primary { background: var(--primary); color: #fff; }
.pwd-actions .btn-primary:hover { background: #3b5bdb; }
.pwd-actions .btn-primary:disabled { opacity: .6; }

@media (max-width: 800px) {
  .account-grid, .stats-grid { grid-template-columns: 1fr; }
  .admin-body { flex-direction: column; }
  .sidebar { width: 100%; min-height: auto; }
  .field-row { grid-template-columns: 1fr; }
}
