html {
  scroll-padding-top: 168px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.jin88-site #wrapper { overflow: clip; }
.jin88-site #header { position: sticky; top: 0; z-index: 30; }
.jin88-site #header #logo img {
  display: block;
  width: 188px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.jin88-site .header-main, .jin88-site .header-bg-color { background-color: #fff; }
.jin88-site .header-bottom-nav a[aria-current="page"] { color: #eeee22 !important; }
.jin88-site #footer img[src*="jin88-logo-"] { height: auto; max-width: 208px; }
.jin88-dmca {
  display: grid;
  place-items: center;
  padding: 8px 16px 12px;
}
.jin88-dmca img { display: block; width: 120px; height: auto; }
.jin88-site .taxonomy-description ul, .jin88-site .taxonomy-description ol { padding-inline-start: 1.25em; }
.jin88-site .jin88-standard { min-height: 45vh; padding-block: 48px; }
.jin88-related-carousel { position: relative; }
.jin88-site .jin88-related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 25%;
  grid-template-columns: none;
  align-items: start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.jin88-related-track > .post-item { max-width: none; scroll-snap-align: start; }
.jin88-related-buttons {
  position: absolute;
  inset: 50% 4px auto;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.jin88-related-buttons button {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 1px solid #d6e4f2;
  color: #446084;
  background: #fff;
  box-shadow: 0 1px 5px rgb(16 28 50 / .16);
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0;
  transition: opacity .2s ease;
}
.jin88-related-carousel:hover .jin88-related-buttons button,
.jin88-related-carousel:focus-within .jin88-related-buttons button {
  opacity: 1;
  pointer-events: auto;
}
.jin88-related-buttons button:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
@media (hover: none) {
  .jin88-related-buttons button { opacity: .9; pointer-events: auto; }
}
.jin88-site .jin88-drawer {
  position: fixed;
  margin: 0;
  inset: 0 auto 0 0;
  width: min(315px, 88vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  overflow: auto;
  border: 0;
  color: #101c32;
  background: #fff;
}
.jin88-drawer::backdrop { background: rgb(8 20 48 / .62); }
.jin88-drawer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 9px; }
.jin88-drawer-top a { flex: 1; }
.jin88-drawer-top img { width: 140px; height: auto; }
.jin88-drawer-top button { margin: 0; padding: 0 8px; line-height: 1.4; min-height: 35px; font-size: 24px; }
.jin88-drawer nav { background: #2145e6; }
.jin88-drawer nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 43px;
  padding: 7px 18px;
  color: #fff;
  border-top: 1px solid rgb(255 255 255 / .17);
  font-weight: 700;
}
.jin88-drawer nav a[aria-current="page"], .jin88-drawer nav a:hover { color: #ffff72; background: #1739c7; }
.jin88-drawer form { padding: 15px 16px; margin: 0; }
.jin88-drawer form input { margin-block: 4px 7px; }
.jin88-drawer button:focus-visible, .jin88-drawer a:focus-visible { outline: 2px solid #ffc600; outline-offset: -3px; }
.jin88-site .jin88-byline {
  border-block-start: 1px solid #deebfa;
  margin-top: 24px;
  padding: 13px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.jin88-byline a { display: flex; align-items: center; gap: 10px; color: #0563b9; font-weight: 700; }
.jin88-byline img, .jin88-author-heading img { border: 1px solid #d5e6f9; border-radius: 9px; background: #fff; }
.jin88-author-heading { padding-block: 10px 22px; }
.jin88-site .accordion-inner:not([hidden]) { display: block; }
.jin88-site .accordion-inner[hidden], .jin88-site #ez-toc-container nav[hidden] { display: none; }
.jin88-site .pagination .nav-links { display: flex; justify-content: center; gap: 10px; padding-bottom: 12px; }
.jin88-site .pagination .page-numbers[aria-current="page"] { font-weight: 700; }
@media (max-width: 849px) {
  .jin88-site .jin88-related-track { grid-auto-columns: 100%; }
  .jin88-related-buttons { inset-block-start: 27vw; }
}
@media (max-width: 549px) {
  html { scroll-padding-top: 132px; }
  .jin88-site #header #logo img { width: 166px; }
  .jin88-site .blog-archive .box-image { width: 100% !important; }
}
