:root {
  color-scheme: light;
  --ink: #101615;
  --muted: #62716d;
  --green: #45d7a8;
  --deep: #061a15;
  --line: #dce5df;
  --soft: #f4f5f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

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

.page {
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 112px;
}

.wrap {
  width: min(100% - 16px, 448px);
  margin: 0 auto;
}

.identity {
  padding-top: 8px;
}

.hero-card {
  position: relative;
  aspect-ratio: 1.78;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 7px;
  background: #080b0c;
  color: white;
  box-shadow: 0 12px 28px rgba(8, 14, 12, 0.18);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 4%, rgba(69, 215, 168, 0.16), transparent 28%),
    linear-gradient(112deg, #07090a 0%, #151715 54%, #0b100f 100%);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-size: 14px 14px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36% 64%;
  height: 100%;
}

.avatar {
  width: 100%;
  height: 100%;
  background: #e8ece7;
  object-fit: cover;
}

.hero-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px;
}

.hero-top {
  display: flex;
  min-height: 40px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.name {
  margin: 0;
  overflow: hidden;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.region {
  margin: 4px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.logo {
  width: 92px;
  height: 28px;
  object-fit: contain;
  object-position: right center;
}

.detail-box {
  margin-top: auto;
  border: 1px solid rgba(209, 185, 111, 0.45);
  border-radius: 8px;
  background: rgba(28, 29, 26, 0.9);
  padding: 10px 12px;
}

.detail-row {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.detail-icon {
  width: 18px;
  color: #e3c870;
  flex: 0 0 auto;
}

.expand {
  display: flex;
  width: fit-content;
  margin: 12px auto 0;
  color: #9da8a4;
  font-size: 14px;
  font-weight: 700;
}

.panel {
  margin-top: 12px;
  border-radius: 12px;
  background: white;
  padding: 16px 12px;
  box-shadow: 0 10px 24px rgba(16, 22, 21, 0.06);
}

.panel h2,
.section-title {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.video-frame {
  overflow: hidden;
  margin-top: 12px;
  border-radius: 8px;
  background: #0d1714;
}

.video-frame video,
.video-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.website-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f9f8;
  padding: 0 12px;
  color: #00a886;
  font-size: 14px;
  font-weight: 700;
}

.text {
  margin: 12px 0 0;
  color: #3f4a46;
  font-size: 15px;
  line-height: 1.8;
}

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

.section {
  margin-top: 40px;
  scroll-margin-top: 12px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.kicker {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
}

.unit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.unit-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 14px 28px rgba(12, 19, 17, 0.06);
}

.unit-card img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}

.unit-body {
  padding: 20px;
}

.unit-headline {
  margin: 0;
  color: #45a982;
  font-size: 12px;
  font-weight: 800;
}

.unit-title {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 800;
}

.unit-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid #edf2ef;
  padding-top: 16px;
}

.tag {
  border-radius: 999px;
  background: #e7f8f1;
  padding: 4px 10px;
  color: #10372f;
  font-size: 12px;
  font-weight: 800;
}

.cap-card,
.post-card,
.action-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(12, 19, 17, 0.06);
}

.cap-card + .cap-card,
.post-card + .post-card,
.action-card + .action-card {
  margin-top: 12px;
}

.cap-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.cap-card div {
  padding: 14px 16px;
}

.cap-card h3,
.post-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.cap-card p,
.post-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.post-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 8px;
  background: #f7f9f8;
}

.post-card img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
}

.partners-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 20px 12px;
  overflow: hidden;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.partner-pill {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid #edf2ef;
  border-radius: 14px;
  background: #f7f9f8;
  color: #10372f;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.actions {
  display: grid;
  gap: 12px;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.action-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e7f8f1;
  color: #10372f;
  flex: 0 0 auto;
}

.action-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.action-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.focus-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  padding: 24px;
}

.focus-panel h2 {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

.focus-panel p:last-child {
  margin: 12px 0 0;
  color: #45a982;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 20;
  width: min(calc(100% - 24px), 520px);
  transform: translateX(-50%);
  border: 1px solid rgba(69, 215, 168, 0.24);
  border-radius: 22px;
  background: rgba(4, 24, 19, 0.92);
  box-shadow: 0 16px 42px rgba(2, 12, 10, 0.28);
  backdrop-filter: blur(18px);
}

.section-nav-inner {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 8px;
}

.section-nav a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border-radius: 10px;
  padding: 8px 2px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-nav a.active {
  color: #45d7a8;
  background: rgba(69, 215, 168, 0.12);
}

.admin-body {
  background: #f4f5f4;
  padding: 24px 14px 60px;
}

.admin-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-nav a,
.btn {
  border: 1px solid #cddbd3;
  border-radius: 10px;
  background: white;
  padding: 10px 14px;
  color: #10372f;
  font-size: 14px;
  font-weight: 800;
}

.btn.primary {
  border-color: #0b382f;
  background: #0b382f;
  color: white;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(12, 19, 17, 0.06);
}

.admin-card + .admin-card {
  margin-top: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
}

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

textarea {
  min-height: 96px;
  resize: vertical;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid #edf2ef;
  padding: 10px 8px;
  text-align: left;
  font-size: 14px;
}

.notice {
  margin: 0 0 14px;
  border: 1px solid #bce7d8;
  border-radius: 12px;
  background: #e7f8f1;
  padding: 10px 12px;
  color: #10372f;
  font-weight: 700;
}

.error {
  border-color: #f5b7c5;
  background: #fff1f4;
  color: #8a1c36;
}

@media (max-width: 620px) {
  .name {
    font-size: 24px;
  }

  .detail-row {
    font-size: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

