:root {
  --bg: #f6f4ee;
  --paper: #ffffff;
  --paper-soft: #fbfaf7;
  --ink: #192630;
  --ink-soft: #3d4d57;
  --muted: #62727b;
  --line: #e2e5e2;
  --line-strong: #cdd4d0;
  --accent: #c96432;
  --accent-deep: #a3481c;
  --wash: #f7eadd;
  --emerald: #1b7a56;
  --emerald-deep: #135c40;
  --emerald-bg: #ecf7f2;
  --emerald-line: #bce2d1;
  --blue: #2b677c;
  --blue-bg: #eef5f7;
  --amber-bg: #fff8e6;
  --amber-line: #f0d596;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(25, 38, 48, 0.045);
  --shadow-md: 0 12px 32px rgba(25, 38, 48, 0.085);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; height: auto; }
::selection { background: #ead0b9; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

kbd, code { overflow-wrap: anywhere; word-break: break-word; }
kbd {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid #c5cdcb;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: 700 0.86em/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
}
code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(25, 38, 48, 0.06);
  font: 0.9em/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  padding: 8px 14px;
  background: #fff;
  border-radius: 8px;
  z-index: 200;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}
.skip-link:focus { top: 10px; }

.container {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

/* --- Top Environment Notice Banner (WeChat / Mobile Reminder) --- */
.browser-notice {
  padding: 11px 0;
  background: #fff6db;
  border-bottom: 1px solid #f0cb6e;
  color: #4a3008;
  font-size: 13.5px;
  line-height: 1.55;
}
.browser-notice.notice-warning {
  background: linear-gradient(90deg, #fff5d6 0%, #ffefd0 100%);
  border-bottom-color: #efb958;
  color: #462a06;
}
.browser-notice.notice-info {
  background: #edf6f8;
  border-bottom-color: #c2dfe7;
  color: #1c414d;
}
.browser-notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.notice-main-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 740px;
}
.notice-icon { font-size: 20px; line-height: 1.3; flex-shrink: 0; }
.notice-title strong { color: var(--ink); font-weight: 800; font-size: 14px; }
.notice-desc { color: #53432c; font-size: 13px; margin-top: 2px; }
.browser-notice.notice-info .notice-desc { color: #3d5b66; }
.notice-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.notice-action-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.notice-action-btn:hover { background: var(--accent-deep); }
.notice-close-btn {
  background: transparent;
  border: none;
  color: #7c8990;
  font-size: 16px;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1;
}
.notice-close-btn:hover { color: var(--ink); background: rgba(0, 0, 0, 0.06); }

/* --- Top Dragging Visual Cue --- */
.drag-top-cue {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: linear-gradient(90deg, #166f4e 0%, #1f8a62 50%, #166f4e 100%);
  color: #fff;
  text-align: center;
  padding: 11px 16px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(19, 92, 64, 0.28);
  transform: translateY(-110%);
  transition: transform 0.18s ease;
  pointer-events: none;
}
body.is-dragging-bookmark .drag-top-cue { transform: translateY(0); }

/* --- Sticky Header & Quick Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 238, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: #f7d48a;
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(25, 38, 48, 0.16);
}
.brand-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--emerald-deep);
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-line);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4f5f67;
  font-size: 14px;
}
.site-nav a {
  padding: 7px 13px;
  border-radius: 9px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.site-nav a:hover { background: rgba(25, 38, 48, 0.05); color: var(--ink); }
.site-nav a.is-active {
  background: #fff;
  color: var(--accent-deep);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(25, 38, 48, 0.06);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-official {
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-deep);
  padding: 6px 11px;
  border-radius: 999px;
  transition: background 0.15s;
  white-space: nowrap;
}
.header-official:hover { background: var(--emerald-bg); }
.header-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
  background: #fff;
  border: 1px solid #dfcbb8;
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
.header-action:hover { border-color: var(--accent); background: var(--wash); }

.mobile-nav-strip {
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 7px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.mobile-nav-strip::-webkit-scrollbar { display: none; }
.mobile-nav-inner {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-nav-inner a {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: #526169;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.mobile-nav-inner a.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  font-weight: 700;
}

/* --- Common Labels --- */
.eyebrow {
  color: var(--accent-deep);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 0 0 18px;
}
.section-heading h2 {
  font-size: clamp(23px, 2.8vw, 29px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 5px 0 0;
}
.section-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* --- Compact Hero --- */
.hero {
  padding: 32px 0 22px;
}
.hero-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--emerald-bg);
  color: var(--emerald-deep);
  border: 1px solid var(--emerald-line);
}
.hero-pill.secondary {
  background: var(--wash);
  color: var(--accent-deep);
  border-color: #ebd0b7;
}
.hero-pill.neutral {
  background: #fff;
  color: var(--ink-soft);
  border-color: var(--line-strong);
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  max-width: 880px;
}
.hero h1 span { color: var(--emerald); }
.hero > p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
  max-width: 760px;
}

/* --- STEP 1: Core Drag Workstation --- */
.quick-install-box {
  margin: 6px 0 32px;
  background: linear-gradient(180deg, #f1faf5 0%, #ffffff 42%);
  border: 1.5px solid #addbc8;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}
.quick-install-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.quick-install-top h2 {
  font-size: clamp(22px, 2.6vw, 27px);
  line-height: 1.25;
  margin: 5px 0 6px;
  letter-spacing: -0.025em;
}
.quick-install-subtitle {
  color: var(--ink-soft);
  margin: 0;
  font-size: 14.5px;
}
.once-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--emerald-line);
  color: var(--emerald-deep);
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

.instruction-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.inst-step {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #dce7e2;
  border-radius: 14px;
  padding: 16px 18px;
}
.inst-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--emerald-bg);
  color: var(--emerald-deep);
  font-weight: 900;
  font-size: 13px;
  border: 1px solid var(--emerald-line);
}
.inst-step-body {
  font-size: 14px;
  color: #44545c;
  line-height: 1.62;
  min-width: 0;
}
.inst-step-body strong {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.os-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.os-key-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #f5f7f6;
  border: 1px solid #dfe6e3;
  font-size: 12px;
  color: #53636b;
}
.os-key-chip.is-current-os {
  background: var(--emerald-bg);
  border-color: var(--emerald-line);
  color: var(--emerald-deep);
}
.os-key-chip .os-label {
  font-weight: 700;
  margin-right: 3px;
}
.inst-highlight {
  display: inline-block;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--emerald-deep);
}

