:root {
  /* Fonts */
  --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-code: ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
  /* Font sizes */
  --size-h2: 1.875rem;
  --size-h3: 1.1875rem;
  --size-tiny: 0.8125rem;
  --size-base: 1rem;
  --size-small: 0.9375rem;
  --size-large: 1.125rem;
  --size-code: 0.875rem;
  --size-button: 0.9375rem;
  --line-heading: 1.25;
  --line-base: 1.65;
  --line-code: 1.6;
  --line-button: 1.125rem;
  /* Theme colors */
  --theme-white: #FFFFFF;
  --theme-background: #F5F6F9;
  --theme-light: #E8EBF0;
  --theme-text: #1D2330;
  --theme-muted: #5B6375;
  --theme-heading: #1D2330;
  --theme-border: #E3E6EC;
  --theme-shadow: #141821;
  --theme-code: #1E242A;
  --theme-primary: #7C3AED;
  --theme-primary-alt: #6D28D9;
  --theme-primary-text: var(--theme-white);
  --theme-secondary: #1D1F2A;
  --theme-secondary-alt: #2D2E3A;
  --theme-secondary-text: var(--theme-white);
  --theme-link: var(--theme-primary-alt);
  /* Contextual colors */
  --color-section: var(--theme-white);
  --color-background: var(--theme-background);
  --color-light: var(--theme-light);
  --color-text: var(--theme-text);
  --color-muted: var(--theme-muted);
  --color-heading: var(--theme-heading);
  --color-border: var(--theme-border);
  --color-shadow: var(--theme-shadow);
  --color-code: var(--theme-code);
  --color-link: var(--theme-link);
  --color-primary: var(--theme-primary);
  --color-primary-alt: var(--theme-primary-alt);
  --color-secondary: var(--theme-secondary);
  --color-secondary-alt: var(--theme-secondary-alt);
  /* Buttons */
  --button-border: var(--theme-primary);
  --button-base: var(--theme-primary);
  --button-text: var(--theme-primary-text);
  --button-border-active: var(--theme-primary-alt);
  --button-base-active: var(--theme-primary-alt);
  --button-text-active: var(--theme-primary-text);
  --button-border-disabled: var(--theme-border);
  --button-base-disabled: var(--theme-background);
  --button-text-disabled: var(--theme-muted);
  /* Shadows */
  --shadow-small: 0 1px 3px rgb(from var(--color-shadow) r g b / 12%);
  --shadow-regular: 0 12px 30px rgb(from var(--color-shadow) r g b / 35%);
  --shadow-large: 0 30px 70px rgb(from var(--color-shadow) r g b / 35%);
  /* Gaps */
  --gap-card: 20px;
  --gap-list: 10px;
  --gap-button: 20px;
  --gap-heading: 10px;
  --gap-content: 16px;
  --gap-contents: 24px;
  --gap-buttons: 12px;
  --gap-buttons-x: var(--gap-buttons);
  --gap-buttons-y: var(--gap-buttons);
  --gap-table: 14px;
  --gap-table-x: var(--gap-table);
  --gap-table-y: calc(var(--gap-table) - 4px);
  --gap-grid: 16px;
  --gap-grid-x: var(--gap-grid);
  --gap-grid-y: var(--gap-grid);
  --gap-section: 56px;
  --gap-section-top: var(--gap-section);
  --gap-section-bottom: var(--gap-section);
  --gap-section-inner: 64px;
  --gap-section-side: 32px;
  /* Offsets */
  --offset-scroll: calc(var(--height-header) + 16px);
  /* Heights */
  --height-button: 2.5rem;
  --height-header: 60px;
  --height-icon: 1.375rem;
  /* Widths */
  --width-icon: var(--height-icon);
  --width-item: calc(100% / var(--columns-count));
  --width-content: 860px;
  --width-contents: 680px;
  --width-fixed: 1240px;
  --width-fixed-small: 1100px;
  --width-sidebar: 220px;
  /* Columns */
  --columns-count: 4;
  /* Radii */
  --radius-small: 6px;
  --radius-regular: 10px;
  --radius-large: 16px;
  /* Masks */
  --mask-image: none;
}
@media (max-width: 64rem) {
  :root {
    --gap-section-side: 20px;
  }
}
@media (max-width: 48rem) {
  :root {
    --size-h2: 1.5625rem;
    --size-large: 1.0625rem;
    --gap-card: 12px;
    --gap-section: 40px;
    --gap-section-side: 16px;
    --height-header: 54px;
  }
}

/*! modern-normalize v0.6.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/**
Use a more readable tab size (opinionated).
*/
:root {
  -moz-tab-size: 4;
  tab-size: 4;
}

/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/*
Sections
========
*/
/**
Remove the margin in all browsers.
*/
body {
  margin: 0;
}

/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/*
Grouping content
================
*/
/**
Add the correct height in Firefox.
*/
hr {
  height: 0;
}

