:root {
  --ink: #101927;
  --muted: #64748b;
  --line: rgba(112, 203, 255, 0.2);
  --paper: #f5f8fb;
  --white: #ffffff;
  --cyan: #2dd4ff;
  --cyan-deep: #0989b7;
  --teal: #18b7a0;
  --amber: #f3b63f;
  --navy: #07111f;
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(10, 25, 47, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef7fb 0, #f7fafc 360px, #f5f8fb 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.18));
  backdrop-filter: blur(12px);
}

.site-header.solid {
  position: sticky;
  color: var(--white);
  background: rgba(7, 17, 31, 0.92);
  border-bottom: 1px solid rgba(45, 212, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 28px rgba(243, 146, 30, 0.24);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  font-size: 15px;
}

.nav a {
  position: relative;
  opacity: 0.86;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cyan);
  transition: transform 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(1.1) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.78) 48%, rgba(7, 17, 31, 0.42)),
    radial-gradient(circle at 82% 22%, rgba(45, 212, 255, 0.28), transparent 34%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.82), rgba(7, 17, 31, 0) 42%);
}

.tech-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(45, 212, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.54fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 80px;
  align-items: center;
}

.hero-copy-wrap {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.6vw, 78px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-shadow: 0 0 34px rgba(45, 212, 255, 0.22);
}

