/* Go-rendered data and existing application components use these adapters.
   The Zeo reference layout lives in the original component stylesheets. */
:root {
  --paper: var(--surface);
  --paper-soft: var(--surface-soft);
  --ink: var(--text);
  --ink-soft: var(--muted);
  --ink-faint: var(--muted);
  --line: var(--border);
  --blog-primary: var(--highlight);
  --blog-primary-strong: var(--highlight);
  --blog-primary-solid: var(--accent);
  --blog-primary-soft: var(--surface-soft);
  --blog-primary-border: var(--border);
  --blog-on-primary: #fff;
  --accent-deep: var(--highlight);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --control-height: 42px;
  --radius-card: 12px;
  --radius-media: 12px;
  --radius-input: 8px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --duration-fast: 160ms;
  --duration-base: 200ms;
}
.layout-zeo [hidden] { display: none !important; }
.layout-zeo .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.layout-zeo :is(a,button,input,textarea):focus-visible { outline: 2px solid var(--highlight); outline-offset: 2px; }
.zeo-brand-label { max-width: 96px; overflow: hidden; font: 900 22px/1 var(--sans); white-space: nowrap; text-overflow: ellipsis; text-align: center; }
.layout-zeo .project-menu .project-links a:not(:has(img)) { min-height: 38px; }
.layout-zeo .ambient-bg img, .layout-zeo .article-hero-glow img { width: 100%; height: 100%; object-fit: cover; }
.layout-zeo .ambient-bg { overflow: hidden; }
.layout-zeo .post-cover { background: var(--surface-soft); }
.zeo-cover-fallback {
  display: flex; height: 100%; padding: 24px 32px; align-items: end; justify-content: space-between;
  overflow: hidden; color: #fff; background: linear-gradient(135deg,#342856,#7454fc);
}
.zeo-cover-fallback small { align-self: start; letter-spacing: .15em; }
.zeo-cover-fallback strong { font-size: clamp(28px,7vw,84px); line-height: 1; opacity: .65; }
.zeo-comment-avatar {
  display: inline-grid; width: 25px; height: 25px; place-items: center; border: 2px solid var(--surface);
  border-radius: 50%; margin-right: -8px; color: #282034; background: #cfc4fe; font-size: 11px;
}
.zeo-comment-avatar:nth-child(2) { background: #f2ce84; }
.zeo-comment-avatar:nth-child(3) { background: #9fc7ed; }
.zeo-comment-avatar:nth-child(4) { background: #bfdcc5; }
.zeo-post-no-cover { height: auto; min-height: 165px; }
.zeo-empty { grid-column: 1/-1; padding: 24px; color: var(--muted); }
.zeo-widget-empty { font-size: 13px; color: var(--muted); }
.layout-zeo :is(.footer-social, .profile-social) .icon {
  width: 23px; height: 23px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.layout-zeo .site-footer-registration { display: flex; flex-wrap: wrap; gap: 8px; }
.layout-zeo .site-footer-registration img { display: none; }
.layout-zeo .footer-groups > div { min-width: 0; }
.layout-zeo .friend-grid-controls { display: flex; gap: 6px; }
.layout-zeo .friend-empty { padding: 20px; }
.layout-zeo .article-comments .comment-section { margin: 0; }
.layout-zeo .article-comments .comment-form { grid-template-columns: 1fr; }
.layout-zeo .article-comments .comment-fields input, .layout-zeo .article-comments textarea { width: 100%; }
.layout-zeo .comment-form-zeo { display: block; padding: 0; }
.layout-zeo .comment-form-zeo :is(.comment-privacy, .comment-identity, .comment-fields) { padding-inline: 18px; }
.layout-zeo .zeo-comment-email { padding: 8px 18px; color: var(--muted); font-size: 12px; }
.layout-zeo .zeo-comment-email input { width: 100%; margin-top: 6px; padding: 8px; border: 1px solid var(--border); border-radius: 8px; }
.layout-zeo .article-author-actions .zeo-like-form { display: contents; }
.layout-zeo .article-author-actions .zeo-like-form button {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; border: 1px solid var(--border);
  border-radius: 24px; color: var(--text); background: var(--surface-soft);
}
.layout-zeo .zeo-like-feedback { display: none; margin: 8px 0; color: var(--highlight); font-size: 13px; text-align: center; }
.layout-zeo .article-copyright:has(#article-like:target) .zeo-like-feedback:first-of-type,
.layout-zeo .zeo-like-feedback:target { display: block; }
.layout-zeo .article-shell .post-title { color: inherit; }
.layout-zeo .article-shell .article-content.article { min-width: 0; overflow-wrap: anywhere; }
.layout-zeo .article-shell .article-content h2::after { display: none; }
.layout-zeo .article-shell .article-content :is(h2,h3,h4) { scroll-margin-top: 72px; }
.layout-zeo .zeo-shared-page { min-height: 65vh; }
@media (max-width: 650px) {
  .zeo-brand-label { max-width: 78px; font-size: 17px; }
  .layout-zeo .friend-grid-controls { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .layout-zeo .sidebar:has(.site-info:target) { display: block; }
  .layout-zeo .sidebar:has(.site-info:target) > :not(.sticky-widgets),
  .layout-zeo .sidebar:has(.site-info:target) .sticky-widgets > :not(.site-info) { display: none; }
}

.layout-zeo .chat-intro .zeo-dialog-card-image { width: min(220px,100%); height: auto; border-radius: 8px; object-fit: contain; }
.layout-zeo .zeo-radio-page { margin-block: 32px; }
.layout-zeo .zeo-radio-page h1 { margin-bottom: 20px; }
.layout-zeo .zeo-track { display: grid; gap: 8px; padding: 20px; }
.layout-zeo .zeo-track img { width: 120px; height: 120px; border-radius: 10px; object-fit: cover; }
.layout-zeo .zeo-track audio { max-width: 100%; }
.layout-zeo .zeo-skill-tile { background: var(--surface-soft); overflow-wrap: anywhere; text-align: center; }
.layout-zeo .about-grid .zeo-custom-about-cover { background: #333442; isolation: isolate; }
.layout-zeo .zeo-custom-about-cover .zeo-about-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -1; }
