@charset "UTF-8";
.post-cover-img-wrap,
.series-cover-img-wrap {
  max-width: 100%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--linen-bg);
  background-position: center;
}
.post-cover-img-wrap .post-cover-img-placeholder,
.post-cover-img-wrap .series-cover-img-placeholder,
.series-cover-img-wrap .post-cover-img-placeholder,
.series-cover-img-wrap .series-cover-img-placeholder {
  content: "";
  display: block;
  width: 100%;
  padding-top: 42.85714286%;
}
@media (max-width: 728px) {
  .post-cover-img-wrap .post-cover-img-placeholder,
  .post-cover-img-wrap .series-cover-img-placeholder,
  .series-cover-img-wrap .post-cover-img-placeholder,
  .series-cover-img-wrap .series-cover-img-placeholder {
    padding-top: 56.25%;
  }
}
.post-cover-img-wrap .cover-img,
.series-cover-img-wrap .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: opacity linear 0.3s;
}
.post-cover-img-wrap .cover-img.loading,
.series-cover-img-wrap .cover-img.loading {
  opacity: 0;
}
.post-cover-img-wrap .cover-img.loaded,
.series-cover-img-wrap .cover-img.loaded {
  opacity: 1;
}
.post-cover-img-wrap .cover-img.cached,
.series-cover-img-wrap .cover-img.cached {
  transition: none;
  opacity: 1;
}
.post-cover-img-wrap .cover-info,
.series-cover-img-wrap .cover-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
}
.post-cover-img-wrap .cover-info:has(.copyright:first-child),
.series-cover-img-wrap .cover-info:has(.copyright:first-child) {
  justify-content: flex-end;
}
.post-cover-img-wrap .cover-info .copyright,
.series-cover-img-wrap .cover-info .copyright {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.0375);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2px 4px;
  border-radius: 2px;
}
.post-cover-img-wrap .cover-info .copyright .icon,
.series-cover-img-wrap .cover-info .copyright .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("../img/icons/copyright.svg");
  background-size: cover;
}
.post-cover-img-wrap .cover-info .copyright .icon.location,
.series-cover-img-wrap .cover-info .copyright .icon.location {
  width: 15px;
  height: 15px;
  background-image: url("../img/icons/location.svg");
}
.post-cover-img-wrap .cover-info .copyright .text,
.series-cover-img-wrap .cover-info .copyright .text {
  line-height: 20px;
  font-size: 12px;
  margin-left: 5px;
  color: #f3f5f7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.post-cover-img-wrap .cover-info .copyright.link .text:hover,
.series-cover-img-wrap .cover-info .copyright.link .text:hover {
  text-decoration: underline;
  cursor: pointer;
}
.post-cover-img-wrap .cover-info .series-info,
.series-cover-img-wrap .cover-info .series-info {
  flex: 0 1 auto;
  margin-right: 10px;
  padding: 2px 4px;
  border-radius: 2px;
  color: #fff;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}
.post-cover-img-wrap .cover-info .series-info .series-name,
.series-cover-img-wrap .cover-info .series-info .series-name {
  margin: 0;
  display: block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.post-cover-img-wrap .cover-info .series-info .description,
.series-cover-img-wrap .cover-info .series-info .description {
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  word-break: break-all;
}

/*!
  Linen Editorial Syntax Highlighting
  Warm paper (light) & warm charcoal (dark) palette driven by --linen-code-* custom properties
*/
#page {
  padding: clamp(22px, 3vw, 34px) 0 0;
}
#page > h1.post-title:first-child {
  margin-top: 0;
}

:is(#post, #page) {
  background-color: var(--linen-bg);
  color: var(--linen-ink);
  word-break: normal;
  overflow-wrap: break-word;
}
:is(#post, #page) .post-title {
  margin: 0.9em 0 0.55em;
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: normal;
  overflow-wrap: break-word;
}
:is(#post, #page) .post-title .sub-title {
  font-size: 70%;
  color: var(--linen-ink-subtle);
  margin-left: 0.5em;
}
:is(#post, #page) h1,
:is(#post, #page) h2,
:is(#post, #page) h3,
:is(#post, #page) h4,
:is(#post, #page) h5,
:is(#post, #page) h6 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--linen-ink);
}
:is(#post, #page) h1 a.headerlink,
:is(#post, #page) h1 a.header-anchor,
:is(#post, #page) h2 a.headerlink,
:is(#post, #page) h2 a.header-anchor,
:is(#post, #page) h3 a.headerlink,
:is(#post, #page) h3 a.header-anchor,
:is(#post, #page) h4 a.headerlink,
:is(#post, #page) h4 a.header-anchor,
:is(#post, #page) h5 a.headerlink,
:is(#post, #page) h5 a.header-anchor,
:is(#post, #page) h6 a.headerlink,
:is(#post, #page) h6 a.header-anchor {
  display: none;
}
:is(#post, #page) h1 {
  font-size: 2rem;
}
:is(#post, #page) h2 {
  font-size: 1.45em;
  line-height: 1.38;
  font-weight: 700;
  margin: 2.15em 0 0.85em;
}
:is(#post, #page) h3 {
  font-size: 1.2em;
  line-height: 1.42;
  font-weight: 600;
  margin: 1.7em 0 0.65em;
}
:is(#post, #page) h4 {
  font-size: 1.05em;
  line-height: 1.45;
  font-weight: 600;
  margin: 1.4em 0 0.55em;
}
:is(#post, #page) h2,
:is(#post, #page) h3 {
  position: relative;
  cursor: pointer;
  transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) h2::before,
:is(#post, #page) h3::before {
  position: absolute;
  left: -0.82em;
  top: 50%;
  content: "";
  transform: translateY(-40%);
  display: inline-block;
  width: 0.68em;
  height: 0.68em;
  background-color: var(--linen-accent);
  -webkit-mask: url("../img/icons/link.svg") no-repeat center/contain;
  mask: url("../img/icons/link.svg") no-repeat center/contain;
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
}
:is(#post, #page) h2:hover,
:is(#post, #page) h3:hover {
  opacity: 0.78;
}
:is(#post, #page) h2:hover::before,
:is(#post, #page) h3:hover::before {
  opacity: 0.85;
  transform: translateY(-50%);
}
:is(#post, #page) img,
:is(#post, #page) video {
  max-width: 100%;
}
:is(#post, #page) .diagram-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
:is(#post, #page) .diagram-scroll img {
  width: auto;
  max-width: none;
  height: 100%;
}
@media (max-width: 767px) {
  :is(#post, #page) .diagram-scroll img {
    height: min(60vh, 420px);
  }
}
:is(#post, #page) iframe {
  border: none;
}
:is(#post, #page) h2,
:is(#post, #page) h3 {
  scroll-margin-top: 1em;
}
:is(#post, #page) strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
:is(#post, #page) #page-content {
  font-family: "source-serif", "source han serif cn", "Songti SC", "Noto Serif SC", "SimSun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.82;
  color: var(--linen-ink);
  -webkit-font-smoothing: subpixel-antialiased;
  text-autospace: normal;
}
:is(#post, #page) #page-content > p {
  margin-top: 0;
  margin-bottom: 1.2em;
}
:is(#post, #page) #page-content > :last-child {
  margin-bottom: 0;
}
:is(#post, #page) #page-content strong,
:is(#post, #page) #page-content b {
  font-family: inherit;
  font-weight: 700;
  color: var(--linen-ink-strong);
}

#post:is(.layout-style-journal, .travel-post) #page-content {
  counter-reset: travel-h2;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2#to-page-top,
#post:is(.layout-style-journal, .travel-post) #page-content h2.to-page-top {
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  border: none;
  pointer-events: none;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2#to-page-top::before, #post:is(.layout-style-journal, .travel-post) #page-content h2#to-page-top::after,
#post:is(.layout-style-journal, .travel-post) #page-content h2.to-page-top::before,
#post:is(.layout-style-journal, .travel-post) #page-content h2.to-page-top::after {
  content: none;
  display: none;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
  font-family: "source-serif", "source han serif cn", "Songti SC", "Noto Serif SC", "SimSun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  counter-increment: travel-h2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  margin: 2.5em auto 1.35em;
  padding: 0.25em 0.5em;
  text-align: center;
  font-size: 1.53em;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: var(--linen-ink-strong);
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
  border-radius: 4px;
  scroll-margin-top: 1.4em;
  transition: opacity 0.2s ease;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden):first-child {
  margin-top: 1.4em;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden)::before {
  content: "✦ " counter(travel-h2, decimal-leading-zero);
  position: static;
  left: auto;
  top: auto;
  transform: none;
  display: block;
  width: fit-content;
  height: auto;
  margin: 0 auto 10px;
  padding: 0 calc(34px - 0.16em) 0 34px;
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--linen-accent);
  opacity: 1;
  -webkit-mask: none;
  mask: none;
  background: linear-gradient(var(--linen-accent-underline), var(--linen-accent-underline)) left center/24px 1px no-repeat, linear-gradient(var(--linen-accent-underline), var(--linen-accent-underline)) right center/24px 1px no-repeat;
  transition: background-size 0.3s ease, opacity 0.25s ease;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden)::after {
  content: "";
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 12px auto 0;
  background-color: var(--linen-border-strong);
  transition: width 0.3s ease, background-color 0.3s ease;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden):hover {
  opacity: 0.78;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden):hover::before {
  opacity: 1;
  transform: none;
  background-size: 28px 1px, 28px 1px;
}
#post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden):hover::after {
  width: 32px;
  background-color: var(--linen-accent-focus);
}
#post:is(.layout-style-journal, .travel-post) #page-content h2#to-page-top + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
#post:is(.layout-style-journal, .travel-post) #page-content h2.to-page-top + h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
  margin-top: 1.4em;
}
#post:is(.layout-style-journal, .travel-post) #page-content p:has(.image-grid, .lazyload-outer-wrap, img) + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
#post:is(.layout-style-journal, .travel-post) #page-content .image-grid + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
#post:is(.layout-style-journal, .travel-post) #page-content figure + h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
  margin-top: 2.9em;
}
#post:is(.layout-style-journal, .travel-post) #page-content h3 {
  font-family: "source-serif", "source han serif cn", "Songti SC", "Noto Serif SC", "SimSun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 1.9em auto 0.8em;
  padding: 0;
  font-size: 1.2em;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--linen-ink-strong);
  word-break: normal;
  overflow-wrap: break-word;
  scroll-margin-top: 1.2em;
}
#post:is(.layout-style-journal, .travel-post) #page-content p:has(.image-grid, .lazyload-outer-wrap, img) + h3,
#post:is(.layout-style-journal, .travel-post) #page-content .image-grid + h3,
#post:is(.layout-style-journal, .travel-post) #page-content figure + h3 {
  margin-top: 2.2em;
}
#post:is(.layout-style-journal, .travel-post) #page-content h4 {
  font-family: "source-serif", "source han serif cn", "Songti SC", "Noto Serif SC", "SimSun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 1.55em auto 0.65em;
  font-size: 1.04em;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--linen-ink);
  word-break: normal;
  overflow-wrap: break-word;
}
#post:is(.layout-style-journal, .travel-post) #page-content p:has(.image-grid, .lazyload-outer-wrap, img) + h4,
#post:is(.layout-style-journal, .travel-post) #page-content .image-grid + h4,
#post:is(.layout-style-journal, .travel-post) #page-content figure + h4 {
  margin-top: 1.85em;
}
#post:is(.layout-style-journal, .travel-post) #page-content h5,
#post:is(.layout-style-journal, .travel-post) #page-content h6 {
  font-family: "source-serif", "source han serif cn", "Songti SC", "Noto Serif SC", "SimSun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.03em;
  color: var(--linen-ink);
}
#post:is(.layout-style-journal, .travel-post) #page-content .table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 1.6em auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#post:is(.layout-style-journal, .travel-post) #page-content .table-wrap > table:not(:where(.highlight table)) {
  margin: 0;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) {
  width: 100%;
  margin: 1.6em auto;
  border: none;
  border-top: 1px dashed var(--linen-accent-focus);
  border-bottom: 1px dashed var(--linen-accent-focus);
  border-collapse: collapse;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.9em;
  line-height: 1.65;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) thead tr,
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) tr:nth-child(even) {
  background-color: transparent;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) thead tr {
  font-family: inherit;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) td:not(:last-child),
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) th:not(:last-child) {
  border-right: none;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) th,
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) td {
  padding: 0.7em 0.75em;
  word-break: normal;
  overflow-wrap: break-word;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) th:first-child,
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) td:first-child {
  padding-left: 0.25em;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) th:last-child,
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) td:last-child {
  padding-right: 0.25em;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) thead th {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding-top: 0.68em;
  padding-bottom: 0.68em;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--linen-ink-subtle);
  border-bottom: 1px solid var(--linen-border);
  background-color: transparent;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) tbody tr {
  transition: background-color 0.2s ease;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) tbody tr:hover {
  background-color: var(--linen-accent-hover-row);
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) tbody tr:last-child td {
  border-bottom: none;
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) tbody td {
  color: var(--linen-ink);
  border-bottom: 1px dashed var(--linen-border);
}
#post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) tbody td:first-child {
  color: var(--linen-accent);
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block {
  max-width: 640px;
  margin: 1.4em auto 2em;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-summary {
  margin-bottom: 9px;
  text-align: right;
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace, "SF Pro Text", -apple-system, sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--linen-ink-subtle);
  font-variant-numeric: tabular-nums;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 16px;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-seg {
  height: 100%;
  min-width: 6px;
  border-radius: 2px;
  background-color: var(--stop-color, var(--linen-accent));
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-seg:hover {
  opacity: 0.85;
  transform: scaleY(1.25);
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--route-cols, 4), minmax(0, 1fr));
  gap: 10px 14px;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-item {
  list-style: none;
  margin: 0;
  padding: 9px 10px 8px;
  border-top: 1px dashed var(--linen-border);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-top-color 0.2s ease, background-color 0.2s ease;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-item:hover {
  border-top-color: var(--stop-color, var(--linen-accent));
  background-color: var(--linen-accent-hover-row);
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1px;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-index {
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace;
  font-size: 10px;
  line-height: 1;
  color: var(--linen-gray-9);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--stop-color, var(--linen-accent));
  flex-shrink: 0;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-place {
  font-family: "source-serif", "source han serif cn", "Songti SC", "Noto Serif SC", "SimSun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--linen-ink);
  word-break: normal;
  overflow-wrap: break-word;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-days {
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace, "SF Pro Text", -apple-system, sans-serif;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--linen-accent);
  font-variant-numeric: tabular-nums;
}
#post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-note {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--linen-ink-subtle);
  margin-top: 1px;
  word-break: normal;
  overflow-wrap: break-word;
}
@media (max-width: 728px) {
  #post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
    margin: 2.2em auto 1.2em;
    font-size: 1.38em;
    letter-spacing: 0.06em;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content p:has(.image-grid, .lazyload-outer-wrap, img) + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
  #post:is(.layout-style-journal, .travel-post) #page-content .image-grid + h2:not(#to-page-top):not(.to-page-top):not(.hidden),
  #post:is(.layout-style-journal, .travel-post) #page-content figure + h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
    margin-top: 2.5em;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content h3 {
    margin: 1.7em auto 0.75em;
    font-size: 1.15em;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content p:has(.image-grid, .lazyload-outer-wrap, img) + h3,
  #post:is(.layout-style-journal, .travel-post) #page-content .image-grid + h3,
  #post:is(.layout-style-journal, .travel-post) #page-content figure + h3 {
    margin-top: 2em;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content h4 {
    margin: 1.4em auto 0.65em;
    font-size: 1.02em;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content .table-wrap {
    margin: 1.35em auto;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content .table-wrap > table:not(:where(.highlight table)) {
    margin: 0;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) {
    margin: 1.35em auto;
    font-size: 0.86em;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) th,
  #post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) td {
    padding: 0.6em 0.55em;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-grid {
    grid-template-columns: repeat(min(var(--route-cols, 3), 3), minmax(0, 1fr));
    gap: 8px 12px;
  }
}
@media (max-width: 479px) {
  #post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden) {
    margin: 2em auto 1.1em;
    font-size: max(min(5.8vw, 1.35em), 20px);
    letter-spacing: 0.05em;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden)::before {
    margin-bottom: 8px;
    padding: 0 calc(28px - 0.14em) 0 28px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    background-size: 18px 1px, 18px 1px;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden)::after {
    width: 18px;
    margin-top: 10px;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden):hover::before {
    background-size: 22px 1px, 22px 1px;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content h2:not(#to-page-top):not(.to-page-top):not(.hidden):hover::after {
    width: 26px;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content h3 {
    font-size: max(min(4.6vw, 1.15em), 17.5px);
  }
  #post:is(.layout-style-journal, .travel-post) #page-content h4 {
    font-size: max(min(4vw, 1.04em), 16px);
  }
  #post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-item {
    padding: 8px 8px 6px;
  }
  #post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-place {
    font-size: 14.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #post:is(.layout-style-journal, .travel-post) #page-content h2,
  #post:is(.layout-style-journal, .travel-post) #page-content h2::before,
  #post:is(.layout-style-journal, .travel-post) #page-content h2::after,
  #post:is(.layout-style-journal, .travel-post) #page-content h3,
  #post:is(.layout-style-journal, .travel-post) #page-content h3::before,
  #post:is(.layout-style-journal, .travel-post) #page-content table:not(:where(.highlight table)) tbody tr,
  #post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-seg,
  #post:is(.layout-style-journal, .travel-post) #page-content .travel-route-block .travel-route-item {
    transition: none;
  }
}

:is(#post, #page) .post-meta {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0 0 1.6em;
  line-height: 1.6;
  color: var(--linen-ink-muted);
  font-size: 13px;
}
:is(#post, #page) .post-meta .date {
  display: inline;
  line-height: 1.5;
}
:is(#post, #page) .post-meta .categories {
  display: inline;
  line-height: 1.5;
}
:is(#post, #page) .post-meta .categories:not(:first-child) {
  margin-left: 10px;
}
:is(#post, #page) .post-meta .categories .category-item {
  display: inline;
  color: var(--linen-ink-muted);
  transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) .post-meta .categories .category-item:not(:first-child) {
  margin-left: 10px;
}
:is(#post, #page) .post-meta .categories .category-item:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--linen-accent);
}
:is(#post, #page) .post-meta .read-time {
  word-break: break-all;
  display: inline;
  margin-left: 10px;
}
:is(#post, #page) .post-meta .read-time small {
  font-size: 85%;
}
:is(#post, #page) .post-meta #content-switch {
  user-select: none;
  display: inline-block;
  margin-left: 10px;
  background-color: var(--linen-surface);
  color: var(--linen-ink-secondary);
  border: 1px solid var(--linen-border);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) .post-meta #content-switch:hover {
  color: var(--linen-accent);
  border-color: var(--linen-accent-border);
  background-color: var(--linen-accent-soft);
}
:is(#post, #page) a:not([class]):not(:has(.shared-link)) {
  word-break: normal;
  overflow-wrap: anywhere;
  color: var(--linen-accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--linen-accent-underline);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), text-decoration-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) a:not([class]):not(:has(.shared-link))[href^=http]::after {
  content: "";
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/redirect.svg") no-repeat center/contain;
  mask: url("../img/icons/redirect.svg") no-repeat center/contain;
  vertical-align: middle;
  margin-left: 0.14em;
  margin-bottom: 0.22em;
  opacity: 0.7;
}
:is(#post, #page) a:not([class]):not(:has(.shared-link))[href^=http]:empty::after, :is(#post, #page) a:not([class]):not(:has(.shared-link))[href^=http]:has(img:not(.linen-emoji))::after {
  display: none;
}
:is(#post, #page) a:not([class]):not(:has(.shared-link)):has(img:not(.linen-emoji)) {
  text-decoration: none;
}
:is(#post, #page) a:not([class]):not(:has(.shared-link)):hover {
  color: var(--linen-accent-dark);
  text-decoration-color: var(--linen-accent);
}
:is(#post, #page) a:not([class]):not(:has(.shared-link))[href^="tel:"]::after {
  display: none;
}
:is(#post, #page) a:not([class]):not(:has(.shared-link))[href^=http]:has(> span.break-on-mobile)::after {
  display: none;
}
:is(#post, #page) a:not([class]):not(:has(.shared-link))[href^=http]:has(> span.break-on-mobile) .break-on-mobile::after {
  content: "";
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/redirect.svg") no-repeat center/contain;
  mask: url("../img/icons/redirect.svg") no-repeat center/contain;
  vertical-align: middle;
  margin-left: 0.14em;
  margin-bottom: 0.22em;
  opacity: 0.7;
}
:is(#post, #page) .footnote-anchor-wrap,
:is(#post, #page) .footnotes li {
  scroll-margin-top: 2rem;
}
:is(#post, #page) .footnote-anchor-wrap {
  margin-left: 0.08em;
}
:is(#post, #page) .footnote-anchor-wrap .footnote-href {
  display: inline-block;
  padding: 0 0.24em;
  border-radius: 2px;
  color: var(--linen-accent);
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace;
  font-size: 0.92em;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1), background-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) .footnote-anchor-wrap .footnote-href:hover, :is(#post, #page) .footnote-anchor-wrap .footnote-href:focus-visible, :is(#post, #page) .footnote-anchor-wrap .footnote-href.is-popover-open {
  color: var(--linen-accent-dark);
  background-color: var(--linen-accent-soft);
  text-decoration: none;
}
:is(#post, #page) .footnote-anchor-wrap .footnote-href:focus-visible {
  outline: 1.5px solid var(--linen-accent-focus);
  outline-offset: 1px;
}
:is(#post, #page) .footnotes .footnote-backref {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  margin-left: 0.35em;
  padding: 0.12em 0.28em;
  border-radius: 4px;
  color: var(--linen-ink-subtle);
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  vertical-align: -0.1em;
  transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1), background-color 160ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) .footnotes .footnote-backref + .footnote-backref {
  margin-left: 0.12em;
}
:is(#post, #page) .footnotes .footnote-backref:hover, :is(#post, #page) .footnotes .footnote-backref:focus-visible {
  color: var(--linen-accent);
  background-color: var(--linen-accent-soft);
  text-decoration: none;
  transform: translateY(-1px);
}
:is(#post, #page) .footnotes .footnote-backref:focus-visible {
  outline: 1.5px solid var(--linen-accent-focus);
  outline-offset: 1px;
}
:is(#post, #page) .footnotes .footnote-backref svg {
  display: block;
  width: 0.88em;
  height: 0.88em;
  overflow: visible;
}
:is(#post, #page) .footnotes .footnote-backref path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}
:is(#post, #page) .footnotes .footnote-backref .footnote-backref-index {
  font-size: 0.68em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  opacity: 0.85;
}
:is(#post, #page) del a:not([class]):not(:has(.shared-link))::after {
  display: none;
}
:is(#post, #page) hr {
  background-color: transparent;
  border: none;
  border-top: 1px solid var(--linen-border);
  display: block;
  height: 0;
  margin: 2rem 0;
}
:is(#post, #page) .pswp-caption-content {
  display: none;
}
:is(#post, #page) .table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 1.6em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
:is(#post, #page) .table-wrap > table:not(:where(.highlight table)) {
  margin: 0;
}
:is(#post, #page) table:not(:where(.highlight table)) {
  width: 100%;
  margin: 1.6em 0;
  border: none;
  border-top: 1.5px solid var(--linen-border-strong);
  border-bottom: 1.5px solid var(--linen-border-strong);
  border-collapse: collapse;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.92em;
  line-height: 1.65;
}
:is(#post, #page) table:not(:where(.highlight table)) thead tr {
  background-color: transparent;
  font-family: inherit;
}
:is(#post, #page) table:not(:where(.highlight table)) thead th {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 0.68em 0.75em;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--linen-ink-secondary);
  border-bottom: 1px solid var(--linen-border);
  background-color: transparent;
  text-align: left;
}
:is(#post, #page) table:not(:where(.highlight table)) tbody tr {
  transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) table:not(:where(.highlight table)) tbody tr:hover {
  background-color: var(--linen-hover-row);
}
:is(#post, #page) table:not(:where(.highlight table)) tbody tr:last-child td {
  border-bottom: none;
}
:is(#post, #page) table:not(:where(.highlight table)) td,
:is(#post, #page) table:not(:where(.highlight table)) th {
  border: none;
  padding: 0.68em 0.75em;
  vertical-align: top;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
}
:is(#post, #page) table:not(:where(.highlight table)) td:first-child,
:is(#post, #page) table:not(:where(.highlight table)) th:first-child {
  padding-left: 0.25em;
}
:is(#post, #page) table:not(:where(.highlight table)) td:last-child,
:is(#post, #page) table:not(:where(.highlight table)) th:last-child {
  padding-right: 0.25em;
}
:is(#post, #page) table:not(:where(.highlight table)) tbody td {
  color: var(--linen-ink);
  border-bottom: 1px solid var(--linen-border-subtle);
}
:is(#post, #page) .message {
  background-color: var(--linen-surface);
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem;
}
:is(#post, #page) .message .message-body {
  border-color: var(--linen-border-strong);
  border-radius: 0 4px 4px 0;
  border-style: solid;
  border-width: 0 0 0 2.5px;
  color: var(--linen-ink-secondary);
  padding: 0.95em 1.25em;
}
:is(#post, #page) blockquote {
  margin: 1.4em 0;
  background-color: var(--linen-surface);
  border-radius: 0 4px 4px 0;
  box-sizing: border-box;
  padding: 0.95em 1.25em;
  border-left: 2.5px solid var(--linen-border-strong);
  color: var(--linen-ink-secondary);
  font-size: 0.96em;
}
:is(#post, #page) blockquote p {
  margin-top: 0;
  margin-bottom: 0.75em;
}
:is(#post, #page) blockquote p:last-child {
  margin-bottom: 0;
}

:is(#post, #page, #raw-markdown-block) figure.highlight {
  background-color: var(--linen-surface);
  border: 1px solid var(--linen-border-subtle);
  padding: 0;
  width: 100%;
  position: relative;
  margin: 1.35em 0;
  border-radius: 4px;
  overflow: hidden;
  font-size: 14px;
}
:is(#post, #page, #raw-markdown-block) figure.highlight figcaption {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--linen-gray-5);
  font-size: 12px;
  background-color: var(--linen-surface-alt);
  border-bottom: 1px solid var(--linen-border-subtle);
  padding: 0.4em 0.5em 0.4em 0;
}
:is(#post, #page, #raw-markdown-block) figure.highlight figcaption span:first-child::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/code.svg") no-repeat center/contain;
  mask: url("../img/icons/code.svg") no-repeat center/contain;
  vertical-align: middle;
  margin: 0 10px 1px 10px;
  opacity: 0.72;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .copy-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 28px;
  height: 28px;
  position: absolute;
  top: 6px;
  right: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--linen-ink-muted);
  background-color: var(--linen-surface-translucent);
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .copy-btn::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center/contain;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .copy-btn:hover {
  color: var(--linen-ink);
  background-color: var(--linen-surface-alt);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .copy-btn.copied {
  color: var(--linen-accent);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .copy-btn.copied::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center/contain;
}
:is(#post, #page, #raw-markdown-block) figure.highlight:has(figcaption) .copy-btn {
  background-color: transparent;
  width: 24px;
  height: 24px;
  top: 0.28em;
  right: 0.35em;
}
:is(#post, #page, #raw-markdown-block) figure.highlight:has(figcaption) .copy-btn:hover {
  background-color: var(--linen-border-subtle);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .gutter {
  text-align: right;
  position: sticky;
  left: 0;
  width: 0;
  display: none;
  border-right: none;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .gutter:has(span:nth-of-type(2)) {
  width: 30px;
  display: table-cell;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .gutter:has(span:nth-of-type(10)) {
  width: 35px;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .gutter:has(span:nth-of-type(100)) {
  width: 45px;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .gutter .line {
  color: var(--linen-gray-a);
}
:is(#post, #page, #raw-markdown-block) figure.highlight td.code {
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-gutter: stable;
  width: 200%;
}
:is(#post, #page, #raw-markdown-block) figure.highlight td.code .line:first-child:nth-last-child(2) {
  padding-right: 32px;
}
:is(#post, #page, #raw-markdown-block) figure.highlight td.code .line:last-of-type {
  padding-right: 1em;
}
:is(#post, #page, #raw-markdown-block) figure.highlight pre {
  white-space: pre;
  word-wrap: normal;
  margin: 0;
  padding: 0;
}
:is(#post, #page, #raw-markdown-block) figure.highlight pre .line {
  font-size: 12.5px;
}
:is(#post, #page, #raw-markdown-block) figure.highlight table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  table-layout: fixed;
}
:is(#post, #page, #raw-markdown-block) figure.highlight table td {
  padding: 0.65em 0.85em;
  border: none;
}
:is(#post, #page, #raw-markdown-block) figure.highlight table td.gutter {
  padding-right: 0.5em;
  padding-left: 0.6em;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .fold-toggle {
  display: none;
}
:is(#post, #page, #raw-markdown-block) figure.highlight.folded {
  max-height: 120px;
  overflow-y: hidden;
}
:is(#post, #page, #raw-markdown-block) figure.highlight.folded .fold-toggle {
  display: block;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .fold-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24px;
  background-color: var(--linen-surface);
  color: var(--linen-ink-muted);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .fold-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 2px auto 0;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/up-down.svg") no-repeat center/contain;
  mask: url("../img/icons/up-down.svg") no-repeat center/contain;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .fold-toggle::before {
  content: "";
  display: block;
  width: 100%;
  height: 30px;
  position: absolute;
  top: -30px;
  left: 0;
  background-image: linear-gradient(to bottom, var(--linen-surface-fade-0), var(--linen-surface-fade-1));
}
:is(#post, #page, #raw-markdown-block) figure.highlight .line,
:is(#post, #page, #raw-markdown-block) figure.highlight span.code {
  color: var(--linen-code-text);
}
:is(#post, #page, #raw-markdown-block) figure.highlight {
  color: var(--linen-code-text);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .doctag,
:is(#post, #page, #raw-markdown-block) figure.highlight .keyword,
:is(#post, #page, #raw-markdown-block) figure.highlight .meta .keyword,
:is(#post, #page, #raw-markdown-block) figure.highlight .template-tag,
:is(#post, #page, #raw-markdown-block) figure.highlight .template-variable,
:is(#post, #page, #raw-markdown-block) figure.highlight .type,
:is(#post, #page, #raw-markdown-block) figure.highlight .variable.language_ {
  color: var(--linen-code-keyword);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .title,
:is(#post, #page, #raw-markdown-block) figure.highlight .title.class_,
:is(#post, #page, #raw-markdown-block) figure.highlight .title.class_.inherited__,
:is(#post, #page, #raw-markdown-block) figure.highlight .title.function_ {
  color: var(--linen-code-entity);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .attr,
:is(#post, #page, #raw-markdown-block) figure.highlight .attribute,
:is(#post, #page, #raw-markdown-block) figure.highlight .literal,
:is(#post, #page, #raw-markdown-block) figure.highlight .meta,
:is(#post, #page, #raw-markdown-block) figure.highlight .number,
:is(#post, #page, #raw-markdown-block) figure.highlight .operator,
:is(#post, #page, #raw-markdown-block) figure.highlight .variable,
:is(#post, #page, #raw-markdown-block) figure.highlight .selector-attr,
:is(#post, #page, #raw-markdown-block) figure.highlight .selector-class,
:is(#post, #page, #raw-markdown-block) figure.highlight .selector-id {
  color: var(--linen-code-constant);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .regexp,
:is(#post, #page, #raw-markdown-block) figure.highlight .string,
:is(#post, #page, #raw-markdown-block) figure.highlight .meta .string {
  color: var(--linen-code-string);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .built_in,
:is(#post, #page, #raw-markdown-block) figure.highlight .symbol {
  color: var(--linen-code-variable);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .comment,
:is(#post, #page, #raw-markdown-block) figure.highlight .code,
:is(#post, #page, #raw-markdown-block) figure.highlight .formula {
  color: var(--linen-code-comment);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .name,
:is(#post, #page, #raw-markdown-block) figure.highlight .quote,
:is(#post, #page, #raw-markdown-block) figure.highlight .selector-tag,
:is(#post, #page, #raw-markdown-block) figure.highlight .selector-pseudo {
  color: var(--linen-code-tag);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .subst {
  color: var(--linen-code-text);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .section {
  color: var(--linen-code-constant);
  font-weight: bold;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .bullet {
  color: var(--linen-code-bullet);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .emphasis {
  color: var(--linen-code-text);
  font-style: italic;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .strong {
  color: var(--linen-code-text);
  font-weight: bold;
}
:is(#post, #page, #raw-markdown-block) figure.highlight .addition {
  color: var(--linen-code-addition);
  background-color: var(--linen-code-addition-bg);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .deletion {
  color: var(--linen-code-deletion);
  background-color: var(--linen-code-deletion-bg);
}
:is(#post, #page, #raw-markdown-block) figure.highlight .char.escape_,
:is(#post, #page, #raw-markdown-block) figure.highlight .link,
:is(#post, #page, #raw-markdown-block) figure.highlight .params,
:is(#post, #page, #raw-markdown-block) figure.highlight .property,
:is(#post, #page, #raw-markdown-block) figure.highlight .punctuation,
:is(#post, #page, #raw-markdown-block) figure.highlight .tag {
  /* purposely ignored */
}

:is(#post, #page) code {
  background-color: var(--linen-surface-alt);
  color: var(--linen-ink);
  padding: 0.16em 0.42em;
  border-radius: 4px;
  -webkit-text-size-adjust: 100%;
  font-size: 82%;
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace;
}
:is(#post, #page) .tags {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin-bottom: -10px;
}
:is(#post, #page) .tags .tag-item {
  background-color: transparent;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--linen-ink-secondary);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) .tags .tag-item:hover {
  color: var(--linen-accent);
  background-color: var(--linen-surface);
}
:is(#post, #page) .tags .tag-item::before {
  content: "";
  width: 11px;
  height: 11px;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/tag.svg") no-repeat center/contain;
  mask: url("../img/icons/tag.svg") no-repeat center/contain;
  margin-right: 5px;
  text-decoration: none;
  display: inline-block;
  opacity: 0.42;
  transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) .tags .tag-item:hover::before {
  opacity: 0.78;
}
:is(#post, #page) .tags {
  margin: 2em 0 0;
}
:is(#post, #page) .tags:empty {
  display: none;
}
:is(#post, #page) .lazyload-outer-wrap .caption {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
:is(#post, #page) .new-updates {
  background-color: var(--linen-accent-soft);
  border-radius: 4px;
  padding: 0.55em 0.85em 0.55em 1.9em;
  font-size: 0.85em;
  position: relative;
  overflow: hidden;
}
:is(#post, #page) .new-updates::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--linen-accent);
  -webkit-mask: url("../img/icons/new1.svg") no-repeat center/contain;
  mask: url("../img/icons/new1.svg") no-repeat center/contain;
}
:is(#post, #page) .attachment-item {
  padding: 10px 12px;
  min-width: 96px;
  display: inline-flex;
  vertical-align: bottom;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  border: 1px solid var(--linen-border);
  background-color: var(--linen-surface);
  box-shadow: 0 1px 2px var(--linen-border-subtle);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) .attachment-item .attachment-icon {
  margin-top: 2px;
  width: 34px;
  height: 34px;
  background-size: cover;
}
:is(#post, #page) .attachment-item .attachment-icon.zip {
  background-image: url("../img/icons/ZIP.svg");
}
:is(#post, #page) .attachment-item .attachment-icon.bin {
  background-image: url("../img/icons/binary.svg");
}
:is(#post, #page) .attachment-item .attachment-size {
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace;
  color: var(--linen-ink-muted);
  font-size: 11px;
  line-height: 1.2;
}
:is(#post, #page) .attachment-item .attachment-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--linen-ink);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  :is(#post, #page) .attachment-item:hover {
    border-color: var(--linen-accent-border);
    background-color: var(--linen-bg-elevated);
    box-shadow: 0 6px 18px var(--linen-shadow-color);
    transform: translateY(-1px);
  }
  :is(#post, #page) .attachment-item:hover .attachment-name {
    color: var(--linen-accent);
  }
}
:is(#post, #page) .attachment-item:active {
  opacity: 0.72;
  transform: translateY(0);
}
:is(#post, #page) .commented-text {
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--linen-accent-underline);
  text-underline-offset: 0.24em;
  text-decoration-thickness: 1.5px;
  border-radius: 2px;
  transition: background-color 160ms cubic-bezier(0.22, 1, 0.36, 1), text-decoration-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
:is(#post, #page) .commented-text:hover, :is(#post, #page) .commented-text:focus-visible, :is(#post, #page) .commented-text.is-popover-open {
  background-color: var(--linen-accent-soft);
  text-decoration-color: var(--linen-accent);
}
:is(#post, #page) .commented-text:focus-visible {
  outline: 1.5px solid var(--linen-accent-focus);
  outline-offset: 1px;
}
:is(#post, #page)::after {
  content: "";
  display: table;
  clear: both;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

#raw-markdown-block {
  display: none;
  background-color: var(--linen-bg);
  color: var(--linen-ink);
  word-break: normal;
  overflow-wrap: break-word;
}
#raw-markdown-block::after {
  content: "";
  display: table;
  clear: both;
}
#raw-markdown-block figure.highlight td.gutter.gutter {
  display: none;
}
#raw-markdown-block figure.highlight {
  margin-bottom: 0;
}
#raw-markdown-block figure.highlight pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}
#raw-markdown-block figure.highlight td.code {
  width: 100%;
  white-space: unset;
  overflow-x: unset;
}

.post-nav-wrap {
  margin: 1.5em auto 0 auto;
  box-sizing: border-box;
  padding: 1.25em min(3vw, 15px);
  border-top: 1px solid var(--linen-border-subtle);
  border-bottom: 1px solid var(--linen-border-subtle);
  background-color: var(--linen-bg);
}
.post-nav-wrap .post-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.post-nav-wrap .post-nav .post-nav-item {
  font-size: 14.5px;
  line-height: 1.45;
  display: inline-flex;
  flex-direction: column;
  row-gap: 3px;
  max-width: 100%;
  position: relative;
  color: var(--linen-ink);
  -webkit-tap-highlight-color: transparent;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.post-nav-wrap .post-nav .post-nav-item:visited {
  color: var(--linen-ink);
}
.post-nav-wrap .post-nav .post-nav-item:active {
  color: var(--linen-ink);
  opacity: 0.62;
}
.post-nav-wrap .post-nav .post-nav-item:hover .item-link {
  color: var(--linen-accent);
}
.post-nav-wrap .post-nav .post-nav-item:hover .nav-indicator-text {
  color: var(--linen-ink-secondary);
}
.post-nav-wrap .post-nav .post-nav-item .post-nav-title {
  display: block;
}
.post-nav-wrap .post-nav .post-nav-item .item-link {
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.post-nav-wrap .post-nav .post-nav-item .nav-indicator-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: var(--linen-ink-subtle);
  font-size: 12px;
  letter-spacing: 0.03em;
  user-select: none;
  pointer-events: none;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.post-nav-wrap .post-nav .post-nav-item .sub-title {
  font-size: 70%;
  color: var(--linen-ink-subtle);
  margin-left: 0.5em;
  font-size: 12px;
}
.post-nav-wrap .post-nav .post-nav-item.prev {
  align-items: flex-start;
  text-align: left;
}
.post-nav-wrap .post-nav .post-nav-item.prev .nav-indicator-text::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/prev.svg") no-repeat center/contain;
  mask: url("../img/icons/prev.svg") no-repeat center/contain;
}
.post-nav-wrap .post-nav .post-nav-item.next {
  margin-left: auto;
  align-items: flex-end;
  text-align: right;
}
.post-nav-wrap .post-nav .post-nav-item.next .nav-indicator-text::after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/next.svg") no-repeat center/contain;
  mask: url("../img/icons/next.svg") no-repeat center/contain;
}

.copyright-desc {
  margin: 2em auto 0 auto;
  padding: 0 min(3vw, 15px);
  font-size: 13px;
  color: var(--linen-ink-subtle);
  text-align: center;
}

.footnote-popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  width: max-content;
  max-width: min(360px, 100vw - 32px);
  background-color: var(--linen-bg-elevated);
  border: 1px solid var(--linen-border);
  border-radius: 6px;
  box-shadow: 0 8px 28px var(--linen-shadow-color), 0 2px 6px var(--linen-border-subtle);
  color: var(--linen-ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1), visibility 180ms;
}
.footnote-popover::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 11px;
}
.footnote-popover.placement-bottom {
  transform: translateY(-6px);
}
.footnote-popover.placement-bottom::before {
  top: auto;
  bottom: 100%;
}
.footnote-popover.placement-bottom .footnote-popover-arrow {
  top: -5px;
  bottom: auto;
  border-right: none;
  border-bottom: none;
  border-left: 1px solid var(--linen-border);
  border-top: 1px solid var(--linen-border);
}
.footnote-popover.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.footnote-popover:focus {
  outline: none;
}
.footnote-popover.is-comment {
  max-width: min(320px, 100vw - 32px);
}
.footnote-popover.is-comment .footnote-popover-inner {
  padding: 8px 12px;
}
.footnote-popover.is-comment .footnote-popover-body {
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-line;
}
.footnote-popover .footnote-popover-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  max-height: min(45vh, 280px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.footnote-popover .footnote-popover-index {
  flex-shrink: 0;
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--linen-accent);
  line-height: 23px;
  user-select: none;
}
.footnote-popover .footnote-popover-body {
  font-family: "source-serif", "source han serif cn", "Songti SC", "Noto Serif SC", "SimSun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  min-width: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--linen-ink);
  overflow-wrap: anywhere;
}
.footnote-popover .footnote-popover-body p {
  margin: 0;
}
.footnote-popover .footnote-popover-body p + p {
  margin-top: 0.55em;
}
.footnote-popover .footnote-popover-body a {
  color: var(--linen-accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--linen-accent-underline);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1), text-decoration-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.footnote-popover .footnote-popover-body a:hover {
  color: var(--linen-accent-dark);
  text-decoration-color: var(--linen-accent);
}
.footnote-popover .footnote-popover-body code {
  font-family: SF Mono, SFMono-Regular, ui-monospace, Menlo, monospace;
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background-color: var(--linen-surface);
  color: var(--linen-ink);
}
.footnote-popover .footnote-popover-body blockquote {
  margin: 0.5em 0;
  padding-left: 0.8em;
  border-left: 2px solid var(--linen-border-strong);
  color: var(--linen-ink-secondary);
}
.footnote-popover .footnote-popover-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 0.4em 0;
}
.footnote-popover .footnote-popover-arrow {
  position: absolute;
  bottom: -5px;
  left: var(--arrow-left, 50%);
  width: 8px;
  height: 8px;
  background-color: var(--linen-bg-elevated);
  border-right: 1px solid var(--linen-border);
  border-bottom: 1px solid var(--linen-border);
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

@keyframes footnoteContextFlash {
  0% {
    background-color: var(--linen-accent-soft, rgba(168, 69, 46, 0.08));
    box-shadow: 0 0 0 4px var(--linen-accent-soft, rgba(168, 69, 46, 0.08));
  }
  45% {
    background-color: var(--linen-accent-soft, rgba(168, 69, 46, 0.08));
    box-shadow: 0 0 0 4px var(--linen-accent-soft, rgba(168, 69, 46, 0.08));
  }
  100% {
    background-color: transparent;
    box-shadow: 0 0 0 4px transparent;
  }
}
@keyframes footnoteAnchorFlash {
  0% {
    background-color: var(--linen-accent, #a8452e);
    color: var(--linen-on-accent, #fcfbf8);
    transform: scale(1.22);
    box-shadow: 0 0 0 0 var(--linen-accent-focus, rgba(168, 69, 46, 0.45));
  }
  18% {
    background-color: var(--linen-accent, #a8452e);
    color: var(--linen-on-accent, #fcfbf8);
    transform: scale(1.16);
    box-shadow: 0 0 0 8px rgba(168, 69, 46, 0);
  }
  52% {
    background-color: var(--linen-accent, #a8452e);
    color: var(--linen-on-accent, #fcfbf8);
    transform: scale(1.06);
    box-shadow: 0 0 0 3px var(--linen-accent-soft-strong, rgba(168, 69, 46, 0.14));
  }
  100% {
    background-color: transparent;
    color: var(--linen-accent, #a8452e);
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
}
.footnote-context-highlight {
  border-radius: 4px;
  animation: footnoteContextFlash 2200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footnote-anchor-wrap.anchor-highlight {
  animation: none;
}
.footnote-anchor-wrap.anchor-highlight .footnote-href {
  animation: footnoteAnchorFlash 2200ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .footnote-popover {
    transition: opacity 120ms ease;
    transform: none;
  }
  .footnote-popover.placement-bottom {
    transform: none;
  }
}
#content-outer.post-outer .content-inner {
  min-width: 0;
  max-width: 100%;
  background-color: var(--linen-bg);
}
#content-outer.post-outer #post {
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px) min(3vw, 15px) 0;
}
#content-outer.post-outer #post h1:first-child {
  margin-top: 0;
}
#content-outer.post-outer.editorial-breakout #post .post-title,
#content-outer.post-outer.editorial-breakout #post .post-meta,
#content-outer.post-outer.editorial-breakout #post #post-age-warning,
#content-outer.post-outer.editorial-breakout #post .tags {
  max-width: var(--linen-prose-width, 720px);
  margin-left: auto;
  margin-right: auto;
}
#content-outer.post-outer.editorial-breakout #post #page-content > * {
  max-width: var(--linen-prose-width, 720px);
  margin-left: auto;
  margin-right: auto;
}
#content-outer.post-outer.editorial-breakout #post #page-content > a:has(> .shared-link) {
  display: block;
}
#content-outer.post-outer.editorial-breakout #post #page-content > .github-link,
#content-outer.post-outer.editorial-breakout #post #page-content > a:has(> .github-link) {
  display: block;
  margin-left: max(0px, (100% - var(--linen-prose-width, 720px)) / 2);
  margin-right: auto;
}
#content-outer.post-outer.editorial-breakout #post #page-content > .image-grid,
#content-outer.post-outer.editorial-breakout #post #page-content > .lazyload-outer-wrap,
#content-outer.post-outer.editorial-breakout #post #page-content > .table-wrap,
#content-outer.post-outer.editorial-breakout #post #page-content > table:not(:where(.highlight table)),
#content-outer.post-outer.editorial-breakout #post #page-content > .diagram-scroll,
#content-outer.post-outer.editorial-breakout #post #page-content > .links-warp,
#content-outer.post-outer.editorial-breakout #post #page-content > figure:not(.highlight),
#content-outer.post-outer.editorial-breakout #post #page-content > .breakout,
#content-outer.post-outer.editorial-breakout #post #page-content > p:has(> .image-grid,
> .lazyload-outer-wrap,
> img:not(.linen-emoji),
> a:only-child > img:not(.linen-emoji),
> picture,
> video,
> iframe) {
  max-width: 100%;
}
#content-outer.post-outer.editorial-breakout #post #page-content > p:has(.shared-link),
#content-outer.post-outer.editorial-breakout #post #page-content > p:has(.github-link),
#content-outer.post-outer.editorial-breakout #post #page-content > .no-breakout {
  max-width: var(--linen-prose-width, 720px);
}
#content-outer.post-outer.editorial-breakout #raw-markdown-block,
#content-outer.post-outer.editorial-breakout .post-nav-wrap,
#content-outer.post-outer.editorial-breakout .copyright-desc,
#content-outer.post-outer.editorial-breakout .sponsor-list,
#content-outer.post-outer.editorial-breakout #related-posts,
#content-outer.post-outer.editorial-breakout #gitalk-container,
#content-outer.post-outer.editorial-breakout #giscus-container {
  max-width: calc(var(--linen-prose-width, 720px) + min(3vw, 15px) * 2);
  margin-left: auto;
  margin-right: auto;
}
#content-outer.post-outer.editorial-breakout .series-nav {
  max-width: var(--linen-prose-width, 720px);
}
#content-outer.post-outer #giscus-container {
  --giscus-placeholder-height: 372px;
  position: relative;
  margin: 1.5em 0 0;
  padding: 1.25rem min(3vw, 15px) 0;
  background-color: var(--linen-bg);
  border-top: 1px solid var(--linen-border-subtle);
  min-height: calc(var(--giscus-placeholder-height) + 1.25rem + 1px);
}
#content-outer.post-outer #giscus-container.no-reactions {
  --giscus-placeholder-height: 298px;
}
#content-outer.post-outer #giscus-container .giscus-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--giscus-placeholder-height);
  color: var(--linen-ink-muted);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
#content-outer.post-outer #giscus-container .giscus-loading-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.75px solid var(--linen-border-strong);
  border-top-color: var(--linen-accent);
  animation: giscusSpin 0.78s linear infinite;
  flex-shrink: 0;
}
#content-outer.post-outer #giscus-container iframe.giscus-frame {
  display: block;
  width: 100%;
  transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
#content-outer.post-outer #giscus-container.is-loading > .giscus,
#content-outer.post-outer #giscus-container.is-loading > iframe.giscus-frame {
  position: absolute;
  inset: 1.25rem min(3vw, 15px) 0;
  width: calc(100% - min(3vw, 15px) * 2);
  opacity: 0;
  pointer-events: none;
}
#content-outer.post-outer #giscus-container.is-loaded {
  min-height: 0;
}
#content-outer.post-outer #giscus-container.is-loaded .giscus-loading {
  display: none;
}
#content-outer.post-outer #giscus-container.is-loaded iframe.giscus-frame {
  opacity: 1;
}
#content-outer.post-outer #giscus-container.is-error {
  min-height: 120px;
}
#content-outer.post-outer #giscus-container.is-error .giscus-loading {
  min-height: 96px;
}
#content-outer.post-outer #giscus-container.is-error .giscus-loading-spinner {
  display: none;
}
#content-outer.post-outer #gitalk-container {
  --gt-avatar-size: 2.25rem;
  --gt-placeholder-inner-height: calc(6.3rem + 2px + min(3vw, 15px));
  margin: 1.25em 0 0;
  padding: 0.25rem min(3vw, 15px) 0;
  background-color: var(--linen-bg);
  min-height: calc(var(--gt-placeholder-inner-height) + 0.25rem + 1px);
  border-top: 1px solid var(--linen-border-subtle);
}
@media (max-width: 479px) {
  #content-outer.post-outer #gitalk-container {
    --gt-avatar-size: 2rem;
    --gt-placeholder-inner-height: calc(6.39375rem + 2px + min(3vw, 15px));
  }
}
#content-outer.post-outer #gitalk-container:has(.gt-container) {
  min-height: 0;
}
#content-outer.post-outer .post-nav-wrap + #giscus-container,
#content-outer.post-outer .post-nav-wrap + #gitalk-container {
  margin-top: 0;
  border-top: none;
}

@keyframes giscusSpin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  #content-outer.post-outer #giscus-container .giscus-loading-spinner {
    animation: none;
  }
}
#toc {
  max-width: calc((100vw - max(1000px, min(1192px, 68vw))) / 2);
  text-align: right;
  max-height: 100vh;
  padding: 24px 0;
  overflow-y: auto;
  position: relative;
  user-select: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
#toc::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background-color: var(--linen-border-subtle);
}
#toc .toc-item-wrap {
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
#toc .toc-item-wrap:not(.active) {
  opacity: 0.68;
}
#toc:hover .toc-item-wrap:not(.active) {
  opacity: 1;
}
#toc .toc-title {
  color: var(--linen-ink);
  padding: 0 15px;
  font-size: 15px;
  font-weight: 600;
}
#toc .toc-title::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/toc.svg") no-repeat center/contain;
  mask: url("../img/icons/toc.svg") no-repeat center/contain;
  vertical-align: middle;
  margin-bottom: 4px;
  opacity: 0.78;
}
#toc .toc-item-wrap .toc-item-link {
  padding: 2px 15px;
  display: block;
  color: var(--linen-gray-3);
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 8px;
  position: relative;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
#toc .toc-item-wrap .toc-item-link:hover {
  color: var(--linen-accent);
}
#toc .toc-item-wrap.active .toc-sub-item-link:not(.active) {
  opacity: 0.72;
}
#toc .toc-item-wrap .toc-sub-item-wrap {
  margin: 0;
  display: none;
  padding: 0 15px;
}
#toc .toc-item-wrap .toc-sub-item-wrap li {
  list-style: none;
}
#toc .toc-item-wrap .toc-sub-item-wrap .toc-sub-item-link {
  font-size: 12px;
  position: relative;
  color: var(--linen-gray-5);
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
#toc .toc-item-wrap .toc-sub-item-wrap .toc-sub-item-link:hover {
  color: var(--linen-accent);
}
#toc .toc-item-wrap .toc-sub-item-wrap .toc-sub-item-link.active {
  color: var(--linen-ink);
  font-weight: 600;
}
#toc .toc-item-wrap.active .toc-item-link {
  font-weight: 600;
  color: var(--linen-ink);
}
#toc .toc-item-wrap.active .toc-item-link::before {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background-color: var(--linen-accent);
  border-radius: 1px;
  z-index: 1;
}
#toc .toc-item-wrap.active .toc-sub-item-wrap {
  display: block;
}
#toc .toc-item-wrap:not(:last-child) .toc-sub-item-wrap li:last-child .toc-sub-item-link::after {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  bottom: -9px;
  border-bottom: solid 0.5px var(--linen-border);
}
#toc.flat .toc-item-wrap .toc-sub-item-wrap {
  display: block;
}

.post-series {
  width: 100%;
  text-align: left;
  max-height: 100vh;
  padding: 24px 0;
  overflow-y: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.post-series::after {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background-color: var(--linen-border-subtle);
}
.post-series .series-title {
  color: var(--linen-ink);
  padding: 0 15px;
  font-size: 15px;
  font-weight: 600;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.post-series .series-title:hover {
  color: var(--linen-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.post-series .series-title::before {
  margin-right: 5px;
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  -webkit-mask: url("../img/icons/shelf.svg") no-repeat center/contain;
  mask: url("../img/icons/shelf.svg") no-repeat center/contain;
  vertical-align: middle;
  margin-bottom: 3px;
  opacity: 0.72;
}
.post-series .series-item-link,
.post-series .series-year-divider {
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.post-series .series-year-divider:not(.active) {
  opacity: 0.68;
}
.post-series .series-item-link:not(.active) {
  opacity: 0.68;
  color: var(--linen-gray-5);
}
.post-series .series-item-link:not(.active) .sub-title {
  color: var(--linen-gray-5);
}
.post-series:hover .series-item-link:not(.active),
.post-series:hover .series-year-divider:not(.active) {
  opacity: 1;
}
.post-series .series-items .series-year-divider {
  color: var(--linen-ink-subtle);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  margin-top: 18px;
  padding: 0 15px;
}
.post-series .series-items .series-item-link {
  padding: 2px 15px;
  display: block;
  color: var(--linen-gray-3);
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 8px;
  position: relative;
  width: fit-content;
}
.post-series .series-items .series-item-link .sub-title {
  font-size: 70%;
  color: var(--linen-ink-subtle);
  margin-left: 0.5em;
}
.post-series .series-items .series-item-link:hover {
  color: var(--linen-accent);
}
.post-series .series-items .series-item-link.active {
  font-weight: 600;
  color: var(--linen-ink);
}
.post-series .series-items .series-item-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background-color: var(--linen-accent);
  border-radius: 1px;
  z-index: 1;
}
.post-series .series-items .series-item-link.view-more {
  color: var(--linen-gray-9);
  font-size: 11.5px;
}

.lazyload-outer-wrap .caption {
  color: var(--linen-ink-secondary);
  font-size: 0.8em;
  margin-top: 0.2em;
}

html[lang^=en] :is(#post, #page) {
  font-family: "source-serif", Georgia, "Times New Roman", serif;
}
html[lang^=en] :is(#post, #page) h1,
html[lang^=en] :is(#post, #page) .post-title {
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.022em;
}
html[lang^=en] :is(#post, #page) h2 {
  font-size: 1.65rem;
  line-height: 1.28;
  letter-spacing: -0.016em;
}
html[lang^=en] :is(#post, #page) h3 {
  font-size: 1.35rem;
  line-height: 1.34;
  letter-spacing: -0.01em;
}
html[lang^=en] :is(#post, #page) h4 {
  font-size: 1.1875rem;
  line-height: 1.4;
}
html[lang^=en] :is(#post, #page) #page-content {
  font-family: "source-serif", Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.66;
}
html[lang^=en] :is(#post, #page) #page-content > p {
  margin-bottom: 1.12em;
}
html[lang^=en] :is(#post, #page) #page-content :not(pre) > code {
  font-size: 0.8em;
}
html[lang^=en] :is(#post, #page) #page-content blockquote {
  font-size: 0.95em;
  line-height: 1.62;
}
@media (max-width: 900px) {
  html[lang^=en] :is(#post, #page) h1,
  html[lang^=en] :is(#post, #page) .post-title {
    font-size: 1.9rem;
    line-height: 1.22;
  }
  html[lang^=en] :is(#post, #page) h2 {
    font-size: 1.5rem;
  }
  html[lang^=en] :is(#post, #page) h3 {
    font-size: 1.28rem;
  }
  html[lang^=en] :is(#post, #page) h4 {
    font-size: 1.125rem;
  }
  html[lang^=en] :is(#post, #page) #page-content {
    font-size: 19px;
    line-height: 1.65;
  }
}
@media (max-width: 728px) {
  html[lang^=en] :is(#post, #page) h1,
  html[lang^=en] :is(#post, #page) .post-title {
    font-size: 1.75rem;
  }
  html[lang^=en] :is(#post, #page) h2 {
    font-size: 1.42rem;
  }
  html[lang^=en] :is(#post, #page) h3 {
    font-size: 1.22rem;
  }
  html[lang^=en] :is(#post, #page) h4 {
    font-size: 1.1rem;
  }
  html[lang^=en] :is(#post, #page) #page-content {
    font-size: 18px;
    line-height: 1.64;
  }
}
@media (max-width: 479px) {
  html[lang^=en] :is(#post, #page) h1,
  html[lang^=en] :is(#post, #page) .post-title {
    font-size: clamp(24px, 6.8vw, 28px);
  }
  html[lang^=en] :is(#post, #page) h2 {
    font-size: clamp(20.5px, 5.6vw, 22.72px);
  }
  html[lang^=en] :is(#post, #page) h3 {
    font-size: clamp(18.5px, 4.8vw, 19.52px);
  }
}

html[lang^=zh] :is(#post, #page) {
  font-family: "source-serif", "source han serif cn", "Songti SC", "Noto Serif SC", "SimSun", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

#related-posts {
  margin: 2.25em 0 0;
  padding: 0 min(3vw, 15px);
  border-top: 1px solid var(--linen-border-subtle);
}
#related-posts .related-posts-title {
  margin: 1.2em 0 0.85em;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--linen-ink);
}
#related-posts .shared-link {
  margin-bottom: 0.85rem;
}
#related-posts > a:last-child .shared-link {
  margin-bottom: 0;
}

.post-nav-wrap + #related-posts {
  margin-top: 0;
  border-top: none;
}

#page-donates {
  width: fit-content;
  margin: 2em auto 0 auto;
  padding: 0.72em 1.75em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--linen-accent-border);
  background-color: transparent;
  color: var(--linen-accent);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  user-select: none;
  transition: background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
#page-donates:hover {
  background-color: var(--linen-accent-soft);
  border-color: var(--linen-accent);
}
#page-donates #donate-modal {
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 50;
  transform: translate(-50%, calc(-100% - 14px));
  cursor: default;
  pointer-events: none;
  padding: 8px;
  background: var(--linen-bg-elevated);
  border: 1px solid var(--linen-border);
  border-radius: 6px;
  box-shadow: 0 12px 32px var(--linen-shadow-strong);
  opacity: 0;
}
#page-donates #donate-modal .qr-code {
  width: 240px;
  height: 240px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}
#page-donates #donate-modal.visible {
  transform: translate(-50%, -100%);
  opacity: 1;
  pointer-events: all;
}
#page-donates #donate-modal.placement-bottom {
  top: auto;
  bottom: -12px;
  transform: translate(-50%, calc(100% + 14px));
}
#page-donates #donate-modal.placement-bottom.visible {
  transform: translate(-50%, 100%);
}
#page-donates:active {
  background-color: var(--linen-accent-soft-strong);
}

.sponsor-list {
  margin: 1.75em 0 0;
  padding: 0 min(3vw, 15px);
}
.sponsor-list .sponsor-list-header {
  font-size: 1.05em;
  font-weight: 600;
  color: var(--linen-ink);
  margin-bottom: 0.5em;
}
.sponsor-list .sponsor-item:not(:last-child) {
  margin-bottom: 0.45em;
}
.sponsor-list .sponsor-name {
  font-size: 1em;
  color: var(--linen-ink);
  margin-bottom: 0.5em;
}
.sponsor-list .sponsor-amount {
  margin-left: 4px;
  font-size: 0.9em;
  color: var(--linen-ink-secondary);
}
.sponsor-list .sponsor-date {
  margin-left: 4px;
  font-size: 0.8em;
  color: var(--linen-ink-subtle);
}
.sponsor-list .sponsor-message {
  margin-top: 0.35em;
  padding: 0.4em 0.75em;
  border-left: 2px solid var(--linen-border);
  background-color: var(--linen-surface);
  border-radius: 0 4px 4px 0;
  font-size: 0.875em;
  line-height: 1.55;
  color: var(--linen-ink-secondary);
  white-space: pre-wrap;
  word-break: break-word;
}

.caption-link {
  text-decoration: underline;
  cursor: pointer;
}

.img-exif {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.lazyload-outer-wrap .gallery-item {
  width: 100%;
  display: inline-block;
  vertical-align: middle;
  scroll-margin-top: calc(65px + 16px);
}

#post-age-warning {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0 0 1.6em;
  font-size: 13px;
  line-height: 1.55;
  border-left: solid 2.5px var(--linen-accent-border);
  border-radius: 0 4px 4px 0;
  background-color: var(--linen-surface);
  padding: 8px 12px;
  color: var(--linen-ink-secondary);
}
#post-age-warning .days-value {
  display: inline-block;
  min-width: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--linen-accent);
}

.image-grid {
  width: 100%;
  --image-grid-gap: min(3vw, 15px);
  --image-grid-gap1: calc(var(--image-grid-gap) * 0.75);
  --image-grid-gap2: calc(var(--image-grid-gap) * 0.65);
  display: flex;
  margin-bottom: var(--image-grid-gap);
}
.image-grid br {
  display: none;
}
.image-grid .grid-item {
  display: block;
  margin: 0;
  width: 0;
  flex: 1 1 auto;
  margin-right: var(--image-grid-gap);
}
.image-grid .grid-item .lazyload-wrap:has(iframe) {
  aspect-ratio: unset !important;
}
.image-grid .lazyload-outer-wrap {
  margin-top: 0;
  margin-bottom: 0;
}
.image-grid.portrait .lazyload-wrap .placeholder {
  padding-bottom: 133% !important;
  background-size: cover;
  background-position: center;
}
.image-grid.portrait .lazyload-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-grid.landscape .lazyload-wrap .placeholder {
  padding-bottom: 75% !important;
  background-size: cover;
  background-position: center;
}
.image-grid.landscape .lazyload-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-grid:has(.grid-item:nth-child(2)) .grid-item {
  width: calc((100% - var(--image-grid-gap)) / 2);
}
.image-grid:has(.grid-item:nth-child(2)) .grid-item:nth-of-type(2n) {
  margin-right: 0;
}
.image-grid:has(.grid-item:nth-child(3)) .grid-item {
  width: calc((100% - var(--image-grid-gap1) * 2) / 3);
  margin-right: var(--image-grid-gap1);
}
.image-grid:has(.grid-item:nth-child(3)) .grid-item:nth-of-type(2n) {
  margin-right: var(--image-grid-gap1);
}
.image-grid:has(.grid-item:nth-child(3)) .grid-item:nth-of-type(3n) {
  margin-right: 0;
}
.image-grid:has(.grid-item:nth-child(4)) .grid-item {
  width: calc((100% - var(--image-grid-gap2) * 3) / 4);
  margin-right: var(--image-grid-gap2);
}
.image-grid:has(.grid-item:nth-child(4)) .grid-item:nth-of-type(2n) {
  margin-right: var(--image-grid-gap2);
}
.image-grid:has(.grid-item:nth-child(4)) .grid-item:nth-of-type(3n) {
  margin-right: var(--image-grid-gap2);
}
.image-grid:has(.grid-item:nth-child(4)) .grid-item:nth-of-type(4n) {
  margin-right: 0;
}
.image-grid.r64 .lazyload-wrap .placeholder {
  background-size: cover;
  background-position: center;
}
.image-grid.r64 .lazyload-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-grid.r64 .grid-item:nth-of-type(1) {
  width: calc((100% - var(--image-grid-gap)) / 6.25 * 4) !important;
}
.image-grid.r64 .grid-item:nth-of-type(1) .lazyload-wrap .placeholder {
  padding-bottom: 75% !important;
}
.image-grid.r64 .grid-item:nth-of-type(2) {
  width: calc((100% - var(--image-grid-gap)) / 6.25 * 2.25) !important;
}
.image-grid.r64 .grid-item:nth-of-type(2) .lazyload-wrap .placeholder {
  padding-bottom: 133.3333333333% !important;
}
.image-grid.rLeftWide .lazyload-wrap .placeholder {
  background-size: cover;
  background-position: center;
}
.image-grid.rLeftWide .lazyload-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-grid.rLeftWide .grid-item:nth-of-type(1) {
  width: calc((100% - var(--image-grid-gap)) / 21.0625 * 16) !important;
}
.image-grid.rLeftWide .grid-item:nth-of-type(1) .lazyload-wrap .placeholder {
  padding-bottom: 56.25% !important;
}
.image-grid.rLeftWide .grid-item:nth-of-type(2) {
  width: calc((100% - var(--image-grid-gap)) / 21.0625 * 5.0625) !important;
}
.image-grid.rLeftWide .grid-item:nth-of-type(2) .lazyload-wrap .placeholder {
  padding-bottom: 177.7777777778% !important;
}
.image-grid.rRightWide .lazyload-wrap .placeholder {
  background-size: cover;
  background-position: center;
}
.image-grid.rRightWide .lazyload-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-grid.rRightWide .grid-item:nth-of-type(2) {
  width: calc((100% - var(--image-grid-gap)) / 21.0625 * 16) !important;
}
.image-grid.rRightWide .grid-item:nth-of-type(2) .lazyload-wrap .placeholder {
  padding-bottom: 56.25% !important;
}
.image-grid.rRightWide .grid-item:nth-of-type(1) {
  width: calc((100% - var(--image-grid-gap)) / 21.0625 * 5.0625) !important;
}
.image-grid.rRightWide .grid-item:nth-of-type(1) .lazyload-wrap .placeholder {
  padding-bottom: 177.7777777778% !important;
}
.image-grid.r46 .lazyload-wrap .placeholder {
  background-size: cover;
  background-position: center;
}
.image-grid.r46 .lazyload-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-grid.r46 .grid-item:nth-of-type(2) {
  width: calc((100% - var(--image-grid-gap)) / 6.25 * 4) !important;
}
.image-grid.r46 .grid-item:nth-of-type(2) .lazyload-wrap .placeholder {
  padding-bottom: 75% !important;
}
.image-grid.r46 .grid-item:nth-of-type(1) {
  width: calc((100% - var(--image-grid-gap)) / 6.25 * 2.25) !important;
}
.image-grid.r46 .grid-item:nth-of-type(1) .lazyload-wrap .placeholder {
  padding-bottom: 133.3333333333% !important;
}
.image-grid.r73 .lazyload-wrap .placeholder {
  background-size: cover;
  background-position: center;
}
.image-grid.r73 .lazyload-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-grid.r73 .grid-item:nth-of-type(1) {
  width: calc((100% - var(--image-grid-gap)) / 4.3333333333 * 3) !important;
}
.image-grid.r73 .grid-item:nth-of-type(1) .lazyload-wrap .placeholder {
  padding-bottom: 66.6666666667% !important;
}
.image-grid.r73 .grid-item:nth-of-type(2) {
  width: calc((100% - var(--image-grid-gap)) / 4.3333333333 * 2 / 1.5) !important;
}
.image-grid.r73 .grid-item:nth-of-type(2) .lazyload-wrap .placeholder {
  padding-bottom: 150% !important;
}
.image-grid.r37 .lazyload-wrap .placeholder {
  background-size: cover;
  background-position: center;
}
.image-grid.r37 .lazyload-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.image-grid.r37 .grid-item:nth-of-type(1) {
  width: calc((100% - var(--image-grid-gap)) / 4.3333333333 * 2 / 1.5) !important;
}
.image-grid.r37 .grid-item:nth-of-type(1) .lazyload-wrap .placeholder {
  padding-bottom: 150% !important;
}
.image-grid.r37 .grid-item:nth-of-type(2) {
  width: calc((100% - var(--image-grid-gap)) / 4.3333333333 * 3) !important;
}
.image-grid.r37 .grid-item:nth-of-type(2) .lazyload-wrap .placeholder {
  padding-bottom: 66.6666666667% !important;
}
.image-grid.scroll, .image-grid.slider {
  display: flex;
  gap: var(--image-grid-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  scrollbar-width: thin;
}
.image-grid.scroll .grid-item, .image-grid.slider .grid-item {
  flex: 0 0 min(86%, 760px) !important;
  width: min(86%, 760px) !important;
  margin-right: 0 !important;
  scroll-snap-align: center;
}
.image-grid.scroll .lazyload-outer-wrap,
.image-grid.scroll .gallery-item,
.image-grid.scroll .lazyload-wrap, .image-grid.slider .lazyload-outer-wrap,
.image-grid.slider .gallery-item,
.image-grid.slider .lazyload-wrap {
  display: block;
  width: 100%;
}
.image-grid.switcher {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 1.5em 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
  overflow: hidden;
}
.image-grid.switcher .grid-item {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 100% !important;
  flex: none;
  margin-right: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.85s;
}
.image-grid.switcher .grid-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}
.image-grid.switcher .grid-item .lazyload-outer-wrap,
.image-grid.switcher .grid-item .gallery-item,
.image-grid.switcher .grid-item .lazyload-wrap {
  display: block;
  width: 100%;
}
.image-grid.switcher .grid-item .lazyload-wrap {
  position: relative;
  overflow: hidden;
}
.image-grid.switcher .grid-item .lazyload-wrap .placeholder {
  background-size: cover;
  background-position: center;
}
.image-grid.switcher .grid-item .lazyload-wrap .inner-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.image-grid.switcher .grid-item img,
.image-grid.switcher .grid-item iframe {
  display: block;
  width: 100%;
  height: 100% !important;
}
.image-grid.switcher .grid-item img {
  object-fit: cover;
}
.image-grid.switcher .grid-item .caption,
.image-grid.switcher .grid-item .pswp-caption-content {
  display: none;
}
.image-grid.switcher .image-grid-switcher-controls {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--linen-border);
  border-radius: 4px;
  background: var(--linen-surface);
  padding: 4px;
  box-sizing: border-box;
  scrollbar-width: none;
}
.image-grid.switcher .image-grid-switcher-controls::-webkit-scrollbar {
  display: none;
}
.image-grid.switcher .image-grid-switcher-controls::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / var(--switcher-item-count, 1));
  border-radius: 2px;
  background: var(--linen-bg-elevated);
  box-shadow: 0 1px 2px var(--linen-shadow-color), 0 0 0 1px var(--linen-border-subtle);
  opacity: 0;
  transform: translateX(calc(var(--switcher-active-index, 0) * 100%));
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  pointer-events: none;
}
.image-grid.switcher .image-grid-switcher-controls.is-ready::before {
  opacity: 1;
}
.image-grid.switcher .image-grid-switcher-button {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  flex: 1 1 0;
  position: relative;
  z-index: 1;
  min-width: 76px;
  min-height: 36px;
  border: 0;
  border-radius: 2px;
  padding: 0 18px;
  color: var(--linen-ink-secondary);
  background: transparent;
  font-size: 14.5px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.image-grid.switcher .image-grid-switcher-button:hover {
  color: var(--linen-ink);
}
.image-grid.switcher .image-grid-switcher-button.active {
  color: var(--linen-ink);
  font-weight: 500;
}