:root {
  color-scheme: light;
  --docs-ink: #142033;
  --docs-body: #334155;
  --docs-muted: #657184;
  --docs-line: #e5eaf1;
  --docs-blue: #2878f0;
  --docs-blue-soft: #edf5ff;
  --docs-surface: #ffffff;
  --docs-sidebar: #f7f9fc;
  --docs-code: #111b2a;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

html.dark {
  color-scheme: dark;
  --docs-ink: #eef4fc;
  --docs-body: #c6d2e1;
  --docs-muted: #8fa0b5;
  --docs-line: #283548;
  --docs-blue: #6aa8ff;
  --docs-blue-soft: #172a45;
  --docs-surface: #0d1522;
  --docs-sidebar: #111b2a;
  --docs-code: #08101b;
}

::view-transition-old(root),::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 9999; }
::view-transition-old(root) { z-index: 1; }
html.docs-theme-view-transitioning::view-transition-new(root) { animation: docs-theme-view-reveal .68s cubic-bezier(.22,.8,.2,1) both; }
@keyframes docs-theme-view-reveal {
  from { clip-path: circle(0 at var(--docs-theme-transition-x) var(--docs-theme-transition-y)); }
  to { clip-path: circle(var(--docs-theme-transition-radius) at var(--docs-theme-transition-x) var(--docs-theme-transition-y)); }
}
.docs-theme-transitioning,.docs-theme-transitioning *,.docs-theme-transitioning *::before,.docs-theme-transitioning *::after { transition: background-color .62s cubic-bezier(.22,.8,.2,1),color .48s ease,border-color .48s ease,box-shadow .48s ease,fill .48s ease,stroke .48s ease !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--docs-ink); background: var(--docs-surface); letter-spacing: 0; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.docs-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 260px minmax(280px, 620px) 1fr;
  align-items: center;
  gap: 28px;
  height: 68px;
  padding: 0 30px;
  border-bottom: 1px solid var(--docs-line);
  background: color-mix(in srgb, var(--docs-surface) 96%, transparent);
  backdrop-filter: blur(12px);
}

