:root {
  --tx-night: #1C1B3A;
  --tx-lake: #2FA8A0;
  --tx-prayer-red: #D95B43;
  --tx-prayer-yellow: #E8A33D;
  --tx-prayer-green: #3D7A6A;
  --tx-snow: #F5F7FA;
  --tx-stone: #D9DEE5;
  --tx-dpurple: #6B4FA0;
  --tx-ink: #20213A;
  --tx-display: "Noto Serif SC", "Source Han Serif CN", "Songti SC", "STSong", serif;
  --tx-body: "Noto Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --tx-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --tx-radius: 22px;
  --tx-card-radius: 22px;
  --tx-shadow: 0 4px 20px rgba(28, 27, 58, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--tx-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--tx-ink);
  background: var(--tx-snow);
}

ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--tx-lake); color: #fff; }

:focus-visible {
  outline: 2px solid var(--tx-lake);
  outline-offset: 3px;
  border-radius: 4px;
}

.tx-display,
.tx-h1 {
  font-family: var(--tx-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 6vw, 4rem);
}

.tx-h2 {
  font-family: var(--tx-display);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.tx-h3 {
  font-family: var(--tx-display);
  font-weight: 700;
  line-height: 1.4;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.tx-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.9;
  color: rgba(32, 33, 58, 0.78);
}

.tx-muted {
  font-size: 14px;
  color: rgba(32, 33, 58, 0.58);
}

.tx-mono {
  font-family: var(--tx-mono);
  font-variant-numeric: tabular-nums lining-nums;
}

.tx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tx-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-dpurple);
}

.tx-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  flex: none;
  background: var(--tx-prayer-red);
}

.tx-container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 36px);
}

.tx-section {
  padding-block: clamp(56px, 9vw, 108px);
}

.tx-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.tx-grid + .tx-grid { margin-top: clamp(24px, 3vw, 40px); }
.tx-col-4 { grid-column: span 4; }
.tx-col-5 { grid-column: span 5; }
.tx-col-6 { grid-column: span 6; }
.tx-col-7 { grid-column: span 7; }
.tx-col-8 { grid-column: span 8; }
.tx-col-12 { grid-column: 1 / -1; }

.tx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.tx-btn:hover { transform: translateY(-2px); }
.tx-btn-primary { background: var(--tx-lake); color: #fff; box-shadow: 0 6px 20px rgba(47, 168, 160, 0.28); }
.tx-btn-primary:hover { box-shadow: 0 10px 28px rgba(47, 168, 160, 0.36); }
.tx-btn-dark { background: var(--tx-night); color: #fff; box-shadow: 0 6px 20px rgba(28, 27, 58, 0.24); }
.tx-btn-dark:hover { box-shadow: 0 10px 28px rgba(28, 27, 58, 0.32); }
.tx-btn-line { background: transparent; border-color: var(--tx-stone); color: var(--tx-ink); }
.tx-btn-line:hover { border-color: var(--tx-lake); color: var(--tx-lake); box-shadow: none; }
.tx-btn-sm { padding: 8px 18px; font-size: 14px; }

.tx-card {
  background: #fff;
  border: 1px solid var(--tx-stone);
  border-radius: var(--tx-card-radius);
  padding: 28px;
  box-shadow: var(--tx-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(28, 27, 58, 0.12);
}

.tx-card--dark {
  background: var(--tx-night);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.tx-card--band::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--tx-prayer-red), var(--tx-prayer-yellow), var(--tx-lake));
}

.tx-card--dark .tx-muted { color: rgba(255, 255, 255, 0.56); }

.tx-folder {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tx-stone);
  border-radius: var(--tx-radius);
  overflow: hidden;
  box-shadow: var(--tx-shadow);
}

.tx-folder-head {
  background: var(--tx-night);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tx-folder-head .tx-mono { color: rgba(255, 255, 255, 0.7); }
.tx-folder-body { padding: 24px; }

.tx-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--tx-snow);
  color: var(--tx-ink);
  white-space: nowrap;
}

.tx-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.tx-tag--blue { color: var(--tx-lake); background: rgba(47, 168, 160, 0.1); }
.tx-tag--red { color: var(--tx-prayer-red); background: rgba(217, 91, 67, 0.1); }
.tx-tag--yellow { color: var(--tx-prayer-yellow); background: rgba(232, 163, 61, 0.12); }
.tx-tag--green { color: var(--tx-prayer-green); background: rgba(61, 122, 106, 0.1); }
.tx-tag--purple { color: var(--tx-dpurple); background: rgba(107, 79, 160, 0.1); }

.tx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 4px;
  font-size: 13px;
  color: rgba(32, 33, 58, 0.56);
}

.tx-breadcrumb a { color: var(--tx-lake); font-weight: 500; }
.tx-breadcrumb a:hover { text-decoration: underline; }
.tx-breadcrumb-sep { opacity: 0.5; }
.tx-breadcrumb [aria-current="page"] { color: var(--tx-ink); font-weight: 500; }

.tx-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--tx-radius);
  background: var(--tx-stone);
  box-shadow: inset 0 0 0 1px rgba(28, 27, 58, 0.06);
}

.tx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 45%, transparent 60%);
  background-size: 220% 100%;
  animation: tx-shimmer 2.6s linear infinite;
  pointer-events: none;
}

.tx-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-media--landscape { aspect-ratio: 3 / 2; }
.tx-media--portrait { aspect-ratio: 3 / 4; }
.tx-media--square { aspect-ratio: 1 / 1; }
.tx-media--panorama { aspect-ratio: 21 / 9; }

