:root {
  --paper: #f1efe5;
  --surface: #fffdf7;
  --ink: #17201c;
  --muted: #68736d;
  --line: rgb(23 32 28 / 13%);
  --green: #0f9f73;
  --green-dark: #0a4133;
  --green-soft: #dff3ea;
  --orange: #ee9846;
  --orange-soft: #fff0dc;
  --blue: #3978f2;
  --blue-soft: #e8efff;
  --rose: #df5c7f;
  --rose-soft: #ffe6ed;
  --yellow: #d19b16;
  --yellow-soft: #fff3bd;
  --shadow: 0 24px 70px rgb(35 51 43 / 12%);
  color-scheme: light;
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  --page-accent: var(--green-dark);
  --page-accent-soft: var(--green-soft);
  --page-accent-ink: white;
  --page-secondary: var(--orange);
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 4% 4%,
      color-mix(in srgb, var(--page-accent) 20%, transparent),
      transparent 31rem
    ),
    radial-gradient(
      circle at 96% 7%,
      color-mix(in srgb, var(--page-secondary) 18%, transparent),
      transparent 34rem
    ),
    linear-gradient(135deg, #edf4ed 0%, var(--paper) 47%, #eee6d9 100%);
  overflow-x: hidden;
}

body:has([data-filter="generator"][aria-pressed="true"]) {
  --page-accent: var(--green);
}

body:has([data-filter="motion"][aria-pressed="true"]) {
  --page-accent: var(--blue);
  --page-accent-soft: var(--blue-soft);
  --page-secondary: var(--green);
}

body:has([data-filter="layout"][aria-pressed="true"]) {
  --page-accent: var(--orange);
  --page-accent-soft: var(--orange-soft);
  --page-accent-ink: var(--ink);
  --page-secondary: var(--yellow);
}

body:has([data-filter="state"][aria-pressed="true"]) {
  --page-accent: var(--rose);
  --page-accent-soft: var(--rose-soft);
  --page-secondary: var(--orange);
}

body:has([data-filter="color"][aria-pressed="true"]) {
  --page-accent: var(--yellow);
  --page-accent-soft: var(--yellow-soft);
  --page-accent-ink: var(--ink);
  --page-secondary: var(--orange);
}

body:has([data-filter="experiment"][aria-pressed="true"]) {
  --page-accent: #17243b;
  --page-accent-soft: #e6eaf2;
  --page-secondary: var(--blue);
}

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

h1,
h2,
h3,
p { margin: 0; }

.site-header,
main,
footer {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: white;
  background: var(--green-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--orange);
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand b {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 253 247 / 72%);
  font-size: 12px;
  font-weight: 900;
}

.dungeon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 7px 0 16px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.dungeon-link span {
  display: grid;
  place-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: #06100d;
  background: #a4ff23;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: .08em;
}

.directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;
  gap: 18px;
  padding: 28px 0 24px;
}

.directory-hero-copy,
.dungeon-feature {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.directory-hero-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgb(255 253 247 / 92%), rgb(255 253 247 / 76%)),
    repeating-linear-gradient(90deg, transparent 0 59px, var(--line) 60px),
    repeating-linear-gradient(0deg, transparent 0 59px, var(--line) 60px);
}

.directory-hero h1 {
  margin-top: 10px;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02;
}

.directory-hero-copy > p:last-child {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 800;
  line-height: 1.8;
}

.dungeon-feature {
  position: relative;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: center;
  padding: 22px;
  color: white;
  background:
    radial-gradient(circle at 30% 45%, rgb(43 255 165 / 28%), transparent 29%),
    linear-gradient(145deg, #07120f, #0a2b21);
}

.dungeon-feature::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgb(164 255 35 / 20%);
  border-radius: 20px;
  pointer-events: none;
  content: "";
}

.dungeon-feature img {
  position: relative;
  z-index: 1;
  width: 150px;
  max-width: 100%;
  filter: drop-shadow(0 16px 20px rgb(0 0 0 / 38%));
  image-rendering: pixelated;
  transition: translate .2s ease;
}

.dungeon-feature > span {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
}

.dungeon-feature small {
  color: #a4ff23;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.dungeon-feature b {
  font-size: 21px;
  line-height: 1.05;
}

.dungeon-feature em {
  margin-top: 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.dungeon-feature:hover img,
.dungeon-feature:focus-visible img { translate: 0 -5px; }

.dungeon-link:focus-visible,
.dungeon-feature:focus-visible,
.account-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--page-accent) 42%, white);
  outline-offset: 3px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--page-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.directory {
  padding: 24px 0 90px;
}

.directory-head,
.search-row,
.group-head,
.group-head > div,
.card-top,
.tag-list,
footer {
  display: flex;
  align-items: center;
}

.directory-head,
.group-head,
.card-top,
footer {
  justify-content: space-between;
  gap: 18px;
}

.directory-head h2 {
  margin-top: 4px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.06em;
}

