:root {
  --hy-primary: #0b3a78;
  --hy-primary-dark: #06172f;
  --hy-accent: #42c8d5;
  --hy-ink: #e9f2ff;
  --hy-muted: #afc4e1;
  --hy-line: #26466f;
  --hy-canvas: #071a36;
  --hy-surface: #10284d;
  --hy-radius: 8px;
  --hy-shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--hy-ink); background: var(--hy-canvas); font: 16px/1.7 Arial, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #59a6f8; outline-offset: 3px; }

.hy-shell { width: min(calc(100% - 40px), var(--hy-shell)); margin: 0 auto; }
.hy-site-header { position: sticky; top: 0; z-index: 30; background: #0a2142; border-bottom: 1px solid var(--hy-line); }
.hy-header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hy-brand { display: inline-flex; align-items: center; gap: 9px; color: #e5f0ff; font-weight: 800; font-size: 20px; white-space: nowrap; }
.hy-brand-mark { display: block; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; object-fit: cover; }
.hy-main-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.hy-main-nav a { color: #c8d8ef; }
.hy-main-nav a:hover, .hy-main-nav a.is-current { color: #ffffff; }
.hy-main-nav a.is-current { font-weight: 700; }
.hy-main-nav .hy-nav-action { padding: 7px 14px; color: #edf5ff; background: #2168b5; border-radius: 6px; }
.hy-main-nav .hy-nav-action.is-current { box-shadow: inset 0 0 0 1px #8ee6eb; }
.hy-nav-toggle { display: none; padding: 7px; border: 0; background: transparent; color: #e5f0ff; }
.hy-nav-toggle span { display: block; width: 21px; height: 2px; margin: 4px; background: currentColor; }
.hy-nav-toggle b { display: block; margin-top: 2px; font-size: 11px; }
.hy-search { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hy-search input { width: 150px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--hy-line); border-radius: 6px; color: #e5f0ff; background: #071a36; }
.hy-search button { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 6px; color: #edf5ff; background: #2168b5; font-weight: 700; }
@media (min-width: 769px) {
  .hy-main-nav > a:first-child { font-size: 16px; margin-left: 12px; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hy-hero { position: relative; overflow: hidden; background: var(--hy-primary-dark); color: #edf5ff; }
.hy-hero-track { position: relative; min-height: 540px; }
.hy-hero-slide { position: absolute; inset: 0; display: grid; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.hy-hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hy-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hy-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 18, 42, .54) 0%, rgba(8, 43, 91, .24) 56%, rgba(8, 43, 91, .1) 100%); }
.hy-hero-content { position: relative; z-index: 1; display: grid; min-height: 540px; align-items: center; }
.hy-hero-copy { max-width: 720px; }
.hy-kicker { margin: 0 0 10px; color: var(--hy-accent); font-weight: 700; font-size: 14px; }
.hy-hero .hy-kicker { color: #8ee6eb; }
.hy-hero h1, .hy-hero h2 { max-width: 720px; margin: 0; font-size: 40px; line-height: 1.25; font-weight: 800; }
.hy-hero-text { max-width: 610px; margin: 20px 0 0; color: #dce9fa; font-size: 18px; }
.hy-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 18px; border: 1px solid var(--hy-primary); border-radius: 6px; color: #ffffff; background: var(--hy-primary); font-weight: 700; }
.hy-button:hover { background: var(--hy-primary-dark); }
.hy-button-ghost { color: #edf5ff; background: transparent; border-color: rgba(229, 240, 255, .55); }
.hy-button-ghost:hover { color: #8ee6eb; background: transparent; border-color: #8ee6eb; }
.hy-hero-cta .hy-button { background: #2168b5; border-color: #2168b5; }
.hy-hero-cta .hy-button:hover { background: #185792; }
.hy-hero-cta .hy-button-ghost { color: #edf5ff; background: rgba(5, 27, 58, .35); border-color: rgba(229, 240, 255, .65); }
.hy-hero-cta .hy-button-ghost:hover { color: #8ee6eb; border-color: #8ee6eb; background: rgba(5, 27, 58, .55); }
.hy-carousel-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid rgba(229, 240, 255, .55); border-radius: 50%; color: #f4f8ff; background: rgba(5, 27, 58, .46); font-size: 34px; line-height: .8; opacity: .58; transform: translateY(-50%); transition: opacity .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.hy-hero:hover .hy-carousel-arrow, .hy-carousel-arrow:focus-visible { border-color: rgba(229, 240, 255, .9); outline: 0; background: rgba(5, 27, 58, .82); opacity: 1; }
.hy-carousel-arrow-previous { left: 32px; }
.hy-carousel-arrow-next { right: 32px; }
.hy-hero:hover .hy-carousel-arrow-previous, .hy-carousel-arrow-previous:focus-visible { transform: translate(-2px, -50%); }
.hy-hero:hover .hy-carousel-arrow-next, .hy-carousel-arrow-next:focus-visible { transform: translate(2px, -50%); }
.hy-hero-controls { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; padding-bottom: 28px; }
.hy-carousel-dots { display: flex; justify-content: center; gap: 8px; }
.hy-carousel-dots button { width: 28px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .5); }
.hy-carousel-dots button.is-active { background: #e5f0ff; }
.hy-carousel-progress { display: block; width: 120px; height: 3px; overflow: hidden; background: rgba(255, 255, 255, .35); }
.hy-carousel-progress i { display: block; width: 33.333%; height: 100%; background: #e5f0ff; transition: width .25s ease; }

.hy-section { padding: 78px 0; }
.hy-section-muted { background: #0a2142; }
.hy-section-heading { max-width: 720px; margin-bottom: 32px; }
.hy-section-heading-centered { margin-right: auto; margin-left: auto; text-align: center; }
.hy-section-heading-centered .hy-text-link { display: inline-block; margin-top: 16px; }
.hy-section-heading h2, .hy-about-band h2 { margin: 0; color: var(--hy-ink); font-size: 30px; line-height: 1.35; }
.hy-section-heading > p:last-child { margin: 10px 0 0; color: var(--hy-muted); }
.hy-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.hy-heading-row > a, .hy-text-link { color: var(--hy-accent); font-weight: 700; white-space: nowrap; }
.hy-starter-section { background: #0a2142; }
.hy-starter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hy-starter-card { min-width: 0; overflow: hidden; background: var(--hy-surface); border: 1px solid var(--hy-line); border-radius: var(--hy-radius); }
.hy-starter-card:hover { border-color: #4f85be; transform: translateY(-3px); }
.hy-starter-read { display: inline-block; margin-top: 16px; color: var(--hy-accent); font-size: 14px; font-weight: 700; }
.hy-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hy-post-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hy-post-card { min-width: 0; overflow: hidden; background: var(--hy-surface); border: 1px solid var(--hy-line); border-radius: var(--hy-radius); }
.hy-post-image { display: grid; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; background: #153b68; color: #dceaff; font-size: 18px; font-weight: 800; }
.hy-post-image img { width: 100%; height: 100%; object-fit: cover; }
.hy-post-image-empty { background: #153b68; }
.hy-post-card-body { padding: 17px; }
.hy-post-category { color: var(--hy-accent); font-size: 13px; font-weight: 700; }
.hy-post-card h3 { margin: 8px 0; font-size: 18px; line-height: 1.45; }
.hy-post-card h3 a:hover { color: var(--hy-accent); }
.hy-post-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--hy-muted); font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hy-post-card time { display: block; margin-top: 14px; color: #8492a8; font-size: 13px; }
.hy-empty-state { padding: 30px; color: var(--hy-muted); background: var(--hy-surface); border: 1px dashed #42658d; border-radius: var(--hy-radius); }

.hy-about-band { background: #0b2344; }
.hy-about-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); gap: 64px; align-items: center; }
.hy-about-copy { max-width: 580px; }
.hy-about-copy > p:not(.hy-kicker) { margin: 14px 0 0; color: var(--hy-muted); }
.hy-about-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 23px 0; }
.hy-about-tags span { padding: 6px 11px; border: 1px solid #3e638c; border-radius: 6px; color: #dce9fa; background: rgba(10, 33, 66, .62); font-size: 13px; }
.hy-about-media { position: relative; min-height: 360px; margin: 0; overflow: hidden; border: 1px solid #325b88; border-radius: var(--hy-radius); background: #071a36; aspect-ratio: 4 / 3; }
.hy-about-media::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(4, 22, 49, .04) 45%, rgba(4, 22, 49, .76)); pointer-events: none; }
.hy-about-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hy-about-media figcaption { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; color: #e5f0ff; font-size: 13px; font-weight: 700; }
.hy-contact-section { padding-top: 68px; }
.hy-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hy-contact-cards > div { display: grid; gap: 7px; padding: 20px; background: var(--hy-surface); border: 1px solid var(--hy-line); border-radius: var(--hy-radius); }
.hy-contact-cards b { color: var(--hy-muted); font-size: 13px; }
.hy-contact-cards span, .hy-contact-cards a { color: #dce9fa; font-weight: 700; overflow-wrap: anywhere; }

.hy-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: var(--hy-muted); font-size: 14px; }
.hy-breadcrumb a:hover { color: var(--hy-accent); }
.hy-breadcrumb-on-dark { color: rgba(229, 240, 255, .78); justify-content: center; }
.hy-breadcrumb-on-dark a { color: #e5f0ff; }
.hy-breadcrumb-on-dark a:hover { color: #8ee6eb; }
.hy-archive-banner { position: relative; overflow: hidden; min-height: 320px; color: #edf5ff; background-color: #06172f; background-image: var(--hy-archive-banner); background-position: center; background-size: cover; }
.hy-archive-banner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 20, 45, .55) 0%, rgba(5, 20, 45, .78) 55%, rgba(7, 26, 54, .92) 100%); }
.hy-archive-banner-inner { position: relative; z-index: 1; display: grid; gap: 18px; padding: 56px 0 64px; text-align: center; }
.hy-archive-banner-copy { max-width: 760px; margin: 0 auto; }
.hy-archive-banner .hy-kicker { color: #8ee6eb; }
.hy-archive-banner h1 { margin: 0; color: #ffffff; font-size: 40px; line-height: 1.25; font-weight: 800; }
.hy-archive-lead { max-width: 620px; margin: 16px auto 0; color: #dce9fa; font-size: 17px; line-height: 1.7; }
.hy-archive-banner .hy-channel-links { justify-content: center; margin-top: 24px; }
.hy-channel-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hy-channel-links a { padding: 8px 14px; border: 1px solid rgba(220, 233, 250, .55); border-radius: 999px; color: #e5f0ff; background: rgba(7, 26, 54, .42); font-size: 14px; font-weight: 600; backdrop-filter: blur(4px); }
.hy-channel-links a:hover, .hy-channel-links a:focus-visible { border-color: #8ee6eb; color: #fff; background: rgba(33, 104, 181, .55); }
.hy-archive-list { padding-top: 56px; }
.hy-archive-count { color: var(--hy-muted); font-weight: 400; }
.hy-page-header h1 { margin: 0; color: var(--hy-ink); font-size: 36px; line-height: 1.3; }
.hy-pagination { display: flex; justify-content: center; margin-top: 36px; }
.hy-pagination .pagebar { display: flex; flex-wrap: wrap; gap: 7px; }
.hy-pagination a, .hy-pagination span { min-width: 34px; padding: 5px 10px; text-align: center; border: 1px solid var(--hy-line); border-radius: 5px; background: var(--hy-surface); }

.hy-read-progress { position: fixed; top: 0; left: 0; z-index: 80; width: 100%; height: 3px; pointer-events: none; background: transparent; }
.hy-read-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #2168b5, #8ee6eb); transition: width .08s linear; }
.hy-article { padding: 42px 0 82px; }
.hy-article-shell, .hy-page-shell { max-width: 900px; }
.hy-article-header { padding-bottom: 26px; border-bottom: 1px solid var(--hy-line); }
.hy-article-cat { display: inline-flex; color: var(--hy-accent); font-weight: 700; font-size: 14px; }
.hy-article-header h1 { margin: 12px 0 14px; color: var(--hy-ink); font-size: 36px; line-height: 1.35; }
.hy-article-lead { max-width: 40em; margin: 0 0 16px; color: #c5d8f0; font-size: 17px; line-height: 1.7; }
.hy-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--hy-muted); font-size: 14px; }
.hy-copy-link { margin-left: 4px; min-height: 28px; padding: 2px 10px; border: 1px solid rgba(79, 133, 190, .55); border-radius: 999px; color: #cfe3ff; background: rgba(8, 43, 91, .55); font-size: 12px; font-weight: 600; cursor: pointer; }
.hy-copy-link:hover, .hy-copy-link.is-copied { border-color: #8ee6eb; color: #8ee6eb; }
.hy-toc { margin: 0 0 28px; padding: 18px 20px; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: #0b2344; }
.hy-toc-title { margin: 0 0 12px; color: #8ee6eb; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hy-toc ol { margin: 0; padding-left: 1.2em; }
.hy-toc li { margin: 6px 0; color: #c5d8f0; font-size: 14px; line-height: 1.5; }
.hy-toc a { color: #dce9fa; text-decoration: none; }
.hy-toc a:hover { color: #8ee6eb; }
.article-main h2[id] { scroll-margin-top: 88px; }
.hy-article-cover { margin: 28px 0 30px; overflow: hidden; border-radius: var(--hy-radius); background: #0a2142; box-shadow: 0 12px 36px rgba(3, 12, 28, .35); }
.hy-article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hy-article-layout { position: relative; }
.article-main { min-width: 0; padding-top: 30px; color: #d8e6f8; font-size: 17px; line-height: 1.85; }
.article-main h2, .article-main h3 { margin-top: 38px; color: var(--hy-ink); line-height: 1.4; }
.article-main h2 { font-size: 26px; padding-bottom: 8px; border-bottom: 1px solid rgba(79, 133, 190, .28); }
.article-main h3 { font-size: 21px; }
.article-main p, .article-main li { overflow-wrap: break-word; }
.article-main p + p { margin-top: 1.05em; }
.article-main ul, .article-main ol { padding-left: 1.35em; }
.article-main li + li { margin-top: .45em; }
.article-main a { color: var(--hy-accent); text-decoration: underline; text-underline-offset: 2px; }
.article-main a:hover { color: #8ee6eb; }
.article-main img { display: block; max-width: 100%; height: auto; margin: 22px auto; border-radius: var(--hy-radius); }
.article-main pre, .hy-prompt { position: relative; overflow: auto; padding: 18px; padding-top: 42px; color: #d8e7fa; background: #082b5b; border-radius: 6px; border: 1px solid #2b5688; white-space: pre-wrap; }
.article-main pre[style] { background: #082b5b !important; color: #d8e7fa !important; }
.hy-copy-prompt { position: absolute; top: 10px; right: 10px; min-height: 30px; padding: 4px 10px; border: 1px solid #4f85be; border-radius: 5px; color: #e5f0ff; background: rgba(7, 26, 54, .82); font-size: 12px; font-weight: 700; cursor: pointer; }
.hy-copy-prompt:hover { border-color: #8ee6eb; color: #8ee6eb; }
.hy-copy-prompt.is-copied { border-color: #8ee6eb; color: #8ee6eb; }
.article-main blockquote { margin: 22px 0; padding: 12px 18px; color: #d5e4f7; border-left: 4px solid var(--hy-accent); background: #0b2344; border-radius: 0 6px 6px 0; }
.article-main strong { color: #edf5ff; }
/* Content structure: steps / tips / prompt / callout (edit in article HTML or editor) */
.article-main .hy-steps,
.article-main ol.hy-steps { margin: 24px 0; padding: 18px 18px 18px 42px; border: 1px solid rgba(79, 133, 190, .35); border-radius: var(--hy-radius); background: #0a1f3d; counter-reset: hy-step; list-style: none; }
.article-main .hy-steps > li,
.article-main ol.hy-steps > li { position: relative; margin: 0 0 14px; padding-left: 8px; color: #d8e6f8; }
.article-main .hy-steps > li:last-child,
.article-main ol.hy-steps > li:last-child { margin-bottom: 0; }
.article-main .hy-steps > li::before,
.article-main ol.hy-steps > li::before { counter-increment: hy-step; content: counter(hy-step); position: absolute; left: -30px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #2168b5; color: #fff; font-size: 12px; font-weight: 700; line-height: 24px; text-align: center; }
.article-main .hy-tip,
.article-main .hy-note,
.article-main .hy-callout { margin: 22px 0; padding: 16px 18px; border-radius: var(--hy-radius); border: 1px solid rgba(142, 230, 235, .35); background: rgba(8, 43, 91, .55); color: #dce9fa; }
.article-main .hy-tip::before,
.article-main .hy-note::before { content: "提示"; display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(142, 230, 235, .18); color: #8ee6eb; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.article-main .hy-callout::before { content: "说明"; display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(33, 104, 181, .35); color: #9ec5f5; font-size: 12px; font-weight: 700; }
.article-main .hy-prompt,
.article-main .hy-prompt-box { position: relative; margin: 22px 0; padding: 18px; padding-top: 42px; color: #d8e7fa; background: #082b5b; border-radius: 6px; border: 1px solid #2b5688; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.65; }
.article-main .hy-prompt::before,
.article-main .hy-prompt-box::before { content: "可复制提示词"; position: absolute; top: 10px; left: 14px; color: #8ee6eb; font-size: 12px; font-weight: 700; font-family: inherit; }
.article-main .hy-checklist { margin: 20px 0; padding: 16px 18px; border-radius: var(--hy-radius); background: #0b2344; border: 1px solid var(--hy-line); }
.article-main .hy-checklist li { list-style: none; position: relative; padding-left: 22px; margin: 8px 0; }
.article-main .hy-checklist li::before { content: "✓"; position: absolute; left: 0; color: #8ee6eb; font-weight: 700; }
.article-main table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 15px; }
.article-main th, .article-main td { padding: 10px 12px; border: 1px solid var(--hy-line); text-align: left; }
.article-main th { background: #0b2344; color: #edf5ff; }
.article-main hr { margin: 36px 0; border: 0; border-top: 1px solid var(--hy-line); }
.hy-article-source-note { margin-top: 34px; padding: 18px 20px; border-top: 1px solid rgba(79, 133, 190, .36); border-bottom: 1px solid rgba(79, 133, 190, .22); color: #b9cee8; background: rgba(8, 43, 91, .28); font-size: 13px; line-height: 1.75; }
.hy-article-source-note p { margin: 0; }
.hy-article-source-note p + p { margin-top: 6px; color: #9eb9d7; }
.hy-article-source-note span { margin: 0 7px; color: #6e96c2; }
.hy-article-origin { color: #9fd7f2; font-weight: 650; }
.hy-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--hy-line); }
.hy-tags b, .hy-tags a { padding: 4px 9px; border-radius: 5px; font-size: 13px; }
.hy-tags b { color: var(--hy-muted); font-weight: 600; }
.hy-tags a { color: #cfe3ff; background: #103969; }
.hy-tags a:hover { background: #2168b5; color: #fff; }
.hy-article-cta { margin-top: 42px; padding: 28px 26px; border: 1px solid rgba(79, 133, 190, .45); border-radius: var(--hy-radius); background: linear-gradient(145deg, #0b2344 0%, #0a1c38 100%); box-shadow: 0 10px 28px rgba(3, 12, 28, .25); }
.hy-article-cta h2 { margin: 0 0 10px; color: var(--hy-ink); font-size: 24px; }
.hy-article-cta > p:not(.hy-kicker) { margin: 0; color: var(--hy-muted); max-width: 36em; }
.hy-article-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hy-related { margin-top: 58px; padding-top: 32px; border-top: 1px solid var(--hy-line); }
.hy-related-heading { margin-bottom: 22px; }
.hy-related h2 { margin: 0 0 8px; color: var(--hy-ink); font-size: 24px; }
.hy-article-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.hy-article-navigation a { display: grid; min-width: 0; gap: 5px; padding: 16px; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: var(--hy-surface); transition: border-color .2s ease, transform .2s ease; }
.hy-article-navigation a:hover { border-color: #4f85be; transform: translateY(-2px); }
.hy-article-nav-next { text-align: right; }
.hy-article-nav-empty { min-height: 1px; }
.hy-article-navigation small { color: var(--hy-muted); }
.hy-article-navigation b { overflow: hidden; color: #cfe3ff; text-overflow: ellipsis; white-space: nowrap; }
.hy-post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: var(--hy-surface); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hy-post-card:hover { border-color: #4f85be; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(3, 12, 28, .28); }
.hy-post-image { display: block; overflow: hidden; background: #0a2142; }
.hy-post-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.hy-post-card:hover .hy-post-image img { transform: scale(1.04); }
.hy-post-card-body { display: grid; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.hy-post-category { color: var(--hy-accent); font-size: 13px; font-weight: 700; }
.hy-post-card-body h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.hy-post-card-body h3 a { color: var(--hy-ink); }
.hy-post-card-body h3 a:hover { color: #8ee6eb; }
.hy-post-card-body > p { margin: 0; color: var(--hy-muted); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hy-post-card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--hy-muted); font-size: 12px; }
.hy-post-card-more { margin-top: auto; color: #8ee6eb; font-size: 13px; font-weight: 700; }

.hy-page { padding: 42px 0 82px; }
.hy-page-about { padding: 0 0 82px; }
.hy-page-banner { position: relative; overflow: hidden; min-height: 300px; color: #edf5ff; background-color: #06172f; background-image: var(--hy-page-banner); background-position: center; background-size: cover; }
.hy-page-banner-shade { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(5, 20, 45, .82) 0%, rgba(7, 26, 54, .62) 55%, rgba(8, 43, 91, .72) 100%); }
.hy-page-banner-inner { position: relative; z-index: 1; display: grid; gap: 16px; padding: 52px 0 58px; text-align: center; }
.hy-page-banner-copy { max-width: 720px; margin: 0 auto; }
.hy-page-banner .hy-kicker { color: #8ee6eb; }
.hy-page-banner h1 { margin: 0; color: #ffffff; font-size: 40px; line-height: 1.25; font-weight: 800; }
.hy-page-banner-lead { max-width: 560px; margin: 14px auto 0; color: #dce9fa; font-size: 17px; }
.hy-about-page { display: grid; gap: 56px; padding-top: 48px; }
.hy-about-page-hero { padding: 0; background: transparent; }
.hy-about-hero-actions { margin-top: 22px; }
.hy-about-channels { display: grid; gap: 28px; }
.hy-about-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hy-about-channel-card { display: grid; gap: 10px; align-content: start; min-height: 100%; padding: 22px; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: var(--hy-surface); transition: border-color .2s ease, transform .2s ease; }
.hy-about-channel-card:hover { border-color: #4f85be; transform: translateY(-3px); }
.hy-about-channel-card h3 { margin: 0; color: var(--hy-ink); font-size: 20px; }
.hy-about-channel-card p { margin: 0; color: var(--hy-muted); font-size: 14px; }
.hy-about-channel-card .hy-text-link { margin-top: 6px; }
.hy-about-body .hy-section-heading { margin-bottom: 20px; }
.hy-about-rich .hy-about-sections { display: grid; gap: 18px; }
.hy-about-rich .hy-about-section,
.hy-page-content .hy-about-section { padding: 22px 24px; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: #0b2344; }
.hy-about-rich .hy-about-section h2,
.hy-page-content .hy-about-section h2 { margin: 0 0 12px; color: var(--hy-ink); font-size: 22px; }
.hy-about-rich .hy-about-section p,
.hy-about-rich .hy-about-section li { color: #d8e6f8; }
.hy-about-rich .hy-about-actions,
.hy-page-content .hy-about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hy-about-rich .hy-about-actions a,
.hy-page-content .hy-about-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 18px; border: 1px solid #2168b5; border-radius: 6px; color: #ffffff; background: #2168b5; font-weight: 700; text-decoration: none; }
.hy-about-rich .hy-about-actions a:last-child,
.hy-page-content .hy-about-actions a:last-child { color: #edf5ff; background: transparent; border-color: rgba(229, 240, 255, .55); }
.hy-about-rich .hy-about-actions a:last-child:hover,
.hy-page-content .hy-about-actions a:last-child:hover { color: #8ee6eb; border-color: #8ee6eb; }
.hy-page-header { padding: 14px 0 30px; border-bottom: 1px solid var(--hy-line); }
.hy-page-header > p:last-child { max-width: 660px; margin-bottom: 0; color: var(--hy-muted); }
.hy-page-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.hy-page-path > div { padding: 22px; background: var(--hy-surface); border: 1px solid var(--hy-line); border-radius: var(--hy-radius); }
.hy-page-path b { color: var(--hy-accent); font-size: 13px; letter-spacing: .04em; }
.hy-page-path h2 { margin: 8px 0; color: var(--hy-ink); font-size: 19px; }
.hy-page-path p { margin: 0; color: var(--hy-muted); font-size: 14px; }
.hy-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hy-create-disclaimer, .hy-muted { margin-top: 18px; color: var(--hy-muted); font-size: 14px; }
.hy-create-disclaimer a { color: var(--hy-accent); font-weight: 700; }
.hy-footer-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hy-footer-links a { color: #b9cee8; font-size: 14px; }
.hy-footer-links a:hover { color: var(--hy-accent); }
.hy-not-found { padding: 115px 0; text-align: center; }
.hy-not-found h1 { margin: 0; color: var(--hy-ink); font-size: 38px; }
.hy-not-found p:not(.hy-kicker) { max-width: 560px; margin: 18px auto 28px; color: var(--hy-muted); }

.hy-site-footer { color: #d8e7fa; background: #05142b; }
.hy-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 55px; padding: 52px 0 38px; }
.hy-footer-brand { color: #ffffff; font-size: 20px; font-weight: 800; }
.hy-footer-grid p { color: #b9cee8; }
.hy-footer-grid h2 { margin: 0 0 13px; color: #ffffff; font-size: 15px; }
.hy-footer-grid section:nth-child(2) { display: grid; align-content: start; gap: 8px; }
.hy-footer-grid section:nth-child(2) a { color: #b9cee8; font-size: 14px; }
.hy-contact p { display: flex; gap: 11px; margin: 8px 0; font-size: 14px; }
.hy-contact b { min-width: 36px; color: #88d9d6; }
.hy-contact a { overflow-wrap: anywhere; }
.hy-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #315882; color: #9eb9d7; font-size: 13px; }
.hy-footer-bottom p { margin: 0; }
.hy-back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 40px; height: 40px; border: 0; border-radius: 6px; color: #ffffff; background: var(--hy-primary); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.hy-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
[data-hy-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease; }
[data-hy-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  body { font-size: 15px; }
  .hy-shell { width: min(calc(100% - 28px), var(--hy-shell)); }
  .hy-header-inner { min-height: 62px; flex-wrap: wrap; }
  .hy-nav-toggle { display: block; margin-left: auto; }
  .hy-search { order: 3; width: 100%; margin: 0 0 10px; }
  .hy-search input { flex: 1; width: auto; }
  .hy-main-nav { position: absolute; top: 62px; left: 0; right: 0; display: none; padding: 12px 14px 18px; border-bottom: 1px solid var(--hy-line); background: #0a2142; box-shadow: 0 8px 18px #041226; }
  .hy-main-nav.is-open { display: grid; gap: 3px; }
  .hy-main-nav a { padding: 9px 5px; }
  .hy-main-nav .hy-nav-action { display: inline-flex; width: fit-content; margin-top: 5px; }
  .hy-hero-cta .hy-button { width: 100%; }
  .hy-article-cta-actions .hy-button, .hy-page-actions .hy-button { width: 100%; }
  .hy-about-layout { grid-template-columns: 1fr; gap: 25px; }
  .hy-hero-track, .hy-hero-content { min-height: 390px; }
  .hy-hero h1, .hy-hero h2 { font-size: 30px; }
  .hy-hero-text { font-size: 16px; }
  .hy-hero-controls { grid-template-columns: 1fr; gap: 14px; padding-bottom: 18px; }
  .hy-carousel-arrow { width: 38px; height: 38px; font-size: 28px; }
  .hy-carousel-arrow-previous { left: 12px; }
  .hy-carousel-arrow-next { right: 12px; }
  .hy-carousel-progress { display: none; }
  .hy-section { padding: 54px 0; }
  .hy-section-heading h2, .hy-about-band h2 { font-size: 25px; }
  .hy-heading-row { align-items: start; flex-direction: column; }
  .hy-starter-grid, .hy-post-grid, .hy-post-grid-compact, .hy-contact-cards, .hy-page-path, .hy-about-channel-grid { grid-template-columns: 1fr; }
  .hy-about-media { min-height: 260px; }
  .hy-archive-banner-inner, .hy-page-banner-inner { padding: 42px 0 48px; }
  .hy-archive-banner h1, .hy-page-banner h1, .hy-page-header h1, .hy-article-header h1 { font-size: 29px; }
  .hy-archive-banner { min-height: 280px; }
  .hy-about-page { gap: 36px; padding-top: 32px; }
  .hy-article { padding: 28px 0 56px; }
  .article-main { font-size: 16px; }
  .article-main h2 { font-size: 23px; }
  .hy-article-navigation { grid-template-columns: 1fr; }
  .hy-article-navigation a:last-child { text-align: left; }
  .hy-footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 42px 0 30px; }
  .hy-footer-bottom { align-items: start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-hy-reveal] { opacity: 1; transform: none; }
}

/* ===== 灵感广场（独立页，非文章列表） ===== */
.hy-inspire-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background: #0b1f3a center/cover no-repeat;
  background-image: linear-gradient(120deg, rgba(8,24,48,.88), rgba(12,40,72,.72)), var(--hy-inspire-banner);
  color: #fff;
}
.hy-inspire-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,18,36,.25), rgba(6,18,36,.55));
  pointer-events: none;
}
.hy-inspire-banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 0 56px;
}
.hy-inspire-banner-copy h1 {
  margin: 8px 0 12px;
  font-size: 36px;
  line-height: 1.25;
  color: #fff;
}
.hy-inspire-lead {
  max-width: 640px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
}
.hy-inspire-banner-actions { margin-top: 18px; }
.hy-inspire-plaza { padding-top: 36px; }
.hy-inspire-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
.hy-inspire-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--hy-border, #d7e0ec);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  background: #fff;
}
.hy-inspire-search:focus {
  outline: 2px solid rgba(37,99,235,.35);
  border-color: #2563eb;
}
.hy-inspire-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hy-inspire-chip {
  border: 1px solid var(--hy-border, #d7e0ec);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: .15s ease;
}
.hy-inspire-chip:hover { border-color: #93c5fd; color: #1d4ed8; }
.hy-inspire-chip.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}
.hy-inspire-count {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}
.hy-inspire-empty {
  text-align: center;
  padding: 48px 16px;
  color: #64748b;
}
.hy-inspire-modal[hidden] { display: none !important; }
.hy-inspire-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hy-inspire-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, .72);
}
.hy-inspire-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.hy-inspire-modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.hy-inspire-modal-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}
.hy-inspire-modal-media {
  background: #0f172a;
  min-height: 280px;
}
.hy-inspire-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.hy-inspire-modal-copy { padding: 28px 28px 24px; }
.hy-inspire-modal-type {
  margin: 0 0 8px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
}
.hy-inspire-modal-copy h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.35;
  color: #0f172a;
}
.hy-inspire-modal-desc {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.7;
}
.hy-inspire-modal-prompt-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}
.hy-inspire-modal-prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  color: #64748b;
}
.hy-inspire-copy {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
}
.hy-inspire-copy.is-copied {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.hy-inspire-modal-prompt {
  margin: 0;
  padding: 14px 16px 16px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.7;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.hy-inspire-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
body.hy-inspire-modal-open { overflow: hidden; }
.hy-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;
}
@media (max-width: 860px) {
  .hy-inspire-modal-layout { grid-template-columns: 1fr; }
  .hy-inspire-banner-copy h1 { font-size: 28px; }
  .hy-inspire-modal-copy { padding: 20px 18px 18px; }
}

/* 灵感广场：左分类卡 + 右侧错落图墙 */
.hy-inspire-plaza {
  padding: 28px 0 56px;
}
.hy-inspire-layout {
  display: grid;
  width: min(calc(100% - 64px), 1420px);
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 28px 22px;
  align-items: start;
}
.hy-inspire-sidebar {
  position: sticky;
  top: 88px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-left: -24px;
  text-align: left;
  justify-self: start;
}
.hy-inspire-sidebar-head {
  background: transparent;
  padding: 0;
  margin: 0 0 12px;
}
.hy-inspire-sidebar .hy-kicker {
  color: #fff;
  text-shadow: 0 1px 12px rgba(1, 10, 26, .45);
}
.hy-inspire-sidebar-head h1 {
  margin: 6px 0 10px;
  font-size: 26px;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 14px rgba(1, 10, 26, .48);
}
.hy-inspire-sidebar-intro,
.hy-inspire-sidebar-head > p:last-child {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #fff;
  text-shadow: 0 1px 12px rgba(1, 10, 26, .42);
}
.hy-inspire-search-wrap {
  display: block;
  margin-bottom: 14px;
}
.hy-inspire-search {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border: 1px solid #d8bf88;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  background: rgba(255, 253, 246, .76);
  color: #493820;
  margin-bottom: 0;
}
.hy-inspire-search:focus {
  outline: 2px solid rgba(182, 132, 46, .28);
  border-color: #b6842e;
  background: #fffdf6;
}
/* 分类保留轻微错落，但底色和文字对比保持清晰。 */
.hy-inspire-type-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 6px;
  margin-top: 4px;
  max-width: 100%;
  padding: 14px 12px 16px;
  border: 1px solid #eadab7;
  border-radius: 18px 8px 18px 8px;
  background: #f7edcf;
  box-shadow: 0 10px 22px rgba(92, 66, 24, .08);
}
.hy-inspire-type-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid #d8bf88;
  background: rgba(255, 253, 246, .62) !important;
  box-shadow: none;
  color: #493820;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
/* 错落不规则：奇偶 / n 项微调尺寸与位移 */
.hy-inspire-type-btn:nth-child(3n) {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 12.5px;
  transform: translateY(2px);
}
.hy-inspire-type-btn:nth-child(4n) {
  min-width: 58px;
  padding: 7px 11px;
  transform: translateY(-1px);
}
.hy-inspire-type-btn:nth-child(5n) {
  min-height: 40px;
  padding: 9px 16px;
}
.hy-inspire-type-btn em {
  display: none;
}
.hy-inspire-type-btn:hover {
  border-color: #b6842e;
  color: #382711;
  background: rgba(255, 255, 255, .9) !important;
}
.hy-inspire-type-btn.is-active {
  background: #d7ad63 !important;
  border-color: #c38f3e;
  border-width: 2px;
  color: #382711;
  font-weight: 600;
}
.hy-inspire-type-btn.is-active:hover {
  background: #d7ad63 !important;
  color: #382711;
}
.hy-inspire-main-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hy-inspire-main-header h2 {
  margin: 0;
  font-size: 22px;
  color: #fff;
}
.hy-inspire-main-header p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}
.hy-inspire-grid {
  column-width: 260px;
  column-count: auto;
  column-gap: 16px;
}
.hy-inspire-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hy-inspire-card:hover,
.hy-inspire-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: none;
  outline: none;
}
/* 不裁剪原图：每六张形成一次不同宽度和对齐方式的节奏，后续新增卡片自动套用。 */
.hy-inspire-card:nth-child(6n + 2) {
  width: 92%;
  margin-left: 8%;
  margin-top: 18px;
}
.hy-inspire-card:nth-child(6n + 3) {
  width: 96%;
  margin-left: 2%;
  margin-top: 34px;
}
.hy-inspire-card:nth-child(6n + 4) {
  width: 88%;
  margin-left: 6%;
  margin-top: 48px;
}
.hy-inspire-card:nth-child(6n) {
  width: 94%;
  margin-left: 3%;
  margin-top: 22px;
}
.hy-inspire-card-media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: transparent;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
}
.hy-inspire-card:nth-child(3n + 1) .hy-inspire-card-media {
  border-radius: 24px 7px 22px 10px;
}
.hy-inspire-card:nth-child(3n + 2) .hy-inspire-card-media {
  border-radius: 8px 26px 9px 22px;
}
.hy-inspire-card:nth-child(3n) .hy-inspire-card-media {
  border-radius: 18px 10px 28px 6px;
}
.hy-inspire-card-media picture {
  display: block;
}
.hy-inspire-card-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}
.hy-inspire-card:hover .hy-inspire-card-media img {
  transform: scale(1.035);
}
.hy-inspire-card-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  font-size: 11px;
  backdrop-filter: blur(4px);
}

/* 弹层 */
.hy-inspire-modal[hidden] { display: none !important; }
.hy-inspire-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hy-inspire-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, .72);
}
.hy-inspire-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.hy-inspire-modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.hy-inspire-modal-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}
.hy-inspire-modal-media {
  background: #0f172a;
  min-height: 280px;
}
.hy-inspire-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.hy-inspire-modal-copy { padding: 28px 28px 24px; }
.hy-inspire-modal-type {
  margin: 0 0 8px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
}
.hy-inspire-modal-copy h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  color: #0f172a;
}
.hy-inspire-modal-desc {
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.7;
}
.hy-inspire-modal-model {
  margin: 0 0 14px;
  font-size: 13px;
  color: #64748b;
}
.hy-inspire-modal-model::before {
  content: "适用模型：";
  color: #94a3b8;
}
.hy-inspire-modal-prompt-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}
.hy-inspire-modal-prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  color: #64748b;
}
.hy-inspire-copy {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
}
.hy-inspire-copy.is-copied {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.hy-inspire-modal-prompt {
  margin: 0;
  padding: 14px 16px 16px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.7;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.hy-inspire-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
body.hy-inspire-modal-open { overflow: hidden; }
@media (max-width: 960px) {
  .hy-inspire-layout {
    width: min(calc(100% - 40px), var(--hy-shell));
    grid-template-columns: 1fr;
  }
  .hy-inspire-sidebar {
    position: static;
    margin-left: 0;
  }
  .hy-inspire-grid {
    column-count: 2;
    column-width: auto;
  }
  .hy-inspire-modal-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hy-inspire-layout {
    width: min(calc(100% - 28px), var(--hy-shell));
  }
  .hy-inspire-grid {
    column-count: 1;
    column-width: auto;
  }
  .hy-inspire-card-media {
    height: auto;
  }
  .hy-inspire-card {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }
  /* Match the desktop nth-child specificity so all future cards reset. */
  .hy-inspire-card:nth-child(n) {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }
}