.docs-brand { display: inline-flex; min-width: 0; align-items: center; gap: 10px; text-decoration: none; }
.docs-brand img { width: 32px; height: 32px; flex: 0 0 auto; object-fit: contain; background: transparent; }
.docs-brand strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.docs-search { display: flex; height: 40px; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid #dce3ed; border-radius: 7px; background: var(--docs-sidebar); color: #7b8797; }
.dark .docs-search { border-color: var(--docs-line); }
.docs-search:focus-within { border-color: #8ab8f6; background: var(--docs-surface); box-shadow: 0 0 0 3px rgba(40,120,240,.1); }
.docs-search svg { width: 17px; height: 17px; flex: 0 0 auto; }
.docs-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--docs-ink); }
.docs-actions { display: flex; justify-self: end; align-items: center; gap: 8px; }
.icon-button,.home-link { display: inline-flex; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--docs-line); border-radius: 6px; background: var(--docs-surface); }
.icon-button { width: 38px; padding: 0; cursor: pointer; }
.icon-button svg,.home-link svg { width: 18px; height: 18px; }
.icon-button.theme-toggle { position: relative; overflow: visible; transition: transform .2s ease,border-color .2s ease,background-color .2s ease; }
.icon-button.theme-toggle:hover { transform: translateY(-1px); }
.icon-button.theme-toggle svg { transition: transform .28s ease; }
.icon-button.theme-toggle:hover svg { transform: rotate(14deg); }
.icon-button.theme-toggle.is-switching { animation: docs-theme-button-pulse .66s cubic-bezier(.22,.8,.2,1); }
.icon-button.theme-toggle.is-switching svg { animation: docs-theme-icon-orbit .66s cubic-bezier(.2,.85,.2,1); }
@keyframes docs-theme-icon-orbit {
  0% { opacity: 0; transform: rotate(-170deg) scale(.18); }
  58% { opacity: 1; transform: rotate(18deg) scale(1.24); }
  100% { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes docs-theme-button-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(40,120,240,0); }
  45% { box-shadow: 0 0 0 9px rgba(40,120,240,.16); }
}
.home-link { gap: 7px; padding: 0 12px; color: var(--docs-muted); font-size: 13px; text-decoration: none; }
.home-link:hover,.icon-button:hover { border-color: #8ab8f6; color: var(--docs-blue); }
.mobile-only,.mobile-search { display: none; }

.reading-progress { position: fixed; z-index: 34; top: 67px; right: 0; left: 0; height: 2px; pointer-events: none; }
.reading-progress i { display: block; width: 100%; height: 100%; background: var(--docs-blue); transform: scaleX(0); transform-origin: left; animation: docs-reading-progress linear; animation-timeline: scroll(root block); }
@keyframes docs-reading-progress { to { transform: scaleX(1); } }

.docs-layout { display: grid; grid-template-columns: 260px minmax(0,1fr) 220px; min-height: calc(100vh - 68px); }
.docs-sidebar { position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; padding: 26px 20px 50px; border-right: 1px solid var(--docs-line); background: var(--docs-sidebar); }
.sidebar-title,.toc-title { margin: 0 10px 16px; color: #8a95a5; font-size: 11px; font-weight: 800; }
.nav-group { margin-bottom: 24px; }
.nav-group-title { display: flex; min-height: 26px; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; padding: 0 10px; font-size: 13px; font-weight: 800; }
.nav-group a { display: block; padding: 8px 10px; border-left: 2px solid transparent; color: #607086; font-size: 13px; line-height: 1.45; text-decoration: none; }
.dark .nav-group a { color: #95a6bb; }
.nav-group a:hover { color: var(--docs-ink); background: color-mix(in srgb, var(--docs-blue-soft) 42%, transparent); }
.nav-group a.active { border-left-color: var(--docs-blue); background: var(--docs-blue-soft); color: var(--docs-blue); font-weight: 700; }
.nav-subgroup { margin: 3px 0; }
.nav-subgroup summary { display: grid; min-height: 38px; grid-template-columns:minmax(0,1fr) 16px; align-items: center; gap: 7px; padding: 7px 9px 7px 12px; border-radius: 6px; color: var(--docs-body); cursor: pointer; list-style: none; }
.nav-subgroup summary::-webkit-details-marker { display: none; }
.nav-subgroup summary:hover { background: color-mix(in srgb,var(--docs-blue-soft) 48%,transparent); color: var(--docs-ink); }
.nav-subgroup summary > svg:last-child { width: 15px; height: 15px; color: var(--docs-muted); transition: transform .18s ease; }
.nav-subgroup[open] summary { color: var(--docs-blue); font-weight: 700; }
.nav-subgroup[open] summary > svg:last-child { transform: rotate(90deg); }
.nav-subgroup-docs { margin: 2px 0 7px 9px; border-left: 1px solid var(--docs-line); }
.nav-subgroup-docs a { padding-left: 16px; font-size: 12px; }
.nav-pin { width: 13px; height: 13px; margin-right: 4px; color: #d88a16; vertical-align: -2px; }
.sidebar-empty { padding: 10px; color: var(--docs-muted); font-size: 13px; line-height: 1.7; }

.docs-main { min-width: 0; padding: 48px clamp(28px,5vw,84px) 100px; }
.docs-article,.search-results { width: min(820px,100%); margin: 0 auto; }
.docs-article { position: relative; isolation: isolate; }
.docs-article > :not(.doc-watermark) { position: relative; z-index: 1; }
.article-head { margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--docs-line); }
.article-category { margin-bottom: 12px; color: var(--docs-blue); font-size: 12px; font-weight: 800; }
.article-head h1 { margin: 0; font-size: 46px; font-weight: 760; line-height: 1.17; }
.article-summary { max-width: 65ch; margin: 14px 0 0; color: var(--docs-muted); font-size: 15px; line-height: 1.75; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: #7b8797; font-size: 12px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; }
.article-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.article-action { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid var(--docs-line); border-radius: 6px; background: var(--docs-surface); color: var(--docs-ink); cursor: pointer; }
.article-action:hover { border-color: #8ab8f6; color: var(--docs-blue); }
.article-action svg { width: 16px; height: 16px; }
.article-visual { margin: 0 0 34px; padding-bottom: 28px; border-bottom: 1px solid var(--docs-line); }
.article-visual img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: transparent; cursor: zoom-in; }

.article-body { color: var(--docs-body); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; user-select: text; }
.article-body.copy-disabled { user-select: none; }
.article-body h1 { display: none; }
.article-body h2 { margin: 2em 0 .7em; color: var(--docs-ink); font-size: 25px; line-height: 1.35; scroll-margin-top: 90px; }
.article-body h3 { margin: 1.7em 0 .55em; color: var(--docs-ink); font-size: 18px; scroll-margin-top: 90px; }
.article-body p { margin: 0 0 1.15em; }
.article-body ul,.article-body ol { padding-left: 1.45em; }
.article-body li { margin: .42em 0; }
.article-body a { color: var(--docs-blue); }
.article-body blockquote { margin: 22px 0; padding: 13px 16px; border-left: 3px solid var(--docs-blue); background: var(--docs-blue-soft); color: color-mix(in srgb,var(--docs-ink) 82%,var(--docs-muted)); }
.article-body blockquote p { margin: 0; }
.article-body pre { position: relative; margin: 22px 0; overflow: auto; padding: 17px 18px; border: 1px solid #202f42; border-radius: 7px; background: var(--docs-code); color: #e8eef8; line-height: 1.6; }
.article-body code { font-family: Consolas,"SFMono-Regular",monospace; font-size: .92em; }
.article-body :not(pre)>code { padding: 2px 5px; border-radius: 4px; background: var(--docs-blue-soft); color: var(--docs-ink); }
.article-body img { max-width: 100%; height: auto; border: 1px solid var(--docs-line); cursor: zoom-in; }
.article-body img.doc-image-loading,.article-visual img.doc-image-loading { display: block; width: 100%; min-height: clamp(150px,38vw,320px); background-color: var(--docs-sidebar); background-image: linear-gradient(105deg,transparent 30%,color-mix(in srgb,var(--docs-surface) 82%,transparent) 48%,transparent 66%); background-repeat: no-repeat; background-size: 240% 100%; opacity: .78; animation: doc-image-shimmer 1.35s ease-in-out infinite; }
.article-body img.doc-image-loaded,.article-visual img.doc-image-loaded { animation: doc-image-reveal .36s ease-out both; }
.article-body img.doc-image-error,.article-visual img.doc-image-error { min-height: 150px; background: repeating-linear-gradient(135deg,var(--docs-sidebar),var(--docs-sidebar) 12px,var(--docs-surface) 12px,var(--docs-surface) 24px); opacity: .72; cursor: default; }
@keyframes doc-image-shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@keyframes doc-image-reveal { from { opacity: .35; } to { opacity: 1; } }
.article-body table { display: block; width: 100%; margin: 22px 0; overflow-x: auto; border-collapse: collapse; }
.article-body th,.article-body td { min-width: 120px; padding: 10px 12px; border: 1px solid var(--docs-line); text-align: left; }
.article-body th { background: var(--docs-sidebar); color: var(--docs-ink); }
.article-body hr { height: 1px; margin: 30px 0; border: 0; background: var(--docs-line); }
.article-body .steam-guide-intro { margin: 22px 0 30px; padding: 20px 22px; border: 1px solid var(--docs-line); border-left: 4px solid var(--docs-blue); border-radius: 7px; background: color-mix(in srgb,var(--docs-blue-soft) 55%,var(--docs-surface)); }
.article-body .steam-guide-intro strong { display: block; margin-bottom: 6px; color: var(--docs-ink); font-size: 17px; }
.article-body .steam-guide-intro p { margin: 0; color: var(--docs-body); }
.article-body .steam-price-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 26px 0 34px; border: 1px solid var(--docs-line); border-radius: 7px; background: var(--docs-surface); }
.article-body .steam-price-stat { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--docs-line); }
.article-body .steam-price-stat:last-child { border-right: 0; }
.article-body .steam-price-stat span { display: block; color: var(--docs-muted); font-size: 11px; font-weight: 750; }
.article-body .steam-price-stat strong { display: block; margin-top: 5px; color: var(--docs-ink); font-size: 21px; font-variant-numeric: tabular-nums; line-height: 1.25; }
.article-body .steam-price-stat small { display: block; margin-top: 6px; color: var(--docs-muted); font-size: 11px; line-height: 1.45; }
.article-body .steam-product-list { margin: 20px 0 34px; border-top: 1px solid var(--docs-line); }
.article-body .steam-product-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(112px,auto) 112px; align-items: center; gap: 14px; min-height: 42px; padding: 0 4px 0 60px; border-bottom: 1px solid var(--docs-line); color: var(--docs-muted); font-size: 11px; font-weight: 750; }
.article-body .steam-product-head span:nth-child(2) { text-align: right; }
.article-body .steam-product-head span:last-child { text-align: left; }
.article-body .steam-product { display: grid; grid-template-columns: 42px minmax(0,1fr) minmax(112px,auto) auto; align-items: center; gap: 14px; min-height: 86px; padding: 14px 4px; border-bottom: 1px solid var(--docs-line); }
.article-body .steam-product-index { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--docs-line); border-radius: 6px; color: var(--docs-muted); background: var(--docs-sidebar); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.article-body .steam-product-copy { min-width: 0; }
.article-body .steam-product-copy strong { display: block; color: var(--docs-ink); font-size: 15px; line-height: 1.4; }
.article-body .steam-product-copy span { display: block; margin-top: 4px; color: var(--docs-muted); font-size: 12px; line-height: 1.5; }
.article-body .steam-product-price { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 3px 7px; font-variant-numeric: tabular-nums; }
.article-body .steam-price-current { color: var(--docs-ink); font-size: 16px; font-weight: 800; white-space: nowrap; }
.article-body .steam-price-original:empty,.article-body .steam-price-discount:empty { display: none; }
.article-body .steam-price-original { color: var(--docs-muted); font-size: 11px; text-decoration: line-through; white-space: nowrap; }
.article-body .steam-price-discount { padding: 2px 5px; border-radius: 4px; color: #a82e26; background: color-mix(in srgb,#e6534b 12%,transparent); font-size: 10px; font-weight: 800; white-space: nowrap; }
.dark .article-body .steam-price-discount { color: #ffaaa4; background: color-mix(in srgb,#e6534b 18%,transparent); }
.article-body .steam-buy-link { display: inline-flex; min-height: 36px; align-items: center; justify-content: flex-start; gap: 7px; padding: 0 4px; border: 0; border-radius: 5px; color: var(--docs-blue); background: transparent; font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; transition: color .18s ease,background-color .18s ease,transform .18s ease; }
.article-body .steam-buy-link:hover { color: color-mix(in srgb,var(--docs-blue) 82%,#000); background: var(--docs-blue-soft); }
.article-body .steam-buy-link:active { transform: translateY(1px); }
.article-body .steam-buy-link svg { width: 14px; height: 14px; }
.article-body .steam-buy-link img { display: block; width: 20px; min-width: 20px; max-width: 20px; height: 20px; min-height: 20px; max-height: 20px; flex: 0 0 20px; border: 0; border-radius: 50%; background: transparent; object-fit: contain; cursor: pointer; }
.article-body .steam-product.is-loading .steam-price-current { min-width: 78px; height: 16px; overflow: hidden; border-radius: 4px; color: transparent; background: linear-gradient(100deg,var(--docs-sidebar) 20%,var(--docs-surface) 50%,var(--docs-sidebar) 80%); background-size: 220% 100%; animation: steam-price-loading 1.25s ease-in-out infinite; }
.article-body .steam-product.is-unavailable .steam-price-current { color: var(--docs-muted); font-size: 12px; font-weight: 650; }
@keyframes steam-price-loading { from { background-position: 110% 0; } to { background-position: -110% 0; } }
.doc-code-copy { position: absolute; top: 8px; right: 8px; min-width: 50px; height: 29px; border: 1px solid #344054; border-radius: 5px; background: #1d2939; color: #e7edf5; cursor: pointer; }

.doc-watermark { position: absolute; z-index: 3; inset: 0; display: grid; grid-template-columns: repeat(auto-fill,minmax(var(--doc-watermark-spacing,180px),1fr)); grid-auto-rows: calc(var(--doc-watermark-spacing,180px) * .58); align-items: center; overflow: hidden; pointer-events: none; user-select: none; }
.doc-watermark span { justify-self: center; color: var(--docs-ink); font-size: var(--doc-watermark-size,14px); font-weight: 700; white-space: nowrap; opacity: var(--doc-watermark-opacity,.08); transform: rotate(var(--doc-watermark-angle,-24deg)); }

.article-toc { position: sticky; top: 68px; height: calc(100vh - 68px); overflow: auto; padding: 34px 20px; border-left: 1px solid var(--docs-line); }
.article-toc nav a { display: block; padding: 6px 0 6px 12px; border-left: 1px solid #d9e0ea; color: #7a8798; font-size: 12px; line-height: 1.45; text-decoration: none; }
.article-toc nav a.sub { padding-left: 23px; }
.article-toc nav a:hover,.article-toc nav a.active { border-left-color: var(--docs-blue); color: var(--docs-blue); }

.search-results h1 { margin: 0 0 22px; font-size: 28px; }
.search-item { display: block; padding: 18px 2px; border-bottom: 1px solid var(--docs-line); text-decoration: none; }
.search-item:hover strong { color: var(--docs-blue); }
.search-item strong { display: block; font-size: 17px; }
.search-item p { margin: 7px 0 0; color: var(--docs-muted); font-size: 13px; line-height: 1.6; }
.search-item span { color: var(--docs-blue); font-size: 11px; }
.search-empty,.docs-empty { padding: 54px 0; color: var(--docs-muted); text-align: center; }

.related-docs { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--docs-line); }
.related-docs>header span { color: var(--docs-blue); font-size: 11px; font-weight: 800; }
.related-docs>header h2 { margin: 4px 0 18px; font-size: 25px; }
.related-docs>div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.related-docs a { display: grid; min-width: 0; align-content: start; gap: 8px; padding: 17px; border: 1px solid var(--docs-line); border-radius: 7px; background: var(--docs-surface); text-decoration: none; }
.related-docs a:hover { border-color: #8ab8f6; }
.related-docs a strong { font-size: 15px; }
.related-docs a p { margin: 0; color: var(--docs-muted); font-size: 12px; line-height: 1.65; }
.related-docs a span { color: var(--docs-blue); font-size: 10px; font-weight: 700; }

.docs-share-dialog,.doc-image-dialog { max-width: none; padding: 0; border: 1px solid var(--docs-line); border-radius: 8px; background: var(--docs-surface); color: var(--docs-ink); box-shadow: 0 24px 80px rgba(15,23,42,.24); }
.docs-share-dialog { width: min(520px,calc(100vw - 28px)); }
.docs-share-dialog::backdrop,.doc-image-dialog::backdrop { background: rgba(15,23,42,.56); backdrop-filter: blur(5px); }
.dialog-header { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--docs-line); }
.dialog-header>div { display: grid; min-width: 0; gap: 2px; }
.dialog-header span { color: var(--docs-blue); font-size: 11px; font-weight: 800; }
.dialog-header strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.share-dialog-body { display: grid; gap: 18px; padding: 22px; }
.doc-share-qr { display: grid; width: 188px; height: 188px; place-items: center; justify-self: center; padding: 12px; border: 1px solid var(--docs-line); border-radius: 7px; background: #fff; }
.doc-share-qr img,.doc-share-qr canvas { display: block; width: 164px !important; height: 164px !important; }
.doc-share-link { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.doc-share-link input { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid var(--docs-line); border-radius: 6px; background: var(--docs-sidebar); color: var(--docs-ink); }
.dialog-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 1px solid var(--docs-line); border-radius: 6px; background: var(--docs-surface); color: var(--docs-ink); font-weight: 700; cursor: pointer; }
.dialog-button.primary { border-color: var(--docs-blue); background: var(--docs-blue); color: #fff; }
.dialog-button svg { width: 16px; height: 16px; }
.share-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }

.doc-image-dialog { width: min(1200px,calc(100vw - 28px)); background: #0b1220; color: #fff; }
.doc-image-toolbar { display: flex; min-height: 52px; align-items: center; justify-content: flex-end; gap: 6px; padding: 7px 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.doc-image-toolbar button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.doc-image-toolbar button:hover { background: rgba(255,255,255,.14); }
.doc-image-toolbar svg { width: 18px; height: 18px; }
.doc-image-zoom { min-width: 52px; color: #cbd5e1; font-size: 12px; text-align: center; }
.doc-image-stage { position: relative; display: grid; min-height: min(72vh,760px); place-items: center; overflow: hidden; touch-action: none; }
.doc-image-stage img { display: block; max-width: 92%; max-height: 70vh; object-fit: contain; transform: translate(var(--image-x,0),var(--image-y,0)) scale(var(--image-scale,1)); transition: transform .16s ease; user-select: none; }
.doc-image-stage.dragging img { transition: none; }
.doc-image-watermark { position: absolute; z-index: 2; inset: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 20%; align-items: center; overflow: hidden; pointer-events: none; }
.doc-image-watermark span { justify-self: center; color: #fff; font-size: var(--doc-watermark-size,14px); font-weight: 700; white-space: nowrap; opacity: var(--doc-watermark-opacity,.1); transform: rotate(var(--doc-watermark-angle,-24deg)); }
.doc-toast { position: fixed; z-index: 10000; bottom: max(28px,env(safe-area-inset-bottom)); left: 50%; min-height: 44px; max-width: min(420px,calc(100vw - 32px)); padding: 10px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: #172033; color: #fff; box-shadow: 0 14px 38px rgba(15,23,42,.28); font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: opacity .2s ease,transform .2s ease; }
.doc-toast.is-visible { opacity: 1; transform: translate(-50%,0); }

@media (max-width:1120px) {
  .docs-layout { grid-template-columns: 240px minmax(0,1fr); }
  .article-toc { display: none; }
  .docs-header { grid-template-columns: 230px minmax(260px,1fr) auto; }
}

@media (max-width:760px) {
  .docs-header { grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; height: 60px; padding: 0 14px; }
  .docs-header>.docs-search { display: none; }
  .docs-brand strong { font-size: 14px; }
  .docs-brand img { width: 29px; height: 29px; }
  .home-link span { display: none; }
  .home-link { width: 38px; padding: 0; }
  .mobile-only { display: inline-flex; }
  .mobile-search { position: sticky; z-index: 20; top: 60px; display: block; padding: 10px 14px; border-bottom: 1px solid var(--docs-line); background: var(--docs-surface); }
  .docs-layout { display: block; min-height: calc(100vh - 120px); }
  .docs-sidebar { position: fixed; z-index: 45; top: 0; left: 0; width: min(310px,86vw); height: 100vh; padding-top: 24px; box-shadow: 22px 0 60px rgba(15,23,42,.18); transform: translateX(-102%); transition: transform .22s ease; }
  body.menu-open .docs-sidebar { transform: translateX(0); }
  .sidebar-mask { position: fixed; z-index: 40; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(15,23,42,.42); }
  .docs-main { padding: 34px 20px 80px; }
  .article-head h1 { font-size: 32px; }
  .article-meta { gap: 9px 14px; }
  .article-action { flex: 1 1 auto; justify-content: center; }
  .article-visual { margin-right: -12px; margin-left: -12px; }
  .reading-progress { top: 59px; }
  .related-docs>div { grid-template-columns: 1fr; }
  .article-body .steam-price-overview { grid-template-columns: 1fr; }
  .article-body .steam-price-stat { border-right: 0; border-bottom: 1px solid var(--docs-line); }
  .article-body .steam-price-stat:last-child { border-bottom: 0; }
  .article-body .steam-product { grid-template-columns: 38px minmax(0,1fr); gap: 8px 12px; padding: 16px 2px; }
  .article-body .steam-product-head { display: none; }
  .article-body .steam-product-price { grid-column: 2; justify-content: flex-start; }
  .article-body .steam-buy-link { grid-column: 2; justify-self: start; }
  .docs-share-dialog { width: 100%; max-height: calc(100dvh - 54px); margin: auto 0 0; border-width: 1px 0 0; border-radius: 8px 8px 0 0; }
  .doc-share-link,.share-actions { grid-template-columns: 1fr; }
  .doc-image-dialog { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .doc-image-stage { min-height: calc(100dvh - 52px); }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .article-body img.doc-image-loading,.article-visual img.doc-image-loading,.article-body img.doc-image-loaded,.article-visual img.doc-image-loaded { animation: none; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .docs-header,.mobile-search,.docs-sidebar,.article-toc,.reading-progress,.article-actions,.doc-watermark,.related-docs { display: none !important; }
  .docs-layout,.docs-main { display: block; min-height: 0; padding: 0; }
  .docs-article { width: 100%; }
  .article-body { color: #111; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(root),html.docs-theme-view-transitioning::view-transition-new(root) { animation-duration: .01ms !important; }
  .docs-theme-transitioning,.docs-theme-transitioning * { transition: none !important; }
  .icon-button.theme-toggle.is-switching,.icon-button.theme-toggle.is-switching svg { animation: none !important; }
}