@keyframes tx-shimmer {
  from { background-position: 220% 0; }
  to { background-position: -220% 0; }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--tx-night);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(28, 27, 58, 0.35);
  transform: translateY(calc(-100% - 24px));
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.tx-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: clamp(10px, 2vw, 16px) clamp(16px, 3vw, 28px);
  pointer-events: none;
  transition: padding 0.2s ease;
}

.tx-header > * { pointer-events: auto; }
.tx-header.is-scrolled { padding-block: 8px; }

.tx-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100vw - 32px);
  padding: 8px 10px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px rgba(28, 27, 58, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tx-header.is-scrolled .tx-nav {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 44px rgba(28, 27, 58, 0.2);
}

.tx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 6px;
  white-space: nowrap;
}

.tx-brand-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px 12px 12px 4px;
  background: var(--tx-night);
  color: #fff;
  font-family: var(--tx-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tx-brand-name {
  font-family: var(--tx-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--tx-ink);
}

.tx-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: none;
  background: transparent;
}

.tx-nav-toggle:hover { background: rgba(28, 27, 58, 0.05); }

.tx-nav-toggle-track {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tx-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--tx-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tx-nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tx-nav[data-open="true"] .tx-nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tx-nav[data-open="true"] .tx-nav-toggle-bar:nth-child(2) { opacity: 0; }
.tx-nav[data-open="true"] .tx-nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tx-nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tx-nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(32, 33, 58, 0.74);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.tx-nav-link:hover { color: var(--tx-ink); background: var(--tx-snow); }

.tx-nav-link[aria-current="page"] {
  background: var(--tx-night);
  color: #fff;
}

.tx-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: clamp(56px, 10vw, 120px);
  background:
    radial-gradient(55% 75% at 85% 8%, rgba(107, 79, 160, 0.2), transparent 65%),
    radial-gradient(45% 65% at 12% 92%, rgba(47, 168, 160, 0.12), transparent 60%),
    var(--tx-night);
  color: rgba(255, 255, 255, 0.82);
}

.tx-footer-topband {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg,
    var(--tx-prayer-red) 0% 18%,
    var(--tx-prayer-yellow) 18% 36%,
    var(--tx-lake) 36% 54%,
    var(--tx-prayer-green) 54% 72%,
    var(--tx-dpurple) 72% 90%,
    var(--tx-prayer-red) 90% 100%);
}

.tx-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.tx-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, transparent 30%, rgba(107, 79, 160, 0.25) 30%, transparent 50%),
    linear-gradient(60deg, transparent 0%, transparent 42%, rgba(47, 168, 160, 0.18) 42%, transparent 60%),
    linear-gradient(-60deg, transparent 0%, transparent 38%, rgba(217, 91, 67, 0.14) 38%, transparent 58%);
}

.tx-footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 84px) clamp(20px, 4vw, 36px) clamp(32px, 5vw, 48px);
}

.tx-footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.tx-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.tx-footer-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px 14px 14px 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: var(--tx-display);
  font-weight: 900;
  font-size: 20px;
}

.tx-footer-brand-text {
  font-family: var(--tx-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.02em;
  color: #fff;
}

.tx-footer-city { color: var(--tx-lake); }

.tx-footer-slogan {
  font-family: var(--tx-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.tx-footer-motto {
  font-family: var(--tx-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
  margin-left: auto;
}

.tx-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.tx-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--tx-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.tx-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}

.tx-footer-links a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s ease;
}

.tx-footer-links a:hover { color: var(--tx-lake); }

.tx-footer-icp {
  font-family: var(--tx-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.34);
}

.tx-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(28, 27, 58, 0.88);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(28, 27, 58, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
}

.tx-top:hover { background: var(--tx-lake); }
.tx-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.tx-data {
  font-family: var(--tx-mono);
  font-variant-numeric: tabular-nums lining-nums;
}

.tx-stat {
  font-family: var(--tx-mono);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tx-night);
  transition: color 0.45s ease, text-shadow 0.45s ease;
}

.tx-stat.is-pulsing {
  color: var(--tx-prayer-red);
  text-shadow: 0 0 30px rgba(217, 91, 67, 0.3);
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--tx-reveal-delay, 0s);
}

.js-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .tx-grid { grid-template-columns: 1fr; }
  .tx-col-4, .tx-col-5, .tx-col-6, .tx-col-7, .tx-col-8, .tx-col-12 { grid-column: 1 / -1; }

  .tx-nav {
    width: 100%;
    justify-content: space-between;
  }

  .tx-nav-toggle { display: inline-flex; }

  .tx-nav-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px 24px 24px 12px;
    box-shadow: 0 24px 64px rgba(28, 27, 58, 0.22);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease, visibility 0.3s ease;
  }

  .tx-nav[data-open="true"] .tx-nav-menu {
    max-height: 480px;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .tx-nav-item { width: 100%; }
  .tx-nav-item + .tx-nav-item { margin-top: 2px; }

  .tx-nav-link {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
  }

  .tx-nav-link[aria-current="page"] {
    background: var(--tx-night);
    color: #fff;
  }

  .tx-footer-head { align-items: flex-start; }
  .tx-footer-motto { margin-left: 0; width: 100%; }
  .tx-footer-meta { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tx-col-4 { grid-column: span 6; }
  .tx-col-5 { grid-column: span 6; }
  .tx-col-6 { grid-column: span 6; }
  .tx-col-7 { grid-column: 1 / -1; }
  .tx-col-8 { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .tx-media::after { animation: none; background: none; }

  .js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