/* --- Prominent Drag Button Zone --- */
.drag-action-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 0%, #f3fbf7 0%, #ffffff 72%);
  border: 2px dashed #63bc98;
  border-radius: 18px;
  padding: 28px 20px 24px;
  margin-bottom: 18px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
body.is-dragging-bookmark .drag-action-area {
  background: #eaf9f1;
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(27, 122, 86, 0.12);
}
.drag-hint-bubble {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--emerald-deep);
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-line);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.bookmarklet-drag {
  cursor: grab;
  user-select: none;
  -webkit-user-drag: element;
  font-size: 18px;
  font-weight: 800;
  padding: 15px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #218f64 0%, #126646 100%);
  color: #fff !important;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 26px rgba(19, 102, 70, 0.34), 0 0 0 3px rgba(33, 143, 100, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
}
.bookmarklet-drag:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(19, 102, 70, 0.42), 0 0 0 5px rgba(33, 143, 100, 0.22);
}
.bookmarklet-drag:active {
  cursor: grabbing;
  transform: scale(0.98);
}
.bookmarklet-drag .drag-arrow {
  font-size: 15px;
  opacity: 0.85;
}
.drag-feedback {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 580px;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.drag-feedback.is-tip {
  background: var(--amber-bg);
  border: 1px solid var(--amber-line);
  color: #6b4608;
  font-weight: 700;
}
.drag-feedback.is-done {
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-line);
  color: var(--emerald-deep);
  font-weight: 700;
}

/* --- Collapsible Position & Menu Helper --- */
.manual-setup {
  margin: 0 0 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.manual-setup > summary {
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.15s, color 0.15s;
}
.manual-setup > summary:hover {
  background: var(--paper-soft);
  color: var(--ink);
}
.manual-setup > summary::-webkit-details-marker { display: none; }
.manual-setup > summary::after {
  content: "查看图解 ▼";
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--wash);
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.manual-setup[open] > summary {
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--ink);
}
.manual-setup[open] > summary::after { content: "收起 ▲"; }
.manual-setup-content {
  padding: 18px 20px;
}
.helper-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}
.helper-col h4 {
  margin: 0 0 8px;
  font-size: 14.5px;
  color: var(--ink);
}
.helper-col p, .helper-col ul {
  margin: 0;
  font-size: 13.5px;
  color: #4c5b63;
  line-height: 1.65;
}
.helper-col ul { padding-left: 18px; }
.helper-col li + li { margin-top: 6px; }

