:root {
  --ink: #252721;
  --muted: #62655e;
  --line: #dddcd4;
  --paper: #fdfcf9;
  --accent: #a9502c;
  --display: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
}
body:has(main:focus) {
  scroll-behavior: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #b65b2b;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
}
svg,
img {
  display: block;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
main:focus {
  outline: none;
}
.wrap {
  width: min(1344px, calc(100% - clamp(40px, 9vw, 144px)));
  margin-inline: auto;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 5;
  background: white;
  padding: 12px;
}
#header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(32px, 4.2vw, 70px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 26px;
  line-height: 1;
  font-weight: 710;
  letter-spacing: -1.5px;
  flex-shrink: 0;
}
.brand img {
  width: 29px;
  height: 29px;
}
.header-row nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 30px;
}
.header-row nav > a,
.header-row nav > .nav-menu > .nav-trigger {
  font-size: 14px;
  font-weight: 550;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: #63645e;
  white-space: nowrap;
}
.header-row nav > a[aria-current],
.header-row nav > a:hover,
.header-row nav > .nav-menu > .nav-trigger[data-active="true"],
.header-row nav > .nav-menu > .nav-trigger:hover,
.header-row nav > .nav-menu.open > .nav-trigger {
  color: var(--ink);
}
.header-row nav > a[aria-current]:after,
.header-row nav > .nav-menu > .nav-trigger[data-active="true"]:after {
  content: "";
  position: absolute;
  height: 3px;
  background: #dc7d4b;
  bottom: -1px;
  inset-inline: 0;
}
.nav-menu {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-trigger svg {
  transition: transform 0.16s ease;
}
.nav-menu.open .nav-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: -10px;
  z-index: 20;
  min-width: 228px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
  box-shadow: 0 12px 30px #2527211c;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    visibility 0.14s;
}
.nav-menu.open .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (hover: hover) {
  .nav-menu:hover:not([data-dismissed]) .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-menu:hover:not([data-dismissed]) .nav-trigger svg {
    transform: rotate(180deg);
  }
}
.nav-dropdown a {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 7px;
  color: var(--ink);
}
.nav-dropdown a:hover {
  background: #efede5;
}
.nav-dropdown a[aria-current="page"] {
  background: #f6ecde;
}
.nav-dropdown strong {
  font-size: 14px;
  font-weight: 620;
  line-height: 1.25;
}
.nav-dropdown a[aria-current="page"] strong {
  color: var(--accent);
}
.nav-dropdown span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 17px;
}
.language,
.saved-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.language {
  padding: 7px 0;
}
.separator {
  height: 17px;
  border-left: 1px solid var(--line);
}
.saved-link {
  border: 1px solid #d4d4cb;
  background: #fffefa;
  padding: 8px 13px;
  border-radius: 7px;
}
.saved-link:hover,
.saved-link[aria-current] {
  border-color: #7e8175;
}
.saved-link b {
  font-size: 12px;
  color: #6d4229;
}
.home {
  padding-top: 30px;
}
.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 348px;
  border: 1px solid #e4dacc;
  border-radius: 16px;
  background: #f5ecdc;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3.15vw, 50px) 0 clamp(28px, 3vw, 46px)
    clamp(26px, 3.55vw, 57px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  font:
    700 12px/1.3 "Courier New",
    monospace;
  letter-spacing: 0.12em;
  color: #8a482c;
}
.eyebrow span {
  width: 20px;
  height: 2px;
  background: #bd693f;
}
.hero h1 {
  margin: 18px 0 15px;
  font: 500 clamp(54px, 5.1vw, 81px)/0.96 var(--display);
  letter-spacing: -0.057em;
}
.hero h1 em {
  font-weight: 400;
  color: #a14f2d;
  letter-spacing: -0.06em;
}
.hero p {
  color: #5c5a50;
  max-width: 450px;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}
