:root {
  --bg: #f5f6fa;
  --bg-soft: #eef0f6;
  --surface: #ffffff;
  --surface-2: #fafbfd;
  --border: #e6e8f0;
  --border-strong: #d6d9e6;
  --text: #151824;
  --text-2: #454b60;
  --muted: #7b8194;
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-soft: #e7f8f1;
  --primary-ink: #047857;
  --nav-bg: #1e3a8a;
  --nav-bg-deep: #172e6e;
  --success: #16a34a;
  --success-soft: #e7f8f1;
  --warn: #f59e0b;
  --warn-soft: #fef4e3;
  --danger: #ef4444;
  --danger-soft: #fdecec;
  --grad: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 40, .05);
  --shadow: 0 4px 16px rgba(20, 24, 40, .07);
  --shadow-lg: 0 18px 48px rgba(20, 24, 40, .12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
img { max-width: 100%; display: block; }

/* ---------- boot ---------- */
.boot-screen { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }
.boot-spinner { width: 30px; height: 30px; border: 3px solid var(--border-strong); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
}
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: -.2px; color: #fff; }
.brand-logo { height: 34px; width: auto; border-radius: 8px; background: #fff; padding: 3px 6px; display: block; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.brand-mark svg { width: 17px; height: 17px; }
.brand-sub { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.7); border-left: 1px solid rgba(255,255,255,.28); padding-left: 10px; margin-left: 2px; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-link {
  padding: 7px 13px; border-radius: 9px; color: rgba(255, 255, 255, .78); font-weight: 500; cursor: pointer;
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-link.active { background: rgba(255, 255, 255, .2); color: #fff; font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 12px; }

.chip-credits {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: 13px;
}
.nav-right .btn-ghost { color: rgba(255,255,255,.85); }
.nav-right .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-right .btn-primary { background: #fff; color: var(--nav-bg); box-shadow: none; }
.nav-right .btn-primary:hover { background: rgba(255,255,255,.9); }
.avatar-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); cursor: pointer;
  background: rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-size: 13px; display: grid; place-items: center;
}
.user-menu { position: relative; }
.user-dropdown {
  position: absolute; right: 0; top: 44px; width: 200px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; z-index: 80;
}
.user-dropdown button { width: 100%; text-align: left; background: none; border: none; padding: 9px 12px; border-radius: 9px; cursor: pointer; color: var(--text-2); }
.user-dropdown button:hover { background: var(--bg-soft); color: var(--text); }
.user-dropdown .dd-head { padding: 10px 12px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.user-dropdown .dd-head b { display: block; font-size: 14px; }
.user-dropdown .dd-head span { color: var(--muted); font-size: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 16px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: 14px; transition: all .15s; background: var(--surface); color: var(--text);
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(79, 70, 229, .25); }
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); }
.btn-gradient { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(99, 102, 241, .3); }
.btn-gradient:hover:not(:disabled) { filter: brightness(1.05); }
.btn-outline { border-color: var(--border-strong); color: var(--text-2); }
.btn-outline:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-soft); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: #fbdcdc; }
.btn-sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- layout ---------- */
.page { max-width: 1440px; margin: 0 auto; padding: 28px 24px 64px; }
.page-narrow { max-width: 720px; }
.page-head { margin-bottom: 22px; }
.page-head h1 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.4px; }
.page-head p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
.card-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h3 { margin: 0; font-size: 15px; }
.card-body { padding: 20px; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 10px;
  background: var(--surface); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
.textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.select { 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='%237b8194' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.row { display: flex; gap: 14px; }
.row > * { flex: 1; min-width: 0; }
@media (max-width: 640px) { .row { flex-direction: column; gap: 0; } .row > * { margin-bottom: 16px; } }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track { width: 42px; height: 24px; border-radius: 999px; background: var(--border-strong); position: relative; transition: background .18s; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::after { transform: translateX(18px); }

/* ---------- uploader ---------- */
.uploader {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 18px;
  background: var(--surface-2); text-align: center; cursor: pointer; transition: all .15s;
}
.uploader:hover, .uploader.dragover { border-color: var(--primary); background: var(--primary-soft); }
.uploader-icon { width: 36px; height: 36px; margin: 0 auto 8px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.uploader-title { font-weight: 600; font-size: 13px; }
.uploader-sub { color: var(--muted); font-size: 12px; margin-top: 3px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .del { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.thumb .del:hover { background: var(--danger); }

/* ---------- capability cards ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.cap-card {
  position: relative; text-align: left; padding: 15px; border-radius: var(--radius); cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface); transition: all .16s;
}
.cap-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.cap-card.active { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px rgba(79,70,229,.1); }
.cap-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.cap-card h4 { margin: 0 0 3px; font-size: 14px; }
.cap-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; min-height: 36px; }
.cap-cost { margin-top: 9px; font-size: 12px; font-weight: 600; color: var(--primary); }

/* ---------- status ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-gray { background: var(--bg-soft); color: var(--text-2); }
.badge-blue { background: var(--primary-soft); color: var(--primary); }
.badge-green { background: var(--success-soft); color: #067a55; }
.badge-amber { background: var(--warn-soft); color: #a16207; }
.badge-red { background: var(--danger-soft); color: #c02828; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dot.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
  text-align: left; padding: 11px 14px; font-weight: 600; color: var(--muted); font-size: 12px;
  border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--surface-2);
}
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--surface-2); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }

/* ---------- stats ---------- */
.stat { padding: 18px; }
.stat .label { font-size: 12px; color: var(--muted); }
.stat .value { font-size: 26px; font-weight: 700; letter-spacing: -.6px; margin-top: 4px; }
.stat .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.shot-img { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; }
.shot-img .actions { position: absolute; inset: 0; background: rgba(15,18,32,.55); display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity .16s; }
.shot:hover .shot-img .actions { opacity: 1; }
.shot-img .actions .btn { background: #fff; color: var(--text); }
.shot-meta { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.shot-meta b { color: var(--text-2); font-weight: 600; }

/* ---------- progress ---------- */
.progress { height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--grad); border-radius: 999px; transition: width .4s ease; }
.task-panel { position: sticky; bottom: 0; }

.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty-icon { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); }
.empty h4 { margin: 0 0 4px; color: var(--text-2); font-size: 15px; }

/* ---------- 登录页（品牌左栏 + 表单右栏） ---------- */
.auth-split { min-height: calc(100vh - 64px); display: grid; grid-template-columns: 1.05fr .95fr; }
@media (max-width: 900px) { .auth-split { grid-template-columns: 1fr; } .auth-brand { display: none !important; } }
.auth-brand {
  background: linear-gradient(160deg, var(--nav-bg-deep) 0%, var(--nav-bg) 55%, #0f766e 100%);
  color: #fff; padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.auth-brand .logo-box { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 10px 16px; width: fit-content; }
.auth-brand .logo-box img { height: 40px; width: auto; border-radius: 8px; background: #fff; padding: 3px 6px; }
.auth-brand h1 { font-size: 34px; line-height: 1.3; margin: 6px 0 0; letter-spacing: -.6px; }
.auth-brand h1 em { font-style: normal; color: #6ee7b7; }
.auth-brand .slogan { font-size: 15px; color: rgba(255,255,255,.82); margin: 0; max-width: 460px; }
.auth-brand .points { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.auth-brand .points div { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,.86); }
.auth-brand .points i { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(110,231,183,.2); color: #6ee7b7; display: grid; place-items: center; font-size: 11px; font-style: normal; }
.auth-brand .contact { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12.5px; color: rgba(255,255,255,.72); line-height: 1.9; }
.auth-brand .contact b { color: #fff; font-weight: 600; }
.auth-form-side { display: grid; place-items: center; padding: 48px 24px; background: var(--bg); }
.auth-card { width: 100%; max-width: 384px; }
.auth-card .head { margin-bottom: 20px; }
.auth-card .head h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.3px; }
.auth-card .head p { margin: 0; color: var(--muted); font-size: 13px; }
.auth-brand-mobile { display: none; }

/* ---------- 站点页脚 ---------- */
.site-foot { border-top: 1px solid var(--border); background: var(--surface); margin-top: 40px; }
.site-foot-inner { max-width: 1440px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot .brand-line { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; }
.site-foot .brand-line img { height: 26px; width: auto; border-radius: 6px; background: #fff; padding: 2px 4px; border: 1px solid var(--border); }
.site-foot .meta { font-size: 12px; color: var(--muted); line-height: 1.8; }
.site-foot .meta a { color: var(--muted); }
.site-foot .meta a:hover { color: var(--primary); }

.section { max-width: 1280px; margin: 0 auto; padding: 60px 24px; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -.5px; }
.section-head p { margin: 0; color: var(--muted); }
.feature { padding: 22px; }
.feature .fi { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 12px; }
.feature h4 { margin: 0 0 6px; font-size: 15px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; }

.plan { padding: 24px; display: flex; flex-direction: column; }
.plan.hot { border-color: var(--primary); box-shadow: 0 8px 28px rgba(16, 185, 129, .16); position: relative; }
.plan .tag { position: absolute; top: -11px; right: 18px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h4 { margin: 0 0 4px; font-size: 16px; }
.plan .price { font-size: 30px; font-weight: 700; letter-spacing: -1px; margin: 10px 0 2px; }
.plan .price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 20px; flex: 1; }
.plan ul li { padding: 5px 0; font-size: 13px; color: var(--text-2); display: flex; gap: 8px; }
.plan ul li::before { content: '✓'; color: var(--success); font-weight: 700; }

.announce { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 13px; margin-bottom: 18px; }

/* ---------- admin ---------- */
.admin-layout { display: grid; grid-template-columns: 224px 1fr; min-height: calc(100vh - 64px); }
.admin-side { background: var(--surface); border-right: 1px solid var(--border); padding: 18px 12px; }
.admin-side .side-title { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); padding: 0 12px 8px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text-2); cursor: pointer; font-weight: 500; margin-bottom: 2px; }
.side-link:hover { background: var(--bg-soft); }
.side-link.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.side-link svg { width: 17px; height: 17px; }
.admin-main { padding: 26px 28px 60px; overflow: hidden; }
@media (max-width: 860px) { .admin-layout { grid-template-columns: 1fr; } .admin-side { display: none; } }

/* ---------- toast / modal ---------- */
.toast-host { position: fixed; top: 18px; right: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 240px; max-width: 380px; padding: 12px 16px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: flex-start;
  animation: slideIn .2s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } }
.toast.ok { border-left: 3px solid var(--success); }
.toast.err { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--primary); }
.toast b { display: block; font-size: 13px; }
.toast span { font-size: 12px; color: var(--muted); }

.modal-mask { position: fixed; inset: 0; background: rgba(15, 18, 32, .45); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { margin: 0; font-size: 16px; }
.modal-body { padding: 22px; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
.x-btn { border: none; background: none; cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; }

.lightbox-mask { position: fixed; inset: 0; background: rgba(10,12,20,.86); z-index: 400; display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox-mask img { max-width: 100%; max-height: 100%; border-radius: 10px; }

.auth-tabs { display: flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: 12px; margin-bottom: 20px; }
.auth-tabs button { flex: 1; padding: 9px; border: none; border-radius: 9px; background: none; cursor: pointer; font-weight: 600; color: var(--muted); }
.auth-tabs button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.kv:last-child { border-bottom: none; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; }

.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form .input { width: auto; flex: 1; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tabs button { padding: 10px 14px; border: none; background: none; cursor: pointer; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }

.skeleton { background: linear-gradient(90deg, #eef0f6 25%, #f7f8fc 37%, #eef0f6 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 10px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.muted { color: var(--muted); }
.small { font-size: 12px; }
.right { text-align: right; }
.flex { display: flex; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
