/* NewAnimeFig 0.1.1 - safe article-only redesign for JIN */
/* Remove the distracting body wallpaper on importer-owned single posts only. */
body.naf-imported-post,
body.naf-imported-post #wrapper {
  background-image: none !important;
  background-color: #f5f7fb !important;
}
body.naf-imported-post h1.entry-title,
body.naf-imported-post h1.post-title,
body.naf-imported-post .cps-post-title {
  color: #23384f !important;
  letter-spacing: .015em;
  line-height: 1.5;
}

/* The wrapper is added only at display time; original post_content remains intact. */
body.naf-imported-post .naf-guide-article {
  box-sizing: border-box;
  margin: 22px 0 36px;
  padding: clamp(18px, 3.5vw, 36px);
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #e4ebf4;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(22, 42, 70, .045);
  color: #28384a;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .012em;
  line-height: 1.95;
}
body.naf-imported-post .naf-guide-article p,
body.naf-imported-post .naf-guide-article li,
body.naf-imported-post .naf-guide-article td,
body.naf-imported-post .naf-guide-article th {
  color: #344254;
  letter-spacing: .01em;
  line-height: 1.85;
}
body.naf-imported-post .naf-guide-article p {
  margin: 0 0 18px !important;
  font-size: inherit;
}
body.naf-imported-post .naf-guide-article > p:first-child {
  font-size: 1.025em;
  line-height: 1.95;
  color: #33445a;
  font-weight: 450;
  margin: 0 0 24px !important;
}
body.naf-imported-post .naf-guide-article h2,
body.naf-imported-post .naf-guide-article h3 {
  box-sizing: border-box;
  color: #213951 !important;
  text-transform: none !important;
  box-shadow: none !important;
  letter-spacing: .01em;
  font-weight: 700 !important;
  clear: both;
}
/* Reset theme-provided decorative icons that clash with this design. */
body.naf-imported-post .naf-guide-article h2::before,
body.naf-imported-post .naf-guide-article h2::after,
body.naf-imported-post .naf-guide-article h3::before,
body.naf-imported-post .naf-guide-article h3::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.naf-imported-post .naf-guide-article h2 {
  margin: 38px 0 17px !important;
  padding: 13px 16px !important;
  border: 0 !important;
  border-left: 5px solid #3574c9 !important;
  border-radius: 0 8px 8px 0 !important;
  background: #eff5fe !important;
  font-size: clamp(19px, 2.6vw, 23px) !important;
  line-height: 1.5 !important;
}
body.naf-imported-post .naf-guide-article h3 {
  margin: 27px 0 13px !important;
  padding: 2px 0 7px 13px !important;
  border: 0 !important;
  border-left: 3px solid #92b6e5 !important;
  border-bottom: 1px solid #e9eef5 !important;
  background: transparent !important;
  font-size: clamp(17px, 2.3vw, 20px) !important;
  line-height: 1.6 !important;
}
body.naf-imported-post .naf-guide-article ul {
  list-style: disc outside !important;
  padding: 0 0 0 1.6em !important;
  margin: 10px 0 20px !important;
  background: transparent !important;
}
body.naf-imported-post .naf-guide-article li {
  list-style: disc outside !important;
  padding: 2px 0 4px !important;
  margin: 0 !important;
}
body.naf-imported-post .naf-guide-article li::marker {color:#3775bf;}
body.naf-imported-post .naf-guide-article li::before,
body.naf-imported-post .naf-guide-article li::after {content:none !important;display:none !important;}

/* Shop facts at the top of every article. */
body.naf-imported-post .naf-guide-article .naf-guide-facts {
  box-sizing: border-box;
  overflow: hidden;
  margin: 26px 0 33px !important;
  padding: 20px;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #f8fbff !important;
  background-image: none !important;
}
body.naf-imported-post .naf-guide-article .naf-guide-facts > p:first-child {
  margin: 0 0 13px !important;
  color: #233c5b !important;
  font-size: 17px;
  font-weight: 700;
}
body.naf-imported-post .naf-guide-article table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: auto;
  background: white !important;
  font-size: 14px;
}
body.naf-imported-post .naf-guide-article .naf-guide-facts table {
  min-width: 0 !important;
  margin: 0 !important;
}
body.naf-imported-post .naf-guide-article th,
body.naf-imported-post .naf-guide-article td {
  box-sizing: border-box;
  padding: 11px 12px !important;
  vertical-align: top !important;
  border: 1px solid #dce5f1 !important;
  background: #fff !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  font-size: 14px !important;
}
body.naf-imported-post .naf-guide-article .naf-guide-facts th {
  width: 34%;
  min-width: 92px;
  background: #edf3fb !important;
  color: #2b4769 !important;
  font-weight: 700 !important;
}
body.naf-imported-post .naf-guide-article .naf-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin: 12px 0 18px;
  -webkit-overflow-scrolling: touch;
}
body.naf-imported-post .naf-guide-article .naf-table-scroll table {
  width: 100%;
  min-width: 340px;
  margin: 0;
}
body.naf-imported-post .naf-guide-article .naf-table-scroll tr:first-child td {
  background: #edf3fb !important;
  font-weight: 700;
  color: #294668;
}
body.naf-imported-post .naf-guide-article .naf-official-link {
  margin: 26px 0 !important;
}
body.naf-imported-post .naf-guide-article .naf-official-link a {
  display: block;
  padding: 15px 19px;
  background: #225da5 !important;
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: 0 3px 0 #194a83;
}
body.naf-imported-post .naf-guide-article .naf-official-link a:hover,
body.naf-imported-post .naf-guide-article .naf-official-link a:focus-visible {
  background: #174a88 !important;
  color: #fff !important;
}
body.naf-imported-post .naf-guide-article .naf-review-note {
  padding: 12px 14px;
  background: #f4f7fa;
  color: #66758a !important;
  font-size: 12px !important;
  border-radius: 7px;
}
@media (max-width: 767px) {
  body.naf-imported-post .naf-guide-article {
    margin: 14px 0 26px;
    padding: 17px 14px;
    border-radius: 11px;
    font-size: 15px;
  }
  body.naf-imported-post .naf-guide-article h2 {
    margin: 30px 0 14px !important;
    padding: 12px 11px !important;
    font-size: 19px !important;
  }
  body.naf-imported-post .naf-guide-article h3 {
    margin: 22px 0 11px !important;
    font-size: 17px !important;
  }
  body.naf-imported-post .naf-guide-article .naf-guide-facts {
    margin: 20px 0 24px !important;
    padding: 12px;
  }
  body.naf-imported-post .naf-guide-article th,
  body.naf-imported-post .naf-guide-article td {padding: 9px 8px !important;font-size: 13px !important;}
  body.naf-imported-post .naf-guide-article .naf-official-link a {font-size: 15px;}
}


