@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Shippori Mincho";
  src: url("/fonts/shippori-mincho-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --docs-primary: #ACC3A6;
  --docs-background: #fbfaf5;
  --docs-foreground: #171510;
  --docs-card: #fffdf8;
  --docs-muted: #f0ece2;
  --docs-muted-foreground: #6e675b;
  --docs-border: #d8d0bf;
  --theme-color: var(--docs-primary);
  --base-font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font-family: "Shippori Mincho", ui-serif, Georgia, serif;
  --code-font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

html,
body {
  background: var(--docs-background);
  color: var(--docs-foreground);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
}

.sidebar,
.app-nav,
.markdown-section,
.content,
body .docsify-copy-code-button {
  background: var(--docs-background);
}

.sidebar {
  border-right: 1px solid var(--docs-border);
}

.sidebar .app-name {
  margin: 0;
  padding: 1.35rem 1.5rem 1rem;
  text-align: left;
}

.sidebar .app-name a {
  display: inline-flex;
  align-items: center;
  color: var(--docs-foreground);
}

.sidebar .app-name img {
  width: 9.75rem;
  height: auto;
  margin: 0;
}


.markdown-section h1,
.markdown-section h2,
.markdown-section h3 {
  color: var(--docs-foreground);
  font-family: "Shippori Mincho", ui-serif, Georgia, serif;
  letter-spacing: -0.04em;
}

.markdown-section a,
.sidebar ul li.active > a,
.sidebar ul li a:hover,
.app-nav a:hover {
  color: var(--docs-foreground);
  text-decoration-color: var(--docs-primary);
}

.markdown-section h1 span,
.markdown-section h2 span {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(var(--docs-primary) 0 0) 0 0.18em / 100% 0.86em no-repeat;
  color: var(--docs-foreground);
  padding: 0 0.14em;
}

.markdown-section blockquote,
.markdown-section table,
.markdown-section pre,
.docsify-tabs__content,
.docsify-tabs__tab {
  border-color: var(--docs-border);
  border-radius: 1rem;
}

.markdown-section pre,
.markdown-section code {
  background: var(--docs-muted);
  color: var(--docs-foreground);
}

.markdown-section pre {
  padding: 1rem;
}

.markdown-section table {
  display: table;
  width: 100%;
  overflow: hidden;
}

.search input {
  border: 1px solid var(--docs-border);
  border-radius: 999px;
  background: var(--docs-card);
  color: var(--docs-foreground);
}

.search .matching-post {
  border-bottom-color: var(--docs-border);
}

.docsify-tabs__tab--active {
  background: var(--docs-primary);
  color: var(--docs-foreground);
}

.docsify-breadcrumb,
.docsify-breadcrumb a,
.page-actions-menu,
.page-actions-menu a {
  color: var(--docs-muted-foreground);
}

@media (max-width: 768px) {
  .content {
    padding: 0;
  }

  .app-nav {
    position: fixed;
    top: 0.75rem;
    left: 4rem;
    right: 0.75rem;
    z-index: 15;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.25rem;
    border: 1px solid var(--docs-border);
    border-radius: 999px;
    background: color-mix(in oklab, var(--docs-background) 88%, transparent);
    box-shadow: 0 10px 28px rgba(23, 21, 16, 0.08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .app-nav ul {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.15rem;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .app-nav li {
    flex: 1 1 0;
    margin: 0;
    min-width: 0;
  }

  .app-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    width: 100%;
    padding: 0 0.75rem;
    border-radius: 999px;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1;
    transition: background-color 160ms cubic-bezier(0.23, 1, 0.32, 1), color 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .app-nav a.active {
    background: color-mix(in oklab, var(--docs-primary) 42%, transparent);
    color: var(--docs-foreground);
    box-shadow: inset 0 -1px 0 color-mix(in oklab, var(--docs-foreground) 12%, transparent);
  }

  .app-nav a:active {
    transform: scale(0.97);
  }

  .sidebar-toggle {
    top: 0.75rem;
    bottom: auto;
    left: 0.75rem;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--docs-border);
    border-radius: 999px;
    background: color-mix(in oklab, var(--docs-background) 88%, transparent);
    box-shadow: 0 10px 28px rgba(23, 21, 16, 0.08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .sidebar-toggle:active {
    transform: scale(0.97);
  }

  .sidebar-toggle-button {
    width: 1rem;
    margin: 0;
  }

  .sidebar-toggle span {
    display: block;
    width: 1rem;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: var(--docs-foreground);
  }

  .markdown-section {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 6.25rem 1.25rem 3rem;
  }

  .markdown-section h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    line-height: 1.14;
  }

  .markdown-section h2 {
    margin-top: 2.5rem;
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.14;
  }

  .markdown-section p,
  .markdown-section li {
    font-size: 1rem;
    line-height: 1.72;
  }

  .markdown-section ul {
    padding-left: 1.2rem;
  }


  body.close {
    overflow: hidden;
  }

  body.close .app-nav {
    display: none !important;
  }

  body.close .content {
    transform: none !important;
  }

  body.close main::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10;
    background: rgba(23, 21, 16, 0.16);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  body.close .sidebar {
    box-shadow: 24px 0 48px rgba(23, 21, 16, 0.12);
  }

  body.close .sidebar-toggle {
    left: 15.25rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0 !important;
  }

  body.close .sidebar-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  body.close .sidebar-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.close .sidebar-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  #page-actions-menu-container {
    display: none !important;
  }
}

@media (max-width: 374px) {
  .app-nav {
    left: 3.75rem;
    right: 0.5rem;
  }

  .app-nav a {
    padding: 0 0.45rem;
    font-size: 0.8125rem;
  }
}