/*
Text-level semantics
====================
*/
/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr[title] {
  text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: Menlo, Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Forms
=====
*/
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
  /* 1 */
  text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
Correct the padding in Firefox.
*/
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

html {
  scroll-padding-top: var(--offset-scroll);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--color-section);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: var(--size-base);
  line-height: var(--line-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

.fixed {
  position: relative;
  width: 100%;
  max-width: var(--width-fixed);
  margin: 0 auto;
}

section {
  position: relative;
  padding: var(--gap-section-top) var(--gap-section-side) var(--gap-section-bottom);
  background-color: var(--color-section);
  color: var(--color-text);
}

.is_dark {
  --color-section: var(--theme-secondary);
  --color-background: rgb(from var(--theme-white) r g b / 12%);
  --color-light: rgb(from var(--theme-white) r g b / 20%);
  --color-text: rgb(from var(--theme-white) r g b / 80%);
  --color-muted: rgb(from var(--theme-white) r g b / 70%);
  --color-heading: var(--theme-white);
  --color-border: rgb(from var(--theme-white) r g b / 25%);
  --color-link: var(--theme-white);
}

.has_no_top {
  --gap-section-top: 0px;
}

img {
  max-width: 100%;
}

a {
  color: var(--color-link);
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

h1, h2, h3 {
  color: var(--color-heading);
  line-height: var(--line-heading);
}

h2 {
  font-size: var(--size-h2);
  letter-spacing: -0.01em;
}

code, kbd {
  font-family: var(--font-code);
  font-size: 0.88em;
}

:not(pre) > code {
  padding: 0.15em 0.4em;
  border-radius: var(--radius-small);
  background: var(--color-light);
  color: var(--color-heading);
  white-space: nowrap;
}
@media (max-width: 40rem) {
  :not(pre) > code {
    white-space: normal;
    overflow-wrap: break-word;
  }
}

kbd {
  display: inline-block;
  min-width: 1.8em;
  padding: 0.1em 0.45em;
  border: 1px solid var(--color-border);
  border-bottom-width: 2px;
  border-radius: var(--radius-small);
  background: var(--color-section);
  text-align: center;
}

.contents .buttons {
  justify-content: center;
}

.items {
  --width-item: calc(100% / var(--columns-count));
}
.items.carousel {
  flex-wrap: nowrap;
}
.items_1 {
  --columns-count: 1;
}
.items_2 {
  --columns-count: 2;
}
.items_3 {
  --columns-count: 3;
}
.items_4, .items_5, .items_6 {
  --columns-count: 4;
}
@media (max-width: 48rem) {
  .items_3, .items_4, .items_5, .items_6 {
    --columns-count: 2;
  }
}
@media (max-width: 30rem) {
  .items_4, .items_5, .items_6 {
    --columns-count: 1.5;
  }
}

code[class*=language-],
pre {
  color: #f8f8f2;
  background: none;
  font-size: 16px;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.4;
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* Code blocks */
pre {
  padding: 1.3em 1.5em;
  margin: 20px 0;
  overflow: auto;
  border-radius: 0.3em;
}

:not(pre) > code[class*=language-],
pre {
  background: #2c343c;
}

/* Inline code */
:not(pre) > code[class*=language-] {
  padding: 0.1em;
  border-radius: 0.3em;
  white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #9aa2ab;
}

.token.punctuation {
  color: #f8f8f2;
}

.token.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #ff4f8f;
}

.token.boolean,
.token.number {
  color: #ae81ff;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #5dd98a;
}

.token.operator,
.token.entity,
.token.url,
.style .token.string,
.token.variable {
  color: #00a6ff;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #e6db74;
}

.token.keyword {
  color: #66d9ef;
}

.token.regex,
.token.important {
  color: #fd971f;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: var(--height-button);
  padding: 0 var(--gap-button);
  margin: 0;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  background: var(--button-base);
  color: var(--button-text);
  font-family: var(--font-main);
  font-size: var(--size-button);
  font-weight: 600;
  line-height: var(--line-button);
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  cursor: pointer;
  appearance: none;
  gap: 0.5rem;
}
.button:active {
  transform: translateY(1px);
}
@media (hover: hover) {
  .button:hover {
    border-color: var(--button-border-active);
    background-color: var(--button-base-active);
    color: var(--button-text-active);
  }
}
.button_code, .button_outline {
  --button-border: var(--color-border);
  --button-base: var(--color-background);
  --button-text: var(--color-heading);
  --button-border-active: var(--color-muted);
  --button-base-active: var(--color-light);
  --button-text-active: var(--color-heading);
}

.button:disabled {
  --button-border: var(--button-border-disabled);
  --button-base: var(--button-base-disabled);
  --button-text: var(--button-text-disabled);
  --button-border-active: var(--button-border-disabled);
  --button-base-active: var(--button-base-disabled);
  --button-text-active: var(--button-text-disabled);
}

.button_code {
  --height-button: 2.125rem;
  --gap-button: 10px;
  border-radius: var(--radius-small);
  font-family: var(--font-code);
  font-size: 0.8125rem;
  font-weight: 500;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-buttons-y) var(--gap-buttons-x);
}

.contents {
  max-width: var(--width-contents);
  margin: 0 auto var(--gap-contents);
  text-align: center;
}
.contents:last-child {
  margin-bottom: 0;
}
.contents h1, .contents h2 {
  margin: 0 0 var(--gap-heading);
}

.content > * {
  margin-top: 0;
  margin-bottom: var(--gap-content);
}
.content > *:last-child {
  margin-bottom: 0;
}
.content h3 {
  margin-top: calc(2 * var(--gap-content));
  margin-bottom: var(--gap-heading);
  font-size: var(--size-h3);
}
.content ul {
  padding: 0;
  list-style: none;
}
.content ul li {
  position: relative;
  margin: 0 0 var(--gap-list);
  padding-left: 22px;
  color: var(--color-muted);
}
.content ul li:before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.7;
}
.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--size-small);
}
.content th, .content td {
  padding: var(--gap-table-y) var(--gap-table-x);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.content th {
  background: var(--color-background);
  color: var(--color-muted);
  font-size: var(--size-tiny);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.content tr:last-child td {
  border-bottom: 0;
}

.items {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  width: calc(100% + var(--gap-grid-x));
  margin: 0 calc(-1 * var(--gap-grid-x)) calc(-1 * var(--gap-grid-y)) 0;
  z-index: 2;
}

.items .item {
  display: inline-flex;
  position: relative;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
  width: calc(var(--width-item) - var(--gap-grid-x));
  margin: 0 var(--gap-grid-x) var(--gap-grid-y) 0;
}

.header_box {
  --width-logo: 190px;
  display: grid;
  position: sticky;
  top: 0;
  align-items: center;
  height: var(--height-header);
  padding: 0 var(--gap-section-side);
  border-bottom: 1px solid var(--color-border);
  background: rgb(from var(--color-section) r g b / 88%);
  backdrop-filter: saturate(1.6) blur(12px);
  z-index: 50;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
}
.header_box .logo img {
  display: block;
  border-radius: 6px;
  width: var(--width-logo);
  max-width: none;
  height: auto;
}
.header_box .menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 4px;
}
.header_box .menu a {
  display: block;
  position: relative;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--color-muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.header_box .menu a:after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-primary);
  scale: 0 1;
  transition: scale 0.2s;
}
@media (hover: hover) {
  .header_box .menu a:hover {
    background: rgb(from var(--color-primary) r g b / 8%);
    color: var(--color-heading);
  }
}
.header_box .menu .active a {
  color: var(--color-primary);
}
.header_box .menu .active a:after {
  scale: 1 1;
}
.header_box .meta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
}
.header_box .version {
  padding: 2px 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  color: var(--color-muted);
  font-size: var(--size-tiny);
  font-weight: 500;
}
.header_box .link {
  --mask-image: url('assets/ico_github.svg');
  display: flex;
  align-items: center;
  color: var(--color-heading);
  font-size: var(--size-small);
  font-weight: 500;
  text-decoration: none;
  gap: 8px;
}
.header_box .link:before {
  content: "";
  width: var(--width-icon);
  height: var(--height-icon);
  background: currentColor;
  mask: var(--mask-image) 50% 50%/contain no-repeat;
}
@media (hover: hover) {
  .header_box .link:hover {
    color: var(--color-primary-alt);
  }
}
@media (max-width: 48rem) {
  .header_box {
    --width-logo: 136px;
    gap: 16px;
  }
  .header_box .menu {
    font-size: var(--size-small);
  }
  .header_box .menu a {
    padding: 6px 10px;
  }
  .header_box .menu a:after {
    right: 10px;
    left: 10px;
  }
  .header_box .link span {
    display: none;
  }
}
@media (max-width: 30rem) {
  .header_box {
    --width-logo: 28px;
    gap: 8px;
  }
  .header_box .menu a {
    padding: 6px 8px;
  }
  .header_box .menu a:after {
    right: 8px;
    left: 8px;
  }
  .header_box .version {
    display: none;
  }
}

