
  .mycc-guide {
    --chi-ink: #162e46;
    --chi-muted: #4a6173;
    --chi-blue: #086892;
    --chi-red: #bb233d;
    --chi-line: #d6e5ec;
    color: var(--chi-ink);
    background: #fff;
    font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid var(--chi-line);
    border-radius: 24px;
    overflow: hidden;
  }

  .mycc-guide,
  .mycc-guide * {
    box-sizing: border-box;
  }

  .mycc-guide h1,
  .mycc-guide h2,
  .mycc-guide h3,
  .mycc-guide p {
    margin: 0;
    font-family: inherit;
    text-transform: none;
  }

  .mycc-guide h1,
  .mycc-guide h2,
  .mycc-guide h3 {
    color: var(--chi-ink) !important;
    letter-spacing: -.035em;
    line-height: 1.15;
  }

  .mycc-guide h1 {
    font-size: clamp(44px, 8vw, 88px);
    font-weight: 850;
    margin: 16px 0 22px;
  }

  .mycc-guide h2 {
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 800;
  }

  .mycc-guide h3 {
    font-size: 21px;
    font-weight: 750;
  }

  .mycc-guide p {
    color: var(--chi-muted);
  }

  .mycc-guide a {
    color: var(--chi-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
  }

  .mycc-guide a:hover {
    color: var(--chi-red);
  }

  .mycc-guide a:focus-visible {
    outline: 3px solid var(--chi-red);
    outline-offset: 5px;
    border-radius: 3px;
  }

  .mycc-guide .chi-hero {
    padding: clamp(24px, 6vw, 64px);
    background: linear-gradient(125deg, #edf9fd 0%, #fff 75%);
    border-top: 10px solid #82d2ed;
  }

  .mycc-guide .chi-eyebrow {
    color: var(--chi-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .mycc-guide .chi-stars {
    color: var(--chi-red);
    font-size: 30px;
    letter-spacing: 12px;
    margin: 10px 0 0;
  }

  .mycc-guide .chi-intro {
    max-width: 730px;
    font-size: clamp(17px, 2vw, 20px);
  }

  .mycc-guide .chi-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
  }

  .mycc-guide .chi-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 12px;
    background: var(--chi-blue);
    color: #fff !important;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid var(--chi-blue);
  }

  .mycc-guide .chi-button:hover {
    background: #075576;
  }

  .mycc-guide .chi-button.chi-outline {
    background: #fff;
    color: var(--chi-blue) !important;
  }

  .mycc-guide .chi-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--chi-line);
    border-bottom: 1px solid var(--chi-line);
    background: #f6fbfd;
  }

  .mycc-guide .chi-fact {
    padding: 22px 26px;
  }

  .mycc-guide .chi-fact + .chi-fact {
    border-left: 1px solid var(--chi-line);
  }

  .mycc-guide .chi-fact strong {
    display: block;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
  }

  .mycc-guide .chi-fact span {
    font-size: 13px;
    color: var(--chi-muted);
  }

  .mycc-guide .chi-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 22px clamp(20px, 4vw, 48px);
    border-bottom: 1px solid var(--chi-line);
  }

  .mycc-guide .chi-nav a {
    border: 1px solid var(--chi-line);
    padding: 9px 15px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--chi-ink);
    background: #fff;
  }

  .mycc-guide .chi-nav a:hover {
    background: #eaf7fc;
  }

  .mycc-guide .chi-section {
    padding: 40px clamp(20px, 4vw, 48px);
    scroll-margin-top: 24px;
  }

  .mycc-guide .chi-section + .chi-section {
    border-top: 1px solid var(--chi-line);
  }

  .mycc-guide .chi-heading {
    margin-bottom: 24px;
  }

  .mycc-guide .chi-heading p {
    margin-top: 10px;
    max-width: 760px;
  }

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

  .mycc-guide .chi-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--chi-line);
    border-radius: 16px;
    background: #fff;
  }

  .mycc-guide .chi-card p {
    margin-top: 12px;
    font-size: 15px;
  }

  .mycc-guide .chi-card .chi-tag {
    display: inline-block;
    color: var(--chi-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .mycc-guide .chi-list {
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
  }

  .mycc-guide .chi-list li {
    padding: 11px 0;
    border-top: 1px solid #e8eff3;
  }

  .mycc-guide .chi-list a {
    font-weight: 750;
  }

  .mycc-guide .chi-list small {
    display: block;
    font-size: 13px;
    color: var(--chi-muted);
    margin-top: 3px;
  }

  .mycc-guide .chi-soft {
    background: #f6fbfd;
  }

  .mycc-guide .chi-shortcode {
    border: 1px solid var(--chi-line);
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    overflow-wrap: anywhere;
  }

  .mycc-guide .chi-more {
    margin-top: 22px;
    font-size: 15px;
  }

  .mycc-guide .chi-video {
    aspect-ratio: 16/9;
    width: 100%;
    border: 0;
    display: block;
    background: #edf7fb;
    border-radius: 16px;
  }

  .mycc-guide .chi-source {
    font-size: 13px;
    margin-top: 18px;
  }

  .mycc-guide .chi-source a {
    display: inline-block;
    margin-right: 14px;
  }

  .mycc-guide .chi-end {
    padding: 26px clamp(20px, 4vw, 48px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--chi-line);
  }

  .mycc-guide .chi-end p {
    font-size: 14px;
  }

  @media (max-width: 850px) {
    .mycc-guide .chi-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 560px) {
    .mycc-guide {
      border-radius: 16px;
    }

    .mycc-guide .chi-grid {
      grid-template-columns: 1fr;
    }

    .mycc-guide .chi-fact {
      padding: 16px 12px;
    }

    .mycc-guide .chi-fact strong {
      font-size: 20px;
    }

    .mycc-guide .chi-fact span {
      font-size: 11px;
    }

    .mycc-guide .chi-section {
      padding-top: 30px;
      padding-bottom: 30px;
    }

    .mycc-guide .chi-actions {
      flex-direction: column;
    }

    .mycc-guide .chi-button {
      width: 100%;
    }

    .mycc-guide .chi-card {
      padding: 21px;
    }
  }

/* City header bar, city search and live board inside the guide layout */
.mycc-guide .chi-skybar { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; background:#162e46; color:#eaf3fb; border-radius:14px; padding:12px 16px; margin:26px 0 4px; font-size:14px; }
.mycc-guide .mycc-sky-city { font-weight:800; }
.mycc-guide .mycc-sky-wx { font-weight:700; }
.mycc-guide .mycc-sky-wx em { font-style:normal; font-weight:500; opacity:.85; }
.mycc-guide .mycc-sky-live { margin-left:auto; color:#8ff0b0; font-weight:700; }
.mycc-guide .chi-search-wrap { max-width:560px; }
.mycc-guide .mycc-search-input { background:#fff; }
@media (max-width:600px) { .mycc-guide .mycc-sky-live { margin-left:0; } }

/* ---- Performance layer: keep off-screen sections out of the first render ---- */
.mycc-guide .chi-section,
.mycc-guide .chi-board,
.mycc-guide .chi-cities,
.mycc-guide .chi-end {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
.mycc-guide .chi-hero { contain-intrinsic-size: 420px; }
.mycc-guide section { scroll-margin-top: 90px; }
/* The board and below-the-fold images load lazily; nothing above the fold changes. */
.mycc-guide .chi-board img,
.mycc-guide .chi-section img { content-visibility: auto; }
@media (prefers-reduced-motion: reduce) {
  .mycc-guide * { animation: none !important; transition: none !important; }
}

/* ---- City headline image ---- */
.chi-hero-media{position:relative;border-radius:16px;overflow:hidden;margin:0 0 18px;background:#0b1a2b}
.chi-hero-img{display:block;width:100%;height:min(46vw,420px);object-fit:cover}
.chi-hero-credit{position:absolute;right:10px;bottom:8px;background:rgba(0,0,0,.58);color:#fff;font-size:12px;padding:3px 9px;border-radius:999px}
.chi-hero-webcam-btn{position:absolute;left:10px;bottom:8px;background:#0b7a3b;color:#fff;border:0;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer}
.chi-hero-webcam{display:block;width:100%;height:min(46vw,420px);border:0}

/* Branded headline fallback for cities with no usable photo yet */
.chi-hero-fallback{display:flex;align-items:center;justify-content:center;height:min(46vw,420px);
  background:linear-gradient(135deg,#071426 0%,#0d2b4a 45%,#0b7a3b 100%)}
.chi-hero-fallback-name{color:#fff;font-size:clamp(28px,6vw,64px);font-weight:800;letter-spacing:-.02em;
  text-transform:uppercase;text-shadow:0 4px 24px rgba(0,0,0,.45)}