.search-box {
  border: 1px solid #ccc7bc;
  border-radius: 8px;
  box-shadow: 0 2px 3px #38291407;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffdfa;
  max-width: 412px;
  width: 92%;
  height: 46px;
  padding: 0 12px 0 14px;
  margin-top: 22px;
  color: #77786d;
}
.search-box:focus-within {
  outline: 2px solid #b46b42;
  outline-offset: 2px;
}
.search-box input {
  border: 0;
  outline: none;
  background: transparent;
  min-width: 0;
  flex: 1;
  font-size: 14px;
  height: 100%;
}
.search-box input:focus-visible {
  outline: none;
}
.search-box input::placeholder {
  color: #73746c;
}
.search-box kbd {
  display: grid;
  place-items: center;
  border: 1px solid #dddcd5;
  border-radius: 4px;
  width: 22px;
  height: 23px;
  font: 12px monospace;
  color: #727269;
  background: #faf9f5;
}
.compat {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 17px;
  color: #605e54;
  font-size: 12px;
}
.compat span {
  color: #6e6c63;
}
.compat b {
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 5px;
}
.compat b:first-of-type svg {
  color: #ae613e;
}
.hero-art {
  position: relative;
  min-width: 0;
  background: transparent;
}
.hero-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(90deg, transparent, #000 11%);
  transition: transform 0.5s;
}
.hero-art:hover img {
  transform: scale(1.018);
}
.hero-art:focus-visible {
  outline-offset: -6px;
}
.art-credit {
  position: absolute;
  right: 17px;
  bottom: 16px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  border: 1px solid #c2ad8580;
  color: #4c3e2a;
  background: #fff7e7e6;
  font-size: 12px;
  font-weight: 550;
}
#library {
  margin-top: clamp(33px, 3.2vw, 52px);
  scroll-margin-top: 20px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title h2,