.result-count {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgb(255 253 247 / 70%);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.result-count output { color: var(--page-accent); }

.search-row {
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 253 247 / 76%);
  box-shadow: 0 14px 42px rgb(35 51 43 / 7%);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 300px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.search-box svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 2;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.search-box input::placeholder { color: #909a94; }

.search-box:focus-within {
  border-color: var(--page-accent);
  box-shadow: 0 0 0 3px var(--page-accent-soft);
}

.filter-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  isolation: isolate;
}

.filter-indicator { display: none; }

.filter-list button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: white;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.filter-list button[aria-pressed="true"] {
  border-color: var(--page-accent);
  color: var(--page-accent-ink);
  background: var(--page-accent);
}

@supports (anchor-name: --active-filter) and (width: anchor-size(width)) {
  .filter-list button {
    position: relative;
    z-index: 1;
    background: transparent;
    transition: border-color 240ms ease, color 240ms ease;
  }

  .filter-list button[aria-pressed="true"] {
    anchor-name: --active-filter;
    background: transparent;
  }

  .filter-indicator {
    position: absolute;
    position-anchor: --active-filter;
    z-index: 0;
    top: anchor(top);
    left: anchor(left);
    display: block;
    width: anchor-size(width);
    height: anchor-size(height);
    border: 1px solid var(--page-accent);
    border-radius: 999px;
    background: var(--page-accent);
    box-shadow: 0 7px 18px color-mix(in srgb, var(--page-accent) 22%, transparent);
    pointer-events: none;
    transition:
      top 360ms cubic-bezier(0.22, 1, 0.36, 1),
      left 360ms cubic-bezier(0.22, 1, 0.36, 1),
      width 360ms cubic-bezier(0.22, 1, 0.36, 1),
      height 360ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 240ms ease,
      background-color 240ms ease,
      box-shadow 240ms ease;
  }
}

.tool-groups {
  display: grid;
  gap: 70px;
  margin-top: 54px;
}

.tool-group[hidden],
.tool-card[hidden] { display: none; }

.group-head {
  align-items: flex-end;
  margin-bottom: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.group-head > div { gap: 11px; }

.group-head span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: white;
  background: var(--category, var(--green-dark));
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.group-head h2 {
  font-size: 25px;
  letter-spacing: -0.05em;
}

.group-head p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tool-group--generator { --category: var(--green); --category-soft: var(--green-soft); }
.tool-group--motion { --category: var(--blue); --category-soft: var(--blue-soft); }
.tool-group--layout { --category: var(--orange); --category-soft: var(--orange-soft); }
.tool-group--state { --category: var(--rose); --category-soft: var(--rose-soft); }
.tool-group--color { --category: var(--yellow); --category-soft: var(--yellow-soft); }
.tool-group--experiment { --category: #17243b; --category-soft: #e6eaf2; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 253 247 / 82%);
  box-shadow: 0 16px 46px rgb(35 51 43 / 8%);
  overflow: hidden;
  transition: translate 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: card-in 360ms both;
  animation-delay: calc(var(--card-index, 0) * 18ms);
}

.tool-card:hover {
  border-color: color-mix(in srgb, var(--category) 42%, transparent);
  box-shadow: 0 24px 60px rgb(35 51 43 / 13%);
  translate: 0 -4px;
}

.card-top > span {
  color: var(--category);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.card-top b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: var(--category);
  background: var(--category-soft);
  font-size: 14px;
}

.tool-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 92px;
  margin: 14px 0 16px;
  border-radius: 15px;
  color: var(--category);
  background:
    linear-gradient(rgb(23 32 28 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(23 32 28 / 4%) 1px, transparent 1px),
    var(--category-soft);
  background-size: 18px 18px;
  overflow: hidden;
}

.tool-mark code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 24px;
  font-weight: 900;
}

.tool-mark--has code {
  padding: 12px 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  font-size: 22px;
  box-shadow: 7px 7px 0 color-mix(in srgb, var(--category) 34%, transparent);
}

.tool-card h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.tool-card > p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.tag-list {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 15px;
}

.tag-list span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: rgb(23 32 28 / 6%);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
}

.tool-mark--wave i {
  position: absolute;
  right: -8%;
  bottom: var(--wave-bottom);
  left: -8%;
  height: 38px;
  border-radius: 50% 50% 0 0;
  background: var(--wave-color);
  transform: rotate(var(--wave-rotate));
}
.tool-mark--wave i:nth-child(1) { --wave-bottom: 4px; --wave-color: var(--green); --wave-rotate: -2deg; z-index: 3; }
.tool-mark--wave i:nth-child(2) { --wave-bottom: 20px; --wave-color: rgb(57 120 242 / 58%); --wave-rotate: 3deg; z-index: 2; }
.tool-mark--wave i:nth-child(3) { --wave-bottom: 35px; --wave-color: rgb(238 152 70 / 58%); --wave-rotate: -3deg; }

.tool-mark--spring i {
  position: absolute;
  left: calc(50% - 78px);
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  transform-origin: left center;
}

.tool-mark--spring i:nth-child(1) { bottom: 19px; width: 38px; transform: rotate(-55deg); }
.tool-mark--spring i:nth-child(2) { bottom: 50px; left: calc(50% - 56px); width: 34px; transform: rotate(-23deg); }
.tool-mark--spring i:nth-child(3) { bottom: 63px; left: calc(50% - 25px); width: 29px; transform: rotate(18deg); }
.tool-mark--spring i:nth-child(4) { bottom: 54px; left: calc(50% + 2px); width: 28px; transform: rotate(-8deg); }
.tool-mark--spring i:nth-child(5) { bottom: 58px; left: calc(50% + 30px); width: 47px; transform: rotate(3deg); }