/* 0.1.2 polish: scoped to JSON-imported guide posts only. */
body.naf-imported-post .naf-guide-article .naf-guide-facts > p:first-child {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}
body.naf-imported-post .naf-guide-article .naf-guide-facts table {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body.naf-imported-post .naf-guide-article .naf-guide-facts th {
  text-align: left !important;
  vertical-align: middle !important;
}
body.naf-imported-post .naf-guide-article .naf-guide-facts td {
  text-align: left !important;
}
/* JIN may suppress list-style markers. Draw consistent explicit dots instead. */
body.naf-imported-post .naf-guide-article ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 12px 0 21px !important;
}
body.naf-imported-post .naf-guide-article ul > li {
  list-style: none !important;
  position: relative !important;
  padding: 3px 0 5px 1.4em !important;
  margin: 0 !important;
}
body.naf-imported-post .naf-guide-article ul > li::marker { content: '' !important; }
body.naf-imported-post .naf-guide-article ul > li::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 0.25em !important;
  top: 0.92em !important;
  width: 6px !important;
  height: 6px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #3c7cc5 !important;
  box-shadow: none !important;
  transform: none !important;
}
body.naf-imported-post .naf-guide-article ul > li::after {
  content: none !important;
  display: none !important;
}
body.naf-imported-post .naf-guide-article h2 {
  margin-top: 31px !important;
  margin-bottom: 15px !important;
}
body.naf-imported-post .naf-guide-article h3 {
  margin-top: 23px !important;
  margin-bottom: 12px !important;
}
@media (max-width: 767px) {
  body.naf-imported-post .naf-guide-article h2 { margin-top: 26px !important; }
  body.naf-imported-post .naf-guide-article h3 { margin-top: 20px !important; }
  body.naf-imported-post .naf-guide-article .naf-guide-facts th { width: 37% !important; min-width: 0 !important; }
  body.naf-imported-post .naf-guide-article ul > li { padding-left: 1.3em !important; }
}

/* Internal article navigation, JSON blocks: link_paragraph / related_links */
body.naf-imported-post .naf-guide-article .naf-article-inline-link a {
 color:#1564b3; font-weight:700; text-decoration:underline; text-underline-offset:3px;
}
body.naf-imported-post .naf-guide-article .naf-guide-related-links {
 margin:26px 0 32px; padding:17px 19px 15px; border:1px solid #d5e4f5;
 background:#f5f9fe; border-radius:11px;
}
body.naf-imported-post .naf-guide-article .naf-guide-related-links .naf-related-heading {
 margin:0 0 13px !important; font-size:1.05em; font-weight:700; color:#173b65;
}
body.naf-imported-post .naf-guide-article .naf-guide-related-links ul {
 margin:0 !important; padding:0 !important; list-style:none !important;
}
body.naf-imported-post .naf-guide-article .naf-guide-related-links ul > li {
 margin:0 0 9px !important; padding:0 !important; list-style:none !important;
}
body.naf-imported-post .naf-guide-article .naf-guide-related-links ul > li::before,
body.naf-imported-post .naf-guide-article .naf-guide-related-links ul > li::after { content:none !important; display:none !important; }
body.naf-imported-post .naf-guide-article .naf-guide-related-links li a {
 display:block; padding:11px 12px; border-radius:7px; background:#fff;
 border:1px solid #dae5f4; text-decoration:none !important;
}
body.naf-imported-post .naf-guide-article .naf-guide-related-links .naf-related-label {
 display:block; color:#195797; font-weight:700; line-height:1.55;
}
body.naf-imported-post .naf-guide-article .naf-guide-related-links .naf-related-label::after {content:' →';}
body.naf-imported-post .naf-guide-article .naf-guide-related-links .naf-related-desc {
 display:block; color:#50647d; font-size:.86em; line-height:1.6; margin-top:3px;
}
@media(max-width:767px){body.naf-imported-post .naf-guide-article .naf-guide-related-links{padding:13px 12px;}}
