:root {
  --bg: #f4f2ea;
  --surface: #fffdf7;
  --ink: #10161f;
  --muted: #5d6470;
  --line: rgba(16, 22, 31, 0.13);
  --lime: #d8ff5f;
  --blue: #2f5bff;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.honors-container {
  width: min(calc(100% - 48px), 1200px);
  margin-inline: auto;
}

.honors-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.honors-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.honors-mark {
  width: 42px;
  height: 42px;
  color: var(--ink);
}

.honors-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.honors-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.honors-brand-text strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.honors-brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.17em;
}

.honors-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}

.honors-nav a:hover {
  color: var(--blue);
}

.honors-back {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.honors-back:hover {
  color: var(--ink) !important;
  border-color: rgba(16, 22, 31, 0.3);
}

.honors-hero {
  padding: 66px 0 54px;
  border-top: 1px solid var(--line);
}

.honors-eyebrow {
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.honors-hero h1 {
  max-width: 850px;
  margin: 18px 0 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.honors-highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 0.04em;
}

.honors-highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.02em;
  bottom: 0.06em;
  left: -0.02em;
  height: 0.38em;
  border-radius: 5px;
  background: var(--lime);
  transform: rotate(-1.2deg);
}

.honors-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.honors-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 34px;
}

.honors-stats div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.honors-stats strong {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.honors-stats span {
  color: var(--muted);
  font-size: 11px;
}

.honors-content {
  padding-bottom: 90px;
}

.filter-panel {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 15px;
}

.filter-row-last {
  padding-top: 15px;
  padding-bottom: 0;
  border-top: 1px solid rgba(16, 22, 31, 0.09);
}

.filter-label {
  flex: 0 0 38px;
  padding-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chip {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.filter-chip:hover:not(:disabled) {
  color: var(--ink);
  border-color: rgba(16, 22, 31, 0.3);
}

.filter-chip.is-active {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--lime);
}

.filter-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.filter-chip .chip-count {
  margin-left: 5px;
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0.65;
}

.filter-result {
  margin: 0 0 0 auto;
  padding-top: 8px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.honor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.honor-card:hover {
  border-color: rgba(16, 22, 31, 0.27);
  box-shadow: 0 18px 42px rgba(16, 22, 31, 0.1);
  transform: translateY(-4px);
}

.honor-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px;
  border: 0;
  background: #f7f6f0;
  aspect-ratio: 3 / 4;
}

.honor-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.award-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.award-badge.award-second {
  background: #dce6ff;
}

.award-badge.award-excellent {
  background: #ece9df;
  color: #5d6470;
}

.honor-meta {
  padding: 15px 17px 17px;
}

.honor-competition {
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.honor-meta h2 {
  margin: 7px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.honor-student {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.honors-empty {
  padding: 60px 20px;
  margin-top: 22px;
  border: 1px dashed rgba(16, 22, 31, 0.2);
  border-radius: 20px;
  text-align: center;
}

.honors-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.honors-empty button {
  margin-top: 14px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
}

.honors-noscript,
.honors-disclaimer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.honors-disclaimer {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.honors-footer {
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
}

.honors-footer > .honors-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
}

.honors-footer p {
  margin: 0;
}

.honors-footer div {
  display: flex;
  gap: 18px;
}

.honors-footer a:hover {
  color: var(--ink);
}

/* Lightbox */
.lightbox {
  width: min(94vw, 980px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #10161f;
  color: var(--surface);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.lightbox::backdrop {
  background: rgba(8, 12, 18, 0.78);
  backdrop-filter: blur(5px);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.lightbox-bar p {
  margin: 0;
  color: rgba(255, 253, 247, 0.55);
  font-family: var(--mono);
  font-size: 10px;
}

.lightbox-close {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--surface);
  background: transparent;
  font-size: 11px;
}

.lightbox-bar + .lightbox-nav {
  top: 50%;
}

.lightbox figure {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(94vh - 110px);
  margin: 0;
  padding: 0 28px 18px;
}

.lightbox figure img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(94vh - 170px);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.lightbox figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 18px;
  color: rgba(255, 253, 247, 0.8);
  background: linear-gradient(transparent, rgba(16, 22, 31, 0.92));
  font-size: 12px;
  line-height: 1.6;
}

.lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--surface);
  background: rgba(16, 22, 31, 0.75);
  font-size: 18px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .honor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .honors-nav a:not(.honors-back) {
    display: none;
  }
}

@media (max-width: 620px) {
  .honors-container {
    width: min(calc(100% - 32px), 1200px);
  }

  .honors-header {
    padding: 15px 0;
  }

  .honors-brand-text strong {
    font-size: 14px;
  }

  .honors-brand-text small {
    font-size: 6.5px;
  }

  .honors-hero {
    padding: 42px 0 36px;
  }

  .honors-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .honors-lead {
    font-size: 14px;
  }

  .honors-stats {
    gap: 22px;
    margin-top: 26px;
  }

  .honors-stats strong {
    font-size: 26px;
  }

  .filter-panel {
    padding: 15px;
  }

  .filter-row {
    display: block;
    padding-bottom: 13px;
  }

  .filter-row-last {
    padding-top: 13px;
  }

  .filter-label {
    display: block;
    padding: 0 0 7px;
  }

  .filter-result {
    margin: 9px 0 0;
    padding-top: 0;
  }

  .filter-chip {
    font-size: 10px;
  }

  .honor-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .honor-meta h2 {
    font-size: 18px;
  }

  .honors-footer > .honors-container {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox figure {
    padding: 0 12px 12px;
  }

  .lightbox-nav {
    width: 32px;
    height: 32px;
  }
}


@media (max-width: 620px) {
  .honors-hero h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.8rem);
  }
}
