:root {
  --bg: #0f1117;
  --panel: #171a23;
  --panel-soft: #1f2430;
  --text: #f4f6fb;
  --muted: #aab3c5;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #ff6b35;
  --accent-soft: rgba(255, 107, 53, 0.16);
  --ok: #55d6a5;
  --warn: #ffcf66;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 53, 0.18), transparent 28rem),
    linear-gradient(135deg, #10131a 0%, #151922 48%, #0e1016 100%);
}

body.cover-active {
  overflow: hidden;
}

.cover-page {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 48px);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 53, 0.18), transparent 28rem),
    linear-gradient(135deg, #10131a 0%, #151922 48%, #0e1016 100%);
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cover-page.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-content {
  width: min(1440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vh, 32px);
}

.cover-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: 0.06em;
  animation: cover-title-flash 1.6s ease-in-out 1.9s infinite;
}

.cover-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  background: linear-gradient(180deg, #ffcf66 0%, #ff7a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cover-letter-in 0.45s cubic-bezier(0.2, 0.7, 0.3, 1.25) forwards;
}

.cover-title span:nth-child(1) { animation-delay: 0.20s; }
.cover-title span:nth-child(2) { animation-delay: 0.32s; }
.cover-title span:nth-child(3) { animation-delay: 0.44s; }
.cover-title span:nth-child(4) { animation-delay: 0.56s; }
.cover-title span:nth-child(5) { animation-delay: 0.68s; }
.cover-title span:nth-child(6) { animation-delay: 0.80s; }
.cover-title span:nth-child(7) { animation-delay: 0.92s; }
.cover-title span:nth-child(8) { animation-delay: 1.04s; }
.cover-title span:nth-child(9) { animation-delay: 1.16s; }

@keyframes cover-letter-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cover-title-flash {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(255, 122, 61, 0));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 122, 61, 0.75));
  }
}

.cover-subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: cover-subtitle-in 0.6s ease 1.7s forwards;
}

@keyframes cover-subtitle-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cover-video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #080a0f;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cover-video video {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #080a0f;
}

.cover-enter-btn {
  padding: 14px 48px;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a3d, #d7471d);
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.32);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cover-enter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 107, 53, 0.42);
}

.cover-enter-btn:active {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(32px, calc((100% - 1880px) / 2));
  background: rgba(15, 17, 23, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #ff7a3d, #d7471d);
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.32);
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-subtitle,
.topbar-meta {
  color: var(--muted);
  font-size: 12px;
}

.topbar-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.topbar-menu-link {
  padding: 9px 16px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.topbar-menu-link:hover,
.topbar-menu-link.active {
  color: var(--text);
  border-color: rgba(255, 107, 53, 0.35);
  background: var(--accent-soft);
}

.manual-guide-active {
  overflow-x: hidden;
}

.manual-guide-backdrop[hidden],
.manual-guide-spotlight[hidden],
.manual-guide-tooltip[hidden] {
  display: none;
}

.manual-guide-backdrop {
  position: fixed;
  inset: 0;
  z-index: 899;
  background: transparent;
}

.manual-guide-spotlight {
  position: fixed;
  z-index: 900;
  border: 2px solid rgba(255, 107, 53, 0.96);
  border-radius: 16px;
  box-shadow:
    0 0 0 9999px rgba(0, 0, 0, 0.72),
    0 0 30px rgba(255, 107, 53, 0.5);
  pointer-events: none;
  transition: all 0.18s ease;
}

.manual-guide-tooltip {
  position: fixed;
  z-index: 901;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(255, 107, 53, 0.42);
  border-radius: 18px;
  background: rgba(23, 26, 35, 0.96);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
}

.manual-guide-title {
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.manual-guide-message {
  margin: 0;
  color: rgba(244, 246, 251, 0.86);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.manual-guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.manual-guide-counter {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.manual-guide-next {
  min-width: 92px;
  height: 36px;
  padding: 0 16px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(255, 107, 53, 0.56);
  border-radius: 999px;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.22);
}

.manual-guide-next:hover {
  filter: brightness(1.08);
}

.topbar-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0;
  max-width: 1880px;
  margin: 0 auto;
}

.layout[hidden] {
  display: none !important;
}

.sidebar {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(15, 17, 23, 0.36);
  overflow-y: auto;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  display: block;
  padding: 11px 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active,
.nav-link.active:hover {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(255, 107, 53, 0.35);
}

.content {
  min-width: 0;
  padding: 28px clamp(18px, 2.2vw, 36px) 64px;
}

.quick-use-panel {
  max-width: 1880px;
  margin: 0 auto;
  padding: 28px clamp(18px, 2.2vw, 36px) 64px;
}

.quick-use-content {
  max-width: 1180px;
  margin: 0 auto;
}

.quick-use-steps {
  display: grid;
  gap: 18px;
}

.quick-use-step {
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(23, 26, 35, 0.78);
  box-shadow: var(--shadow);
}

.quick-use-step-heading,
.quick-use-substep-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-use-step-heading {
  margin-bottom: 18px;
}

.quick-use-step-heading h2,
.quick-use-substep-heading h3 {
  margin: 0;
}

.quick-use-number,
.quick-use-substep-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--accent);
}

.quick-use-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.quick-use-substeps {
  display: grid;
  gap: 14px;
}

.quick-use-substep {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.quick-use-substep-heading {
  align-items: flex-start;
}

.quick-use-substep-number {
  min-width: 48px;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 9px;
  font-size: 13px;
}

.quick-use-image-placeholder {
  --quick-use-gallery-padding: 14px;
  --quick-use-gallery-max-image-height: calc(clamp(240px, 58vh, 680px) - var(--quick-use-gallery-padding) - var(--quick-use-gallery-padding));
  position: relative;
  min-height: 220px;
  height: clamp(240px, 58vh, 680px);
  display: grid;
  place-items: center;
  margin: 14px 0 0;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  color: var(--muted);
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 0 12px, rgba(255, 255, 255, 0.018) 12px 24px),
    rgba(8, 10, 15, 0.48);
  overflow: hidden;
}

.quick-use-image-placeholder > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--quick-use-gallery-max-image-height);
  object-fit: contain;
}

