*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.65;
}

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

a {
  color: #0d9488;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bg-page {
  background: #f8fafc;
}
.bg-white {
  background: #fff;
}
.bg-ha {
  background: #0d9488;
}
.bg-ha-dark {
  background: #0f766e;
}
.bg-ha-light {
  background: #f0fdfa;
}
.text-ink {
  color: #0f172a;
}
.text-muted {
  color: #64748b;
}
.text-ha {
  color: #0d9488;
}
.text-white {
  color: #fff;
}
.border-line {
  border-color: #e2e8f0;
}

.min-h-screen {
  min-height: 100vh;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-16 {
  padding-bottom: 4rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}

.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.block {
  display: block;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.grow {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.w-full {
  width: 100%;
}
.h-10 {
  height: 2.5rem;
}
.w-10 {
  width: 2.5rem;
}
.h-14 {
  height: 3.5rem;
}
.w-14 {
  width: 3.5rem;
}
.h-20 {
  height: 5rem;
}
.w-20 {
  width: 5rem;
}

.overflow-x-auto {
  overflow-x: auto;
}
.whitespace-nowrap {
  white-space: nowrap;
}

.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-logo {
  border-radius: 28%;
}

.border {
  border-width: 1px;
  border-style: solid;
}
.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.shadow-card {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}
.shadow-logo {
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.28);
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}
.leading-snug {
  line-height: 1.375;
}
.leading-relaxed {
  line-height: 1.75;
}
.text-center {
  text-align: center;
}

.no-underline {
  text-decoration: none;
}
.hover-underline:hover {
  text-decoration: underline;
}

.btn-ha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0d9488;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  padding: 0.55rem 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-ha:hover {
  background: #0f766e;
  text-decoration: none;
  color: #fff;
}
.btn-ha-lg {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0d9488;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  padding: 0.55rem 1rem;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}
.btn-ghost:hover {
  border-color: #0d9488;
  text-decoration: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.chip:hover {
  text-decoration: none;
}
.chip-active {
  background: #0d9488;
  color: #fff;
}
.chip-plain {
  cursor: default;
}

.card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover {
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.12);
}

.prose h1,
.prose h2 {
  color: #0f172a;
  font-weight: 600;
}
.prose h1 {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}
.prose h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
}
.prose p,
.prose li {
  color: #1e293b;
}
.prose ul {
  padding-left: 1.2em;
}

.placeholder-img {
  background: #f0fdfa;
  color: #64748b;
  border-radius: 1rem;
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.placeholder-img-sm {
  min-height: 7rem;
}

.card-thumb {
  width: 100%;
  height: 7rem;
  object-fit: cover;
  border-radius: 1rem;
  background: #f0fdfa;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.media-frame img {
  width: 100%;
  border-radius: 1rem;
  background: #f0fdfa;
}
.media-frame video {
  width: 100%;
  border-radius: 1rem;
  background: #0f172a;
}

.media-player {
  width: 100%;
  max-height: 24rem;
  border-radius: 1rem;
  background: #0f172a;
}

.section-empty {
  color: #64748b;
  font-size: 0.875rem;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.notice {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #0f172a;
  font-size: 0.9rem;
}

.site-footer .icp,
.site-footer .mps {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.site-footer .icp a,
.site-footer .mps a {
  color: #64748b;
  text-decoration: none;
}
.site-footer .icp a:hover,
.site-footer .mps a:hover {
  color: #0d9488;
  text-decoration: underline;
}
.site-footer .mps img {
  width: 16px;
  height: 16px;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-search input[type="search"] {
  min-width: 12rem;
  background: #fff;
}

.site-search button {
  color: #fff;
}

@media (min-width: 640px) {
  .sm\:flex {
    display: flex;
  }
  .sm\:hidden {
    display: none;
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