.hero-title span {
  display: inline-block;
  background: linear-gradient(95deg, #ffffff 0%, #dff9ff 42%, #8cf4df 58%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleReveal 0.9s ease-out both, titleShine 4.8s ease-in-out 1s infinite;
}

.hero-title::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: -22%;
  width: 18%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(1px);
  animation: titleSweep 4.8s ease-in-out 1.4s infinite;
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes titleShine {
  0%, 36% {
    background-position: 0% 50%;
  }

  58%, 100% {
    background-position: 100% 50%;
  }
}

@keyframes titleSweep {
  0%, 42% {
    left: -24%;
    opacity: 0;
  }

  52% {
    opacity: 1;
  }

  72%, 100% {
    left: 108%;
    opacity: 0;
  }
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(235, 250, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.row,
.tag-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.row {
  justify-content: space-between;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #04131f;
  background: linear-gradient(135deg, var(--cyan), #8cf4df);
  box-shadow: 0 16px 34px rgba(45, 212, 255, 0.28);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(45, 212, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.btn.small {
  min-height: 36px;
  padding: 0 14px;
  color: #04131f;
  background: linear-gradient(135deg, var(--cyan), #8cf4df);
}

.hero-console {
  border: 1px solid rgba(45, 212, 255, 0.28);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(7, 28, 47, 0.78), rgba(7, 17, 31, 0.72)),
    rgba(7, 17, 31, 0.78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.console-viewport {
  position: relative;
  height: 478px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.console-highlight {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  height: 112px;
  border: 1px solid rgba(45, 212, 255, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(45, 212, 255, 0.16), rgba(45, 212, 255, 0.07)),
    rgba(45, 212, 255, 0.06);
  box-shadow: 0 0 34px rgba(45, 212, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: consoleHighlight 14s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.console-track {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  animation: consoleVertical 14s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.hero-console:hover .console-track,
.hero-console:hover .console-highlight {
  animation-play-state: paused;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.console-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(45, 212, 255, 0.55);
}

.console-top b {
  margin-left: auto;
  font-weight: 800;
}

.console-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 12px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.console-row span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(45, 212, 255, 0.36);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.console-row strong {
  line-height: 1.2;
}

.console-row em {
  color: rgba(235, 250, 255, 0.62);
  font-style: normal;
  font-size: 13px;
}

@keyframes consoleVertical {
  0%, 14% {
    transform: translateY(0);
  }

  20%, 34% {
    transform: translateY(-122px);
  }

  40%, 54% {
    transform: translateY(-244px);
  }

  60%, 74% {
    transform: translateY(-366px);
  }

  80%, 94% {
    transform: translateY(-488px);
  }

  100% {
    transform: translateY(-488px);
  }
}

@keyframes consoleHighlight {
  0%, 14% {
    transform: translateY(0);
  }

  20%, 34% {
    transform: translateY(122px);
  }

  40%, 54% {
    transform: translateY(244px);
  }

  60%, 74% {
    transform: translateY(366px);
  }

  80%, 94% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(0);
  }
}

.notice-band {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px clamp(20px, 6vw, 84px);
  color: #dbeafe;
  background: linear-gradient(90deg, #07111f, #0b2538);
  border-top: 1px solid rgba(45, 212, 255, 0.2);
  border-bottom: 1px solid rgba(45, 212, 255, 0.2);
}

.notice-band strong {
  color: var(--cyan);
  white-space: nowrap;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 84px);
}

.section.compact {
  padding-top: 36px;
}

.intro-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(45, 212, 255, 0.2), transparent 34%),
    linear-gradient(rgba(45, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(45, 212, 255, 0.14), rgba(24, 183, 160, 0.08)),
    #07111f;
  background-size: auto, 52px 52px, 52px 52px, auto, auto;
}

.intro-band p:not(.eyebrow) {
  color: rgba(235, 250, 255, 0.72);
  font-size: 18px;
}

.typewriter-copy,
.typewriter-console {
  position: relative;
  z-index: 1;
}

.typewriter-copy p:not(.eyebrow) {
  max-width: 620px;
}

.typewriter-console {
  border: 1px solid rgba(45, 212, 255, 0.26);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(9, 32, 55, 0.84), rgba(7, 17, 31, 0.74)),
    rgba(7, 17, 31, 0.84);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.code-line {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0 24px;
  border-bottom: 1px solid rgba(45, 212, 255, 0.14);
  color: rgba(235, 250, 255, 0.86);
  font-family: Consolas, "SFMono-Regular", "Cascadia Mono", monospace;
  font-size: clamp(18px, 2.4vw, 28px);
}

.code-line .code-key {
  color: #8cf4df;
}

.code-line em {
  color: rgba(235, 250, 255, 0.44);
  font-style: normal;
}

.code-line strong {
  color: var(--white);
  font-weight: 800;
}

.code-line i {
  width: 10px;
  height: 1.2em;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(45, 212, 255, 0.9);
  animation: caretBlink 0.9s steps(1) infinite;
}

.code-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.code-grid p {
  min-height: 112px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(45, 212, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.code-grid b,
.code-grid span {
  display: block;
}

.code-grid b {
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: Consolas, "SFMono-Regular", "Cascadia Mono", monospace;
}

.code-grid span {
  color: rgba(235, 250, 255, 0.72);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.35;
}

@keyframes caretBlink {
  0%, 48% {
    opacity: 1;
  }

  49%, 100% {
    opacity: 0;
  }
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.news-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.news-card,
.contact-panel,
.admin-shell,
.article-detail,
.news-list {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(9, 137, 183, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(10, 25, 47, 0.08);
  backdrop-filter: blur(14px);
}

.service-card::before,
.news-card::before,
.contact-panel::before,
.article-detail::before,
.news-list::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(45, 212, 255, 0.18), transparent 36%);
}

.service-card {
  min-height: 246px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 255, 0.44);
  box-shadow: 0 24px 70px rgba(10, 25, 47, 0.14);
}

.service-card p,
.news-card p,
.contact p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border: 1px solid rgba(45, 212, 255, 0.34);
  border-radius: 8px;
  color: var(--cyan-deep);
  background: rgba(45, 212, 255, 0.08);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  background:
    linear-gradient(180deg, #ffffff, #eef7fb);
}

.tag-row {
  margin-top: 24px;
}

.tag-row span {
  padding: 8px 12px;
  border: 1px solid rgba(9, 137, 183, 0.18);
  border-radius: 8px;
  color: #0b647e;
  background: rgba(45, 212, 255, 0.08);
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  position: relative;
  padding: 22px 24px 22px 38px;
  border: 1px solid rgba(9, 137, 183, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(45, 212, 255, 0.12), rgba(255, 255, 255, 0.82)),
    #ffffff;
  box-shadow: 0 14px 38px rgba(10, 25, 47, 0.08);
}

.timeline div::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 30px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-deep);
  box-shadow: 0 0 18px rgba(45, 212, 255, 0.6);
}

.timeline b,
.timeline span {
  display: block;
}

.timeline span {
  color: var(--muted);
}

.dark {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(rgba(45, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #07111f, #0b263f 62%, #07111f);
  background-size: 56px 56px, 56px 56px, auto;
}

.dark .section-head p {
  color: rgba(235, 250, 255, 0.72);
}

.metric-grid div {
  min-height: 164px;
  padding: 26px;
  border: 1px solid rgba(45, 212, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--cyan);
  font-size: 48px;
  line-height: 1;
}

.metric-grid span {
  margin-top: 16px;
  color: rgba(235, 250, 255, 0.74);
}

.text-link {
  color: var(--cyan-deep);
  font-weight: 800;
}

.news-card {
  display: block;
  min-height: 250px;
  padding: 24px;
}

.news-thumb {
  display: block;
  width: 100%;
  height: 150px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--cyan-deep);
  font-size: 13px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(135deg, rgba(45, 212, 255, 0.18), rgba(243, 182, 63, 0.12)),
    #eef7fb;
}

.contact-panel {
  padding: 30px;
}

.contact-panel p {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.qr-block {
  position: relative;
  z-index: 1;
  display: inline-grid;
  gap: 10px;
  justify-items: center;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(9, 137, 183, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.qr-block img {
  display: block;
  width: clamp(112px, 12vw, 138px);
  height: auto;
  border-radius: 6px;
}

.qr-block span {
  color: #334155;
  font-weight: 800;
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 84px);
  color: rgba(235, 250, 255, 0.72);
  background: var(--navy);
}

.footer a {
  color: rgba(235, 250, 255, 0.78);
}

.footer a:hover {
  color: var(--cyan);
}

.page {
  min-height: 80vh;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px clamp(20px, 6vw, 84px) 56px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 18%, rgba(45, 212, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #07111f, #0b263f 58%, #07111f);
}

.page-hero .tech-grid {
  opacity: 0.42;
}

.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 66px);
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(235, 250, 255, 0.72);
}

.article-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
}

.news-list {
  overflow: hidden;
}

.news-item {
  display: block;
  position: relative;
  padding: 18px;
  border-bottom: 1px solid rgba(9, 137, 183, 0.12);
}

.news-item.active {
  background: rgba(45, 212, 255, 0.1);
}

.news-item b {
  display: block;
}

.news-item span {
  color: var(--muted);
  font-size: 13px;
}

.article-detail {
  min-height: 460px;
  padding: clamp(24px, 4vw, 42px);
}

.article-detail h1 {
  color: var(--ink);
  font-size: clamp(32px, 4.6vw, 54px);
}

.article-detail .content {
  white-space: pre-wrap;
  color: #334155;
}

.rich-content {
  white-space: normal;
}

.rich-content p,
.rich-content figure,
.rich-content ul,
.rich-content ol {
  margin: 0 0 18px;
}

.rich-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border: 1px solid rgba(9, 137, 183, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(10, 25, 47, 0.12);
}

.admin-page {
  min-height: 100vh;
  padding: clamp(24px, 6vw, 70px);
  background: linear-gradient(135deg, #edf7f6, #fff7e8);
}

.admin-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
}

.admin-manage {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(9, 137, 183, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(10, 25, 47, 0.08);
}

.admin-manage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-manage-head h2 {
  margin-bottom: 8px;
}

.admin-manage-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.manage-list {
  display: grid;
  gap: 14px;
}

.manage-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid rgba(9, 137, 183, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.manage-item > img,
.manage-thumb {
  width: 100%;
  min-height: 118px;
  border-radius: 8px;
}

.manage-item > img {
  object-fit: cover;
}

.manage-thumb {
  display: grid;
  place-items: center;
  color: var(--cyan-deep);
  border: 1px solid rgba(45, 212, 255, 0.26);
  background: rgba(45, 212, 255, 0.08);
  font-weight: 900;
}

.manage-item h3 {
  margin-bottom: 6px;
}

.manage-item p {
  margin-bottom: 14px;
  color: var(--muted);
}

.manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn.ghost {
  color: #0b647e;
  border: 1px solid rgba(9, 137, 183, 0.24);
  background: rgba(45, 212, 255, 0.08);
}

.btn.danger {
  color: #ffffff;
  background: #b42318;
}

.dark-btn {
  color: #04131f;
  background: linear-gradient(135deg, var(--cyan), #8cf4df);
}

.manage-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(9, 137, 183, 0.28);
  border-radius: 8px;
  color: var(--muted);
}

.manage-empty.error {
  color: #b42318;
}

.admin-intro p {
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: #273746;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd9df;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.editor-field {
  display: grid;
  gap: 8px;
}

.editor-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #273746;
  font-weight: 700;
}

.rich-editor {
  display: block !important;
  width: 100% !important;
  min-height: 420px !important;
  border: 1px solid #cbd9df !important;
  border-radius: 8px !important;
  padding: 16px !important;
  color: var(--ink);
  background: var(--white) !important;
  outline: none;
  overflow: auto;
}

.rich-editor:focus {
  border-color: rgba(9, 137, 183, 0.58);
  box-shadow: 0 0 0 4px rgba(45, 212, 255, 0.12);
}

.rich-editor:empty::before {
  content: attr(data-placeholder);
  color: #7a8288;
  font-weight: 700;
}

.rich-editor p {
  margin: 0 0 14px;
}

.rich-editor figure {
  margin: 18px 0;
}

.rich-editor img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(9, 137, 183, 0.22);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(10, 25, 47, 0.12);
}

.rich-editor figcaption {
  min-height: 22px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.editor-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.checkline {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}

.checkline input {
  width: auto;
}

.form-status {
  min-height: 24px;
  color: var(--cyan-deep);
  font-weight: 800;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #edf1f4;
}

@media (max-width: 1040px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 130px 0 70px;
  }

  .hero-console {
    max-width: 560px;
  }
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
    color: var(--white);
    background: rgba(7, 17, 31, 0.94);
    border-bottom: 1px solid rgba(45, 212, 255, 0.18);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.88), rgba(7, 17, 31, 0.78));
  }

  .service-grid,
  .metric-grid,
  .news-grid,
  .split,
  .contact,
  .article-layout,
  .admin-shell,
  .admin-manage-head,
  .intro-band {
    grid-template-columns: 1fr;
  }

  .admin-manage-head {
    flex-direction: column;
  }

  .manage-item {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .metric-grid,
  .news-grid {
    gap: 14px;
  }

  .notice-band,
  .footer,
  .row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .contact-panel p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .console-row {
    grid-template-columns: 38px 1fr;
    padding: 14px;
    min-height: 104px;
  }

  .console-viewport {
    height: 434px;
  }

  .console-highlight {
    height: 104px;
  }
}
