﻿    :root {
      --app-bg: #060A12;
      --surface: #0F1522;
      --surface-2: #121B2B;
      --line: #263349;
      --text: #EAF1FF;
      --muted: #9AA9C3;
      --accent: #DA8B12;
      --focus: #3F8FFF;
      --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
      --ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1);
    }

    * { box-sizing: border-box; }

    html, body {
      margin: 0;
      padding: 0;
      min-height: 100%;
      color: var(--text);
      font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
      font-size: 18px;
      line-height: 1.7;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      position: relative;
      overflow-x: hidden;
      background: linear-gradient(180deg, #050912 0%, #060A12 100%);
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background: linear-gradient(165deg, #060C17 0%, #060A12 48%, #050811 100%);
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: .09;
      background-image:
        linear-gradient(to right, rgba(157, 222, 255, .30) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(157, 222, 255, .30) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: radial-gradient(circle at center, black 24%, transparent 88%);
      -webkit-mask-image: radial-gradient(circle at center, black 24%, transparent 88%);
    }

    .bg-particles {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: .68;
    }

    a {
      color: #9DDEFF;
      text-decoration-thickness: 2px;
      text-underline-offset: 3px;
    }

    a:hover { color: #C9ECFF; }

    a:focus-visible,
    button:focus-visible,
    select:focus-visible {
      outline: 3px solid var(--focus);
      outline-offset: 3px;
      border-radius: 8px;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .wrap {
      max-width: 980px;
      margin: 0 auto;
      padding: 24px 18px 44px;
      position: relative;
      z-index: 2;
    }

    header {
      border-bottom: 1px solid var(--line);
      padding-bottom: 14px;
      margin-bottom: 14px;
    }

    .brand-line {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .logo {
      width: clamp(70px, 7vw, 84px);
      height: clamp(70px, 7vw, 84px);
      object-fit: contain;
      flex: 0 0 auto;
      filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
    }

    .brand-copy {
      flex: 1 1 auto;
      min-width: 0;
    }

    .title-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    h1 {
      margin: 0;
      line-height: 1.25;
      font-size: clamp(1.45rem, 2.8vw, 2rem);
      letter-spacing: .2px;
      color: #ffffff;
    }

    .version {
      color: #ffffff;
      font-size: .95rem;
      border-bottom: 2px solid var(--accent);
      line-height: 1.2;
      padding-bottom: 1px;
      white-space: nowrap;
    }

    .subtitle {
      margin: 6px 0 0;
      color: var(--muted);
      max-width: 76ch;
    }

    .toolbar {
      margin-top: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .jump {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
    }

    .jump a {
      text-decoration: none;
      color: var(--muted);
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .94rem;
      border-bottom: 1px solid transparent;
      padding-bottom: 2px;
      transition: color .26s var(--ease-standard), border-color .26s var(--ease-standard), transform .26s var(--ease-standard);
    }

    .jump a:hover,
    .jump a:focus-visible {
      color: #ffffff;
      border-bottom-color: var(--accent);
      transform: translateY(-1px);
    }

    .jump svg {
      width: 16px;
      height: 16px;
      stroke: var(--accent);
      stroke-width: 2;
      fill: none;
      flex: 0 0 auto;
    }

    .lang-switch select {
      background: var(--surface);
      color: var(--text);
      border: 1px solid #324460;
      border-radius: 8px;
      padding: 6px 10px;
      font-size: .9rem;
      cursor: pointer;
    }

    main section {
      border-bottom: 1px solid rgba(255,255,255,.12);
      padding: 18px 0;
    }

    main section:last-of-type { border-bottom: 0; }

    h2 {
      margin: 0 0 10px;
      font-size: 1.24rem;
      color: #ffffff;
      display: inline-flex;
      align-items: center;
      gap: 9px;
    }

    h2 svg {
      width: 20px;
      height: 20px;
      stroke: var(--accent);
      stroke-width: 2;
      fill: none;
      flex: 0 0 auto;
    }

    p {
      margin: 8px 0;
      max-width: 82ch;
    }

    ol {
      margin: 0;
      padding-left: 1.2rem;
      max-width: 84ch;
    }

    li { margin: 10px 0; }

    .code {
      display: inline-block;
      font-family: Consolas, "Cascadia Mono", monospace;
      background: var(--surface-2);
      border: 1px solid #324460;
      border-radius: 8px;
      color: #E2EDFF;
      font-size: .92em;
      padding: 1px 7px;
      word-break: break-word;
    }

    pre {
      margin: 10px 0;
      padding: 12px 14px;
      border-radius: 10px;
      border: 1px solid #324460;
      background: rgba(18, 27, 43, .78);
      overflow-x: auto;
      max-width: 90ch;
    }

    pre code {
      font-family: Consolas, "Cascadia Mono", monospace;
      font-size: .92rem;
      color: #EAF1FF;
    }

    .hint {
      margin-top: 10px;
      max-width: 84ch;
      padding: 9px 0 9px 12px;
      border-left: 4px solid var(--accent);
      color: var(--text);
      background: transparent;
      border-radius: 0;
    }

    .step-screenshot-link {
      display: block;
      width: fit-content;
      margin-top: 8px;
      max-width: min(100%, 560px);
      border-radius: 10px;
      overflow: hidden;
      line-height: 0;
      text-decoration: none;
    }

    .step-screenshot {
      display: block;
      width: auto;
      max-width: 100%;
      height: auto;
      max-height: 300px;
      border-radius: inherit;
      background: transparent;
      opacity: .02;
      filter: blur(5px) saturate(.92);
      transform: scale(1.008);
      transition: transform .28s var(--ease-emphasis), filter .28s var(--ease-standard), opacity .36s var(--ease-standard);
    }

    .step-screenshot-link:hover .step-screenshot,
    .step-screenshot-link:focus-visible .step-screenshot {
      transform: translateY(-3px) scale(1.015);
      filter: brightness(1.06);
    }

    .step-screenshot.is-loaded {
      opacity: 1;
      filter: none;
      transform: none;
    }

    .step-screenshot-link:hover .step-screenshot.is-loaded,
    .step-screenshot-link:focus-visible .step-screenshot.is-loaded {
      transform: translateY(-3px) scale(1.015);
      filter: brightness(1.06);
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(4, 8, 14, 0.94);
      display: grid;
      place-items: center;
      padding: 20px;
      opacity: 0;
      backdrop-filter: blur(0px);
      transition: opacity .24s var(--ease-standard), backdrop-filter .28s var(--ease-standard);
    }

    .lightbox[hidden] {
      display: none;
    }

    .lightbox.is-open {
      opacity: 1;
      backdrop-filter: blur(5px);
    }

    .lightbox.is-closing {
      opacity: 0;
      backdrop-filter: blur(0px);
    }

    .lightbox img {
      max-width: min(96vw, 1700px);
      max-height: 92vh;
      border-radius: 10px;
      border: 1px solid #324460;
      box-shadow: 0 10px 30px rgba(0,0,0,.55);
      background: #0A111D;
      opacity: 0;
      transform: translateY(22px) scale(.955);
      transition: transform .34s var(--ease-emphasis), opacity .34s var(--ease-standard), filter .34s var(--ease-standard);
      will-change: transform, opacity;
    }

    .lightbox.is-open img {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .lightbox.is-closing img {
      opacity: 0;
      transform: translateY(10px) scale(.975);
    }

    .lang-block[hidden] { display: none !important; }

    footer {
      border-top: 1px solid var(--line);
      margin-top: 16px;
      padding-top: 12px;
      color: var(--muted);
      font-size: .92rem;
    }
    footer a { color: var(--accent); text-decoration: none; }
    footer a:hover { text-decoration: underline; }

    .heart { color: var(--accent); }

    @media (max-width: 820px) {
      html, body { font-size: 17px; }
      .title-row { align-items: flex-start; }
    }

    @media (prefers-reduced-motion: reduce) {
      * { transition: none !important; }
      html { scroll-behavior: auto; }
    }

    @media (forced-colors: active) {
      .jump a, .code, .lang-switch select { border: 1px solid CanvasText; }
      .hint { border-left-width: 4px; }
    }

