:root {
  color-scheme: light;
  --eb-wash: #EBEFFF;
  --eb-page: #f8faff;
  --eb-surface: #fff;
  --eb-glass: #f8faffeb;
  --eb-text: #14203a;
  --eb-muted: #465775;
  --eb-line: #d4def1;
  --eb-blue: #165dff;
  --eb-blue-hover: #1048ce;
  --eb-accent: #1949b8;
  --eb-shadow: 0 10px 30px #223f7910;
  --eb-gutter: clamp(16px, 4vw, 32px);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --eb-wash: #192643;
  --eb-page: #101827;
  --eb-surface: #172238;
  --eb-glass: #101827e8;
  --eb-text: #edf3ff;
  --eb-muted: #b9c8df;
  --eb-line: #364866;
  --eb-accent: #adc5ff;
  --eb-shadow: 0 10px 30px #0003;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  background: var(--eb-page);
  color: var(--eb-text);
  font: clamp(.95rem, .92rem + .18vw, 1.06rem)/1.7
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.eb-menu-visible { overflow: hidden; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 1.55rem + 2.3vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2.2rem); }
h3 { font-size: 1.08rem; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--eb-accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.eb-shell { width: min(1180px, calc(100% - var(--eb-gutter) * 2)); margin-inline: auto; }
.eb-section { padding-block: clamp(40px, 6.5vw, 76px); }
.eb-section-head { max-width: 44rem; margin-bottom: 22px; }
.eb-section-head > p, .eb-download > p { margin-top: 8px; }
.eb-muted { color: var(--eb-muted); }
.eb-panel { border: 1px solid var(--eb-line); background: var(--eb-surface); box-shadow: var(--eb-shadow); }
.eb-empty { padding: 24px; }
.eb-empty > p { margin-top: 8px; }
.eb-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 22px; }

.eb-button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: 8px 16px; border: 1px solid var(--eb-line); background: var(--eb-surface);
  color: var(--eb-text); font-size: .9rem; font-weight: 700; text-align: center;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.eb-primary { border-color: var(--eb-blue); background: var(--eb-blue); color: #fff; }
.eb-white { border-color: #ccd9f2; background: #fff; color: #1949b8; }
.eb-button:disabled { color: var(--eb-muted); cursor: default; }
.eb-icon-button { width: 44px; min-height: 44px; padding: 0; }
.eb-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.eb-skip { position: fixed; z-index: 40; top: 8px; left: 8px; transform: translateY(-160%); }
.eb-skip:focus { transform: none; }

.eb-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; background: var(--eb-page); }
.eb-header.is-scrolled {
  border-color: var(--eb-line); background: var(--eb-glass);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.eb-nav-row { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 16px; }
.eb-brand { display: flex; flex: none; align-items: center; gap: 9px; color: var(--eb-accent); font-size: 1.24rem; font-weight: 800; }
.eb-mark { display: grid; width: 34px; height: 34px; place-items: center; background: var(--eb-blue); color: #fff; font-size: .75rem; }
.eb-tools { display: flex; flex: none; gap: 8px; }
.eb-nav-desktop {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center;
  gap: 5px clamp(10px, 1.8vw, 24px); padding-block: 8px; color: var(--eb-muted); font-size: .88rem;
}
.eb-nav-desktop a { white-space: nowrap; }
.eb-nav-desktop a[aria-current], .eb-nav-mobile a[aria-current] { color: var(--eb-accent); font-weight: 750; }
.eb-menu-toggle, .eb-sun { display: none; }
[data-theme="dark"] .eb-moon { display: none; }
[data-theme="dark"] .eb-sun { display: block; }

.eb-drawer:not([open]) { display: none; }
.eb-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); height: 100%;
  max-width: none; max-height: none; margin: 0; padding: 18px;
  border: 0; border-left: 1px solid var(--eb-line); background: var(--eb-surface);
  color: var(--eb-text); overflow: auto; overscroll-behavior: contain;
}
.eb-drawer[open] { animation: eb-drawer-in .22s ease-out; }
.eb-drawer::backdrop { background: #0e18346b; }
@keyframes eb-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.eb-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.eb-nav-mobile { display: grid; gap: 4px; }
.eb-nav-mobile a { display: block; padding: 10px 12px; }

.eb-hero-band { border-bottom: 1px solid var(--eb-line); background: linear-gradient(140deg, var(--eb-wash), var(--eb-page)); }
.eb-hero {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center; gap: clamp(24px, 5vw, 64px); padding-block: clamp(42px, 8vw, 98px);
}
.eb-hero h1 { max-width: 13ch; margin-bottom: 16px; font-size: clamp(2.2rem, 1.6rem + 3vw, 4.35rem); letter-spacing: -.035em; }
.eb-hero-copy > p { max-width: 36rem; }
.eb-preview { margin: 0; min-width: 0; padding: 12px; }
.eb-preview figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 0 2px 10px; color: var(--eb-muted); font-size: .8rem; }
.eb-preview img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: contain; border: 1px solid var(--eb-line); background: var(--eb-wash); }