.browser-wireframe {
  background: #f4f7f6;
  border: 1px solid #cbd7d3;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  user-select: none;
}
.wireframe-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border-radius: 6px;
  flex-wrap: wrap;
}
.wireframe-tabs {
  padding-bottom: 4px;
  border-bottom: 1px solid #dfe7e4;
}
.wireframe-tab-pill {
  padding: 2px 9px;
  border-radius: 5px;
  font-size: 11px;
  background: #dfe7e5;
  color: #55646d;
}
.wireframe-tab-pill.active {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  border: 1px solid #c8d3d0;
}
.wireframe-url {
  background: #fff;
  border: 1px solid #b8c8c5;
  padding: 6px 10px;
  color: #3b505a;
  justify-content: space-between;
}
.wireframe-url .tag-name { font-weight: 800; color: var(--ink); }
.wireframe-url .tag-hint { font-size: 11.5px; color: #9c3838; font-weight: 600; }
.wireframe-bookmarks {
  background: var(--emerald-bg);
  border: 1.5px dashed var(--emerald);
  padding: 7px 10px;
  color: var(--emerald-deep);
  font-weight: 800;
  justify-content: space-between;
}
.wireframe-bookmarks .tag-action {
  background: var(--emerald);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* --- Browser Visual Demo Tabs & Side-by-Side Screenshots --- */
.demo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.demo-section-head h3 {
  margin: 0;
  font-size: 17px;
  color: var(--ink);
}
.demo-section-head span {
  font-size: 12.5px;
  color: var(--muted);
}

.browser-tabs {
  display: flex;
  gap: 10px;
  background: #eae6dc;
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.browser-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #5b6a72;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}
.browser-tab:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}
.browser-tab.active {
  background: #fff;
  color: var(--ink);
  border-color: #d3dcd8;
  box-shadow: 0 4px 14px rgba(25, 38, 48, 0.08);
}
.tab-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.browser-tab.active .tab-icon {
  background: var(--emerald-bg);
}
.tab-text strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--ink);
}
.tab-text small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.browser-tab.active .tab-text small {
  color: var(--emerald-deep);
  font-weight: 700;
}

.tab-panel { animation: fadeInPanel 0.2s ease-out; }
@keyframes fadeInPanel {
  from { opacity: 0.45; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demo-card {
  margin: 0;
  background: #fff;
  border: 1px solid #dce5e0;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(25, 38, 48, 0.03);
}
.demo-card-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.demo-card-caption b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-bg);
  color: var(--emerald-deep);
  font-size: 12px;
  flex-shrink: 0;
}
.demo-img-link {
  position: relative;
  display: block;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #e2e8e4;
  background: #f8faf9;
}
.demo-img-link img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.22s ease;
}
.demo-img-link:hover img {
  transform: scale(1.015);
}
.zoom-pill {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(25, 38, 48, 0.76);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* --- STEP 2: Daily Export Workflow & Panel Guide --- */
.page-section {
  padding: 14px 0 26px;
  scroll-margin-top: 90px;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.workflow-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.workflow-step-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.workflow-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 8px;
}
.workflow-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.workflow-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--emerald-deep);
}
.workflow-link:hover { text-decoration: underline; }

/* Visual Replica of the Jyeoo Export Panel + Mode Breakdown */
.export-guide-split {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}
.panel-mockup-wrap {
  background: linear-gradient(155deg, #f3f6f9 0%, #eaeff4 100%);
  border: 1px solid #d9e1ea;
  border-radius: 16px;
  padding: 16px;
}
.mockup-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: #5b6b7c;
  margin-bottom: 10px;
}
.mockup-kicker span:last-child {
  background: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #d5dde7;
}
.jye-mock-card {
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(20, 40, 68, 0.12);
  font-size: 13px;
  color: #1f2937;
  user-select: none;
}
.jye-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 15px 11px;
  border-bottom: 1px solid #eef1f5;
}
.jye-mock-head strong {
  display: block;
  font-size: 15.5px;
  color: #182635;
}
.jye-mock-head small {
  display: block;
  font-size: 11.5px;
  color: #6b7684;
  margin-top: 2px;
}
.jye-mock-close {
  color: #8b96a5;
  font-size: 18px;
  line-height: 1;
}
.jye-mock-body {
  padding: 12px 15px 14px;
}
.jye-mock-tip {
  margin: 0 0 10px;
  font-size: 12px;
  color: #586779;
}
.jye-mock-choice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid #c9daf8;
  background: #f6f9ff;
  border-radius: 8px;
  padding: 9px 10px;
}
.jye-mock-check {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #2868e8;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}
.jye-mock-choice strong {
  display: block;
  font-size: 12.5px;
  color: #233345;
}
.jye-mock-choice small {
  display: block;
  font-size: 11px;
  color: #687688;
  line-height: 1.45;
  margin-top: 2px;
}
.jye-mock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}
.jye-mock-btn {
  text-align: center;
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid #ccd5e1;
  background: #fff;
  color: #283b52;
  font-weight: 700;
  font-size: 12.5px;
}
.jye-mock-btn.primary {
  background: #2868e8;
  border-color: #2868e8;
  color: #fff;
}
.jye-mock-status {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: #11724a;
  font-weight: 600;
}