.brief h2 {
  font: 550 clamp(31px, 2.7vw, 43px)/1.15 var(--display);
  letter-spacing: -0.05em;
}
.section-title > span {
  display: inline-grid;
  place-items: center;
  font:
    500 13px/1.2 "Courier New",
    monospace;
  color: #5c5d53;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-width: 29px;
  padding: 3px 6px;
}
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 0 22px;
}
.filter-list {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.filter-list button,
.agent-picker button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.25;
  padding: 8px 13px;
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.filter-list button:hover,
.agent-picker button:hover {
  border-color: #9d9f92;
}
.filter-list [aria-pressed="true"],
.agent-picker [aria-pressed="true"] {
  background: #282b24;
  color: #fffdf3;
  border-color: #282b24;
}
.sort {
  display: flex;
  align-items: center;
  position: relative;
  color: #5d6056;
}
.sort > svg:first-child {
  position: absolute;
  left: 11px;
  pointer-events: none;
}
.sort > svg:last-child {
  position: absolute;
  right: 10px;
  pointer-events: none;
}
.sort select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  padding: 8px 30px 8px 35px;
  font-size: 14px;
  line-height: 1.25;
}
.cards,
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 22px;
}
.skill-card,
.collection {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fffefa;
  transition:
    box-shadow 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.skill-card:hover,
.collection:hover {
  border-color: #bcbab0;
  box-shadow: 0 7px 21px #2d29100d;
  transform: translateY(-2px);
}
.card-main {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.skill-card {
  display: flex;
  flex-direction: column;
}
.card-main:focus-visible,
.collection:focus-visible {
  outline-offset: -3px;
}
.card-cover {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card-info {
  padding: 17px 18px 21px;
}
.meta,
.category {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta {
  font-size: 12px;
  font-weight: 500;
  color: #63665b;
  line-height: 16px;
}
.meta > i {
  width: 3px;
  height: 3px;
  background: #abaea2;
  border-radius: 100%;
  margin: 0 3px;
}
.category {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.025em;
  color: #485146;
}
.category-video {
  color: #675081;
}
.category-slides {
  color: #526340;
}
.category-image {
  color: #9a6036;
}
.skill-card h3 {
  margin: 9px 23px 5px 0;
  letter-spacing: -0.032em;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 640;
  line-height: 1.24;
}
.card-info p,
.collection-info p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.save-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffefa;
  color: #63655d;
}
.skill-card > .save-btn {
  position: absolute;
  right: 14px;
  top: 0;
  margin-top: calc(57.143% + 11px);
  width: 28px;
  height: 28px;
  border: 0;
}
.save-btn:hover,
.save-btn.selected {
  color: #934a2c;
  background: #f6ecde;
}
.save-btn.selected svg {
  fill: #e4b28e;
}
.empty {
  grid-column: 1/-1;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  text-align: center;
  padding: 34px 18px;
  border: 1px dashed #cccbbf;
  border-radius: 10px;
  background: #faf9f2;
}
.empty > svg {
  color: #9b6844;
}
.empty h2 {
  font: 500 29px/1.15 var(--display);
}
.empty p {
  color: var(--muted);
  font-size: 15px;
}
.button,
.secondary-button,
.preview-link,
.text-btn,
.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.button,
.secondary-button {
  padding: 11px 17px;
  border-radius: 7px;
  border: 1px solid #2d3029;
  background: #2d3029;
  color: #fffdf8;
}
.button:hover {
  background: #42483b;
}
.secondary-button {
  background: #fffefa;
  border-color: #cbcbbf;
  color: var(--ink);
}
.secondary-button:hover {
  background: #f3f1e9;
}
.text-btn,
.guide-link {
  padding: 3px 0;
  color: #835134;
}
.text-btn:hover,
.guide-link:hover,
.preview-link:hover {
  text-decoration: underline;
}
.interior {
  min-height: 65vh;
}
.av-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.av-collections a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffefa;
  font-size: 14px;
  font-weight: 580;
  color: var(--muted);
}
.av-collections a:hover {
  border-color: #9d9f92;
  color: var(--ink);
}
.av-collections [aria-current="page"] {
  background: #282b24;
  border-color: #282b24;
  color: #fffdf3;
}
.av-toolbar,
.av-filters,
.av-pages,
.av-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.av-toolbar {
  justify-content: space-between;
  padding-block: 14px;
  margin-bottom: 24px;
  border-block: 1px solid var(--line);
}
.av-toolbar > span,
.av-pages span,
.av-caption p,
.av-links span {
  font-size: 14px;
  color: var(--muted);
}
.av-filters a {
  padding: 8px 13px;
  border-radius: 6px;
  font-size: 14px;
}
.av-filters a:hover {
  background: #efede5;
}
.av-filters [aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}
.av-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
  gap: 28px 20px;
}
.av-cover {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  background: #242622;
}
.av-cover a,
.av-cover img,
.av-cover video {
  display: block;
  width: 100%;
  height: 100%;
}
.av-cover img {
  object-fit: cover;
}
.av-cover video {
  object-fit: contain;
}
.av-preview,
.av-time {
  position: absolute;
  bottom: 8px;
  background: #191b18db;
  color: white;
}
.av-preview {
  left: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.av-preview:hover {
  background: #111;
}
.av-time {
  right: 8px;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.av-caption h2 {
  margin: 12px 0 4px;
  font-size: 17px;
}
.av-caption a:hover,
.av-links a:not(.button):hover {
  color: var(--accent);
  text-decoration: underline;
}
.av-pages {
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}
.av-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.av-compare figure {
  margin: 0;
}
.interior:has(.av-compare) h1 {
  overflow-wrap: anywhere;
}
.av-compare figcaption {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 650;
}
.av-compare video,
.av-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #20221f;
  border-radius: 10px;
}
.av-stage {
  max-width: 960px;
}
.av-note {
  margin-top: 22px;
  max-width: 960px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
}
.av-compare ~ .av-note {
  max-width: none;
}
.av-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.av-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f3eb;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink);
}
.av-note-hint {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.av-note h2 {
  font-size: 15px;
  font-weight: 650;
}
.av-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.av-prompt-head .secondary-button {
  padding: 7px 12px;
  font-size: 13px;
}
.av-prompt pre {
  margin: 0;
  padding: 12px 14px;
  border-radius: 7px;
  background: #f5f3eb;
  font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.av-note-source {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.av-note-source a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.av-post h2 {
  margin-bottom: 10px;
}
.av-post blockquote {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.av-links {
  gap: 12px 22px;
  margin-top: 24px;
}
.av-links span {
  margin-inline-start: auto;
}
@media (max-width: 700px) {
  .av-compare {
    grid-template-columns: 1fr;
  }
  .av-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .av-links span {
    margin-inline-start: 0;
  }
}
.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 27px 0 35px;
  font-size: 13px;
  color: #73766b;
}
.crumb a {
  color: #56594f;
}
.crumb a:hover {
  text-decoration: underline;
}
.crumb span {
  color: #a6a79d;
}
.page-intro {
  margin: 0 0 32px;
}
.page-intro h1,
.detail-main h1 {
  font: 500 clamp(42px, 4.7vw, 68px)/1.02 var(--display);
  letter-spacing: -0.056em;
}
.page-intro p,
.detail-main > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 13px;
}
.collection-art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: #fff;
}
.collection-art .art {
  aspect-ratio: 1.48;
}
.collection-info {
  padding: 20px;
}
.collection-info h2 {
  font: 500 28px/1.15 var(--display);
  margin: 9px 0 8px;
  letter-spacing: -0.04em;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  gap: clamp(26px, 4.4vw, 75px);
  align-items: start;
}
.detail-art {
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.preview-link {
  margin-top: 13px;
  color: #585d52;
}
.detail-main .meta {
  margin: 2px 0 18px;
}
.detail-main h1 {
  font-size: clamp(36px, 3.6vw, 58px);
}
.detail-actions {
  display: flex;
  gap: 9px;
  align-items: stretch;
  margin: 23px 0 12px;
}
.detail-actions .save-btn {
  width: 43px;
  height: auto;
}
.detail-main hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 21px 0;
}
.detail-main h3,
.guide-sheet h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
}
.agent-picker {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}
.agent-picker button {
  font-size: 13px;
  padding: 7px 10px;
}
.brief {
  margin: 44px 0;
  background: #f3efe4;
  border: 1px solid #e4ded0;
  border-radius: 12px;
  padding: clamp(22px, 3vw, 42px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 23px;
}
.brief h2 {
  margin-top: 10px;
}
.brief blockquote {
  margin: 0 0 15px;
  font: italic 23px/1.35 var(--display);
  color: #4a4d40;
}
.interior .section-title {
  margin-bottom: 20px;
}
.guide-sheet {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffefa;
  max-width: 800px;
  padding: clamp(20px, 3vw, 40px);
}
.guide-sheet h2 {
  font: 500 27px var(--display);
  letter-spacing: -0.035em;
}
.guide-steps {
  padding-left: 25px;
  margin: 28px 0;
}
.guide-steps li {
  padding-left: 6px;
  margin-bottom: 22px;
}
.guide-steps li::marker {
  font-weight: 650;
  color: #96502f;
}
.guide-steps p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}
.code-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #f1f1e9;
  border-radius: 7px;
  margin: 12px 0;
  padding: 11px 14px;
}
.code-row code {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.code-row button {
  padding: 5px;
}
#footer {
  margin-top: clamp(42px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: #f5f3eb;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(32px, 4vw, 60px);
}
.footer-intro p {
  max-width: 27ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer-nav h2 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 650;
}
.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a,
.footer-bottom button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.footer-nav a:hover,
.footer-bottom button:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-bottom small,
.footer-bottom button {
  font-size: 13px;
}
.footer-bottom button {
  gap: 7px;
  padding: 0;
}
#notice {
  position: fixed;
  z-index: 5;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 12px);
  border-radius: 8px;
  background: #292d25;
  color: #fffdf4;
  font-size: 14px;
  padding: 11px 17px;
  box-shadow: 0 4px 20px #0002;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