.hero_box {
  --color-section: var(--color-secondary-alt);
  --gap-section-top: calc(1.5 * var(--gap-section));
  --width-fixed: var(--width-fixed-small);
  overflow: hidden;
  background-image: url("assets/pattern_waves.png");
  text-align: center;
}
.hero_box:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(from var(--color-secondary) r g b / 90%), var(--color-secondary));
}
.hero_box .contents {
  max-width: none;
  margin-bottom: calc(2 * var(--gap-contents));
}
.hero_box h1 {
  max-width: 820px;
  margin: 0 auto;
}
.hero_box h1 img {
  display: block;
  width: 100%;
  height: auto;
}
.hero_box .content {
  max-width: var(--width-contents);
  margin: 28px auto 18px;
  font-size: var(--size-large);
  line-height: 1.6;
}
.hero_box .images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  gap: 8px;
}
.hero_box .better {
  max-width: 1240px;
  margin: 0 auto;
}
.hero_box .better_viewport {
  overflow: visible;
}
.hero_box .items {
  justify-content: center;
  --gap-grid-x: 24px;
}
.hero_box .item {
  width: min(720px, 76vw);
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
  opacity: 0.45;
  transition: opacity 0.4s;
}
.hero_box .item.selected {
  opacity: 1;
}
.hero_box .item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12/7;
  object-fit: cover;
}
.hero_box .better_dots {
  --button-base: var(--theme-white);
  --button-text-disabled: rgb(from var(--theme-white) r g b / 45%);
}
@media (max-width: 48rem) {
  .hero_box {
    --gap-section-top: var(--gap-section);
  }
}