.quick-use-gallery {
  display: block;
}

.quick-use-gallery-viewport {
  position: relative;
  width: 100%;
  height: 100%;
}

.quick-use-gallery-slide {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  display: none;
  place-items: center;
  padding: var(--quick-use-gallery-padding);
}

.quick-use-gallery-slide.active {
  display: grid;
}

.quick-use-gallery-slide::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: gallery-spin 0.8s linear infinite;
  pointer-events: none;
}

.quick-use-gallery-slide.loaded::after {
  display: none;
}

.quick-use-gallery-slide img,
.quick-use-gallery-slide video {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.quick-use-gallery-slide img.loaded,
.quick-use-gallery-slide video.loaded {
  opacity: 1;
}

@keyframes gallery-spin {
  to {
    transform: rotate(360deg);
  }
}

.quick-use-gallery-slide img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  max-width: 100%;
  max-height: var(--quick-use-gallery-max-image-height);
  border-radius: 12px;
  justify-self: center;
  align-self: center;
}

.quick-use-gallery-slide video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--quick-use-gallery-max-image-height);
  border-radius: 12px;
  background: #080a0f;
  justify-self: center;
  align-self: center;
}

.quick-use-gallery-image {
  cursor: zoom-in;
}

.quick-use-gallery-empty {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.quick-use-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 17, 23, 0.72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
  transition: all 0.18s ease;
}

.quick-use-gallery-nav:hover:not(:disabled) {
  color: #fff;
  border-color: rgba(255, 107, 53, 0.45);
  background: rgba(255, 107, 53, 0.82);
}

.quick-use-gallery-nav:disabled {
  opacity: 0.36;
  cursor: default;
}

.quick-use-gallery-prev {
  left: 14px;
}

.quick-use-gallery-next {
  right: 14px;
}

.quick-use-gallery-nav[hidden],
.quick-use-gallery-index[hidden] {
  display: none;
}

.quick-use-gallery-index {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 32px);
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(15, 17, 23, 0.76);
  transform: translateX(-50%);
  overflow-x: auto;
}

.quick-use-gallery-index-button {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.quick-use-gallery-index-button.active {
  color: #fff;
  border-color: rgba(255, 107, 53, 0.42);
  background: var(--accent);
}

body.quick-use-lightbox-open {
  overflow: hidden;
}

.quick-use-lightbox[hidden] {
  display: none;
}

.quick-use-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(4px);
}

.quick-use-lightbox-content {
  position: relative;
  display: flex;
  max-width: 96vw;
  max-height: 94vh;
  min-width: 120px;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.quick-use-lightbox-content::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: gallery-spin 0.8s linear infinite;
  pointer-events: none;
}

.quick-use-lightbox-content.loaded::after {
  display: none;
}

