﻿:root {
  --bg: #f2f6fb;
  --panel: #fff;
  --soft: #e8f1fa;
  --text: #172033;
  --muted: #64748b;
  --line: #d2deec;
  --blue: #0a3d68;
  --blue2: #075da8;
  --green: #15803d;
  --orange: #b45309;
  --red: #b91c1c;
  --shadow: 0 18px 46px rgba(15, 61, 104, .10);
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(19, 94, 159, .10), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 24rem);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--blue2); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.topbar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 15px;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 14px;
}
.top-nav a { color: #334155; }
.top-nav a.active { color: var(--blue); font-weight: 600; }

.site-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  flex: 1 0 auto;
}
.backend-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 58px);
  flex: 1 0 auto;
}
.sidebar {
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 14px;
}
.side-title {
  margin: 4px 8px 10px;
  color: var(--muted);
  font-size: 12px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border-radius: 6px;
  color: #334155;
  font-size: 14px;
}

.side-link .menu-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: currentColor;
}

.side-link .menu-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.side-link.active,
.side-link:hover {
  background: var(--soft);
  color: var(--blue);
}
.backend-main {
  min-width: 0;
  padding: 26px;
  flex: 1 0 auto;
}
.backend-main .page-head {
  justify-content: flex-start;
  margin-bottom: 12px;
}
.backend-main .page-head > div:first-child {
  display: none;
}
.backend-main .page-head .actions {
  margin-top: 0;
  justify-content: flex-start;
}
.backend-plain {
  width: 100%;
  max-width: none;
}
.backend-main .panel,
.backend-main .table-wrap,
.backend-main .grid {
  width: 100%;
  max-width: none;
}
.backend-main .grid.cols-2,
.backend-main .grid.cols-3,
.backend-main .grid.cols-4 {
  align-items: start;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
h1, h2, h3 { margin: 0; color: var(--blue); letter-spacing: 0; }
h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; text-wrap: balance; }
h2 { font-size: 23px; }
h3 { font-size: 17px; }
p { margin: 0; color: var(--muted); }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.grid { display: grid; gap: 14px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
}
.hero-main {
  padding: 46px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(232,241,250,.96)),
    radial-gradient(circle at 80% 18%, rgba(21,128,61,.12), transparent 18rem);
  border: 1px solid #cdddeb;
  border-radius: var(--radius);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 14px;
}
.btn.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.btn.green { border-color: var(--green); background: var(--green); color: #fff; }
.btn.warn { border-color: #fed7aa; color: var(--orange); background: #fff7ed; }
.btn.danger { border-color: #fecaca; color: var(--red); background: #fef2f2; }
.btn:active { transform: translateY(1px); }

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.metric strong {
  display: block;
  font-size: 30px;
  line-height: 1.15;
  color: #0f172a;
}
.metric span { color: var(--muted); font-size: 13px; }
.tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eaf2fb;
  color: var(--blue);
  font-size: 12px;
  white-space: nowrap;
}
.tag.green { color: var(--green); background: #ecfdf3; }
.tag.orange { color: var(--orange); background: #fff7ed; }
.tag.red { color: var(--red); background: #fef2f2; }

input, select, textarea {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
}
textarea { min-height: 82px; resize: vertical; }
label {
  display: grid;
  gap: 5px;
  color: #334155;
  font-size: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.btn.disabled {
  opacity: .45;
  pointer-events: none;
}
.detail-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue2);
  font: inherit;
  line-height: inherit;
  text-align: left;
}
.detail-link:hover {
  text-decoration: underline;
}
.course-card {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.course-card:hover {
  transform: translateY(-2px);
  border-color: #b9cde3;
  box-shadow: 0 18px 42px rgba(15, 61, 104, .12);
}
.cover {
  display: grid;
  place-items: center;
  height: 112px;
  border: 1px solid #d6e5f4;
  border-radius: 6px;
  color: var(--blue);
  background: linear-gradient(135deg, #eaf2fb, #f8fbff);
  font-weight: 700;
}
.muted { color: var(--muted); font-size: 13px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.spec {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}
.spec span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.spec strong {
  display: block;
  margin-top: 3px;
  color: #172033;
  font-size: 15px;
}
.tree-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tree-indent-1 { padding-left: 22px; }
.tree-indent-2 { padding-left: 44px; }
.tree-toggle {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--blue);
  background: #fff;
  font-size: 12px;
  padding: 0;
  line-height: 1;
}
.tree-toggle-empty {
  border-color: transparent;
  background: transparent;
}
.tree-hidden {
  display: none;
}
.auth-shell {
  max-width: 920px;
  margin: 28px auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 16px;
}
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}
.video-box {
  border-radius: 8px;
  background: #0f2742;
  border: 1px solid #1d4e7c;
  overflow: hidden;
}
.course-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f2742;
}
.camera-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #0f2742;
  border: 1px solid #1d4e7c;
  object-fit: cover;
}
.snapshot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.snapshot-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  font-size: 12px;
  color: var(--muted);
}
.snapshot-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e2e8f0;
}
.snapshot-item span {
  display: block;
  padding: 5px 6px;
}
.progress {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.progress span { display: block; height: 100%; background: var(--green); }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: 320px;
  background: #0f3a6d;
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  font-size: 14px;
}
@media (max-width: 920px) {
  .hero, .backend-shell, .auth-shell, .video-layout, .cols-2, .cols-3, .cols-4, .form-grid, .detail-grid, .spec-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar-query,
  .filters {
    flex-wrap: wrap;
    width: 100%;
  }
  .toolbar .filters input,
  .toolbar .filters select {
    width: auto;
    flex: 1 1 160px;
  }
  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .backend-main { padding: 16px; }
  .page-head { display: block; }
  .page-head .actions { margin-top: 12px; }
  .topbar { padding: 0 14px; }
}

.topbar {
  padding: 0;
  height: auto;
  display: block;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head {
  border-bottom: 1px solid rgba(210, 222, 236, .88);
}
.head-inner,
.menu-inner,
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.head-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.menu-strip {
  background: rgba(248, 251, 255, .95);
}
.menu-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
}
.brand {
  font-size: 18px;
}
.brand-mark {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.brand-mark::before {
  content: "HZ";
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 14px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  color: #334155;
}
.nav a.active,
.nav a:hover {
  background: #eaf2fb;
  color: var(--blue);
  font-weight: 600;
}
.user-summary,
.auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-state {
  color: var(--muted);
  font-size: 13px;
}
.user-menu {
  position: relative;
}
.user-chip-button,
.auth-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
}
.user-chip-button {
  cursor: pointer;
}
.user-role {
  color: var(--muted);
  font-size: 12px;
}
.auth-link.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  display: none;
}
.user-menu.open .user-dropdown {
  display: block;
}
.user-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #334155;
}
.user-dropdown a:hover {
  background: #f5f9fd;
}
.footer {
  margin-top: 40px;
  background: #0f2742;
  color: rgba(255,255,255,.82);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 22px;
}
.footer-block {
  display: grid;
  gap: 10px;
}
.footer-brand p,
.footer-links a,
.footer-copy {
  color: rgba(255,255,255,.74);
}
.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
}
.footer-links a:hover {
  color: #fff;
  border-color: rgba(255,255,255,.24);
}
.footer-copy {
  padding-top: 14px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 13px;
}
@media (max-width: 920px) {
  .head-inner,
  .menu-inner,
  .footer-inner {
    padding-left: 14px;
    padding-right: 14px;
  }
  .head-inner {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .menu-inner {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

:root {
  --ink: #172033;
  --blue-deep: #0a3559;
  --shell: 1280px;
}

.topbar {
  position: sticky;
  top: -1px;
  z-index: 40;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201,220,236,.9);
}
.site-head {
  background:
    linear-gradient(180deg, rgba(230,242,252,.96), rgba(243,248,253,.96)),
    url("/static/images/site-head.jpg") center 40%/cover;
  border-bottom: 1px solid #cfe0ee;
}
.head-inner,
.menu-inner,
.footer-inner {
  width: min(var(--shell), calc(100vw - 32px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.head-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #0a4f88;
  font-size: 27px;
  letter-spacing: .5px;
  white-space: nowrap;
}
.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.48), transparent 27%),
    linear-gradient(145deg, #0b5f9f 0%, #0a4f88 52%, #09253d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 12px 26px rgba(9,37,61,.20);
  font-size: 20px;
  font-weight: 900;
  overflow: hidden;
  text-indent: -999px;
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 9px;
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.12);
  opacity: .94;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 7px;
  border-top: 2px solid rgba(255,255,255,.85);
  border-bottom: 2px solid rgba(255,255,255,.65);
  transform: translateY(1px) skewX(-18deg);
  pointer-events: none;
}
.user-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1b3552;
  font-size: 13px;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(10,79,136,.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(238,246,255,.9));
  box-shadow: 0 10px 24px rgba(9,37,61,.08), inset 0 1px 0 rgba(255,255,255,.9);
  color: #0a4f88;
}
.auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 24px rgba(9,37,61,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.auth-link {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #0a4f88;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.auth-link.primary {
  color: #fff;
  background: linear-gradient(145deg, #0b5f9f, #09253d);
  box-shadow: 0 10px 20px rgba(9,37,61,.16);
}
.user-role {
  padding-left: 8px;
  margin-left: 2px;
  border-left: 1px solid rgba(10,75,131,.14);
  color: #0a4f88;
  font-weight: 600;
}
.user-chip-button {
  border: 0;
  cursor: pointer;
  margin: 0;
}
.user-chip-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(10,53,89,.08);
}
.user-menu {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}
.user-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}
.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% - 1px);
  transform: none;
  z-index: 90;
  width: 220px;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown,
