:root {
      --zg-red: #b23a2e;
      --zg-red-deep: #8f2c22;
      --zg-ink: #23201c;
      --zg-ink-soft: #5b554c;
      --zg-muted: #8a8172;
      --zg-gold: #b08842;
      --zg-jade: #3c6e5e;
      --zg-paper: #f5f1e8;
      --zg-card: #fffdf8;
      --zg-line: #ddd5c6;
      --zg-line-soft: #ede6d7;
      --zg-white: #fff;
      --zg-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
      --zg-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
      --shadow-soft: 0 18px 46px rgba(55, 42, 28, .10);
      --shadow-hover: 0 18px 34px rgba(111, 54, 36, .14);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--zg-ink);
      background:
        linear-gradient(90deg, rgba(35, 32, 28, .04) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(0deg, rgba(35, 32, 28, .035) 1px, transparent 1px) 0 0 / 48px 48px,
        #e4ded0;
      font-family: var(--zg-sans);
      letter-spacing: 0;
    }

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


    .browser {
      width: min(1440px, 100%);
      margin: 0 auto;
      border: 1px solid #cfc6b4;
      border-radius: 10px;
      background: var(--zg-paper);
      box-shadow: 0 40px 80px -46px rgba(60, 45, 30, .55);
      overflow: hidden;
    }


    .site-header {
      height: 72px;
      display: grid;
      grid-template-columns: 330px minmax(0, 1fr) 270px;
      align-items: center;
      gap: 18px;
      padding: 0 44px;
      border-bottom: 1px solid var(--zg-line-soft);
      background: var(--zg-card);
    }

    .site-header--home {
      grid-template-columns: 330px minmax(0, 1fr) 270px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand-logo {
      width: 180px;
      height: 45px;
      display: block;
      object-fit: contain;
      object-position: left center;
    }

    .brand-company-en {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding-left: 13px;
      border-left: 1px solid var(--zg-line);
      color: var(--zg-muted);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .20em;
      line-height: 1.28;
      white-space: nowrap;
    }

    .site-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      color: #4a453d;
      font-size: 14px;
      white-space: nowrap;
    }

    .site-nav span {
      position: relative;
      display: inline-flex;
      align-items: center;
      height: 72px;
    }

    .site-nav .active {
      color: var(--zg-red);
      font-weight: 600;
    }

    .site-nav .active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: var(--zg-red);
    }

    .header-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      color: #4a453d;
      font-size: 13px;
      white-space: nowrap;
    }

    .search-chip {
      width: 168px;
      height: 34px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 12px;
      border: 1px solid var(--zg-line);
      border-radius: 17px;
      color: var(--zg-muted);
      background: var(--zg-white);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 18px;
      border: 1px solid var(--zg-line);
      border-radius: 6px;
      color: var(--zg-ink-soft);
      background: var(--zg-white);
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
    }

    .btn.primary {
      border-color: var(--zg-red);
      color: var(--zg-white);
      background: var(--zg-red);
    }

    .btn.red-outline {
      border-color: rgba(178, 58, 46, .48);
      color: var(--zg-red);
      background: #fff8f4;
    }

    .btn.dark {
      border-color: var(--zg-ink);
      color: var(--zg-white);
      background: var(--zg-ink);
    }

    .btn.gold {
      border-color: var(--zg-gold);
      color: var(--zg-white);
      background: var(--zg-gold);
    }

    .zg-container {
      padding: 0 44px;
    }

    .hero {
      position: relative;
      overflow: hidden;
      min-height: 420px;
      padding: 70px 44px 64px;
      background:
        linear-gradient(0deg, rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 100% 52px,
        linear-gradient(150deg, #8f2c22 0%, var(--zg-red) 56%, #983126 100%);
      color: var(--zg-white);
    }

    .hero::before {
      content: "";
      position: absolute;
      right: 46px;
      top: 50%;
      transform: translateY(-50%);
      width: 330px;
      height: 330px;
      background: url("../images/logo-guan-brush.png") center / 82% auto no-repeat;
      opacity: .16;
      pointer-events: none;
    }

    .hero::after {
      content: "";
      position: absolute;
      right: 46px;
      top: 50%;
      transform: translateY(-50%);
      width: 330px;
      height: 330px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero--compact {
      min-height: 268px;
      padding: 46px 44px;
      background:
        linear-gradient(0deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 48px,
        linear-gradient(140deg, #8f2c22 0%, var(--zg-red) 58%, #7b4e2c 100%);
    }

    .hero--openvideo {
      min-height: 268px;
      padding: 46px 44px;
      background:
        linear-gradient(0deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 48px,
        linear-gradient(140deg, #8f2c22 0%, var(--zg-red) 58%, #7b4e2c 100%);
    }

    .hero--course {
      background:
        linear-gradient(0deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 48px,
        linear-gradient(140deg, #8f2c22 0%, var(--zg-red) 58%, #7b4e2c 100%);
    }

    .hero--service {
      background:
        linear-gradient(0deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 48px,
        linear-gradient(140deg, #8f2c22 0%, var(--zg-red) 58%, #7b4e2c 100%);
    }

    .hero--home {
      min-height: 470px;
      padding: 64px 44px 66px;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 26px;
      align-items: center;
    }

    .hero-copy {
      max-width: 760px;
    }

    .hero--home .hero-copy {
      max-width: 930px;
    }

    .eyebrow {
      color: rgba(255, 255, 255, .72);
      font-size: 13px;
      letter-spacing: .32em;
    }

    .hero h2,
    .hero h1 {
      margin: 18px 0 0;
      font-family: var(--zg-serif);
      font-size: 54px;
      line-height: 1.18;
      letter-spacing: .05em;
    }

    .hero--home h2 {
      max-width: 930px;
      font-size: 52px;
      line-height: 1.16;
      white-space: nowrap;
    }

    .hero--compact h1 {
      font-size: 40px;
    }

    .hero p {
      margin: 20px 0 0;
      color: rgba(255, 255, 255, .85);
      font-family: var(--zg-serif);
      font-size: 17px;
      line-height: 1.9;
    }

    .hero-statement {
      display: grid;
      gap: 12px;
      max-width: 900px;
      margin-top: 26px;
      padding: 22px 30px 24px 28px;
      border-left: 3px solid rgba(255, 255, 255, .72);
      background: rgba(255, 255, 255, .08);
    }

    .hero-statement strong {
      color: var(--zg-white);
      font-family: var(--zg-serif);
      font-size: 25px;
      line-height: 1.35;
      letter-spacing: .08em;
    }

    .hero-statement span {
      color: rgba(255, 255, 255, .86);
      font-family: var(--zg-serif);
      font-size: 17px;
      line-height: 1.78;
    }

    .hero-statement .source-line {
      display: block;
      max-width: 820px;
    }

    .hero-search {
      width: 560px;
      height: 54px;
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: 34px;
      padding: 0 8px 0 22px;
      border-radius: 6px;
      color: #a89e8c;
      background: var(--zg-white);
      box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4);
    }

    .hero-search span {
      flex: 1;
      font-size: 15px;
    }

    .hero-stats {
      display: flex;
      gap: 40px;
      margin-top: 34px;
    }

    .hero-stat strong {
      display: block;
      color: var(--zg-white);
      font-family: var(--zg-serif);
      font-size: 26px;
    }

    .hero-stat span {
      display: block;
      margin-top: 3px;
      color: rgba(255, 255, 255, .65);
      font-size: 12px;
    }

    .hero-panel {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 12px;
    }

    .live-mini {
      display: grid;
      grid-template-columns: 108px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
      padding: 12px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 8px;
      background: rgba(255, 253, 248, .10);
      backdrop-filter: blur(4px);
    }

    .live-mini img,
    .image-cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .live-mini-cover {
      height: 74px;
      border-radius: 6px;
      overflow: hidden;
      background: #2d2720;
    }

    .live-mini-title {
      color: var(--zg-white);
      font-family: var(--zg-serif);
      font-size: 16px;
      font-weight: 700;
      line-height: 1.45;
    }

    .live-mini-meta {
      margin-top: 7px;
      color: rgba(255, 255, 255, .65);
      font-size: 12px;
    }

    .section {
      padding: 42px 44px 0;
    }

    .section:last-child {
      padding-bottom: 48px;
    }

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

    .section-title {
      display: flex;
      align-items: baseline;
      gap: 14px;
    }

    .section-title::before {
      content: "";
      width: 6px;
      height: 21px;
      background: var(--zg-red);
    }

    .section-title.gold::before {
      background: var(--zg-gold);
    }

    .section h3 {
      margin: 0;
      font-family: var(--zg-serif);
      font-size: 23px;
      line-height: 1.2;
    }

    .section-sub {
      color: var(--zg-muted);
      font-size: 12px;
      letter-spacing: .16em;
    }

    .more {
      color: var(--zg-muted);
      font-size: 13px;
    }

    .section--ad {
      padding-top: 30px;
    }

    .ad-slot {
      position: relative;
      min-height: 118px;
      display: grid;
      grid-template-columns: 132px minmax(0, 1fr) 132px;
      gap: 24px;
      align-items: center;
      padding: 24px 30px;
      border: 1px dashed rgba(178, 58, 46, .42);
      border-radius: 8px;
      background:
        linear-gradient(0deg, rgba(178, 58, 46, .05) 1px, transparent 1px) 0 0 / 100% 34px,
        linear-gradient(135deg, #fffdf8 0%, #fbf1e5 100%);
      overflow: hidden;
    }

    .ad-slot::after {
      content: "AD";
      position: absolute;
      right: 34px;
      top: 50%;
      transform: translateY(-50%);
      color: rgba(178, 58, 46, .08);
      font-family: var(--zg-serif);
      font-size: 74px;
      font-weight: 900;
      letter-spacing: .08em;
      pointer-events: none;
    }

    .ad-kicker {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      width: 94px;
      height: 94px;
      border: 1px solid rgba(178, 58, 46, .28);
      border-radius: 50%;
      color: var(--zg-red);
      background: rgba(255, 253, 248, .72);
      font-family: var(--zg-serif);
      font-size: 18px;
      font-weight: 800;
      text-align: center;
      line-height: 1.35;
    }

    .ad-copy {
      position: relative;
      z-index: 1;
    }

    .ad-copy strong {
      display: block;
      color: var(--zg-ink);
      font-family: var(--zg-serif);
      font-size: 24px;
      line-height: 1.25;
    }

    .ad-copy span {
      display: block;
      margin-top: 10px;
      color: var(--zg-muted);
      font-size: 13px;
      letter-spacing: .12em;
    }

    .ad-action {
      position: relative;
      z-index: 1;
      justify-self: end;
      color: var(--zg-red);
      font-size: 13px;
      font-weight: 700;
    }

    .subject-icon {
      display: grid;
      place-items: center;
      width: 48px;
      height: 48px;
      border: 1px solid rgba(178, 58, 46, .26);
      border-radius: 50%;
      color: var(--zg-red);
      background: #fff9f5;
      font-family: var(--zg-serif);
      font-size: 22px;
      font-weight: 700;
    }

    .subject-card strong {
      display: block;
      font-family: var(--zg-serif);
      font-size: 17px;
    }

    .subject-card span {
      display: block;
      margin-top: 5px;
      color: var(--zg-muted);
      font-size: 12px;
      line-height: 1.5;
    }

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

    .subject-card {
      display: flex;
      align-items: center;
      gap: 14px;
      min-height: 92px;
      padding: 20px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
    }

    .live-feature-grid {
      display: grid;
      grid-template-columns: 1.3fr .7fr;
      gap: 18px;
    }

    .live-feature {
      display: grid;
      grid-template-columns: 270px minmax(0, 1fr) 170px;
      gap: 22px;
      align-items: center;
      padding: 18px;
      border: 1px solid rgba(178, 58, 46, .26);
      border-radius: 8px;
      background: linear-gradient(135deg, #fffdf8, #fff5ef);
      box-shadow: 0 12px 28px rgba(120, 45, 38, .08);
    }

    .live-feature-cover {
      height: 150px;
      border-radius: 8px;
      overflow: hidden;
      background: #e8dcc7;
      position: relative;
    }

    .live-badge {
      position: absolute;
      left: 12px;
      top: 12px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 11px;
      border-radius: 999px;
      color: var(--zg-white);
      background: var(--zg-red);
      font-size: 12px;
      font-weight: 700;
    }

    .live-badge::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
    }

    .live-badge.jade {
      background: var(--zg-jade);
    }

    .live-badge.gold {
      background: var(--zg-gold);
    }

    .viewer-badge {
      position: absolute;
      right: 10px;
      bottom: 10px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 26px;
      padding: 0 9px;
      border-radius: 999px;
      color: var(--zg-white);
      background: rgba(31, 27, 23, .72);
      font-size: 12px;
      font-weight: 700;
      backdrop-filter: blur(4px);
    }

    .viewer-badge::before {
      content: "";
      width: 14px;
      height: 9px;
      border: 1.4px solid currentColor;
      border-radius: 50%;
      background: radial-gradient(circle at center, currentColor 0 2px, transparent 2.3px);
    }

    .live-feature h4,
    .list-row h4,
    .open-card h4,
    .course-card h4,
    .service-row h4 {
      margin: 0;
      color: var(--zg-ink);
      font-family: var(--zg-serif);
      font-size: 22px;
      line-height: 1.38;
    }

    .live-feature p,
    .list-row p,
    .open-card p,
    .service-row p {
      margin: 10px 0 0;
      color: var(--zg-muted);
      font-size: 13px;
      line-height: 1.7;
    }

    .meta-line {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 14px;
      margin-top: 12px;
      color: var(--zg-muted);
      font-size: 13px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 10px;
      border-radius: 999px;
      color: #9f5b32;
      background: #f8f1ea;
      font-size: 12px;
    }

    .pill.jade {
      color: var(--zg-jade);
      background: rgba(60, 110, 94, .10);
    }

    .pill.red {
      color: var(--zg-red);
      background: rgba(178, 58, 46, .09);
    }

    .side-stat {
      display: grid;
      gap: 10px;
      justify-items: end;
      text-align: right;
    }

    .side-stat strong {
      color: var(--zg-red);
      font-family: var(--zg-serif);
      font-size: 25px;
      line-height: 1;
    }

    .side-stat span {
      color: var(--zg-muted);
      font-size: 12px;
    }

    .mini-stack {
      display: grid;
      gap: 12px;
    }

    .mini-panel {
      padding: 18px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-white);
    }

    .mini-panel strong {
      display: block;
      font-family: var(--zg-serif);
      font-size: 17px;
    }

    .mini-panel span {
      display: block;
      margin-top: 8px;
      color: var(--zg-muted);
      font-size: 13px;
      line-height: 1.7;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }

    .home-video-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .home-video-grid .open-card-cover {
      height: 132px;
    }

    .home-video-grid .open-card-body {
      padding: 15px;
    }

    .home-video-grid .open-card h4 {
      min-height: 46px;
      font-size: 17px;
    }

    .home-video-grid .open-card p {
      min-height: 40px;
    }

    .course-card {
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      overflow: hidden;
      background: var(--zg-white);
      transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    }

    .course-card:hover,
    .subject-card:hover,
    .open-card:hover,
    .list-row:hover,
    .service-row:hover {
      border-color: rgba(178, 58, 46, .45);
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
    }

    .course-cover {
      position: relative;
      height: 148px;
      overflow: hidden;
      background: #e8dcc7;
    }

    .course-card h4 {
      min-height: 48px;
      padding: 16px 16px 0;
      font-size: 17px;
    }

    .course-meta {
      padding: 10px 16px 0;
      color: var(--zg-muted);
      font-size: 12px;
      line-height: 1.6;
    }

    .price-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px 16px;
    }

    .price {
      color: var(--zg-red);
      font-size: 18px;
      font-weight: 800;
    }

    .price.free {
      color: var(--zg-jade);
    }

    .two-col {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 28px;
    }

    .news-list {
      display: grid;
      gap: 14px;
      padding: 20px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
    }

    .news-item {
      display: grid;
      grid-template-columns: 60px minmax(0, 1fr);
      gap: 12px;
      color: var(--zg-ink-soft);
      font-family: var(--zg-serif);
      font-size: 15px;
      line-height: 1.55;
    }

    .news-item time {
      color: var(--zg-gold);
      font-family: var(--zg-sans);
      font-size: 12px;
    }

    .knowledge-grid {
      display: grid;
      grid-template-columns: .95fr 1.45fr;
      gap: 18px;
      align-items: stretch;
    }

    .knowledge-feature {
      position: relative;
      min-height: 292px;
      padding: 28px;
      border-radius: 8px;
      overflow: hidden;
      color: var(--zg-white);
      background:
        linear-gradient(90deg, rgba(116, 42, 34, .92), rgba(178, 58, 46, .80)),
        linear-gradient(0deg, rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 100% 36px,
        var(--zg-red);
    }

    .knowledge-feature::after {
      content: "知";
      position: absolute;
      right: 22px;
      bottom: -22px;
      color: rgba(255, 255, 255, .10);
      font-family: var(--zg-serif);
      font-size: 138px;
      font-weight: 900;
      line-height: 1;
      pointer-events: none;
    }

    .knowledge-feature h4 {
      position: relative;
      z-index: 1;
      margin: 18px 0 0;
      font-family: var(--zg-serif);
      font-size: 28px;
      line-height: 1.3;
    }

    .knowledge-feature p {
      position: relative;
      z-index: 1;
      margin: 16px 0 0;
      max-width: 410px;
      color: rgba(255, 255, 255, .82);
      font-size: 14px;
      line-height: 1.9;
    }

    .knowledge-feature .pill {
      position: relative;
      z-index: 1;
      color: #5a3522;
      background: var(--zg-gold-light);
      font-weight: 700;
    }

    .knowledge-tags {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 28px;
    }

    .knowledge-tags span {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 12px;
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: 999px;
      color: rgba(255, 255, 255, .82);
      font-size: 12px;
    }

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

    .knowledge-item {
      display: grid;
      grid-template-columns: 56px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
      min-height: 88px;
      padding: 18px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
      transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    }

    .knowledge-item:hover {
      border-color: rgba(178, 58, 46, .45);
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
    }

    .knowledge-mark {
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(178, 58, 46, .24);
      border-radius: 50%;
      color: var(--zg-red);
      background: #fff9f5;
      font-family: var(--zg-serif);
      font-size: 19px;
      font-weight: 800;
    }

    .knowledge-item strong {
      display: block;
      color: var(--zg-ink);
      font-family: var(--zg-serif);
      font-size: 16px;
      line-height: 1.45;
    }

    .knowledge-item span {
      display: block;
      margin-top: 6px;
      color: var(--zg-muted);
      font-size: 12px;
      line-height: 1.55;
    }

    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 22px;
    }

    .filter-chip {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      padding: 0 15px;
      border: 1px solid var(--zg-line);
      border-radius: 999px;
      color: var(--zg-ink-soft);
      background: var(--zg-card);
      font-size: 13px;
    }

    .filter-chip.active {
      border-color: var(--zg-red);
      color: var(--zg-white);
      background: var(--zg-red);
    }

    .open-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 310px;
      gap: 26px;
    }

    .open-main {
      display: grid;
      gap: 30px;
    }

    .open-subhead {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 14px;
    }

    .open-subhead strong {
      color: var(--zg-ink);
      font-family: var(--zg-serif);
      font-size: 22px;
    }

    .open-subhead span {
      color: var(--zg-muted);
      font-size: 12px;
      letter-spacing: .14em;
    }

    .live-list {
      display: grid;
      gap: 16px;
    }

    .list-row {
      display: grid;
      grid-template-columns: 210px minmax(0, 1fr) 150px;
      gap: 20px;
      align-items: center;
      min-height: 144px;
      padding: 18px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-white);
      transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    }

    .list-cover {
      height: 116px;
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      background: #e9dcc6;
    }

    .status-block {
      display: grid;
      gap: 10px;
      justify-items: end;
      text-align: right;
    }

    .status-block strong {
      color: var(--zg-red);
      font-size: 19px;
    }

    .status-block small {
      color: var(--zg-muted);
      font-size: 12px;
    }

    .side-box {
      padding: 22px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
    }

    .side-box h4 {
      margin: 0 0 14px;
      font-family: var(--zg-serif);
      font-size: 18px;
    }

    .side-box p {
      margin: 0;
      color: var(--zg-muted);
      font-size: 13px;
      line-height: 1.8;
    }

    .side-box + .side-box {
      margin-top: 16px;
    }

    .open-card-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .open-card {
      overflow: hidden;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-white);
      transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    }

    .open-card-cover {
      position: relative;
      height: 140px;
      overflow: hidden;
      background: #e8dcc7;
    }

    .open-card-body {
      padding: 16px;
    }

    .open-card h4 {
      font-size: 18px;
    }

    .open-card p {
      min-height: 44px;
      font-size: 12px;
    }

    .course-layout {
      display: grid;
      grid-template-columns: 238px minmax(0, 1fr);
      gap: 24px;
    }

    .catalog-side {
      align-self: start;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
      overflow: hidden;
    }

    .catalog-side h4 {
      margin: 0;
      padding: 18px 20px 12px;
      color: var(--zg-muted);
      font-size: 12px;
      letter-spacing: .18em;
    }

    .catalog-link {
      display: flex;
      align-items: center;
      min-height: 44px;
      padding: 0 20px;
      border-left: 3px solid transparent;
      color: var(--zg-ink-soft);
      font-family: var(--zg-serif);
      font-size: 15px;
    }

    .catalog-link span {
      margin-left: auto;
      color: #b7ab92;
      font-family: var(--zg-sans);
      font-size: 12px;
    }

    .catalog-link.active {
      border-left-color: var(--zg-red);
      color: var(--zg-red);
      background: rgba(178, 58, 46, .07);
    }

    .course-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      margin-bottom: 18px;
    }

    .course-toolbar-title {
      display: grid;
      gap: 5px;
    }

    .course-toolbar-title strong {
      font-family: var(--zg-serif);
      font-size: 20px;
      line-height: 1.2;
    }

    .course-toolbar-title span {
      color: var(--zg-muted);
      font-size: 12px;
    }

    .segmented {
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
    }

    .segmented span {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 12px;
      border-radius: 5px;
      color: var(--zg-muted);
      font-size: 13px;
    }

    .segmented .active {
      color: var(--zg-white);
      background: var(--zg-ink);
    }

    .service-hero-card {
      display: grid;
      gap: 14px;
      padding: 22px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 8px;
      background: rgba(255, 253, 248, .10);
    }

    .service-hero-card strong {
      color: var(--zg-white);
      font-family: var(--zg-serif);
      font-size: 21px;
    }

    .service-hero-card span {
      color: rgba(255, 255, 255, .68);
      font-size: 13px;
      line-height: 1.7;
    }

    .service-list {
      display: grid;
      gap: 16px;
    }

    .service-row {
      display: grid;
      grid-template-columns: 232px minmax(0, 1fr) 148px;
      gap: 22px;
      align-items: center;
      min-height: 166px;
      padding: 20px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-white);
      transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    }

    .service-cover {
      height: 126px;
      border-radius: 8px;
      overflow: hidden;
      background: linear-gradient(135deg, #efe4d0, #d8c39c);
      display: grid;
      place-items: center;
      color: #bfae8e;
      font-family: var(--zg-serif);
      font-size: 44px;
      position: relative;
    }

    .service-side {
      align-self: stretch;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 12px;
    }

    .service-side .btn {
      width: 112px;
      justify-content: center;
    }

    .timeline-strip {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 20px;
    }

    .timeline-step {
      padding: 18px;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
    }

    .timeline-step span {
      color: var(--zg-gold);
      font-family: var(--zg-serif);
      font-size: 18px;
    }

    .timeline-step strong {
      display: block;
      margin-top: 9px;
      font-family: var(--zg-serif);
      font-size: 16px;
    }

    .footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 30px 44px;
      background: var(--zg-ink);
      color: rgba(255, 255, 255, .72);
      font-size: 12px;
      line-height: 1.9;
    }

    .footer-links {
      display: flex;
      gap: 30px;
      color: rgba(255, 255, 255, .82);
      font-size: 13px;
    }


    /* Formal page output */
    body {
      min-width: 1180px;
      background: var(--zg-paper);
    }

    .zg-page {
      min-width: 1180px;
      background: var(--zg-paper);
    }

    .browser {
      width: 100%;
      max-width: none;
      margin: 0;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      overflow: visible;
      background: var(--zg-paper);
    }

    .site-nav a {
      position: relative;
      display: inline-flex;
      align-items: center;
      height: 72px;
    }

    .footer-links a {
      color: inherit;
    }

    body.zg-page {
      min-width: 1180px;
      background: var(--zg-paper);
      color: var(--zg-ink);
      font-family: var(--zg-sans);
      letter-spacing: 0;
    }

    .search-chip input {
      min-width: 0;
      width: 112px;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--zg-ink);
      font: inherit;
    }

    .search-chip input::placeholder {
      color: var(--zg-muted);
    }

    .search-chip button {
      width: 20px;
      height: 20px;
      display: inline-grid;
      place-items: center;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--zg-muted);
      cursor: pointer;
    }

    .search-chip svg,
    .header-bell-icon {
      width: 18px;
      height: 18px;
      display: block;
    }

    .login-link {
      color: var(--zg-ink-soft);
      font-size: 13px;
    }

    .header-bell {
      position: relative;
      display: inline-grid;
      place-items: center;
      width: 28px;
      height: 28px;
      color: var(--zg-ink-soft);
    }

    .header-bell-dot {
      position: absolute;
      right: -5px;
      top: -4px;
      min-width: 16px;
      height: 16px;
      padding: 0 4px;
      border-radius: 8px;
      background: var(--zg-red);
      color: #fff;
      font-size: 10px;
      line-height: 16px;
      text-align: center;
    }

    .header-user {
      position: relative;
    }

    .header-user-trigger {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--zg-ink-soft);
      font-size: 13px;
    }

    .header-user-trigger img {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      object-fit: cover;
    }

    .header-user-menu {
      display: none;
      position: absolute;
      right: 0;
      top: 100%;
      min-width: 154px;
      padding: 6px 0;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
      box-shadow: var(--shadow-soft);
      z-index: 20;
    }

    .header-user:hover .header-user-menu {
      display: block;
    }

    .header-user-menu a {
      display: block;
      padding: 9px 15px;
      color: var(--zg-ink-soft);
      font-size: 13px;
    }

    .header-user-menu a:hover {
      color: var(--zg-red);
      background: rgba(178, 58, 46, .06);
    }

    .segmented a {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 12px;
      border-radius: 5px;
      color: var(--zg-muted);
      font-size: 13px;
    }

    .segmented a.active {
      color: var(--zg-white);
      background: var(--zg-ink);
    }

    .fallback-glyph {
      display: grid;
      place-items: center;
      width: 100%;
      height: 100%;
      color: #bfae8e;
      font-family: var(--zg-serif);
      font-size: 42px;
      font-weight: 800;
    }

    .service-cover .live-badge,
    .course-cover .live-badge,
    .open-card-cover .live-badge {
      z-index: 2;
    }

    .course-card .btn,
    .service-side .btn,
    .status-block .btn,
    .side-stat .btn {
      text-decoration: none;
    }

    .pagesizes,
    .pagesizes_m {
      margin-top: 24px;
      text-align: center;
    }

    .pagesizes a,
    .pagesizes span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 32px;
      height: 32px;
      margin: 0 3px;
      border: 1px solid var(--zg-line);
      border-radius: 6px;
      background: var(--zg-card);
      color: var(--zg-ink-soft);
      font-size: 13px;
    }

    .pagesizes .current,
    .pagesizes span.current {
      border-color: var(--zg-red);
      color: #fff;
      background: var(--zg-red);
    }

    body.zg-page .hero h1,
    body.zg-page .hero h2 {
      margin: 18px 0 0;
      color: var(--zg-white);
      font-family: var(--zg-serif);
      font-size: 54px;
      line-height: 1.18;
      letter-spacing: .05em;
    }

    body.zg-page .hero--home h2 {
      max-width: 930px;
      font-size: 52px;
      line-height: 1.16;
      white-space: nowrap;
    }

    body.zg-page .hero--compact h1 {
      font-size: 40px;
    }

    .header-actions .search-chip {
      flex: 0 0 158px;
      width: 158px;
    }