.eb-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eb-feature { padding: clamp(18px, 2.7vw, 28px); }
.eb-feature h3 { margin-bottom: 6px; }
.eb-feature-mark, .eb-step {
  display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid var(--eb-line);
  background: var(--eb-wash); color: var(--eb-accent); font-size: .8rem; font-weight: 750;
}
.eb-feature-mark { margin-bottom: 12px; }
.eb-feature, .eb-post-card { transition: transform .2s ease, box-shadow .2s ease; }

.eb-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.eb-main-column { min-width: 0; }
.eb-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.eb-with-sidebar .eb-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eb-post-card { min-width: 0; overflow: hidden; }
.eb-thumb { display: block; aspect-ratio: 8 / 5; background: var(--eb-wash); }
.eb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eb-card-body { padding: 17px; }
.eb-card-title { margin: 8px 0; font-size: 1.17rem; }
.eb-card-body p { overflow-wrap: anywhere; }
.eb-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: var(--eb-muted); font-size: .84rem; }
.eb-meta a { color: var(--eb-accent); }
.eb-sidebar { display: none; }
.eb-widget { padding: 17px; }
.eb-widget h2 { margin-bottom: 10px; font-size: 1.04rem; }
.eb-widget ul { margin: 0; padding: 0; list-style: none; }
.eb-widget li + li { margin-top: 5px; }
.eb-widget a { overflow-wrap: anywhere; }
.eb-widget input:not([type="hidden"]), .eb-widget button {
  max-width: 100%; min-height: 36px; padding: 5px 8px;
  border: 1px solid var(--eb-line); background: var(--eb-page); color: var(--eb-text);
}

.eb-guide-band { border-block: 1px solid var(--eb-line); background: var(--eb-wash); }
.eb-timeline { max-width: 50rem; margin: 0; padding: 0; list-style: none; }
.eb-timeline li { position: relative; min-height: 40px; padding: 0 0 22px 54px; }
.eb-timeline li:last-child { padding-bottom: 0; }
.eb-timeline li:not(:last-child)::before {
  content: ""; position: absolute; top: 39px; bottom: 0; left: 19px; border-left: 1px solid var(--eb-line);
}
.eb-timeline p { margin-top: 5px; }
.eb-step { position: absolute; inset: 0 auto auto 0; background: var(--eb-surface); }
.eb-faq { display: grid; gap: 10px; max-width: 54rem; }
.eb-faq details { border: 1px solid var(--eb-line); background: var(--eb-surface); }
.eb-faq summary { padding: 13px 16px; font-weight: 700; cursor: pointer; }
.eb-faq details[open] summary { color: var(--eb-accent); }
.eb-faq details p { padding: 0 16px 15px; color: var(--eb-muted); }
.eb-download-section { padding-top: 0; }
.eb-download { padding: clamp(20px, 4.5vw, 42px); }