.cards_box {
  --width-fixed: var(--width-fixed-small);
}
.cards_box .items {
  --gap-grid-x: var(--gap-card);
  --gap-grid-y: var(--gap-card);
}
@media (max-width: 64rem) {
  .cards_box .items {
    --columns-count: 2;
  }
}
@media (max-width: 48rem) {
  .cards_box .items {
    --columns-count: 1;
  }
}
.cards_box .item {
  color: var(--color-muted);
  font-size: var(--size-small);
}
.cards_box .item h3 {
  margin: 0 0 4px;
  font-size: var(--size-base);
}
.cards_box .text {
  margin: 0;
}

.wrapper_box {
  padding: 0 var(--gap-section-side);
}
.wrapper_box > .fixed {
  display: grid;
  grid-template-columns: var(--width-sidebar) minmax(0, 1fr);
  gap: var(--gap-section-inner);
}
.wrapper_box .sidebar {
  position: sticky;
  top: var(--height-header);
  align-self: start;
  max-height: calc(100vh - var(--height-header));
  padding: 36px 4px 36px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.wrapper_box .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wrapper_box .menu > li {
  margin-bottom: 22px;
}
.wrapper_box .menu .label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wrapper_box .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wrapper_box .sub-menu a {
  display: block;
  padding: 5px 12px;
  border-left: 2px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.90625rem;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
@media (hover: hover) {
  .wrapper_box .sub-menu a:hover {
    color: var(--color-heading);
  }
}
.wrapper_box .sub-menu .active a {
  border-color: var(--color-primary);
  background: linear-gradient(90deg, rgb(from var(--color-primary) r g b / 8%), transparent);
  color: var(--color-heading);
  font-weight: 600;
}
.wrapper_box .container {
  min-width: 0;
  max-width: var(--width-content);
  padding-bottom: 80px;
}
.wrapper_box .section {
  --gap-section-bottom: 8px;
  --gap-section-side: 0px;
}
.wrapper_box .section + .section {
  border-top: 1px solid var(--color-border);
}
.wrapper_box .section > .contents {
  max-width: none;
  margin-bottom: var(--gap-content);
  text-align: left;
}
.wrapper_box .section > .contents > .content {
  color: var(--color-muted);
  font-size: var(--size-large);
}
.wrapper_box .caption {
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary-alt);
  font-size: var(--size-tiny);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wrapper_box h2 a {
  color: inherit;
  text-decoration: none;
}
.wrapper_box h2 a:after {
  content: "#";
  margin-left: 10px;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.15s;
}
@media (hover: hover) {
  .wrapper_box h2 a:hover:after {
    opacity: 1;
  }
}
.wrapper_box .demo {
  padding: var(--gap-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-regular);
  background: var(--color-background);
}
.wrapper_box .demo > .label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--size-small);
}
.wrapper_box .demo > .label:not(:first-child) {
  margin-top: 18px;
}
.wrapper_box .demo > .content {
  padding: 24px 26px;
  border-radius: var(--radius-regular);
  background: var(--color-section);
  box-shadow: var(--shadow-small), 0 0 0 1px var(--color-border);
  line-height: 1.8;
}
.wrapper_box .demo > .content a {
  cursor: zoom-in;
}
.wrapper_box .demo > .content a[href^="#"] {
  cursor: pointer;
}
.wrapper_box .demo .demo_info {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: var(--size-tiny);
}
.wrapper_box .note {
  color: var(--color-muted);
  font-size: 0.875rem;
}
.wrapper_box .code {
  overflow: hidden;
  border-radius: var(--radius-regular);
  background: var(--color-code);
}
.wrapper_box .code pre {
  margin: 0;
  padding: 16px 20px 18px;
  border-radius: 0;
  background: transparent;
  font-size: var(--size-code);
  line-height: var(--line-code);
}
.wrapper_box .code code {
  font-size: var(--size-code);
}
.wrapper_box .code .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 6px 18px;
  background: rgb(from var(--color-shadow) r g b / 60%);
  color: rgb(from var(--theme-white) r g b / 60%);
  font-size: var(--size-tiny);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wrapper_box .code .button {
  --button-border: rgb(from var(--theme-white) r g b / 14%);
  --button-base: transparent;
  --button-text: rgb(from var(--theme-white) r g b / 75%);
  --button-border-active: rgb(from var(--theme-white) r g b / 14%);
  --button-base-active: rgb(from var(--theme-white) r g b / 8%);
  --button-text-active: var(--theme-white);
  --height-button: 1.625rem;
  --gap-button: 10px;
  border-radius: var(--radius-small);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.wrapper_box .table {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-regular);
}
.wrapper_box .table_reference td:first-child {
  white-space: nowrap;
}
.wrapper_box .table_reference td:nth-child(2) {
  color: var(--color-muted);
}
@media (max-width: 64rem) {
  .wrapper_box > .fixed {
    display: block;
  }
  .wrapper_box .sidebar {
    display: none;
  }
  .wrapper_box .container {
    margin: 0 auto;
  }
}
@media (max-width: 48rem) {
  .wrapper_box .demo > .content {
    padding: 18px;
  }
  .wrapper_box .code pre {
    padding: 14px 16px;
  }
}