.mode-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mode-item {
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}
.mode-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mode-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--emerald-bg);
  color: var(--emerald-deep);
}
.mode-item p {
  margin: 0;
  font-size: 13.8px;
  color: #4b5a62;
  line-height: 1.68;
}
.mode-item p + p { margin-top: 6px; }

/* --- Section 3: 30-Second Key Notes --- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.card-step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--emerald-bg);
  color: var(--emerald-deep);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}
.project-grid h3 {
  font-size: 17.5px;
  line-height: 1.35;
  margin: 0 0 8px;
}
.project-grid p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.65;
}

/* --- Section 4: Troubleshooting & FAQ --- */
.faq-section {
  margin: 10px 0 52px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 90px;
  box-shadow: var(--shadow-sm);
}
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-soft);
  transition: background 0.16s, border-color 0.16s;
}
.faq-item[open] {
  background: #fff;
  border-color: #d6b08e;
  box-shadow: var(--shadow-sm);
}
.faq-item > summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "▼";
  font-size: 11px;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] > summary::after {
  transform: rotate(180deg);
  color: var(--accent-deep);
}
.faq-body {
  padding: 14px 18px 16px;
  font-size: 14px;
  color: #4d5c64;
  line-height: 1.7;
  border-top: 1px solid #efece6;
}
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ul, .faq-body ol {
  margin: 6px 0 8px;
  padding-left: 20px;
}
.faq-body li { margin-bottom: 5px; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
  font-size: 13.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--blue);
  font-weight: 700;
}
.footer-links a:hover { text-decoration: underline; }

/* --- Toast & Lightbox Modal --- */
.toast {
  position: fixed;
  z-index: 170;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 14px 34px rgba(16, 38, 46, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  font-size: 14px;
  font-weight: 600;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(15, 23, 28, 0.86);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.lightbox-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-toolbar {
  width: min(1120px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  margin-bottom: 10px;
  font-size: 13.5px;
}
.lightbox-caption {
  font-weight: 600;
  color: #e5ecef;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lightbox-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-stage {
  position: relative;
  max-width: min(1120px, 100%);
  max-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

/* --- Responsive Layout --- */
@media (max-width: 960px) {
  .site-nav, .header-official { display: none; }
  .mobile-nav-strip { display: block; }
  .export-guide-split {
    grid-template-columns: 1fr;
  }
  .panel-mockup-wrap {
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .instruction-steps,
  .demo-pair-grid,
  .workflow-grid,
  .project-grid,
  .helper-split {
    grid-template-columns: 1fr;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .header-inner { min-height: 58px; gap: 8px; }
  .brand { font-size: 16px; }
  .brand-tag { display: none; }
  .brand-mark { width: 32px; height: 32px; font-size: 17px; }
  .header-action { font-size: 12px; padding: 6px 11px; }
  .hero { padding: 22px 0 16px; }
  .hero h1 { font-size: 26px; }
  .hero > p { font-size: 14.5px; }
  .quick-install-box, .export-guide-split, .faq-section { padding: 18px 16px; }
  .browser-tabs { flex-direction: column; gap: 6px; }
  .bookmarklet-drag {
    font-size: 16px;
    padding: 13px 22px;
    width: 100%;
    justify-content: center;
  }
  .drag-hint-bubble { font-size: 12.5px; border-radius: 12px; }
  .browser-notice-content { flex-direction: column; align-items: flex-start; gap: 8px; }
  .notice-actions { width: 100%; margin-left: 0; }
  .lightbox-toolbar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