.eb-article { min-width: 0; padding: clamp(18px, 4vw, 42px); }
.eb-article-header { margin-bottom: 25px; padding-bottom: 18px; border-bottom: 1px solid var(--eb-line); }
.eb-article-header h1 { margin-bottom: 12px; }
.eb-prose { min-width: 0; line-height: 1.85; overflow-wrap: anywhere; }
.eb-prose > :first-child { margin-top: 0; }
.eb-prose p, .eb-prose figure, .eb-prose ul, .eb-prose ol, .eb-prose pre { margin-block: .9em; }
.eb-prose h2, .eb-prose h3, .eb-prose h4 { margin: 1.4em 0 .55em; }
.eb-prose ul, .eb-prose ol { padding-inline-start: 1.5rem; }
.eb-prose a { color: var(--eb-accent); text-decoration: underline; text-underline-offset: .16em; }
.eb-prose img, .eb-prose video, .eb-prose iframe { max-width: 100% !important; }
.eb-prose img { height: auto !important; }
.eb-prose figure { max-width: 100% !important; }
.eb-prose figcaption { color: var(--eb-muted); font-size: .85rem; }
.eb-prose blockquote { margin: 1em 0; padding: 10px 14px; border-left: 3px solid var(--eb-accent); background: var(--eb-wash); }
.eb-prose pre { max-width: 100%; overflow: auto; padding: 14px; background: var(--eb-wash); font-size: .88rem; }
.eb-prose pre code { white-space: pre; }
.eb-prose table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.eb-prose th, .eb-prose td { padding: 8px 10px; border: 1px solid var(--eb-line); text-align: start; }
.eb-prose hr { margin: 1.35em 0; border: 0; border-top: 1px solid var(--eb-line); }

.eb-pagination, .eb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.eb-pagination a, .eb-pagination span, .eb-tags a { display: block; padding: 6px 11px; border: 1px solid var(--eb-line); background: var(--eb-surface); font-size: .9rem; }
.eb-pagination [aria-current] { border-color: var(--eb-blue); background: var(--eb-blue); color: #fff; font-weight: 700; }
.eb-adjacent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.eb-adjacent a { padding: 14px; overflow-wrap: anywhere; }
.eb-adjacent small { display: block; color: var(--eb-muted); }

.eb-footer { padding-block: 26px; border-top: 1px solid var(--eb-line); color: var(--eb-muted); font-size: .88rem; }
.eb-footer-row, .eb-footer-links, .eb-footer-friends ul { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.eb-footer-row { justify-content: space-between; align-items: flex-start; }
.eb-footer-friends { margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--eb-line); }
.eb-footer-friends h2 { margin-bottom: 8px; color: var(--eb-text); font-size: 1rem; }
.eb-footer-friends ul { margin: 0; padding: 0; list-style: none; }

@media (hover: hover) {
  .eb-nav-desktop a:hover, .eb-widget a:hover, .eb-footer a:hover, .eb-post-card h2 a:hover { color: var(--eb-accent); }
  .eb-nav-mobile a:hover, .eb-icon-button:hover { background: var(--eb-wash); }
  .eb-button:not(:disabled):hover { transform: translateY(-1px); }
  .eb-primary:hover { border-color: var(--eb-blue-hover); background: var(--eb-blue-hover); }
  .eb-white:hover { background: #eef3ff; }
  .eb-feature:hover, .eb-post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px #183c7e22; }
}

@media (min-width: 1024px) {
  .eb-layout.eb-with-sidebar { grid-template-columns: minmax(0, 1fr) minmax(210px, 250px); }
  .eb-sidebar { display: grid; gap: 13px; min-width: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .eb-features, .eb-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 74px; }
  .eb-nav-row { min-height: 60px; }
  .eb-nav-desktop { display: none; }
  .eb-menu-toggle { display: inline-flex; }
  .eb-hero, .eb-features, .eb-post-grid, .eb-with-sidebar .eb-post-grid, .eb-adjacent {
    grid-template-columns: minmax(0, 1fr);
  }
  .eb-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .eb-hero-actions .eb-primary {
    width: calc(100% + var(--eb-gutter) * 2); max-width: none;
    margin-inline: calc(0px - var(--eb-gutter));
  }
  .eb-hero-actions .eb-primary:focus-visible { outline-offset: -5px; }
  .eb-download .eb-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .eb-feature:hover, .eb-post-card:hover, .eb-button:not(.eb-skip):hover { transform: none; }
}

.eb-hero h1 span{display:block;color:var(--eb-accent)}
.eb-mark img{display:block;width:100%;height:100%;object-fit:contain}

.eb-shell{width:min(1120px,calc(100% - var(--eb-gutter) * 2))}.eb-hero h1{max-width:none}.eb-preview img{aspect-ratio:16/9}.eb-mark{background:transparent}
