#archive {
  --ta-paper: #f4f3ed;
  --ta-ink: #141510;
  --ta-acid: #dcff4f;
  color: var(--ta-ink);
  min-width: 0;
}
.ta-toolbar, .ta-filters, .ta-caption, .ta-sheet-bar, .ta-sheet-bar > span, .ta-sheet-bar button, .ta-next, .ta-plate figcaption {
  display: flex;
  align-items: center;
}
.ta-toolbar {
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 clamp(20px, 2.4vw, 38px);
  padding-top: 17px;
  border-top: 1px solid rgb(20 21 16 / 30%);
}
.ta-filters { flex-wrap: wrap; gap: 5px; }
.ta-filter, .ta-card, .ta-sheet-bar button, .ta-next {
  font: inherit;
  cursor: pointer;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.ta-filter {
  padding: 8px 17px;
  border: 1px solid rgb(20 21 16 / 22%);
  border-radius: 99px;
  background: transparent;
  font-size: 13px;
  font-weight: 540;
  line-height: 1.3;
  transition: background .18s, color .18s, border-color .18s;
}
.ta-filter:hover { border-color: var(--ta-ink); }
.ta-filter[aria-pressed="true"] { color: var(--ta-paper); background: var(--ta-ink); border-color: var(--ta-ink); }
.ta-code, .ta-count, .ta-sheet-bar > span, .ta-eyebrow, .ta-plate figcaption, .ta-index-word {
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Microsoft YaHei", monospace;
  font-variant-numeric: tabular-nums;
}
.ta-count { color: #53564c; font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.ta-index-word { margin-right: 6px; color: #73766a; font-size: 9px; letter-spacing: .13em; }
.ta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 70px) clamp(16px, 2.1vw, 38px); }
.ta-card {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.ta-feature-first .ta-card:first-child { grid-column: 1 / -1; }
.ta-frame { position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9; background: #252720; }
.ta-feature-first .ta-card:first-child .ta-frame { aspect-ratio: auto; height: clamp(250px, 32vw, 470px); }
.ta-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.25,.65,.22,1); }
.ta-tag, .ta-play-tag, .ta-enter {
  position: absolute;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}
.ta-tag, .ta-play-tag {
  bottom: clamp(10px, 1.55vw, 22px);
  color: #fff;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: .04em;
  border: 1px solid rgb(255 255 255 / 48%);
  background: rgb(12 14 11 / 62%);
}
.ta-tag { left: clamp(10px, 1.55vw, 22px); padding: 5px 8px; }
.ta-play-tag { right: clamp(10px, 1.55vw, 22px); gap: 7px; padding: 7px 12px; border-radius: 100px; }
.ta-play-tag i { border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent #dcff4f; }
.ta-enter {
  right: clamp(10px, 1.25vw, 19px);
  top: clamp(10px, 1.25vw, 19px);
  width: 33px;
  height: 33px;
  justify-content: center;
  color: #141510;
  background: #dcff4f;
  border-radius: 50%;
  font: 18px/1 Arial, sans-serif;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .25s, transform .25s;
}
.ta-caption { gap: 12px; padding-top: 13px; flex-wrap: wrap; }
.ta-name { font-size: clamp(20px, 2.1vw, 36px); letter-spacing: -.045em; line-height: 1.22; font-weight: 650; }
.ta-caption-type { color: #52544b; font-size: clamp(11px, 1vw, 14px); }
.ta-code { margin-left: auto; color: #64675b; font-size: 10px; letter-spacing: .08em; }
.ta-card:focus-visible .ta-enter { opacity: 1; transform: none; }
#archive button:focus-visible, .ta-dialog button:focus-visible, .ta-dialog video:focus-visible { outline: 2px solid #667522; outline-offset: 4px; }
@media (hover: hover) {
  .ta-card:hover .ta-frame img { transform: scale(1.035); }
  .ta-card:hover .ta-enter { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ta-card.ta-inview .ta-caption { animation: ta-appear .55s cubic-bezier(.16,.75,.2,1) both; }
  @keyframes ta-appear { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

html.ta-modal-open { overflow: hidden; }
.ta-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(93vw, 1000px);
  max-width: 100%;
  max-height: min(90vh, 90dvh);
  border: 0;
  border-radius: 0;
  background: #f4f3ed;
  color: #141510;
  overflow: auto;
  overscroll-behavior: contain;
}
.ta-dialog::backdrop { background: rgb(9 11 8 / 82%); }
.ta-sheet { min-width: 0; padding: 0 clamp(18px, 4vw, 60px) clamp(18px, 4vw, 60px); }
.ta-sheet-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  justify-content: space-between;
  min-height: 55px;
  gap: 12px;
  border-bottom: 1px solid #c0c1b7;
  background: #f4f3ed;
}
.ta-sheet-bar > span { gap: 9px; font-size: 10px; letter-spacing: .07em; }
.ta-sheet-bar i { display: block; height: 1px; width: 22px; background: #74766b; }
.ta-sheet-bar button { gap: 9px; padding: 7px 0 7px 8px; color: #141510; background: none; border: 0; font-size: 12px; }
.ta-sheet-bar button b { font: 24px/.8 Arial, sans-serif; }
.ta-sheet-head { padding: clamp(25px, 5vw, 55px) 0 22px; }
.ta-eyebrow, .ta-subtitle { margin: 0; color: #54574c; font-size: 12px; }
.ta-eyebrow { letter-spacing: .06em; }
.ta-eyebrow span { margin: 0 4px; }
.ta-sheet-head h2 {
  margin: 9px 0;
  color: #141510;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: 1.12;
}
.ta-sheet-head h2:focus { outline: none; }
.ta-subtitle { font-size: 15px; }
.ta-plate { margin: 0; }
.ta-plate img, .ta-plate video { display: block; width: 100%; height: auto; background: #252720; }
.ta-plate figcaption { justify-content: space-between; gap: 10px; margin-top: 9px; font-size: 10px; letter-spacing: .06em; color: #54574c; }
.ta-description { max-width: 37em; margin: clamp(21px, 3.7vw, 48px) 0; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.75; }
.ta-second { width: min(100%, 600px); margin-left: auto; }
.ta-next {
  width: 100%;
  margin-top: clamp(28px, 5vw, 60px);
  padding: 18px 0 0;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid #919387;
  background: none;
  text-align: left;
}
.ta-next small { display: block; color: #55584c; font-size: 12px; }
.ta-next strong { display: block; margin-top: 5px; font-size: clamp(22px, 3vw, 38px); letter-spacing: -.04em; }
.ta-next > span:last-child { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #dcff4f; color: #141510; font: 21px/1 Arial, sans-serif; }
@media (max-width: 680px) {
  .ta-grid { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .ta-feature-first .ta-card:first-child .ta-frame { height: auto; aspect-ratio: 16 / 10; }
  .ta-toolbar { margin-top: 18px; padding-top: 13px; }
  .ta-filter { padding: 7px 11px; font-size: 12px; }
  .ta-index-word { display: none; }
  .ta-count { font-size: 10px; }
  .ta-caption { padding-top: 10px; gap: 8px; }
  .ta-dialog { width: 100%; max-height: 100vh; max-height: 100dvh; }
  .ta-sheet-bar { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .ta-frame img, .ta-enter, .ta-filter { transition: none; }
}
