 :root {
      --bg: #f5f7fb;
      --bg-soft: #ffffff;
      --border-soft: #dde3f0;
      --primary: #1f6fe5;
      --primary-soft: rgba(31, 111, 229, 0.08);
      --primary-dark: #1855b0;
      --text-main: #182135;
      --text-muted: #647192;
      --radius-card: 16px;
      --shadow-soft: 0 10px 30px rgba(15, 35, 75, 0.08);
      --max-width: 1180px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
      background: var(--bg);
      color: var(--text-main);
      line-height: 1.5;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    header {
      background: var(--bg-soft);
      border-bottom: 1px solid var(--border-soft);
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .head-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .brand-mark {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 20px;
      color: var(--primary-dark);
    }

    .brand-icon {
      width: 32px;
      height: 32px;
      border-radius: 12px;
      background: radial-gradient(
        circle at 20% 20%,
        #6ea8ff,
        #1f6fe5 50%,
        #0f3a8f
      );
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-size: 16px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 10px;
      font-size: 14px;
    }

    nav a {
      padding: 6px 10px;
      border-radius: 999px;
      color: var(--text-muted);
      white-space: nowrap;
    }

    nav a.active,
    nav a:hover {
      background: var(--primary-soft);
      color: var(--primary-dark);
    }

    .hero {
      max-width: var(--max-width);
      margin: 16px auto 8px auto;
      padding: 0 16px 10px 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: flex-end;
      justify-content: space-between;
    }

    .hero-text {
      max-width: 520px;
    }

    .hero-text h1 {
      font-size: 26px;
      margin-bottom: 8px;
    }

    .hero-text p {
      font-size: 14px;
      color: var(--text-muted);
    }

    .search-wrap {
      margin-top: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-soft);
      border-radius: 999px;
      padding: 6px 10px;
      border: 1px solid var(--border-soft);
    }

    .search-wrap input {
      border: none;
      outline: none;
      background: transparent;
      font-size: 14px;
      flex: 1;
    }

    .search-wrap span {
      font-size: 18px;
      color: var(--text-muted);
    }

    .banner-top {
      max-width: var(--max-width);
      margin: 0 auto 12px auto;
      padding: 0 16px;
    }

    .banner-970x250 {
      width: 100%;
      max-width: 970px;
      height: 250px;
      margin: 0 auto;
      border-radius: 18px;
      border: 1px dashed var(--border-soft);
      background: repeating-linear-gradient(
          45deg,
          rgba(31, 111, 229, 0.06),
          rgba(31, 111, 229, 0.06) 10px,
          rgba(255, 255, 255, 0.9) 10px,
          rgba(255, 255, 255, 0.9) 20px
        ),
        #f9fbff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      font-size: 13px;
      text-align: center;
    }

    main {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 10px 16px 40px 16px;
    }

    .list-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .list-head h2 {
      font-size: 18px;
    }

    .list-count {
      font-size: 13px;
      color: var(--text-muted);
    }

    .grid-wrap {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 14px;
    }

    .unit-card {
      background: var(--bg-soft);
      border-radius: var(--radius-card);
      padding: 8px;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(255, 255, 255, 0.9);
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-height: 200px;
      transition: transform 0.12s ease, box-shadow 0.12s ease;
    }

    .unit-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 34px rgba(15, 35, 75, 0.14);
    }

    .thumb-box {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      background: #e3e8f5;
      aspect-ratio: 4 / 3;
    }

    .thumb-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .unit-meta {
      display: flex;
      flex-direction: column;
      gap: 2px;
      margin-top: 4px;
    }

    .unit-title {
      font-size: 14px;
      font-weight: 600;
    }

    .unit-tagline {
      font-size: 12px;
      color: var(--text-muted);
      min-height: 30px;
    }

    .unit-bottom {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 11px;
    }

    .pill {
      padding: 3px 8px;
      border-radius: 999px;
      background: var(--primary-soft);
      color: var(--primary-dark);
      max-width: 120px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .id-label {
      color: var(--text-muted);
    }

    footer {
      border-top: 1px solid var(--border-soft);
      background: #eef2fb;
      margin-top: 20px;
    }

    .foot-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 18px 16px 26px 16px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .foot-inner h3 {
      font-size: 14px;
      margin-bottom: 6px;
      color: var(--text-main);
    }
	.foot-links a {
	  margin-right: 10px;
	  text-decoration: none;
	  color: var(--primary-dark);
	  font-size: 13px;
	}

	.foot-links a:hover {
	  text-decoration: underline;
	}

    @media (max-width: 720px) {
      .head-inner {
        flex-wrap: wrap;
      }

      nav ul {
        font-size: 13px;
      }

      .banner-970x250 {
        height: 140px;
      }
    }