.footer_box {
  padding: 36px var(--gap-section-side);
  background: var(--color-section);
  color: var(--color-muted);
  font-size: var(--size-small);
  text-align: center;
}
.footer_box .content {
  --gap-content: 6px;
}
.footer_box a {
  color: var(--color-heading);
}

.better {
  display: block;
  position: relative;
}
@media (pointer: fine) {
  .better.dragging {
    cursor: grabbing;
  }
}

.better_viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  z-index: 1;
}

:where(.better_viewport) * {
  touch-action: var(--better-touch);
}

.better_horizontal .better_viewport {
  contain: inline-size;
}

.better_horizontal .better_container {
  overflow: visible;
  --gap-grid-y: 0px;
}

.better_vertical .better_viewport {
  height: 100%;
}
.better_vertical .better_container {
  overflow: visible;
  height: calc(100% + var(--gap-grid-y, 0px));
  margin-bottom: calc(-1 * var(--gap-grid-y, 0px));
  --gap-grid-x: 0px;
}

.better_auto_height .better_viewport {
  transition: height var(--better-duration) cubic-bezier(0.25, 1, 0.5, 1);
}
.better_auto_height .better_container {
  align-items: flex-start;
}

.better_button {
  display: block;
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: var(--height-button);
  height: var(--height-button);
  padding: 0;
  border: 1px solid var(--button-border, #222);
  border-radius: var(--radius-regular, 10px);
  background-color: var(--button-base, #222);
  color: var(--button-text, #fff);
  transition: 0.2s;
  cursor: pointer;
  z-index: 5;
  --height-button: 2.5rem;
}
.better_button:focus-visible {
  outline: 2px solid var(--button-border-active, #000);
  outline-offset: 2px;
}
.better_button:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.75rem;
  margin: -0.375rem 0 0 -0.25rem;
  background-color: currentColor;
  -webkit-mask: var(--button-arrow, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='m1 1 5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E")) 50% 50% no-repeat;
  mask: var(--button-arrow, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='m1 1 5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E")) 50% 50% no-repeat;
}
@media (hover: hover) {
  .better_button:hover {
    border-color: var(--button-border-active, #000);
    background-color: var(--button-base-active, #000);
    color: var(--button-text-active, #fff);
  }
}
.better_button:disabled {
  border-color: var(--button-border-disabled, #eee);
  background-color: var(--button-base-disabled, #eee);
  color: var(--button-text-disabled, #aaa);
  cursor: default;
}

.better_prev {
  inset-inline-start: 0;
  inset-inline-end: auto;
}

.better_prev:dir(ltr):before,
.better_next:dir(rtl):before {
  transform: scaleX(-1);
}

.better_play {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.better_play:before {
  width: 0.625rem;
  margin-left: -0.3125rem;
  -webkit-mask: none;
  mask: none;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.better_prev ~ .better_play {
  inset-inline-start: calc(var(--height-button) + 0.5rem);
}

.better_viewport + .better_play {
  position: relative;
  margin-top: var(--gap-grid-y, 20px);
}

.better.playing .better_play:before {
  background: linear-gradient(90deg, currentColor 35%, transparent 35% 65%, currentColor 65%);
  clip-path: none;
}

.better_dots {
  display: flex;
  position: relative;
  align-items: center;
  width: 7.5rem;
  height: var(--height-button);
  margin: var(--gap-grid-y, 20px) auto 0;
  overflow: hidden;
  z-index: 3;
  --height-button: 2.5rem;
}

.better_dot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--button-text-disabled, #767676);
  transition: color 0.2s;
  cursor: pointer;
}
.better_dot:focus-visible {
  outline: 2px solid var(--button-border-active, #000);
  outline-offset: -2px;
}
.better_dot:before {
  content: "";
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: currentColor;
  transform: scale(0);
}
.better_dot.last:before, .better_dot.first:before {
  transform: scale(0.333);
}
.better_dot.prev:before, .better_dot.next:before {
  transform: scale(0.666);
}
.better_dot.current:before {
  transform: scale(1);
}
@media (hover: hover) {
  .better_dot:hover {
    color: var(--button-base-active, #000);
  }
}

.better_dots_track {
  display: flex;
  position: relative;
  flex: none;
  translate: calc(var(--better-shift, 0) * 1.5rem);
  transition: translate 0.4s;
}
.better_dots_track:dir(rtl) {
  translate: calc(var(--better-shift, 0) * -1.5rem);
}

.better_dots_marker {
  position: absolute;
  z-index: 1;
  top: 0.3125rem;
  inset-inline-start: 0.3125rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: var(--button-base, #222);
  translate: calc(var(--better-dot, 0) * 1.5rem);
  transition: translate 0.4s;
  pointer-events: none;
}
.better_dots_marker:dir(rtl) {
  translate: calc(var(--better-dot, 0) * -1.5rem);
}

.better_dots_glide .better_dot.current:before {
  transform: scale(0.666);
}

.better_dots.better_dots_all {
  width: max-content;
  max-width: 100%;
}
.better_dots.better_dots_all .better_dot:before {
  width: 0.5625rem;
  height: 0.5625rem;
  transform: none;
}
.better_dots.better_dots_all .better_dot.current:before {
  background: var(--button-base, #222);
}

.better_vertical .better_button {
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: 30px;
  margin: 0;
}
.better_vertical .better_button:before {
  transform: rotate(90deg);
}
.better_vertical .better_prev {
  top: 0;
  bottom: auto;
}
.better_vertical .better_prev:before {
  transform: rotate(-90deg);
}
.better_vertical .better_dots {
  position: absolute;
  top: 50%;
  right: 0;
  flex-direction: column;
  width: var(--height-button);
  height: 7.5rem;
  margin: 0;
  transform: translateY(-50%);
}
.better_vertical .better_dots_track {
  flex-direction: column;
  translate: 0 calc(var(--better-shift, 0) * 1.5rem);
}
.better_vertical .better_dots_marker {
  translate: 0 calc(var(--better-dot, 0) * 1.5rem);
}
.better_vertical .better_dots_all {
  height: auto;
  max-height: 100%;
}

.demo_classes .embla {
  display: block;
  position: relative;
}
@media (pointer: fine) {
  .demo_classes .embla.is_dragging {
    cursor: grabbing;
  }
}
.demo_classes .embla_viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  z-index: 1;
}
.demo_classes :where(.embla_viewport) * {
  touch-action: var(--better-touch);
}
.demo_classes .embla_horizontal .embla_viewport {
  contain: inline-size;
}
.demo_classes .embla_horizontal .embla_container {
  overflow: visible;
  --gap-grid-y: 0px;
}
.demo_classes .embla_vertical .embla_viewport {
  height: 100%;
}
.demo_classes .embla_vertical .embla_container {
  overflow: visible;
  height: calc(100% + var(--gap-grid-y, 0px));
  margin-bottom: calc(-1 * var(--gap-grid-y, 0px));
  --gap-grid-x: 0px;
}
.demo_classes .embla_auto_height .embla_viewport {
  transition: height var(--better-duration) cubic-bezier(0.25, 1, 0.5, 1);
}
.demo_classes .embla_auto_height .embla_container {
  align-items: flex-start;
}
.demo_classes .embla_button {
  display: block;
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: var(--height-button);
  height: var(--height-button);
  padding: 0;
  border: 1px solid var(--button-border, #222);
  border-radius: var(--radius-regular, 10px);
  background-color: var(--button-base, #222);
  color: var(--button-text, #fff);
  transition: 0.2s;
  cursor: pointer;
  z-index: 5;
  --height-button: 2.5rem;
}
.demo_classes .embla_button:focus-visible {
  outline: 2px solid var(--button-border-active, #000);
  outline-offset: 2px;
}
.demo_classes .embla_button:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.75rem;
  margin: -0.375rem 0 0 -0.25rem;
  background-color: currentColor;
  -webkit-mask: var(--button-arrow, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='m1 1 5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E")) 50% 50% no-repeat;
  mask: var(--button-arrow, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='m1 1 5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E")) 50% 50% no-repeat;
}
@media (hover: hover) {
  .demo_classes .embla_button:hover {
    border-color: var(--button-border-active, #000);
    background-color: var(--button-base-active, #000);
    color: var(--button-text-active, #fff);
  }
}
.demo_classes .embla_button:disabled {
  border-color: var(--button-border-disabled, #eee);
  background-color: var(--button-base-disabled, #eee);
  color: var(--button-text-disabled, #aaa);
  cursor: default;
}
.demo_classes .embla_prev {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.demo_classes .embla_prev:dir(ltr):before,
.demo_classes .embla_next:dir(rtl):before {
  transform: scaleX(-1);
}
.demo_classes .embla_play {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.demo_classes .embla_play:before {
  width: 0.625rem;
  margin-left: -0.3125rem;
  -webkit-mask: none;
  mask: none;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.demo_classes .embla_prev ~ .embla_play {
  inset-inline-start: calc(var(--height-button) + 0.5rem);
}
.demo_classes .embla_viewport + .embla_play {
  position: relative;
  margin-top: var(--gap-grid-y, 20px);
}
.demo_classes .embla.is_playing .embla_play:before {
  background: linear-gradient(90deg, currentColor 35%, transparent 35% 65%, currentColor 65%);
  clip-path: none;
}
.demo_classes .embla_dots {
  display: flex;
  position: relative;
  align-items: center;
  width: 7.5rem;
  height: var(--height-button);
  margin: var(--gap-grid-y, 20px) auto 0;
  overflow: hidden;
  z-index: 3;
  --height-button: 2.5rem;
}
.demo_classes .embla_dot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--button-text-disabled, #767676);
  transition: color 0.2s;
  cursor: pointer;
}
.demo_classes .embla_dot:focus-visible {
  outline: 2px solid var(--button-border-active, #000);
  outline-offset: -2px;
}
.demo_classes .embla_dot:before {
  content: "";
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: currentColor;
  transform: scale(0);
}
.demo_classes .embla_dot.is_last:before, .demo_classes .embla_dot.is_first:before {
  transform: scale(0.333);
}
.demo_classes .embla_dot.is_prev:before, .demo_classes .embla_dot.is_next:before {
  transform: scale(0.666);
}
.demo_classes .embla_dot.is_current:before {
  transform: scale(1);
}
@media (hover: hover) {
  .demo_classes .embla_dot:hover {
    color: var(--button-base-active, #000);
  }
}
.demo_classes .embla_dots_track {
  display: flex;
  position: relative;
  flex: none;
  translate: calc(var(--better-shift, 0) * 1.5rem);
  transition: translate 0.4s;
}
.demo_classes .embla_dots_track:dir(rtl) {
  translate: calc(var(--better-shift, 0) * -1.5rem);
}
.demo_classes .embla_dots_marker {
  position: absolute;
  z-index: 1;
  top: 0.3125rem;
  inset-inline-start: 0.3125rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: var(--button-base, #222);
  translate: calc(var(--better-dot, 0) * 1.5rem);
  transition: translate 0.4s;
  pointer-events: none;
}
.demo_classes .embla_dots_marker:dir(rtl) {
  translate: calc(var(--better-dot, 0) * -1.5rem);
}
.demo_classes .embla_dots_glide .embla_dot.is_current:before {
  transform: scale(0.666);
}
.demo_classes .embla_dots.embla_dots_all {
  width: max-content;
  max-width: 100%;
}
.demo_classes .embla_dots.embla_dots_all .embla_dot:before {
  width: 0.5625rem;
  height: 0.5625rem;
  transform: none;
}
.demo_classes .embla_dots.embla_dots_all .embla_dot.is_current:before {
  background: var(--button-base, #222);
}
.demo_classes .embla_vertical .embla_button {
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: 30px;
  margin: 0;
}
.demo_classes .embla_vertical .embla_button:before {
  transform: rotate(90deg);
}
.demo_classes .embla_vertical .embla_prev {
  top: 0;
  bottom: auto;
}
.demo_classes .embla_vertical .embla_prev:before {
  transform: rotate(-90deg);
}
.demo_classes .embla_vertical .embla_dots {
  position: absolute;
  top: 50%;
  right: 0;
  flex-direction: column;
  width: var(--height-button);
  height: 7.5rem;
  margin: 0;
  transform: translateY(-50%);
}
.demo_classes .embla_vertical .embla_dots_track {
  flex-direction: column;
  translate: 0 calc(var(--better-shift, 0) * 1.5rem);
}
.demo_classes .embla_vertical .embla_dots_marker {
  translate: 0 calc(var(--better-dot, 0) * 1.5rem);
}
.demo_classes .embla_vertical .embla_dots_all {
  height: auto;
  max-height: 100%;
}

.items.is_center {
  justify-content: center;
}
.items.is_end {
  justify-content: flex-end;
}
.items_vertical, .items_switch {
  --rows-count: 3;
}
.items_vertical .item, .items_switch .item {
  min-height: 0;
}
.items_vertical {
  flex-direction: column;
}
.items_vertical .item {
  width: 100%;
  height: calc(100% / var(--rows-count) - var(--gap-grid-y));
}
@media (min-width: 769px) {
  .items_switch {
    flex-direction: column;
  }
  .items_switch .item {
    width: 100%;
    height: calc(100% / var(--rows-count) - var(--gap-grid-y));
  }
}
.items_grow .item {
  width: 160px;
  transition: width 0.3s;
}
.items_grow .item.selected {
  width: 320px;
}
.items_logos .item {
  width: 160px;
  min-height: 80px;
}
.items_auto .item {
  width: auto;
  min-width: 60px;
  padding: 20px;
}
.items_auto img {
  display: block;
  height: 120px;
}

.items_wide {
  --columns-count: 2.5;
}

.gallery_box {
  --gap-grid-x: 10px;
  --gap-grid-y: 10px;
}
.gallery_box .items_grid_large.carousel {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column dense;
  grid-auto-columns: 25%;
  --width-item: 100%;
  --gap-grid-y: var(--gap-grid-x);
}
.gallery_box .items_grid_large.carousel .item {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}
.gallery_box .items_grid_large.carousel .item:before {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.gallery_box .items_grid_large.carousel .item:nth-child(10n+1), .gallery_box .items_grid_large.carousel .item:nth-child(10n+6) {
  grid-column: auto/span 2;
  grid-row: auto/span 2;
}
.gallery_box .items_grid_large.carousel img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .gallery_box {
    --gap-grid-x: 5px;
  }
  .gallery_box .items_grid_large.carousel {
    grid-auto-columns: 33.333%;
  }
}

.demo_heading .heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.demo_heading .heading h3 {
  flex: 1;
  margin: 0;
}
.demo_heading .heading .better_dots {
  order: 1;
  margin: 0;
}
.demo_heading .heading .better_button {
  order: 2;
  position: relative;
}

.product_box .gallery_main {
  --columns-count: 1;
}
.product_box .gallery_main .item {
  display: block;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 12/7;
}
.product_box .gallery_main .item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product_box .gallery_nav {
  position: relative;
  margin-top: 10px;
  padding: 0 3.25rem;
}
.product_box .gallery_nav .better_button {
  top: 0;
  height: auto;
}
.product_box .gallery_thumbs {
  --gap-grid-x: 10px;
  --columns-count: 5;
}
@media (max-width: 30rem) {
  .product_box .gallery_thumbs {
    --columns-count: 3;
  }
}
.product_box .gallery_thumbs .item {
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.product_box .gallery_thumbs .item.selected {
  opacity: 1;
}
.product_box .gallery_thumbs .item.selected:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px var(--color-primary);
}
.product_box .gallery_thumbs img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.demo_height .better {
  max-width: 480px;
  margin: 0 auto;
}

.demo_bar,
.demo_progress .better::before {
  height: 4px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: var(--color-primary);
  transform-origin: left;
  scale: 0 1;
}

.demo_progress .better::before {
  content: "";
  display: block;
  scale: var(--better-progress, 0) 1;
}

.demo_parallax .better {
  max-width: 640px;
  margin: 0 auto;
}
.demo_parallax .item > img {
  scale: 1.3;
  translate: calc(clamp(-1, var(--better-offset, 0), 1) * -10%) 0;
}

.demo .demo_scale .item {
  --distance: min(1, max(var(--better-offset, 0), -1 * var(--better-offset, 0)));
  background: none;
  box-shadow: none;
}
.demo .demo_scale .item > img {
  border-radius: var(--radius-regular);
  scale: calc(1 - 0.25 * var(--distance));
  opacity: calc(1 - 0.6 * var(--distance));
}

@media (min-width: 769px) {
  .demo_responsive .items.carousel {
    flex-wrap: wrap;
  }
}
.demo_tablist,
.demo_buttons,
.demo_controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
  gap: 8px;
}

.demo_tablist .button[aria-selected=false] {
  border-color: var(--color-border);
  background: none;
  color: var(--color-heading);
}

.demo_controls {
  justify-content: center;
  margin: 16px 0 0;
  gap: 16px;
}
.demo_controls .demo_counter {
  min-width: 4em;
  margin: 0;
  text-align: center;
}

.demo_counter {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.demo_vertical .better {
  height: 420px;
}

@media (min-width: 769px) {
  .demo_switch .better {
    height: 420px;
  }
}
#fit .demo .better + .demo_info {
  margin-bottom: 24px;
}

.demo .item {
  align-items: center;
  justify-content: center;
  min-height: 160px;
  overflow: hidden;
  border-radius: var(--radius-regular);
  background: var(--color-section);
  box-shadow: inset 0 0 0 1px var(--color-border);
  color: var(--color-heading);
  font-size: 1.875rem;
  font-weight: 700;
  text-decoration: none;
}
.demo .item > img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.demo .item > img + .number {
  position: absolute;
  bottom: 10px;
  left: 10px;
  min-width: 30px;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgb(from var(--theme-shadow) r g b / 70%);
  color: var(--theme-white);
  font-size: var(--size-tiny);
  text-align: center;
}
.demo a.item:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}

.demo_fill {
  overflow: hidden;
}
.demo_fill .better {
  max-width: 600px;
  margin: 0 auto;
}
.demo_fill .better_viewport {
  overflow: visible;
}

.demo .demo_card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 400;
}
.demo .demo_card h3 {
  margin: 0;
}
.demo .demo_card p {
  margin: 0;
}

.demo_field input {
  display: block;
  margin-top: 0.25rem;
  padding: 0.375rem 0.5rem;
}

.demo_like {
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-background);
  color: var(--color-heading);
  font: inherit;
  cursor: pointer;
}

.demo_like[aria-pressed=true] {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.demo_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
