/* ============================================================
   榜单管理后台
   A single design system for the internal management interface.
   ============================================================ */

:root {
  --bg: #f3f1ec;
  --bg-deep: #ece9e2;
  --surface: #fffdf8;
  --surface-2: #f8f6f0;
  --surface-3: #f1eee7;
  --ink: #19231e;
  --ink-soft: #3d4a43;
  --muted: #747d77;
  --muted-2: #9aa19c;
  --line: #e3dfd5;
  --line-strong: #d3cdc0;
  --brand: #174838;
  --brand-strong: #0f3529;
  --brand-soft: #e6efe9;
  --brand-tint: #f2f7f3;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --blue-deep: #1d4ed8;
  --blue-pale: #dbeafe;
  --blue-line: #c7d8e6;
  --blue-tint: #f8fbff;
  --blue-hover: #edf5fc;
  --plum: #6c587d;
  --plum-soft: #efe9f2;
  --danger: #a83b34;
  --danger-strong: #8c2f29;
  --danger-soft: #f8e9e6;
  --success: #2e6b4f;
  --success-soft: #e8f2ec;
  --warning: #976a22;
  --warning-soft: #fbf1df;
  --sidebar-w: 252px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(24, 35, 30, 0.04);
  --shadow-sm: 0 2px 8px rgba(24, 35, 30, 0.045);
  --shadow-md: 0 14px 40px rgba(24, 35, 30, 0.1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", "STSong",
    "Georgia", serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo,
    Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button {
  cursor: pointer;
}

button:disabled,
.button:disabled,
a.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

code,
.mono {
  font-family: var(--font-mono);
}

::selection {
  background: var(--blue-soft);
  color: var(--brand-strong);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

[id] {
  scroll-margin-top: 88px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 14px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.truncate {
  display: inline-block;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.text-muted {
  color: var(--muted);
}

.unset {
  color: var(--muted-2);
  font-size: 13px;
}