.tool-mark--spring::after {
  position: absolute;
  bottom: 54px;
  left: calc(50% + 73px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.tool-mark--squash-generator::after {
  position: absolute;
  right: 13%;
  bottom: 13px;
  left: 13%;
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.tool-mark--squash-generator i {
  position: absolute;
  z-index: 1;
  border: 3px solid var(--ink);
  background: var(--green);
}

.tool-mark--squash-generator i:nth-child(1) {
  bottom: 14px;
  left: 17%;
  width: 48px;
  height: 27px;
  border-radius: 50%;
}

.tool-mark--squash-generator i:nth-child(2) {
  bottom: 42px;
  left: calc(50% - 18px);
  width: 34px;
  height: 46px;
  border-radius: 50%;
  opacity: .72;
}

.tool-mark--squash-generator i:nth-child(3) {
  right: 18%;
  bottom: 69px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  opacity: .42;
}

.tool-mark--origin i {
  position: absolute;
  width: 58px;
  height: 74px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: color-mix(in srgb, var(--green) 72%, white);
  transform-origin: left center;
}

.tool-mark--origin i:nth-child(1) {
  top: 24px;
  left: calc(50% - 54px);
}

.tool-mark--origin i:nth-child(2) {
  top: 24px;
  left: calc(50% + 7px);
  transform: rotate(18deg);
  opacity: .64;
}

.tool-mark--origin i:nth-child(3) {
  top: 57px;
  left: calc(50% - 60px);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 25%, transparent);
}

.tool-mark--motion-path::before {
  position: absolute;
  top: 26px;
  left: 15%;
  width: 70%;
  height: 48px;
  border: 4px solid var(--green);
  border-color: var(--green) transparent transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(-7deg);
}

.tool-mark--motion-path i {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: white;
}

.tool-mark--motion-path i:nth-child(1) { top: 52px; left: 18%; }
.tool-mark--motion-path i:nth-child(2) { top: 25px; left: calc(50% - 7px); }
.tool-mark--motion-path i:nth-child(3) { top: 43px; right: 18%; }

.tool-mark--scroll i { width: 10px; border-radius: 999px; background: var(--blue); }
.tool-mark--scroll i:nth-child(1) { height: 24px; opacity: .35; }
.tool-mark--scroll i:nth-child(2) { height: 42px; opacity: .55; }
.tool-mark--scroll i:nth-child(3) { height: 62px; }
.tool-mark--scroll i:nth-child(4) { height: 34px; opacity: .45; }

.tool-mark--shape i { width: 70%; height: 58px; background: var(--green); clip-path: shape(from 0 0, hline to 100%, vline to 68%, curve to 0 78% with 74% 112% / 28% 38%, close); }
.tool-mark--corner { gap: 8px; }
.tool-mark--corner i { width: 27%; height: 58px; border-radius: 17px; background: var(--green); }
.tool-mark--corner i:nth-child(1) { corner-shape: squircle; opacity: .48; }
.tool-mark--corner i:nth-child(2) { corner-shape: bevel; opacity: .72; }
.tool-mark--corner i:nth-child(3) { corner-shape: scoop; }
.tool-mark--chevron i { width: 54px; height: 54px; border: solid var(--green); border-width: 0 9px 9px 0; transform: rotate(-45deg); }
.tool-mark--range i { position: absolute; top: 18px; bottom: 18px; border-radius: 999px; }
.tool-mark--range i:first-child { left: 16%; width: 4px; background: var(--blue); }
.tool-mark--range i:last-child { right: 16%; left: 45%; border: 2px dashed var(--blue); background: rgb(57 120 242 / 12%); }
.tool-mark--split i { width: 38%; height: 58px; border: 2px solid var(--blue); border-radius: 10px; }
.tool-mark--split i:first-child { background: repeating-linear-gradient(90deg, var(--blue) 0 5px, transparent 5px 12px); }
.tool-mark--split i:last-child { background: linear-gradient(90deg, transparent, var(--blue)); }
.tool-mark--header i:first-child { position: absolute; top: 17px; right: 13%; left: 13%; height: 17px; border-radius: 7px; background: var(--blue); }
.tool-mark--header i:last-child { width: 62%; height: 46px; margin-top: 25px; border: 2px solid rgb(57 120 242 / 45%); border-radius: 8px; }
.tool-mark--dialog i { width: 64%; height: 58px; border: 2px solid var(--blue); border-radius: 10px; background: rgb(255 255 255 / 70%); box-shadow: 0 12px 30px rgb(57 120 242 / 22%); }
.tool-mark--anchor i { width: 19%; height: 38px; border-radius: 7px; background: rgb(57 120 242 / 22%); }
.tool-mark--anchor i:nth-child(2) { translate: 0 13px; background: var(--blue); }
.tool-mark--scroll-boundary { gap: 12px; background: #e4e8e0; }
.tool-mark--scroll-boundary span { display: grid; gap: 7px; width: 74px; height: 58px; padding: 10px; border-radius: 10px; background: var(--blue); }
.tool-mark--scroll-boundary span:last-child { width: 48px; background: var(--ink); }
.tool-mark--scroll-boundary i { display: block; height: 9px; border-radius: 999px; background: white; }
.tool-mark--scroll-boundary span i:last-child { width: 78%; margin-left: auto; background: var(--lime); }
.tool-mark--scroll-boundary b { color: var(--orange); font-size: 25px; }
.tool-mark--gutter i:first-child { width: 70%; height: 58px; border: 2px solid var(--blue); border-radius: 8px; }
.tool-mark--gutter i:last-child { width: 7px; height: 58px; border-radius: 999px; background: var(--blue); }
.tool-mark--view-sort { display: grid; grid-template-columns: repeat(2, 54px); grid-template-rows: repeat(2, 29px); gap: 7px; }
.tool-mark--view-sort i { border: 2px solid var(--blue); border-radius: 7px; background: rgb(255 255 255 / 68%); }
.tool-mark--view-sort i:nth-child(2) { background: var(--blue); }
.tool-mark--view-sort i:nth-child(3) { background: rgb(57 120 242 / 22%); }
.tool-mark--view-sort::after { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 25px; height: 25px; border: 4px solid var(--blue-soft); border-radius: 50%; color: white; background: var(--blue); content: "↗"; font-size: 11px; font-weight: 900; transform: translate(-50%, -50%); }
.tool-mark--squash { gap: 14px; }
.tool-mark--squash i { display: block; border: 3px solid var(--ink); background: var(--blue); }
.tool-mark--squash i:first-child { width: 34px; height: 34px; border-radius: 50%; opacity: .36; }
.tool-mark--squash i:nth-child(2) { width: 56px; height: 30px; border-radius: 50%; opacity: .68; }
.tool-mark--squash i:last-child { width: 30px; height: 58px; border-radius: 62% 10% 10% 62% / 50% 14% 14% 50%; }
.tool-mark--carousel { gap: 6px; padding-inline: 10%; }
.tool-mark--carousel b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 22px;
}
.tool-mark--carousel i { width: 9px; height: 9px; background: rgb(57 120 242 / 34%); border-radius: 50%; }
.tool-mark--carousel i:nth-of-type(2) { width: 24px; background: var(--blue); border-radius: 999px; }
.tool-mark--gsap { display: grid; grid-template-columns: repeat(3, 35px); grid-template-rows: repeat(2, 27px); gap: 7px; }
.tool-mark--gsap i { border: 2px solid var(--ink); border-radius: 8px; background: rgb(255 255 255 / 72%); }
.tool-mark--gsap i:nth-child(1), .tool-mark--gsap i:nth-child(5) { background: var(--blue); }
.tool-mark--gsap i:nth-child(3) { background: #0ae448; }
.tool-mark--gsap i:nth-child(4) { background: #9d65ff; }
.tool-mark--scrolltrigger { overflow: hidden; background: #111510; }
.tool-mark--scrolltrigger i { position: absolute; right: 0; left: 0; height: 3px; }
.tool-mark--scrolltrigger i:first-child { top: 28px; background: #b9ff3e; }
.tool-mark--scrolltrigger i:nth-child(2) { bottom: 27px; background: #ff6b3d; }
.tool-mark--scrolltrigger b { width: 74px; height: 52px; background: #5c7cff; border: 2px solid #fffdf5; border-radius: 10px; rotate: -7deg; }
.tool-mark--scrolltrigger em { position: absolute; top: 19px; right: 15%; width: 12px; height: 12px; background: #b9ff3e; border-radius: 50%; box-shadow: 0 0 0 6px rgb(185 255 62 / 18%); }
.tool-mark--textmotion { overflow: hidden; gap: 5px; padding-inline: 16%; align-items: flex-end; background: #151916; }
.tool-mark--textmotion i { width: 11px; border-radius: 4px; background: #fff; }
.tool-mark--textmotion i:nth-child(1) { height: 22px; background: #b9ff3d; }
.tool-mark--textmotion i:nth-child(2) { height: 38px; background: #ff6f57; }
.tool-mark--textmotion i:nth-child(3) { height: 26px; }
.tool-mark--textmotion i:nth-child(4) { height: 48px; background: #5574ff; }
.tool-mark--textmotion i:nth-child(5) { height: 18px; background: #ffd75f; }
.tool-mark--textmotion i:nth-child(6) { height: 34px; }
.tool-mark--textmotion i:nth-child(7) { height: 24px; background: #ff6f57; }
.tool-mark--random {
  overflow: hidden;
  background: #151916;
}
.tool-mark--random i {
  position: absolute;
  border-radius: 50%;
}
.tool-mark--random i:nth-child(1) { top: 22px; left: 18%; width: 14px; height: 14px; background: #ffd75f; }
.tool-mark--random i:nth-child(2) { top: 48px; left: 34%; width: 22px; height: 22px; background: #b9ff3d; rotate: 18deg; border-radius: 6px; }
.tool-mark--random i:nth-child(3) { top: 18px; left: 52%; width: 18px; height: 18px; background: #5574ff; }
.tool-mark--random i:nth-child(4) { top: 52px; right: 22%; width: 12px; height: 12px; background: #ff6f57; }
.tool-mark--random i:nth-child(5) { top: 28px; right: 14%; width: 16px; height: 16px; background: #7ad0ff; rotate: -14deg; border-radius: 5px; }
.tool-mark--sibling {
  overflow: hidden;
  align-items: flex-end;
  gap: 6px;
  padding: 18px 16% 16px;
  background: #151916;
}
.tool-mark--sibling i {
  flex: 1;
  max-width: 16px;
  border-radius: 4px 4px 2px 2px;
}
.tool-mark--sibling i:nth-child(1) { height: 18px; background: #ffd75f; }
.tool-mark--sibling i:nth-child(2) { height: 28px; background: #b9ff3d; }
.tool-mark--sibling i:nth-child(3) { height: 40px; background: #5574ff; }
.tool-mark--sibling i:nth-child(4) { height: 52px; background: #ff6f57; }
.tool-mark--sibling i:nth-child(5) { height: 62px; background: #7ad0ff; }
.tool-mark--reduced-motion {
  gap: 12px;
}
.tool-mark--reduced-motion > span {
  display: flex;
  width: 86px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: rgb(255 255 255 / 72%);
}
.tool-mark--reduced-motion > span:first-child {
  border-style: dashed;
}
.tool-mark--reduced-motion > span i {
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: #ff7059;
}
.tool-mark--reduced-motion > span:first-child i:nth-child(1) { opacity: .3; }
.tool-mark--reduced-motion > span:first-child i:nth-child(2) { opacity: .62; }
.tool-mark--reduced-motion > span:last-child i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b9ff3d;
}
.tool-mark--reduced-motion > b {
  padding: 6px 7px;
  border-radius: 7px;
  color: white;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}
.tool-mark--typed-attr {
  overflow: hidden;
  gap: 10px;
  background: #151916;
}
.tool-mark--typed-attr i:first-child {
  width: 66px;
  height: 66px;
  border: 9px solid #29322d;
  border-right-color: #b9ff3d;
  border-bottom-color: #b9ff3d;
  border-radius: 50%;
  rotate: 20deg;
}
.tool-mark--typed-attr i:nth-child(2) {
  position: absolute;
  bottom: 20px;
  left: 20%;
  width: 60%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5574ff 72%, #303933 72%);
}
.tool-mark--typed-attr b,
.tool-mark--typed-attr em {
  position: absolute;
  padding: 3px 6px;
  border: 2px solid #151916;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
}
.tool-mark--typed-attr b { top: 15px; right: 18%; background: #ffd75f; }
.tool-mark--typed-attr em { top: 41px; right: 12%; background: #ff6f57; }
.tool-mark--timeline {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
  padding: 18px 11%;
  background: #171a20;
}
.tool-mark--timeline i {
  z-index: 1;
  border: 2px solid #0d1015;
  border-radius: 5px;
  box-shadow: inset -5px 0 rgb(255 255 255 / 18%);
}
.tool-mark--timeline i:nth-child(1) { grid-column: 1 / 5; grid-row: 1; background: #ffd05b; }
.tool-mark--timeline i:nth-child(2) { grid-column: 3 / 8; grid-row: 2; background: #8469ff; }
.tool-mark--timeline i:nth-child(3) { grid-column: 5 / 9; grid-row: 3; background: #46d8c1; }
.tool-mark--timeline i:nth-child(4) { grid-column: 2 / 6; grid-row: 4; background: #ff7059; }
.tool-mark--timeline b {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 55%;
  width: 2px;
  background: #58a6ff;
  box-shadow: 0 0 9px #58a6ff;
}
.tool-mark--align i { width: 44px; height: var(--align-height); border-radius: 7px; background: var(--orange); }
.tool-mark--align i:nth-child(1) { --align-height: 28px; }
.tool-mark--align i:nth-child(2) { --align-height: 56px; }
.tool-mark--align i:nth-child(3) { --align-height: 40px; }
.tool-mark--cqw i:first-child { width: 34%; height: 55px; border: 2px solid var(--orange); border-radius: 8px; }
.tool-mark--cqw i:last-child { width: 50%; height: 55px; border: 2px solid var(--orange); border-radius: 8px; background: rgb(238 152 70 / 18%); }
.tool-mark--sizing i { height: 42px; border-radius: 7px; background: var(--orange); }
.tool-mark--sizing i:nth-child(1) { width: 20%; opacity: .45; }
.tool-mark--sizing i:nth-child(2) { width: 42%; opacity: .7; }
.tool-mark--sizing i:nth-child(3) { width: 28%; }
.tool-mark--switcher i { flex: 1; max-width: 74px; height: 46px; border-radius: 8px; background: var(--orange); }
.tool-mark--sidebar i:first-child { width: 28%; height: 58px; border-radius: 8px; background: var(--orange); }
.tool-mark--sidebar i:last-child { width: 55%; height: 58px; border: 2px solid var(--orange); border-radius: 8px; }
.tool-mark--text { align-items: flex-start; flex-direction: column; padding-inline: 18%; }
.tool-mark--text i { height: 7px; border-radius: 999px; background: var(--orange); }
.tool-mark--text i:nth-child(1) { width: 100%; }
.tool-mark--text i:nth-child(2) { width: 82%; }
.tool-mark--text i:nth-child(3) { width: 54%; }
.tool-mark--trim { overflow: hidden; background: #151916; }
.tool-mark--trim i { position: absolute; left: 18%; right: 18%; }
.tool-mark--trim i:nth-child(1) { top: 22px; height: 3px; background: var(--orange); }
.tool-mark--trim i:nth-child(2) { top: 28px; height: 38px; background: #fffdf5; border-radius: 4px; }
.tool-mark--trim i:nth-child(3) { bottom: 22px; height: 3px; background: var(--orange); }
.tool-mark--anchor-tooltip i { position: absolute; border-radius: 8px; }
.tool-mark--anchor-tooltip i:first-child { bottom: 17px; left: 18%; width: 38%; height: 25px; background: var(--orange); }
.tool-mark--anchor-tooltip i:last-child { top: 15px; right: 17%; width: 43%; height: 34px; border: 2px solid var(--orange); background: rgb(238 152 70 / 18%); }
.tool-mark--anchor-tooltip::after { position: absolute; top: 47px; right: 38%; width: 0; height: 0; border-top: 9px solid var(--orange); border-right: 7px solid transparent; border-left: 7px solid transparent; content: ""; }
.tool-mark--density i { position: relative; width: 36%; height: 58px; border: 2px solid var(--orange); border-radius: 9px; background: rgb(255 255 255 / 68%); }
.tool-mark--density i::before,
.tool-mark--density i::after { position: absolute; right: 10px; left: 10px; border-radius: 999px; background: var(--orange); content: ""; }
.tool-mark--density i:first-child::before { top: 12px; height: 7px; }
.tool-mark--density i:first-child::after { top: 25px; height: 7px; box-shadow: 0 13px 0 var(--orange); }
.tool-mark--density i:last-child { background: rgb(238 152 70 / 18%); }
.tool-mark--density i:last-child::before { top: 10px; height: 10px; }
.tool-mark--density i:last-child::after { top: 29px; height: 10px; }
.tool-mark--highlight { align-items: flex-start; flex-direction: column; padding-inline: 16%; }
.tool-mark--highlight i { position: relative; width: 100%; height: 8px; border-radius: 999px; background: rgb(223 92 127 / 20%); }
.tool-mark--highlight i:nth-child(2) { width: 88%; }
.tool-mark--highlight i:nth-child(3) { width: 66%; }
.tool-mark--highlight i::after { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--rose); content: ""; }
.tool-mark--highlight i:nth-child(1)::after { left: 15%; width: 28%; }
.tool-mark--highlight i:nth-child(2)::after { left: 52%; width: 31%; }
.tool-mark--highlight i:nth-child(3)::after { left: 8%; width: 35%; }
.tool-mark--dialog-menu { justify-content: flex-start; padding: 16px 13%; background: #f7f2e9; }
.tool-mark--dialog-menu > i { position: absolute; left: 16%; width: 31%; height: 5px; border-radius: 999px; background: var(--ink); }
.tool-mark--dialog-menu > i:nth-child(1) { top: 28px; }
.tool-mark--dialog-menu > i:nth-child(2) { top: 42px; }
.tool-mark--dialog-menu > i:nth-child(3) { top: 56px; }
.tool-mark--dialog-menu > b { position: absolute; right: 12%; width: 42%; height: 68px; border: 2px solid var(--ink); border-radius: 14px; background: var(--rose); box-shadow: -8px 8px 0 rgb(223 92 127 / 18%); }
.tool-mark--dialog-popover { gap: 20px; background: linear-gradient(90deg, #fff0eb 0 50%, #edf2ff 50%); }
.tool-mark--dialog-popover i { width: 72px; height: 58px; border: 2px solid var(--ink); border-radius: 12px; }
.tool-mark--dialog-popover i:first-child { background: var(--rose); box-shadow: 0 0 0 11px rgb(23 33 30 / 14%); }
.tool-mark--dialog-popover i:nth-child(2) { background: var(--blue); box-shadow: 7px 8px 0 rgb(62 120 247 / 17%); }
.tool-mark--dialog-popover b { position: absolute; left: 50%; display: grid; place-items: center; width: 32px; height: 32px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; translate: -50% 0; }
.tool-mark--select { flex-direction: column; align-items: stretch; gap: 6px; padding: 13px 15%; }
.tool-mark--select i,
.tool-mark--select span { display: block; height: 22px; border: 2px solid var(--ink); border-radius: 8px; background: white; }
.tool-mark--select i { box-shadow: 0 5px 0 rgb(23 33 30 / 12%); }
.tool-mark--select span { background: color-mix(in srgb, var(--rose) 24%, white); }
.tool-mark--select b { position: absolute; right: 19%; bottom: 16px; display: grid; place-items: center; width: 20px; height: 20px; color: white; background: var(--category); border-radius: 50%; font-size: 10px; }
.tool-mark--checks i { width: 31px; height: 31px; border: 7px solid white; border-radius: 7px; background: var(--rose); box-shadow: 0 0 0 2px var(--rose); }
.tool-mark--checks i:nth-child(2) { border-radius: 50%; }
.tool-mark--checks i:nth-child(3) { width: 58px; border-width: 0; border-radius: 999px; }
.tool-mark--field { align-items: flex-start; flex-direction: column; padding-inline: 18%; }
.tool-mark--field i { height: 25px; border: 2px solid var(--rose); border-radius: 8px; }
.tool-mark--field i:first-child { width: 42%; }
.tool-mark--field i:last-child { width: 78%; }
.tool-mark--file i:first-child { width: 38%; height: 38px; border-radius: 999px; background: var(--rose); }
.tool-mark--file i:last-child { width: 38%; height: 8px; border-radius: 999px; background: rgb(223 92 127 / 32%); }
.tool-mark--invalid i,
.tool-mark--details i,
.tool-mark--states i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-style: normal; font-weight: 900; }
.tool-mark--invalid i:first-child,
.tool-mark--states i:last-child { color: white; background: #d64747; }
.tool-mark--invalid i:last-child,
.tool-mark--states i:nth-child(2) { color: white; background: var(--green); }
.tool-mark--details i { color: var(--rose); border: 2px solid var(--rose); }
.tool-mark--radio i { width: 24%; height: 48px; border: 2px solid var(--rose); border-radius: 9px; }
.tool-mark--radio i:nth-child(2) { background: var(--rose); }
.tool-mark--states i:first-child { color: var(--muted); background: white; }
.tool-mark--palette i { width: 40px; height: 54px; border-radius: 9px; background: color-mix(in srgb, var(--yellow) var(--mix), white); }
.tool-mark--palette i:nth-child(1) { --mix: 18%; }
.tool-mark--palette i:nth-child(2) { --mix: 42%; }
.tool-mark--palette i:nth-child(3) { --mix: 72%; }
.tool-mark--palette i:nth-child(4) { --mix: 100%; }
.tool-mark--mix-space { flex-direction: column; gap: 6px; padding: 14px 13%; }
.tool-mark--mix-space i { width: 100%; height: 9px; border-radius: 999px; }
.tool-mark--mix-space i:nth-child(1) { background: linear-gradient(90deg in srgb, #325bff, #f4ff6a); }
.tool-mark--mix-space i:nth-child(2) { background: linear-gradient(90deg in srgb-linear, #325bff, #f4ff6a); }
.tool-mark--mix-space i:nth-child(3) { background: linear-gradient(90deg in oklab, #325bff, #f4ff6a); }
.tool-mark--mix-space i:nth-child(4) { background: linear-gradient(90deg in oklch, #325bff, #f4ff6a); }
.tool-mark--oklch-scale { gap: 5px; padding-inline: 12%; }
.tool-mark--oklch-scale i { width: 18%; height: 58px; border-radius: 8px; background: var(--scale); }
.tool-mark--oklch-scale i:nth-child(1) { --scale: #f5f2ff; }
.tool-mark--oklch-scale i:nth-child(2) { --scale: #d9d0ff; }
.tool-mark--oklch-scale i:nth-child(3) { --scale: #aa94ff; }
.tool-mark--oklch-scale i:nth-child(4) { --scale: #6f48ff; }
.tool-mark--oklch-scale i:nth-child(5) { --scale: #27105f; }
.tool-mark--responsive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 14px 16%; }
.tool-mark--responsive-grid i { min-width: 0; height: 25px; background: var(--grid-color); border: 2px solid var(--ink); border-radius: 7px; }
.tool-mark--responsive-grid i:nth-child(4n + 1) { --grid-color: #f47a52; }
.tool-mark--responsive-grid i:nth-child(4n + 2) { --grid-color: #3e78f7; }
.tool-mark--responsive-grid i:nth-child(4n + 3) { --grid-color: #f7c94b; }
.tool-mark--responsive-grid i:nth-child(4n + 4) { --grid-color: #00a77d; }
.tool-mark--underline { display: block; padding: 13px 15%; background: #f8f5ed; }
.tool-mark--underline b { position: relative; z-index: 1; display: block; width: max-content; color: var(--ink); font-size: 20px; line-height: 1.3; }
.tool-mark--underline i { display: block; width: 126px; height: 4px; margin: 1px 0 3px; background: #6f79f6; }
.tool-mark--underline i:last-child { width: 119px; height: 5px; margin-top: 0; background: #ff6049; }

.tool-mark--background-pattern { gap: 8px; padding: 13px; }
.tool-mark--background-pattern i { width: 30%; height: 64px; border: 2px solid var(--ink); border-radius: 10px; background-color: #fff8e8; }
.tool-mark--background-pattern i:nth-child(1) { background-image: radial-gradient(circle, #6d73f5 0 3px, transparent 3.5px); background-size: 17px 17px; }
.tool-mark--background-pattern i:nth-child(2) { background-image: linear-gradient(to right, #6d73f5 0 2px, transparent 2px), linear-gradient(to bottom, #6d73f5 0 2px, transparent 2px); background-size: 17px 17px; }
.tool-mark--background-pattern i:nth-child(3) { background-image: repeating-linear-gradient(45deg, #6d73f5 0 4px, transparent 4px 14px); }
.tool-mark--overflow { display: block; overflow: hidden; padding: 17px 15%; background: #f8f5ed; }
.tool-mark--overflow i { position: absolute; left: 15%; display: block; height: 21px; border: 2px solid var(--ink); border-radius: 7px; }
.tool-mark--overflow i:first-child { top: 17px; width: 52%; background: #b5ff31; }
.tool-mark--overflow i:nth-child(2) { top: 48px; width: 84%; background: #6f79f6; outline: 3px solid #ff6049; outline-offset: 3px; }
.tool-mark--overflow b { position: absolute; top: 60px; right: 7%; padding: 4px 7px; border-radius: 999px; color: white; background: #ff6049; font-family: var(--mono); font-size: 9px; }
.tool-mark--stacking { position: relative; overflow: hidden; background: #f8f5ed; perspective: 260px; }
.tool-mark--stacking i { position: absolute; left: 20%; width: 60%; height: 48px; border: 2px solid var(--ink); border-radius: 8px; transform: rotateX(58deg) rotateZ(-10deg); box-shadow: 5px 6px 0 rgb(18 24 20 / 14%); }
.tool-mark--stacking i:first-child { top: 10px; background: #b5ff31; }
.tool-mark--stacking i:nth-child(2) { top: 29px; background: #6f79f6; }
.tool-mark--stacking i:nth-child(3) { top: 48px; background: #ff7359; }
.tool-mark--stacking b { position: absolute; right: 10%; bottom: 12px; padding: 5px 8px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); background: white; font-family: var(--mono); font-size: 9px; }
.tool-mark--cascade { position: relative; display: block; overflow: hidden; background: #f8f5ed; }
.tool-mark--cascade i { position: absolute; left: 12%; right: 12%; height: 13px; border: 2px solid var(--ink); border-radius: 5px; background: var(--cascade-color); }
.tool-mark--cascade i:nth-child(1) { top: 13px; --cascade-color: #ff7359; }
.tool-mark--cascade i:nth-child(2) { top: 30px; --cascade-color: #ffd86f; }
.tool-mark--cascade i:nth-child(3) { top: 47px; --cascade-color: #6f79f6; }
.tool-mark--cascade i:nth-child(4) { top: 64px; --cascade-color: #b5ff31; }
.tool-mark--cascade b { position: absolute; right: 8%; bottom: 10px; padding: 4px 7px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); background: #b5ff31; font-family: var(--mono); font-size: 9px; }
.tool-mark--logical { gap: 10px; padding-inline: 12px; background: #f8f5ed; }
.tool-mark--logical span,
.tool-mark--logical code { padding: 9px 11px; border: 2px solid var(--ink); border-radius: 9px; background: white; font-family: var(--mono); font-size: 10px; font-weight: 900; }
.tool-mark--logical span { color: #ff6049; box-shadow: 4px 4px 0 #ff6049; }
.tool-mark--logical code { color: #087b62; box-shadow: 4px 4px 0 #b5ff31; }
.tool-mark--logical b { color: #6f79f6; font-size: 19px; }
.tool-mark--screen-reader {
  position: relative;
  gap: 7px;
  overflow: hidden;
  background: #171914;
}
.tool-mark--screen-reader i {
  width: 9px;
  height: var(--wave-height);
  border-radius: 999px;
  background: var(--wave-color, #6f79f6);
}
.tool-mark--screen-reader i:nth-child(1),
.tool-mark--screen-reader i:nth-child(5) { --wave-height: 27px; }
.tool-mark--screen-reader i:nth-child(2),
.tool-mark--screen-reader i:nth-child(4) { --wave-height: 49px; --wave-color: #b5ff31; }
.tool-mark--screen-reader i:nth-child(3) { --wave-height: 67px; --wave-color: #ff7359; }
.tool-mark--screen-reader b,
.tool-mark--accessible-name > b {
  position: absolute;
  right: 9%;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #171914;
  background: white;
  font-family: var(--mono);
  font-size: 10px;
}

.tool-mark--aria-live {
  gap: 5px;
  padding: 0 12px;
  background: #171914;
}

.tool-mark--aria-live span {
  display: grid;
  min-width: 0;
  min-height: 34px;
  padding: 0 7px;
  place-items: center;
  border-radius: 9px;
  color: #171914;
  background: #e0e4dd;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.tool-mark--aria-live span:nth-child(2) { background: #b5ff31; }
.tool-mark--aria-live span:nth-child(3) { color: white; background: #ff7359; }

.tool-mark--aria-live b {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #b5ff31;
  background: #292c27;
  font-size: 11px;
}
.tool-mark--accessible-name {
  gap: 12px;
  padding-inline: 14%;
  background: #171914;
}
.tool-mark--accessible-name > i {
  position: relative;
  width: 42px;
  height: 42px;
  border: 3px solid #171914;
  border-radius: 12px;
  background: #b5ff31;
}
.tool-mark--accessible-name > i::before {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 13px;
  height: 13px;
  border: 3px solid #171914;
  border-radius: 50%;
  content: "";
}
.tool-mark--accessible-name > i::after {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 11px;
  height: 3px;
  border-radius: 999px;
  background: #171914;
  content: "";
  rotate: 45deg;
}
.tool-mark--accessible-name > span { display: grid; gap: 3px; color: white; }
.tool-mark--accessible-name small { color: #929990; font-family: var(--mono); font-size: 10px; font-weight: 900; }
.tool-mark--accessible-name span b { font-size: 20px; }
.tool-mark--reading-order {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 8px 10px;
  padding: 13px 13%;
  background: #171914;
}
.tool-mark--reading-order > b {
  align-self: center;
  color: #929990;
  font-family: var(--mono);
  font-size: 10px;
}
.tool-mark--reading-order > span { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.tool-mark--reading-order i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #6f79f6;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.tool-mark--reading-order > span:last-child i { background: #ff6049; }
.tool-mark--focus-visible {
  display: grid;
  grid-template-columns: auto 58px auto;
  gap: 20px;
  padding-inline: 12%;
  background: #171914;
}
.tool-mark--focus-visible span,
.tool-mark--focus-visible b {
  color: white;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}
.tool-mark--focus-visible span { color: #929990; }
.tool-mark--focus-visible b { color: #b5ff31; }
.tool-mark--focus-visible i {
  width: 46px;
  height: 38px;
  position: relative;
  border: 2px solid white;
  border-radius: 10px;
  background: #6f79f6;
}
.tool-mark--focus-visible i::before {
  position: absolute;
  inset: -10px;
  border: 5px solid #1c5dff;
  border-radius: 17px;
  content: "";
}
.tool-mark--focus-obscured {
  display: grid;
  grid-template-columns: auto 64px auto;
  gap: 20px;
  padding-inline: 10%;
  position: relative;
  overflow: hidden;
  background: #171914;
}
.tool-mark--focus-obscured::after {
  width: 92px;
  height: 32px;
  position: absolute;
  top: 21px;
  left: 50%;
  z-index: 2;
  translate: -50% 0;
  border-radius: 9px;
  background: #ff6855;
  content: "";
}
.tool-mark--focus-obscured span,
.tool-mark--focus-obscured b {
  position: relative;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}
.tool-mark--focus-obscured span { color: #ff806d; }
.tool-mark--focus-obscured b { color: #b5ff31; }
.tool-mark--focus-obscured i {
  width: 48px;
  height: 34px;
  position: relative;
  z-index: 1;
  border: 4px solid white;
  border-radius: 9px;
  background: #6f79f6;
  box-shadow: 0 0 0 6px #1c5dff;
}
.tool-mark--subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 20px 13px 23px 12px;
  gap: 3px 6px;
  padding: 10px 14%;
}
.tool-mark--subgrid i {
  min-width: 0;
  border: 1.5px solid var(--ink);
  background: var(--subgrid-color);
}
.tool-mark--subgrid i:nth-child(3n + 1) { --subgrid-color: #ff7359; }
.tool-mark--subgrid i:nth-child(3n + 2) { --subgrid-color: #b5ff31; }
.tool-mark--subgrid i:nth-child(3n) { --subgrid-color: #6f79f6; }
.tool-mark--subgrid i:nth-child(-n + 3) { border-radius: 8px 8px 0 0; }
.tool-mark--subgrid i:nth-last-child(-n + 3) { border-radius: 0 0 8px 8px; }
.tool-mark--semantic-tokens { gap: 8px; padding-inline: 14%; background: linear-gradient(135deg, #f8f7ff 0 50%, #171428 50%); }
.tool-mark--semantic-tokens i { width: 21%; height: 54px; border: 2px solid var(--ink); border-radius: 9px; }
.tool-mark--semantic-tokens i:nth-child(1) { background: #f8f7ff; }
.tool-mark--semantic-tokens i:nth-child(2) { background: #d9d0ff; }
.tool-mark--semantic-tokens i:nth-child(3) { background: #6f48ff; }
.tool-mark--semantic-tokens i:nth-child(4) { background: #211847; }
.tool-mark--contrast { gap: 0; overflow: hidden; }
.tool-mark--contrast i { display: grid; place-items: center; width: 42%; height: 58px; font-style: normal; font-weight: 900; }
.tool-mark--contrast i:first-child { color: white; background: #161616; border-radius: 10px 0 0 10px; }
.tool-mark--contrast i:last-child { color: black; background: var(--yellow); border-radius: 0 10px 10px 0; }
.tool-mark--medoroa { background: #0c1020; }
.tool-mark--medoroa i { width: 72px; height: 72px; border-radius: 50%; filter: blur(2px); }
.tool-mark--medoroa i:first-child { background: #ff7a1a; box-shadow: 0 0 25px #ff7a1a; }
.tool-mark--medoroa i:nth-child(2) { background: #55bfff; box-shadow: 0 0 25px #55bfff; }
.tool-mark--medoroa strong { color: white; font-size: 22px; }
.tool-mark--theremin { background: #02040f; }
.tool-mark--theremin i { position: absolute; }
.tool-mark--theremin i:nth-child(1) { left: calc(50% + 20px); top: 18px; width: 2px; height: 52px; background: #00f5ff; box-shadow: 0 0 12px #00f5ff; }
.tool-mark--theremin i:nth-child(2) { left: calc(50% + 16px); top: 11px; width: 10px; height: 10px; border-radius: 50%; background: #00f5ff; box-shadow: 0 0 16px #00f5ff; }
.tool-mark--theremin i:nth-child(3) { left: calc(50% - 50px); top: 40px; width: 34px; height: 21px; border: 2px solid #c084fc; border-radius: 50%; box-shadow: 0 0 14px rgb(192 132 252 / 55%); }

.no-results {
  margin-top: 50px;
  padding: 42px 20px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  text-align: center;
}

.no-results strong { font-size: 20px; }
.no-results p { margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }

footer {
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

footer a { color: var(--green-dark); }

@keyframes card-in {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 980px) {
  .directory-hero { grid-template-columns: minmax(0, 1fr) 300px; }
  .dungeon-feature { grid-template-columns: 112px minmax(0, 1fr); padding: 18px; }
  .dungeon-feature b { font-size: 18px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-row { flex-direction: column; }
  .search-box { flex: 0 0 auto; width: min(100%, 420px); }
}

@media (max-width: 720px) {
  .site-header,
  main,
  footer { width: min(100% - 24px, 620px); }

  .site-header { min-height: 76px; }
  .account-link { min-height: 38px; padding-inline: 11px; }
  .account-link { font-size: 0; }
  .account-link span { font-size: 14px; }

  .dungeon-link {
    width: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }

  .dungeon-link span {
    width: 100%;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }

  .dungeon-link span::after { font-size: 9px; content: "PLAY"; }

  .directory-hero {
    grid-template-columns: 1fr;
    padding-top: 14px;
  }

  .directory-hero-copy,
  .dungeon-feature { min-height: 0; }

  .directory-hero-copy { padding: 34px 24px; }
  .directory-hero h1 { font-size: clamp(40px, 12vw, 64px); }
  .dungeon-feature { grid-template-columns: 100px minmax(0, 1fr); min-height: 160px; }

  .directory { padding-top: 18px; }
  .search-row { padding: 12px; border-radius: 16px; }
  .filter-list { flex-wrap: nowrap; width: 100%; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
  .filter-list button { flex: 0 0 auto; }
  .tool-groups { gap: 54px; margin-top: 42px; }
  .group-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 300px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
}

@media (max-width: 390px) {
  .brand small { display: none; }
  .brand b { font-size: 13px; }
  .directory-head { align-items: flex-end; }
  .search-box { padding-inline: 11px; }
}

.tool-mark--halloween { display: flex; align-items: center; justify-content: center; gap: 14px; background: #25192a; }
.tool-mark--halloween img { display: block; width: 100px; height: 80px; object-fit: contain; }
.tool-mark--halloween span { position: absolute; right: 12px; bottom: 9px; color: #fff3df; font: 800 10px/1.2 monospace; }

.tool-mark--forced-colors { display: grid; grid-template-columns: 1fr auto 1fr; gap: 11px; padding: 13px 10%; background: #e7e8e2; }
.tool-mark--forced-colors > span { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; height: 52px; border: 2px solid var(--ink); border-radius: 12px; background: #fffdf7; }
.tool-mark--forced-colors > span:first-child i { width: 19px; height: 19px; border-radius: 50%; }
.tool-mark--forced-colors > span:first-child i:nth-child(1) { background: #b5ff31; }
.tool-mark--forced-colors > span:first-child i:nth-child(2) { background: #6f79f6; }
.tool-mark--forced-colors > span:first-child i:nth-child(3) { background: #ff6855; }
.tool-mark--forced-colors > b { font-family: var(--mono); font-size: 18px; }
.tool-mark--forced-colors > span:last-child { color: white; background: #000; }
.tool-mark--forced-colors > span:last-child i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid white; border-radius: 50%; font-family: var(--mono); font-size: 10px; font-style: normal; font-weight: 900; }

.tool-mark--target-size { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 9%; background: #e7e8e2; }
.tool-mark--target-size > span { display: flex; min-width: 0; height: 56px; align-items: center; justify-content: center; gap: 10px; border: 2px solid var(--ink); border-radius: 13px; background: #fffdf7; }
.tool-mark--target-size > span:last-child { background: #b5ff31; }
.tool-mark--target-size i { position: relative; display: block; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 5px; background: #6f79f6; }
.tool-mark--target-size i::before { position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; translate: -50% -50%; border: 1px dashed #ff6049; border-radius: 50%; content: ""; }
.tool-mark--target-size > span:last-child i { width: 28px; height: 28px; background: #fffdf7; }
.tool-mark--target-size > span:last-child i::before { width: 36px; height: 36px; border-color: #008b72; border-radius: 9px; }
.tool-mark--target-size b { white-space: nowrap; font: 900 10px var(--mono); }
.tool-mark--target-size em { font: normal 900 18px var(--mono); }

.tool-mark--reflow { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; align-items: center; gap: 12px; padding: 12px 9%; background: #e7e8e2; }
.tool-mark--reflow > span { display: grid; align-content: center; gap: 6px; height: 56px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 13px; background: #fffdf7; }
.tool-mark--reflow > span:first-child i { height: 6px; border-radius: 8px; background: #ff6049; }
.tool-mark--reflow > span:first-child i:nth-child(2) { width: 118%; }
.tool-mark--reflow > span:first-child i:nth-child(3) { width: 82%; }
.tool-mark--reflow > b { padding: 8px 10px; border-radius: 18px; color: white; background: var(--ink); white-space: nowrap; font: 900 10px var(--mono); }
.tool-mark--reflow > span:last-child { border-color: #008b72; background: #b5ff31; }
.tool-mark--reflow > span:last-child i { height: 5px; border-radius: 8px; background: var(--ink); }
.tool-mark--reflow > span:last-child i:nth-child(2) { width: 72%; }
.tool-mark--reflow > span:last-child i:nth-child(3) { width: 88%; }

.tool-mark--hover-focus { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 9%; background: #e7e8e2; }
.tool-mark--hover-focus > span { position: relative; display: flex; align-self: end; height: 35px; align-items: center; justify-content: center; padding: 0 10px; border: 2px solid var(--ink); border-radius: 11px; background: #fffdf7; }
.tool-mark--hover-focus > span::before { position: absolute; bottom: calc(100% + 6px); left: 50%; width: 76px; height: 25px; translate: -50% 0; border: 2px solid var(--ink); border-radius: 8px; background: #b5ff31; box-shadow: 4px 4px 0 #17191420; content: ""; }
.tool-mark--hover-focus > span::after { position: absolute; bottom: calc(100% + 1px); left: 50%; width: 9px; height: 9px; translate: -50% 0; rotate: 45deg; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: #b5ff31; content: ""; }
.tool-mark--hover-focus i { width: 12px; height: 12px; margin-right: 7px; border-radius: 50%; background: #6f79f6; }
.tool-mark--hover-focus b { font: 900 10px var(--mono); }
.tool-mark--hover-focus em { color: #008b72; white-space: nowrap; font: normal 900 10px var(--mono); }
.tool-mark--hover-focus strong { padding: 8px 10px; border-radius: 18px; color: white; background: var(--ink); font: 900 10px var(--mono); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