.user-menu.open .user-dropdown {
  display: block;
}
.user-dropdown a,
.user-dropdown button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  text-align: center;
  font-size: 14px;
}
.user-dropdown a:hover,
.user-dropdown button:hover,
.user-dropdown a.active {
  color: var(--blue);
  background: var(--soft);
}
.dropdown-line {
  height: 1px;
  margin: 6px 4px;
  background: #e6edf5;
}
.user-caret {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .7;
}
.menu-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a4f88;
  flex: 0 0 18px;
}
.menu-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-label {
  flex: 0 1 auto;
}
.nav .menu-label,
.side-link .menu-label {
  flex: 1 1 auto;
}
.avatar {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #0b5f9f, #09253d);
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 24px;
}
.menu-strip {
  position: relative;
  padding: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(31,103,151,.34), transparent 34%),
    linear-gradient(180deg, #09253d 0%, #061d31 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 34px rgba(4,24,42,.16);
  backdrop-filter: blur(14px);
}
.menu-strip::after {
  display: none;
}
.menu-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 48px;
  overflow-x: auto;
  color: #eaf6ff;
  white-space: nowrap;
  padding: 0 6px;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-height: 52px;
  padding: 0;
  color: rgba(234,246,255,.78);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  background: transparent;
  border-radius: 0;
}
.nav .menu-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: currentColor;
}
.nav .menu-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #78d2ff, #ffffff);
  transform: translateX(-50%);
  transition: width .22s ease;
}
.nav a:hover,
.nav a.active {
  color: #fff;
  background: transparent;
  border-radius: 0;
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}
.menu-strip .nav a,
.menu-strip .nav a:hover,
.menu-strip .nav a.active {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.footer {
  margin-top: 56px;
  color: #cfe3f3;
  background:
    radial-gradient(circle at 16% 0%, rgba(31,103,151,.28), transparent 32%),
    linear-gradient(180deg, #09253d 0%, #061d31 100%);
  border-top: 1px solid rgba(101,213,255,.16);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 38px 0 32px;
}
.footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
}
.footer p,
.footer a {
  display: block;
  margin: 7px 0;
  color: #cfe3f3;
  font-size: 13px;
}
.footer-copy-band {
  width: 100%;
  margin: 0;
  background: rgba(2,17,30,.52);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-copy {
  width: min(var(--shell), calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0;
  text-align: center;
  color: #a7c4d9;
  font-size: 12px;
}
.footer-record-link {
  display: inline-block;
  margin-left: 28px;
  color: #a7c4d9;
  text-decoration: none;
}
.footer-record-link:hover {
  color: #fff;
}
.qr-box {
  width: 82px;
  height: 82px;
  position: relative;
  display: grid;
  place-items: center;
  border: 8px solid #fff;
  background: #fff;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  overflow: hidden;
}
.qr-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 18px, #111 18px 26px, transparent 26px 34px, #111 34px 42px, transparent 42px 50px, #111 50px 58px, transparent 58px),
    linear-gradient(#111 10px, transparent 10px 18px, #111 18px 26px, transparent 26px 34px, #111 34px 42px, transparent 42px 50px, #111 50px 58px, transparent 58px);
  background-size: 58px 58px;
  opacity: .92;
}
.qr-box::after {
  content: attr(data-mark);
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px #fff;
}
@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .nav {
    gap: 0;
  }
}
@media (max-width: 768px) {
  .head-inner,
  .menu-inner,
  .footer-inner {
    width: min(var(--shell), calc(100vw - 24px));
  }
  .footer-copy {
    width: min(var(--shell), calc(100vw - 24px));
  }
  .head-inner {
    height: 72px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
}

