/* ============================================================
   时迹光年 · 企业官网 样式
   风格：简约大气（留白 / 克制配色 / 精致排版）
   ============================================================ */

:root {
  /* —— 品牌色直接取自 LOGO：橙 #ED6C2B / 墨 #21201C / 灰 #8A8277 —— */
  --bg: #fcfaf7;            /* 暖白背景 */
  --surface: #ffffff;
  --ink: #21201c;           /* 品牌墨色（LOGO 字标） */
  --ink-soft: #3d3931;
  --muted: #7a7266;         /* 次级文字（LOGO 灰衍生，对比度 AA） */
  --line: #ebe5db;          /* 分隔线 */
  --primary: #ed6c2b;       /* 品牌主色 · LOGO 橙环 */
  --primary-deep: #c4501a;  /* 深橙：悬停态 / 浅底小字 */
  --primary-soft: #fcefe4;  /* 橙色浅底 */
  --shadow-sm: 0 2px 10px rgba(33, 32, 28, 0.06);
  --shadow-md: 0 12px 40px rgba(33, 32, 28, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --nav-h: 68px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary-deep);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

.center { text-align: center; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--primary-deep); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-deep); }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #100f0c; box-shadow: var(--shadow-md); }

.btn--block { width: 100%; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(252, 250, 247, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand__logo { height: 38px; width: auto; }
.brand__logo--lg { height: 42px; }
.brand__logo--inverse { height: 46px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.22s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--primary-deep); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__user {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  font-size: 22px; color: var(--ink);
}

/* 导航账户区（登录态 / 退出 / 后台入口） */
.nav__login {
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.nav__login:hover { border-color: var(--primary); color: var(--primary-deep); background: var(--primary-soft); }
.nav__link { font-size: 14px; color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
.nav__link:hover { color: var(--primary-deep); }
.nav__userbox { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.nav__user { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
  background:
    radial-gradient(1200px 560px at 78% -10%, rgba(237, 108, 43, 0.16), transparent 62%),
    radial-gradient(820px 420px at 6% 14%, rgba(237, 108, 43, 0.07), transparent 58%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--primary); position: relative; }
.hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__badges {
  display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap;
}
.hero__badge { }
.hero__badge b {
  display: block; font-size: 30px; color: var(--ink); font-weight: 700;
}
.hero__badge span { font-size: 13px; color: var(--muted); }

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: linear-gradient(150deg, #322d26, #21201c 58%, #16140f);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  place-items: center;
}
/* 宣传片铺满面板，居中裁切 */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #16140f;
}
/* 底部压暗，保证声音按钮可读 */
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(18, 16, 12, 0.62), rgba(18, 16, 12, 0) 45%);
}
/* 声音开关 */
.hero__sound {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(22, 20, 16, 0.55);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero__sound:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.07);
}
.hero__sound:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------------- 数据条 ---------------- */
.stats {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -52px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.stat { text-align: center; }
.stat b { display: block; font-size: 34px; font-weight: 700; color: #fff; }
.stat span { font-size: 13px; color: rgba(255,255,255,0.66); letter-spacing: 0.04em; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.12); }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; margin: 0; color: var(--muted); }
.card--line { border-top: 3px solid var(--primary); }

.feature-card { text-align: center; }
.feature-card .card__icon { margin: 0 auto 18px; }

/* ---------------- 区块标题 ---------------- */
.head-block { margin-bottom: 52px; }
.head-block.center { text-align: center; }
.head-block .section-sub { margin-top: 6px; }

/* ---------------- 价值/理念 ---------------- */
.values { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-item {
  display: flex; gap: 18px; align-items: flex-start;
}
.value-item .idx {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
}
.value-item h4 { font-size: 17px; margin-bottom: 6px; }
.value-item p { margin: 0; font-size: 14.5px; }

/* ---------------- 引用 ---------------- */
.quote {
  background: linear-gradient(150deg, var(--ink), #14120e);
  color: #fff;
  border-radius: var(--radius);
  padding: 64px 48px;
  text-align: center;
}
.quote p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  max-width: 860px; margin: 0 auto;
  line-height: 1.6;
}
.quote .sign { margin-top: 22px; font-size: 14px; color: var(--primary); letter-spacing: 0.1em; }

/* ---------------- 产品页 ---------------- */
.prod-hero {
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(237,108,43,0.15), transparent 62%),
    var(--bg);
  padding: 84px 0 56px;
}
.prod-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.prod-hero p { max-width: 720px; font-size: 17px; color: var(--muted); }
.life-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.life-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.life-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.life-card .glyph {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; display: grid; place-items: center; font-size: 26px;
}
.life-card h3 { font-size: 18px; margin-bottom: 8px; }
.life-card p { font-size: 14px; color: var(--muted); margin: 0; }
.life-card .tag {
  display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: 0.1em;
  color: var(--primary-deep); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
}
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.pillar h3 { font-size: 21px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.pillar h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.pillar p { margin: 0 0 10px; }
.pillar ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.pillar ul li { margin: 6px 0; }

/* ---------------- 关于页 ---------------- */
.about-hero { padding: 88px 0 56px; }
.about-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.about-hero p { max-width: 760px; font-size: 17px; color: var(--muted); }
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line);
}
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--primary); border: 3px solid var(--bg);
}
.tl-item h4 { font-size: 16px; margin-bottom: 4px; }
.tl-item p { margin: 0; font-size: 14.5px; color: var(--muted); }
.about-figures { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ---------------- 联系页 ---------------- */
.contact-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: start; }
.contact-info { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px 36px; }
.contact-info h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.contact-info .ci-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
.contact-info .ci-row:last-child { border-bottom: none; }
.contact-info .ci-row .ic { font-size: 20px; }
.contact-info .ci-row .k { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }
.contact-info .ci-row .v { font-size: 15px; color: #fff; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field label .req { color: var(--primary-deep); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(237,108,43,0.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.file-drop {
  border: 1.5px dashed var(--line); border-radius: var(--radius-sm);
  padding: 18px; text-align: center; cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease;
  color: var(--muted); font-size: 14px;
}
.file-drop:hover { border-color: var(--primary); background: rgba(237,108,43,0.05); }
.file-drop.has-file { border-style: solid; border-color: var(--primary); background: rgba(237,108,43,0.07); color: var(--ink); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form-msg { font-size: 14px; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-msg.ok { display: block; background: rgba(237,108,43,0.10); color: var(--primary-deep); border: 1px solid rgba(237,108,43,0.30); }
.form-msg.err { display: block; background: rgba(200,60,60,0.08); color: #b3261e; border: 1px solid rgba(200,60,60,0.25); }

/* ---------------- 登录弹窗 ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(28, 26, 22, 0.5);
  backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  width: 100%; max-width: 420px; background: var(--surface); border-radius: 20px;
  box-shadow: var(--shadow-md); padding: 36px 34px; position: relative;
  animation: pop 0.22s ease;
}
@keyframes pop { from { transform: translateY(12px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close {
  position: absolute; top: 16px; right: 18px; border: none; background: none;
  font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1;
}
.modal h3 { font-size: 22px; margin-bottom: 4px; }
.modal .sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.tabs { display: flex; gap: 8px; background: var(--bg); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.tabs button {
  flex: 1; border: none; background: none; padding: 9px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit;
}
.tabs button.active { background: var(--primary); color: #fff; }
.auth-msg { font-size: 13.5px; color: var(--muted); margin-top: 14px; text-align: center; min-height: 18px; }
.auth-msg.err { color: #b3261e; }
.auth-msg.ok { color: var(--primary-deep); }
.resend { background: none; border: none; color: var(--primary-deep); cursor: pointer; font-size: 13px; padding: 0; font-family: inherit; }
.linkbtn { background: none; border: none; color: var(--primary-deep); cursor: pointer; font-family: inherit; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------------- 页脚 ---------------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 28px;
  margin-top: 0;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: rgba(255,255,255,0.5); }
.footer p { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer h5 { color: #fff; font-size: 15px; margin: 0 0 14px; letter-spacing: 0.04em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin: 8px 0; font-size: 14px; }
.footer ul li a { color: rgba(255,255,255,0.66); transition: color 0.18s ease; }
.footer ul li a:hover { color: var(--primary); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px; padding-top: 22px; text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__art { max-width: 380px; }
  .grid--3, .grid--4, .life-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: none; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .contact-wrap { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-figures { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 0; display: none; box-shadow: var(--shadow-md);
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 24px; }
  .nav__links a::after { display: none; }
  .nav__toggle { display: block; }
  .nav__actions .btn--ghost { display: none; }
  .grid--3, .grid--4, .life-grid, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .quote { padding: 44px 24px; }
}

/* ---------------- 新闻卡片 ---------------- */
.news-card { overflow: hidden; }
.news-card__cover { width: 100%; height: 160px; object-fit: cover; }
.news-card__body { padding: 16px; }
.news-card__date { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
a.news-card { color: inherit; text-decoration: none; display: block; transition: transform .25s ease, box-shadow .25s ease; }
a.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
a.news-card h3 { font-size: 18px; margin-bottom: 6px; }
.news-card__more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--primary-deep); }

/* ---------------- 新闻详情页 ---------------- */
.article { max-width: 860px; margin: 0 auto; }
.article__back { display: inline-block; font-size: 14px; color: var(--primary-deep); text-decoration: none; margin-bottom: 18px; }
.article__back:hover { text-decoration: underline; }
.article__lead { font-size: 17px; color: var(--muted); border-left: 3px solid var(--primary); padding-left: 14px; margin-bottom: 24px; }
.article__cover { width: 100%; border-radius: 16px; margin-bottom: 26px; }
.article__body { font-size: 16px; line-height: 1.9; color: var(--text); }
.article__foot { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 后台管理 ---------------- */
.admin { min-height: 100vh; background: #f5f3ef; }
.admin__bar { background: var(--ink); color: #fff; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.admin__bar .brand { color: #fff; }
.admin__bar .brand__logo--inverse { height: 32px; }
.admin__bar .links a { color: rgba(255,255,255,0.82); font-size: 14px; margin-left: 16px; }
.admin__bar .links a:hover { color: #fff; }
.admin__tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.admin__tabs a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--bg); }
.admin__tabs a.active { background: var(--primary); color: #fff; }
.admin__main { padding: 28px 24px; max-width: 1100px; margin: 0 auto; }
.admin__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 22px; }
.admin__card h3 { margin: 0 0 16px; font-size: 18px; }
.admin__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin__table th, .admin__table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin__table th { color: var(--muted); font-weight: 600; background: var(--bg); }
.admin__table tr:hover td { background: #faf8f4; }
.admin__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin__row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.admin__row input, .admin__row textarea { flex: 1; }
.admin__label { font-size: 13px; font-weight: 600; color: var(--ink-soft); display: block; margin: 14px 0 6px; }
.admin__msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.admin__msg.ok { background: rgba(237,108,43,0.10); color: var(--primary-deep); border: 1px solid rgba(237,108,43,0.30); }
.admin__msg.err { background: rgba(200,60,60,0.08); color: #b3261e; border: 1px solid rgba(200,60,60,0.25); }
.admin__hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.admin__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.admin__stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.admin__stat b { display: block; font-size: 30px; color: var(--ink); }
.admin__stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .admin__grid2, .admin__stats { grid-template-columns: 1fr; } }