html[lang="zh-CN"] .hero h1 {
  letter-spacing: -0.05em;
  font-size: clamp(43px, 4.3vw, 68px);
  line-height: 1.15;
}
html[lang="zh-CN"] .hero h1 em {
  font-style: normal;
}
@media (min-width: 1550px) {
  .hero-art > img {
    object-fit: contain;
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 94%,
      transparent
    );
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    grid-template-columns: 53% 47%;
  }
  .hero-copy {
    padding: 30px 0 30px 29px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero p {
    font-size: 15px;
  }
  .cards,
  .collection-grid {
    gap: 18px 15px;
  }
  .card-info {
    padding: 15px;
  }
  .header-row {
    gap: 32px;
  }
  .header-row nav {
    gap: 22px;
  }
  .hero-art > img {
    object-fit: cover;
    object-position: 45% center;
  }
  .compat {
    gap: 8px;
  }
}
@media (max-width: 790px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-intro p {
    max-width: none;
    margin-top: 8px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .cards,
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero p {
    max-width: 350px;
  }
  .hero {
    min-height: 325px;
  }
  .hero-copy {
    padding: 25px 0 25px 24px;
  }
  .compat {
    gap: 8px;
    font-size: 11px;
  }
  .compat > span {
    display: none;
  }
  .header-row {
    gap: 28px;
    min-height: 62px;
  }
  .header-row nav {
    gap: 18px;
  }
  .header-tools {
    gap: 10px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .detail-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
  }
  .filter-list {
    gap: 5px;
  }
  .filter-list button {
    padding: 8px 10px;
  }
}
@media (max-width: 740px) {
  .header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
  }
  .header-row > .brand,
  .header-tools {
    margin-block: 14px;
  }
  .header-row nav {
    grid-column: 1/-1;
    grid-row: 2;
    gap: 25px;
  }
  .header-row nav > a,
  .header-row nav > .nav-menu > .nav-trigger {
    padding: 0 0 12px;
    font-size: 14px;
  }
  .nav-dropdown {
    left: 0;
    max-width: calc(100vw - 32px);
  }
  .header-tools {
    grid-row: 1;
    grid-column: 2;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .brand {
    font-size: 24px;
  }
  .header-tools .saved-link {
    padding: 6px 10px;
  }
  .home {
    padding-top: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 25px 24px 16px;
  }
  .hero h1 {
    font-size: clamp(47px, 9vw, 61px);
    margin: 13px 0;
  }
  .hero p {
    max-width: 390px;
  }
  .search-box {
    margin-top: 15px;
    width: 100%;
    max-width: 390px;
  }
  .compat {
    font-size: 12px;
    gap: 12px;
    margin-top: 13px;
  }
  .compat > span {
    display: block;
  }
  .hero-art {
    height: clamp(155px, 42vw, 220px);
  }
  .hero-art > img {
    mask-image: linear-gradient(180deg, transparent, #000 20%);
    object-fit: cover;
    object-position: center 56%;
  }
  .art-credit {
    right: 10px;
    bottom: 10px;
  }
  .filter-row {
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 15px 0;
  }
  .filter-list {
    gap: 5px;
  }
  .filter-list button,
  .sort select {
    font-size: 13px;
  }
  .filter-list button {
    padding: 7px 9px;
  }
  .sort select {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .cards,
  .collection-grid {
    gap: 14px;
  }
  .card-info {
    padding: 13px;
  }
  .skill-card h3 {
    font-size: 18px;
  }
  .skill-card > .save-btn {
    right: 8px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .brief {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .crumb {
    margin: 20px 0 24px;
  }
  .page-intro h1 {
    font-size: 42px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .footer-nav a,
  .footer-bottom button {
    min-height: 44px;
  }
  .footer-nav h2 {
    margin-bottom: 4px;
  }
  .collection-info {
    padding: 15px;
  }
}
@media (max-width: 460px) {
  .cards,
  .collection-grid {
    grid-template-columns: 1fr;
  }
  .card-info {
    padding: 15px 17px 18px;
  }
  .skill-card h3 {
    font-size: 21px;
  }
  .filter-list {
    column-gap: 4px;
  }
  .filter-list button {
    gap: 4px;
    padding: 7px 8px;
  }
  .filter-list svg {
    width: 13px;
  }
  .sort {
    margin-left: auto;
  }
  .filter-row {
    row-gap: 9px;
  }
  .hero-art {
    height: 155px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .compat > span {
    display: none;
  }
  .section-title h2 {
    font-size: 32px;
  }
  .cards {
    gap: 18px;
  }
  .brief blockquote {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.install-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 85px);
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-top: 40px;
}
.install-overview h2 {
  font: 500 clamp(30px, 3vw, 44px)/1.1 var(--display);
  letter-spacing: -0.05em;
  margin: 12px 0;
}
.install-overview p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
}
.install-overview .button {
  margin-top: 17px;
}
.questions details {
  border-bottom: 1px solid var(--line);
}
.questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
}
.questions summary::-webkit-details-marker {
  display: none;
}
.questions details[open] svg {
  transform: rotate(180deg);
}
.questions details p {
  margin-bottom: 18px;
  font-size: 15px;
}
@media (max-width: 640px) {
  .install-overview {
    grid-template-columns: 1fr;
  }
  .filter-row {
    display: block;
  }
  #library {
    position: relative;
  }
  .sort {
    position: absolute;
    right: 0;
    top: 1px;
  }
  .filter-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 1px 5px;
    scrollbar-width: thin;
  }
  .filter-list button {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .section-title {
    min-height: 33px;
  }
  .section-title h2 {
    font-size: 29px;
  }
}
@media (max-width: 350px) {
  .sort > svg:first-child {
    display: none;
  }
  .sort select {
    padding-left: 7px;
  }
  .section-title {
    gap: 6px;
  }
}

@media (max-width: 460px) {
  .filter-list {
    display: grid;
    grid-template-columns: 1.18fr 0.9fr 1fr 1fr 1fr;
    overflow: visible;
    gap: 4px;
  }
  .filter-list button {
    min-width: 0;
    padding: 8px 2px;
    gap: 4px;
    font-size: 12px;
  }
}
@media (max-width: 350px) {
  .filter-list button svg {
    display: none;
  }
  .section-title h2 {
    font-size: 25px;
  }
}
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}
.resource-links a {
  width: fit-content;
  padding-block: 3px;
}
.resource-links a:hover,
.resource-links [aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tool-entry:focus-visible {
  outline-offset: 3px;
}
.detail-main > .source-note {
  font-size: 14px;
}
.remote-preview {
  display: block;
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
  background: #efede7;
}
.detail-art .remote-preview {
  object-fit: contain;
}
.detail-art video.remote-preview {
  background: #222;
}
.preview-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.preview-gallery button {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.preview-gallery button[aria-pressed="true"] {
  border-color: var(--accent);
}
.preview-gallery button:focus-visible {
  outline-offset: 2px;
}
.preview-gallery img {
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
  border-radius: 6px;
  background: #efede7;
}
.preview-video-icon {
  position: absolute;
  left: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 4px;
  background: #222d;
  color: white;
}
.source-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#library-pages:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--muted);
}
#library-pages button:disabled {
  opacity: 0.45;
  cursor: default;
}
