:root {
  --paper: #ffffff;
  --paper2: #ffffff;
  --ink: #171719;
  --graphite: #29292c;
  --slate: #7c7c7c;
  --steel: #6c6c72;
  --mute: #171719;
  --platinum: #c9c9cd;
  --hair: #e1e1de;
  --soft: #ecece8;
  --tight: -0.035em;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}

/* 隐藏滚动条，但依然可以滚动 */
* {
  /* chrome、edge、safari */
  ::-webkit-scrollbar {
    display: none;
  }
  /* firefox */
  scrollbar-width: none;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 50px;
  border-bottom: 1px solid rgba(225, 225, 222, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
}
.user-ui-embedded .site-header {
  display: none;
}
.nav-shell,
.footer-shell {
  /* max-width: var(--max); */
  height: 100%;
  padding: 0 28px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: var(--tight);
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  /* background: var(--ink); */
  color: var(--paper);
  font-size: 15px;
}
.brand-mark img {
  /* 图片最大不超过容器 */
  max-width: 100%;
  max-height: 100%;
  /* 不要 width:100% height:100%，大图会撑满，小logo会被拉大变形 */
  display: block;
  /* 如果需要强制填满容器用下面这行 */
  /* width:100%;height:100%;object-fit:contain; */
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 33px;
  margin-left: 90px;
}
.main-nav a,
.sign-in {
  position: relative;
  text-decoration: none;
  color: var(--slate);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active,
.sign-in:hover {
  color: var(--ink);
  font-size: 15px;

}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-left: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 9px 15px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.button-dark {
  background: var(--ink);
  color: var(--paper);
}
.button-dark:hover {
  background: var(--graphite);
  transform: translateY(-1px);
}
.mobile-menu {
  display: none;
  border: 0;
  background: transparent;
  padding: 5px;
}
.mobile-menu span {
  display: block;
  width: 21px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease;
}
.hero {
  position: relative;
  min-height: 600px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
  background-image: none;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  display: none;
}
.hero-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(23, 23, 25, 0.07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-one {
  width: 660px;
  height: 660px;
}
.orbit-two {
  width: 440px;
  height: 440px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 28px 112px;
  text-align: center;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(251, 251, 249, 0.8);
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
}
.eyebrow-pill b {
  font-weight: 400;
  color: var(--platinum);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3d8b65;
  box-shadow: 0 0 0 4px rgba(61, 139, 101, 0.09);
}
h1 {
  margin-top: 29px;
  font-size: clamp(3.9rem, 8.8vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 600;
}
.hero-lead {
  max-width: 620px;
  margin: 27px auto 0;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 39px;
}
.hero-stats div {
  min-width: 74px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-stats strong {
  font-size: 20px;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.hero-stats span {
  color: var(--mute);
  font-size: 31px;
}
.hero-stats i {
  width: 1px;
  height: 26px;
  background: var(--hair);
}
.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 35px;
  bottom: 31px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--mute);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-decoration: none;
  writing-mode: vertical-rl;
}
.scroll-cue iconify-icon {
  font-size: 14px;
  animation: nudge 1.8s ease-in-out infinite;
}
@keyframes nudge {
  50% {
    transform: translateY(4px);
  }
}
.chronicle-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 112px 28px 132px;
}
.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}
.section-label {
  display: block;
  margin-bottom: 13px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.section-intro h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.section-intro > p {
  max-width: 385px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.75;
}
.filter-panel {
  position: sticky;
  top: 82px;
  z-index: 30;
  padding: 14px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: rgba(251, 251, 249, 0.9);
  box-shadow: 0 10px 34px rgba(23, 23, 25, 0.035);
  backdrop-filter: blur(18px);
}
.search-box {
  height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--paper);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.search-box:focus-within {
  border-color: var(--platinum);
  background: #fff;
}
.search-box iconify-icon {
  font-size: 19px;
  color: var(--steel);
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search-box input::placeholder {
  color: var(--mute);
}
.search-box kbd {
  padding: 3px 7px;
  border: 1px solid var(--hair);
  border-radius: 5px;
  background: var(--paper2);
  color: var(--mute);
  font-family: inherit;
  font-size: 10px;
  box-shadow: 0 1px 0 var(--hair);
  white-space: nowrap;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 1px 0;
}
.year-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
}
.year-tabs button,
.reset-button,
.sort-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.year-tabs button {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 500;
  transition: 0.2s ease;
}
.year-tabs button:hover {
  color: var(--ink);
  background: var(--paper);
}
.year-tabs button.active {
  background: var(--ink);
  color: var(--paper);
}
.select-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.select-wrap {
  position: relative;
}
.select-wrap select {
  height: 34px;
  min-width: 116px;
  padding: 0 31px 0 12px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  outline: none;
  appearance: none;
  background: var(--paper2);
  color: var(--slate);
  font-size: 12px;
  cursor: pointer;
}
.select-wrap iconify-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  font-size: 10px;
  color: var(--mute);
  pointer-events: none;
  transform: translateY(-50%);
}
.sort-button {
  height: 34px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  color: var(--slate);
  font-size: 12px;
}
.sort-button:hover {
  border-color: var(--platinum);
}
.sort-button iconify-icon {
  font-size: 15px;
}
.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 2px 18px;
  border-bottom: 1px solid var(--hair);
  color: var(--mute);
  font-size: 12px;
}
.result-meta p {
  display: flex;
  gap: 9px;
}
.result-meta #result-count {
  color: var(--ink);
  font-weight: 600;
}
.meta-separator {
  color: var(--platinum);
}
.reset-button {
  color: var(--steel);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.reset-button.visible {
  opacity: 1;
  pointer-events: auto;
}
.timeline {
  position: relative;
}
.year-group {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid var(--hair);
}
.year-aside {
  position: relative;
  padding: 46px 28px 44px 2px;
}
.year-sticky {
  position: sticky;
  top: 218px;
}
.year-number {
  display: block;
  font-size: 50px;
  line-height: 0.9;
  letter-spacing: -0.065em;
  font-weight: 600;
}
.year-count {
  display: block;
  margin-top: 11px;
  color: var(--mute);
  font-size: 11px;
}
.year-events {
  position: relative;
  padding: 33px 0 40px 42px;
  border-left: 1px solid var(--hair);
}
.event-card {
  position: relative;
  padding: 15px 15px 15px 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 19px;
  border-radius: 12px;
  transition: background 0.25s ease;
}
.event-card:before {
  content: "";
  position: absolute;
  left: -46px;
  top: 29px;
  width: 7px;
  height: 7px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--platinum);
  box-shadow: 0 0 0 1px var(--hair);
  transition: 0.25s ease;
}
.event-card:hover {
  background: rgba(251, 251, 249, 0.8);
}
.event-card:hover:before {
  background: var(--ink);
  transform: scale(1.12);
}
.event-date {
  padding-top: 5px;
  color: var(--mute);
  font-size: 11px;
  line-height: 1.5;
}
.event-main {
  min-width: 0;
}
.event-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vendor-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 6px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}
.vendor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vendor-fallback {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate);
}
.event-title-wrap {
  min-width: 0;
}
.event-vendor {
  display: block;
  margin-bottom: 2px;
  color: var(--mute);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-title {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.event-description {
  margin-top: 10px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.event-card.expanded .event-description {
  display: block;
}
.expand-button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--steel);
  font-size: 11px;
  cursor: pointer;
}
.expand-button:hover {
  color: var(--ink);
}
.event-index {
  position: absolute;
  right: 15px;
  top: 20px;
  color: var(--hair);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.loading-state,
.empty-state {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--mute);
  font-size: 13px;
}
.loading-state span {
  width: 22px;
  height: 22px;
  margin-bottom: 16px;
  border: 2px solid var(--hair);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.empty-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  border-radius: 50%;
  font-size: 21px;
}
.empty-state strong {
  margin-bottom: 7px;
  color: var(--slate);
  font-size: 15px;
}
.empty-state button {
  margin-top: 16px;
  padding: 8px 13px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--paper2);
  font-size: 12px;
  cursor: pointer;
}
.load-more-wrap {
  padding-top: 44px;
  text-align: center;
}
.load-more {
  min-width: 150px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--platinum);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition: 0.25s ease;
}
.load-more:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.load-more-wrap p {
  margin-top: 11px;
  color: var(--mute);
  font-size: 10px;
}
.site-footer {
  border-top: 1px solid var(--hair);
  background: var(--paper2);
}
.footer-shell {
  min-height: 82px;
}
.footer-brand {
  font-size: 13px;
  color: var(--slate);
}
.brand-mark.small {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 12px;
}
.footer-shell p {
  color: var(--steel);
  font-size: 12px;
}
.footer-shell p span {
  margin-left: 7px;
  color: var(--mute);
}
.socials {
  display: flex;
  align-items: center;
  gap: 17px;
}
.socials a {
  color: var(--steel);
  font-size: 16px;
  transition: color 0.2s ease;
}
.socials a:hover {
  color: var(--ink);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 0.25s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 900px) {
  .main-nav {
    gap: 23px;
    margin-left: 35px;
  }
  .year-group {
    grid-template-columns: 150px;
  }
  .year-number {
    font-size: 43px;
  }
  .year-events {
    padding-left: 34px;
  }
  .event-card:before {
    left: -38px;
  }
  .event-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .site-header {
    height: 62px;
  }
  .nav-shell {
    padding: 0 20px;
  }
  .main-nav {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
    margin-right: 11px;
  }
  .sign-in {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .main-nav.mobile-open {
    position: absolute;
    display: flex;
    top: 61px;
    left: 12px;
    right: 12px;
    margin: 0;
    padding: 19px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid var(--hair);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 35px rgba(23, 23, 25, 0.08);
  }
  .main-nav.mobile-open a.active:after {
    display: none;
  }
  .hero {
    min-height: 530px;
  }
  .hero-inner {
    padding: 85px 22px 96px;
  }
  .orbit-one {
    width: 510px;
    height: 510px;
  }
  .orbit-two {
    width: 330px;
    height: 330px;
  }
  h1 {
    margin-top: 25px;
    font-size: clamp(3.65rem, 20vw, 5.2rem);
  }
  .hero-lead {
    max-width: 350px;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.75;
  }
  .hero-stats {
    gap: 19px;
    margin-top: 31px;
  }
  .hero-stats strong {
    font-size: 18px;
  }
  .hero-stats i {
    height: 22px;
  }
  .scroll-cue {
    display: none;
  }
  .chronicle-section {
    padding: 78px 20px 90px;
  }
  .section-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 34px;
  }
  .section-intro h2 {
    font-size: 32px;
  }
  .section-intro > p {
    font-size: 13px;
  }
  .filter-panel {
    top: 72px;
    padding: 10px;
    border-radius: 14px;
  }
  .search-box {
    height: 45px;
  }
  .search-box kbd {
    display: none;
  }
  .filter-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .year-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
  }
  .year-tabs button {
    padding: 8px 4px;
  }
  .select-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .select-wrap select,
  .sort-button {
    width: 100%;
    height: 36px;
  }
  .sort-button {
    justify-content: center;
  }
  .result-meta {
    padding-top: 20px;
  }
  .year-group {
    display: block;
    padding-top: 36px;
  }
  .year-aside {
    padding: 0 0 22px;
  }
  .year-sticky {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .year-number {
    font-size: 39px;
  }
  .year-count {
    margin: 0;
  }
  .year-events {
    padding: 0 0 31px 24px;
    margin-left: 5px;
  }
  .event-card {
    padding: 13px 5px 17px 0;
    display: block;
  }
  .event-card:before {
    left: -28px;
    top: 22px;
  }
  .event-date {
    padding: 0 0 8px;
    font-size: 10px;
  }
  .event-heading {
    padding-right: 27px;
  }
  .event-title {
    font-size: 15px;
  }
  .event-description {
    font-size: 12.5px;
    line-height: 1.75;
  }
  .event-index {
    right: 1px;
    top: 19px;
  }
  .footer-shell {
    min-height: 144px;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }
  .footer-shell p {
    grid-column: 1/-1;
    grid-row: 2;
    line-height: 1.7;
  }
  .footer-shell p span {
    display: block;
    margin: 0;
  }
  .socials {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-brand {
    grid-column: 1;
    grid-row: 1;
  }
}
@media (max-width: 390px) {
  .nav-actions .button {
    padding: 8px 13px;
  }
  .hero-stats {
    gap: 13px;
  }
  .hero-stats div {
    min-width: 67px;
  }
  .chronicle-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .year-tabs button {
    font-size: 11px;
  }
  .filter-panel {
    margin-left: -4px;
    margin-right: -4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Independent page placeholders */
.simple-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.simple-page .site-footer {
  margin-top: auto;
}
.page-placeholder {
  position: relative;
  min-height: calc(100vh - 148px);
  display: grid;
  place-items: center;
  padding: 100px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
  background: #ffffff;
  background-image: none;
}
.page-placeholder:before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  display: none;
}
.placeholder-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(23, 23, 25, 0.07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.placeholder-orbit.one {
  width: 650px;
  height: 650px;
}
.placeholder-orbit.two {
  width: 410px;
  height: 410px;
}
.placeholder-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}
.placeholder-inner h1 {
  margin-top: 19px;
  font-size: clamp(3rem, 7.8vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.07em;
}
.placeholder-inner > p {
  max-width: 590px;
  margin: 25px auto 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.8;
}
.building-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 33px;
  padding: 8px 13px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(251, 251, 249, 0.82);
  color: var(--steel);
  font-size: 11px;
}
.building-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--platinum);
}
@media (max-width: 767px) {
  .page-placeholder {
    min-height: calc(100vh - 206px);
    padding: 82px 22px;
  }
  .placeholder-orbit.one {
    width: 500px;
    height: 500px;
  }
  .placeholder-orbit.two {
    width: 320px;
    height: 320px;
  }
  .placeholder-inner h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }
  .placeholder-inner > p {
    font-size: 13.5px;
  }
}

.site-back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: var(--paper2);
  color: var(--steel);
  box-shadow: 0 10px 26px rgba(23, 23, 25, 0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}
.site-back-to-top iconify-icon {
  display: block;
  font-size: 18px;
}
.site-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.site-back-to-top:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.site-back-to-top:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .site-back-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}
