
body {
    margin: 0;
    background: #fffdf7;
    color: #111;
    font-weight: 100;
    font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  }
  
  .doc-page {
    font-weight: 100;
    display: flex;
    width: 100%;
  }
  .doc-sidebar {
    width: 260px;
    min-width: 260px;
    height: 100vh;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.7);
    border-right: 1px solid #f0e7b7;
    backdrop-filter: blur(12px);
    padding: 22px 18px;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.04);
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  
  .brand__ico {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
  }
  
  .brand__txt {
    display: grid;
    line-height: 1.1;
  }
  
  .brand__txt b {
    color: #111;
    font-weight: 800;
    letter-spacing: 0.2px;
  }
  
  .brand__txt span {
    color: #999;
    font-size: 12px;
  }
  .doc-menu {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    position: relative;
  }
  
  .doc-menu button {
    all: unset;
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    color: #555;
    font-weight: 100;
    cursor: pointer;
    user-select: none;
    position: relative;
    background: transparent;
    overflow: hidden;
    transition: color 0.4s ease, transform 0.25s ease, background 0.4s ease, box-shadow 0.4s ease;
  }
  .doc-menu button:hover {
    color: #111;
    transform: translateX(4px);
  }
  .doc-menu button.is-active {
    color: #111;
    background: linear-gradient(90deg, #fff6c5, #f3c800);
    box-shadow: 0 0 14px rgba(243, 200, 0, 0.35);
  }
  .doc-menu button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.65), transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
    animation: docGlow 3s ease-in-out infinite;
    animation-play-state: paused;
  }
  .doc-menu button.is-active::after {
    opacity: 0.3;
    animation-play-state: running;
  }
  @keyframes docGlow {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.05); opacity: 0.35; }
  }
  .doc-menu__indicator {
    position: absolute;
    left: -6px;
    top: 0;
    width: 3px;
    height: 36px;
    border-radius: 3px;
    background: linear-gradient(180deg, #fff6c5, #f3c800);
    box-shadow: 0 8px 18px rgba(243, 200, 0, 0.45);
    opacity: 0;
    transform: translateY(0);
    transition:
      transform 0.55s cubic-bezier(.22, .61, .36, 1),
      height 0.35s ease,
      opacity 0.45s ease;
  }
  .doc-menu__indicator.is-on {
    opacity: 1;
  }
  
  .doc-main {
    flex: 1;
    max-width: 920px;
    margin: 0 auto;
    padding: 36px 24px 72px;
  }
  
  .doc-block {
    font-weight: 100;
    position: relative;
    background: #ffffff;
    border: 1px solid #f0e7b7;
    padding: 26px 22px;
    border-radius: 18px;
    margin: 18px 0 26px;
    box-shadow: 0 6px 28px rgba(243, 200, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }
  
  .doc-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(243, 200, 0, 0.14);
    background: #fffef1;
  }
  
  .doc-block h1 {
    font-weight: 100;
    margin: 0 0 10px;
    font-size: 28px;
    letter-spacing: 0.2px;
    color: #111;
  }
  
  .doc-block h2 {
    font-weight: 100;
    margin: 0 0 10px;
    font-size: 22px;
    color: #f3c800;
    letter-spacing: 0.3px;
  }
  
  .doc-block p {
    margin: 8px 0 0;
    color: #444;
  }
  
  .codebox {
    position: relative;
    margin: 10px 0 0;
  }
  
  .codebox pre {
    margin: 0;
    padding: 14px;
    background: #fffbe0;
    border: 1px solid #f0e7b7;
    border-radius: 12px;
    color: #222;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    overflow: auto;
  }
  
  .codebox .copy {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 8px;
    color: #111;
    font-weight: 400;
    background: linear-gradient(135deg, #fff4b7, #f3c800);
    box-shadow: 0 10px 24px rgba(243, 200, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }
  
  .codebox .copy:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(243, 200, 0, 0.32);
  }
  
  .codebox .copy.is-ok {
    background: #14b86a;
    color: #fff;
    box-shadow: 0 10px 28px rgba(20, 184, 106, 0.35);
  }
  
  .api-card {
    margin: 14px 0 16px;
    padding: 14px;
    border-radius: 14px;
    background: #fffdf2;
    border: 1px solid #f0e7b7;
    box-shadow: 0 6px 16px rgba(243, 200, 0, 0.06);
  }
  
  .api-head {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .api-head svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }
  
  .api-card h3 {
    margin: 0;
    font-weight: 300;
    color: #111;
    font-size: 18px;
  }
  
  .api-card p {
    margin: 8px 0;
    color: #444;
  }
  
  details {
    background: #fffef3;
    border: 1px solid #f0e7b7;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 10px 0;
    box-shadow: 0 2px 10px rgba(243, 200, 0, 0.06);
    transition: all 0.25s ease;
  }
  
  details[open] {
    background: #fffde0;
    box-shadow: 0 6px 16px rgba(243, 200, 0, 0.1);
  }
  
  summary {
    cursor: pointer;
    color: #f3c800;
    font-weight: 200;
  }
  
  details p {
    color: #333;
    margin: 8px 0 0;
  }
  
  .doc-footer {
    text-align: center;
    color: #777;
    margin: 24px 0 0;
    font-size: 14px;
  }
  
  .fadein {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.6s ease forwards;
  }
  svg{
    height: 25px;
  }
  ul{
    list-style: none;
  }
  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 1040px) {
    .doc-sidebar {
      display: none;
    }
    .doc-main {
      max-width: 820px;
      padding: 26px 18px 64px;
    }
  }
  