.quick-use-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: calc(94vh - 54px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.quick-use-lightbox-content.loaded .quick-use-lightbox-image {
  opacity: 1;
}

.quick-use-lightbox-caption {
  max-width: min(96vw, 980px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.quick-use-lightbox-close {
  position: fixed;
  top: clamp(14px, 2.6vw, 34px);
  right: clamp(14px, 2.6vw, 34px);
  z-index: 1001;
  width: 44px;
  height: 44px;
  color: #fff;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 17, 23, 0.78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.quick-use-lightbox-close:hover {
  border-color: rgba(255, 107, 53, 0.5);
  background: rgba(255, 107, 53, 0.86);
}

.table-guide-col {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

.table-guide-btn {
  padding: 6px 14px;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 999px;
  background: var(--accent-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}

.table-guide-btn:hover {
  color: #fff;
  border-color: rgba(255, 107, 53, 0.5);
  background: var(--accent);
}

.table-guide-modal[hidden] {
  display: none;
}

.table-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.table-guide-dialog {
  width: min(1120px, 94vw);
  height: min(840px, 88vh);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(23, 26, 35, 0.98);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.table-guide-title {
  font-size: 20px;
  font-weight: 800;
}

.table-guide-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--text);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.table-guide-close:hover {
  color: #fff;
  border-color: rgba(255, 107, 53, 0.45);
  background: var(--accent);
}

.table-guide-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.table-guide-dialog .quick-use-image-placeholder {
  flex: 1 1 auto;
  min-height: 260px;
  height: auto;
  margin: 0;
}

.section {
  scroll-margin-top: 92px;
  margin: 0 0 28px;
  padding: clamp(22px, 2.8vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(23, 26, 35, 0.78);
  box-shadow: var(--shadow);
}

.hero-section {
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

p,
li,
td,
th,
summary {
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  max-width: 1120px;
  font-size: 17px;
}

.hero-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.info-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-card,
.info-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-card strong,
.info-card h3 {
  display: block;
  color: var(--text);
}

.hero-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.screenshot-card {
  position: relative;
  min-height: 260px;
  margin: 28px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.screenshot-card img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 16px;
  background: #080a0f;
}

.screenshot-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.screenshot-card.missing-image::before {
  content: "截图待补充";
  position: absolute;
  inset: 12px 12px 42px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 22px;
  font-weight: 800;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.035) 0 12px, rgba(255,255,255,0.015) 12px 24px);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.steps.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  background: var(--accent);
}

.feature-list {
  margin: 0;
  padding-left: 1.2em;
}

.feature-list li {
  margin: 8px 0;
}

strong {
  color: var(--text);
}

code {
  padding: 2px 6px;
  color: #ffd2bf;
  border: 1px solid rgba(255, 107, 53, 0.22);
  border-radius: 7px;
  background: rgba(255, 107, 53, 0.12);
  font-family: Consolas, "Cascadia Mono", monospace;
}

.note,
.warning {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.7;
}

.note {
  color: #c8f7e1;
  border: 1px solid rgba(85, 214, 165, 0.26);
  background: rgba(85, 214, 165, 0.1);
}

.warning {
  color: #ffe6a8;
  border: 1px solid rgba(255, 207, 102, 0.28);
  background: rgba(255, 207, 102, 0.1);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th:first-child,
td:first-child {
  min-width: 120px;
  white-space: nowrap;
}

th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr.row-group-0 td {
  background: rgba(255, 255, 255, 0.04);
}

tbody tr.row-group-1 td {
  background: rgba(255, 107, 53, 0.07);
}

tbody tr.row-group-2 td {
  background: rgba(88, 166, 255, 0.07);
}

tbody tr.row-group-3 td {
  background: rgba(63, 185, 80, 0.07);
}

tbody tr.row-group-4 td {
  background: rgba(207, 102, 255, 0.07);
}

tbody tr.row-group-5 td {
  background: rgba(255, 207, 102, 0.08);
}

details {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 980px) {
  .topbar {
    position: static;
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .topbar-menu {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .topbar-menu-link {
    flex: 0 0 auto;
  }

  .quick-use-image-placeholder {
    --quick-use-gallery-padding: 10px;
    --quick-use-gallery-max-image-height: calc(clamp(180px, 46vh, 420px) - var(--quick-use-gallery-padding) - var(--quick-use-gallery-padding));
    height: clamp(180px, 46vh, 420px);
  }

  .quick-use-gallery-slide {
    padding: var(--quick-use-gallery-padding);
  }

  .quick-use-gallery-nav {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-grid,
  .info-grid,
  .info-grid.two-col,
  .steps.compact {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 20px 16px 48px;
  }
}
