@import url(https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400&family=Inter:wght@400;500;600;700&display=swap);

/* The Help Scout hosted site cannot read colors.css, so accents mirror brand-colors.ts.
   The warm neutrals exist only here: the app's design system has no light surfaces. */
:root {
  --ink: #2e2925;
  --text: #4b443f;
  --text-muted: #75695f;
  --accent: #ff933f;
  --accent-hover: #ffa351;
  --accent-text: #bf4500;
  --accent-tint: #fff0e3;
  --link: #1766d6;
  --link-hover: #0f4fb0;
  --wash-warm: #ffc777;
  --page: #faf7f4;
  --surface: #fff;
  --surface-tint: #f8f3ee;
  --chip: #f4eee8;
  --border: #eae3dc;
  --border-strong: #d3c9bf;
  --info-bg: #eef6fd;
  --info-line: #a6d0f2;
  --success-bg: #eef8f1;
  --success-line: #a3d6b2;
  --warning-bg: #fff6e4;
  --warning-line: #fbd994;
  --error-bg: #fdf0ef;
  --error-line: #f0b2ad;
  --error-text: #b42318;
  --shadow-sm:
    0 1px 1px rgba(70, 50, 35, 0.03), 0 2px 3px rgba(70, 50, 35, 0.04),
    0 4px 8px rgba(70, 50, 35, 0.05);
  --shadow-md:
    0 1px 1px rgba(70, 50, 35, 0.03), 0 2px 4px rgba(70, 50, 35, 0.05),
    0 8px 18px rgba(70, 50, 35, 0.09);
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --container: min(1200px, 100% - 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background:
    radial-gradient(
      720px 460px at 100% 0,
      color-mix(in oklch, var(--accent) 6%, transparent),
      transparent 72%
    ),
    radial-gradient(
      620px 420px at 0 0,
      color-mix(in oklch, var(--wash-warm) 9%, transparent),
      transparent 72%
    ),
    var(--page);
  background-repeat: no-repeat;
}

strong {
  font-weight: 600;
}

a:focus {
  outline: 0;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

::placeholder {
  color: var(--text-muted) !important;
}

.container-fluid {
  width: var(--container);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.container-fluid::before,
.container-fluid::after {
  content: none;
}

.navbar {
  margin: 0;
}

.navbar .navbar-inner {
  min-height: 0;
  padding: 20px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

#mainNav .container-fluid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar .brand {
  display: block;
  float: none;
  width: 122px;
  height: 40px;
  margin: 0;
  padding: 0;
  background:
    url("https://cms.dathost.net/affiliate/logos/horizontal/dathost-horizontal-dark.svg")
    left center / contain no-repeat;
  opacity: 0.8;
}

.navbar .brand span {
  display: none;
}

.navbar .nav {
  position: static;
  display: flex;
  float: none;
  gap: 28px;
  margin: 0;
}

.navbar .nav > li {
  float: none;
  margin: 0;
}

.navbar .nav > li > a,
.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus,
.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
  background: transparent;
  box-shadow: none;
  float: none;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  text-shadow: none;
}

.navbar .nav > li > a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus,
.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
  color: var(--ink);
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
  font-weight: 600;
}

.navbar .nav .caret,
.navbar .nav .active .caret,
.navbar .nav > .active > a .caret {
  display: none;
}

/* Beacon is the contact route on desktop, so the nav entry would duplicate it. */
#contact {
  display: none;
}

@media (max-width: 768px) {
  .navbar .navbar-inner {
    padding: 14px 0;
  }

  .navbar .btn-navbar {
    position: absolute;
    top: 6px;
    right: 0;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
  }

  .navbar .btn-navbar .icon-bar,
  .navbar .btn-navbar:hover .icon-bar {
    width: 22px;
    margin-inline: auto;
    border-radius: 2px;
    background: var(--ink);
    box-shadow: none;
  }

  .btn-navbar .icon-bar + .icon-bar {
    margin-top: 5px;
  }

  .nav-collapse {
    flex: 0 0 100%;
  }

  .navbar .nav {
    display: block;
    padding: 10px 0 6px;
    text-align: left;
  }

  .navbar .nav > .active > a,
  .navbar .nav > .active > a:hover,
  .navbar .nav > .active > a:focus {
    box-shadow: none;
    font-weight: 600;
  }

  .navbar .nav > li > a {
    display: block;
    padding: 10px 0;
  }
}

#docsSearch {
  margin: 0;
  padding: 72px 24px 88px;
  border: 0;
  background: transparent;
}

#docsSearch h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: center;
}

#searchBar {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
}

#searchBar .search-query {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 0 20px 0 50px;
  border: 1px solid var(--border-strong);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background:
    var(--surface) url("/assets/helpscout/img/icons/search.svg") 16px center /
    22px no-repeat;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 16px;
  line-height: 22px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

#searchBar .search-query:hover {
  border-color: var(--text-muted);
}

#searchBar .search-query:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent);
  outline: 0;
}

#searchBar button {
  position: static;
  flex: none;
  height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--accent);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-shadow: none;
  transition: background 0.2s;
}

#searchBar button:hover {
  background: var(--accent-hover);
}

#serp-dd {
  top: 62px !important;
  left: 0;
  right: 0;
  width: auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  text-align: left;
}

#serp-dd .result > li,
#serp-dd .result > li:first-child,
#serp-dd .result > li:last-child {
  margin: 0;
}

#serp-dd .result a {
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 22px;
}

#serp-dd .result a:hover,
#serp-dd .result > li.active,
#serp-dd .result > li:hover {
  background: var(--chip);
  color: var(--ink);
}

@media (max-width: 500px) {
  #docsSearch {
    padding: 44px 24px 52px;
  }

  #searchBar .search-query {
    padding-right: 8px;
  }

  #searchBar button {
    padding: 0 18px;
  }

  #searchBar button span {
    display: none;
  }

  #searchBar button .icon-search {
    display: block;
    color: var(--ink);
    font-size: 18px;
  }
}

.collection-category h2 {
  margin: 0 0 16px;
  padding: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 28px;
  text-align: left;
}

.collection-category h2 a,
.collection-category h2 a:hover {
  border: 0;
  color: var(--ink);
}

.collection-category .category-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 0 56px;
}

.category-list .category,
.category-list.two-col .category {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 28px 20px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow 0.2s;
}

.category-list .category:hover {
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* The game icons are the main site's white artwork for dark surfaces, so they are forced to ink. */
.category-list .category::before {
  content: "";
  width: 44px;
  height: 44px;
  margin: 6px 0 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23656c74' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.2a2.6 2.6 0 0 1 5 .8c0 1.7-2.5 2.2-2.5 3.8'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.category-list .category:hover::before {
  opacity: 1;
}

#category-11::before {
  background-image: url("/assets/img/game-icons/v2/valheim.svg");
}

#category-12::before {
  background-image: url("/assets/img/game-icons/v2/teamspeak3.svg");
}

#category-59::before {
  background-image: url("/assets/helpscout/img/other/account.svg");
}

#category-77::before {
  background-image: url("/assets/img/game-icons/v2/ark.svg");
}

#category-87::before {
  background-image: url("/assets/img/game-icons/v2/vrising.svg");
}

#category-104::before {
  background-image: url("/assets/img/game-icons/v2/sonsoftheforest.svg");
}

#category-129::before {
  background-image: url("/assets/img/game-icons/v2/cs2.svg");
}

#category-147::before {
  background-image: url("/assets/img/game-icons/v2/palworld.svg");
}

#category-156::before {
  background-image: url("/assets/img/game-icons/v2/enshrouded.svg");
}

#category-168::before {
  background-image: url("/assets/img/game-icons/v2/soulmask.svg");
}

#category-173::before {
  background-image: url("/assets/img/game-icons/v2/sevendaystodie.svg");
}

#category-175::before {
  background-image: url("/assets/img/game-icons/v2/satisfactory.svg");
}

#category-177::before {
  background-image: url("/assets/img/game-icons/v2/minecraft.svg");
}

#category-195::before {
  background-image: url("/assets/img/game-icons/v2/projectzomboid.svg");
}

#category-199::before {
  background-image: url("/assets/img/game-icons/v2/hytale.svg");
}

#category-232::before {
  background-image: url("/assets/img/game-icons/v2/runescapedragonwilds.svg");
}

#category-235::before {
  background-image: url("/assets/img/game-icons/v2/windrose.svg");
}

#category-240::before {
  background-image: url("/assets/img/game-icons/v2/romestead.svg");
}

.category-list h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.category-list .category p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.category-list .category p:empty {
  display: none;
}

.category-list .category .article-count,
.category-list .category:hover .article-count {
  margin: auto 0 0;
  color: var(--link);
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 1023px) {
  .collection-category .category-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .collection-category .category-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
  }

  .category-list .category,
  .category-list.two-col .category {
    padding: 20px 12px;
  }
}

#contentArea .row-fluid {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 40px;
  padding-top: 32px;
}

#contentArea .row-fluid::before,
#contentArea .row-fluid::after {
  content: none;
}

#sidebar {
  flex: 0 0 240px;
  float: none;
  width: 240px;
  margin: 0;
  padding: 0;
}

#main-content {
  flex: 1 1 auto;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0 0 48px;
  padding: 40px 44px;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.contentWrapper {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
}

.contentWrapper.withRelated {
  min-height: 0;
  padding: 0;
}

#searchBar.sm {
  display: block;
  width: 100%;
  margin: 0 0 28px;
}

#sidebar form .search-query,
#searchBar.sm .search-query {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background:
    var(--surface) url("/assets/helpscout/img/icons/search.svg") 12px center /
    18px no-repeat;
  box-shadow: none;
  font-size: 15px;
}

#sidebar form .search-query:focus,
#searchBar.sm .search-query:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent);
  outline: 0;
}

#searchBar.sm button {
  display: none;
}

#searchBar.sm #serp-dd {
  top: 50px !important;
}

#sidebar h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 20px;
  text-transform: none;
}

#sidebar .nav-list {
  margin: 0 0 32px;
  padding: 0;
}

#sidebar .nav-list li {
  margin: 0;
}

#sidebar .nav-list a {
  display: block;
  margin: 0;
  padding: 9px 0;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  text-shadow: none;
  transition: color 0.2s;
}

#sidebar .nav-list a:hover,
#sidebar .nav-list a:focus {
  background: transparent;
  color: var(--link);
}

#sidebar .nav-list .active a,
#sidebar .nav-list .active a:focus,
#sidebar .nav-list .active a:hover {
  background: transparent;
  color: var(--ink);
  font-weight: 500;
}

#sidebar .nav-list .active a .icon-arrow,
#sidebar .nav-list .active a:hover .icon-arrow,
#sidebar .nav-list .active a:focus .icon-arrow,
.icon-arrow:before {
  color: var(--text-muted);
}

#sbContact,
#sbContactMobile {
  border: 0;
  color: var(--link);
}

@media (max-width: 768px) {
  #contentArea .row-fluid {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-top: 12px;
  }

  #sidebar {
    flex: none;
    width: 100%;
  }

  #main-content {
    margin: 0;
    padding: 28px 20px;
  }
}

#categoryHead h1,
.contentWrapper h1 {
  margin: 0 210px 8px 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 34px;
}

.contentWrapper h1 {
  margin-right: 0;
}

#categoryHead {
  margin-bottom: 20px;
}

#categoryHead .sort {
  top: 0;
}

#categoryHead .sort form {
  margin: 0;
}

#categoryHead .sort select {
  width: auto;
  height: 40px;
  margin: 0;
  padding: 0 36px 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background:
    var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14' fill='none' stroke='%2375695f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5l3-3 3 3M2 9l3 3 3-3'/%3E%3C/svg%3E")
    right 14px center / 10px 14px no-repeat;
  box-shadow: none;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

#categoryHead .sort select:hover {
  border-color: var(--text-muted);
}

#categoryHead .sort select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent);
  outline: 0;
}

.contentWrapper p.descrip {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
}

.articleList {
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  font-size: 16px;
}

.articleList li,
#serp .articleList > li {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 22px;
}

.articleList a,
#serp .articleList > li a {
  display: block;
  margin: 0;
  padding: 6px 0;
  color: var(--link);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  transition: color 0.2s;
}

.articleList a:hover,
.articleList a:hover span {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.articleList a i {
  display: none;
}

#serp .articleList > li {
  padding-bottom: 12px;
}

#serp .articleList > li p {
  margin: 0;
}

#noResults,
#serp .nada,
#serp .articlesFound {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  #categoryHead h1 {
    margin-right: 0;
  }

  #categoryHead .sort {
    display: none;
  }
}

#fullArticle,
#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle div,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
  color: var(--text);
  font-size: 16px;
  line-height: 26px;
}

#fullArticle {
  position: relative;
  max-width: 100%;
  margin: 0;
  overflow-wrap: break-word;
}

#fullArticle .admin-edit {
  display: none !important;
}

#fullArticle .title {
  margin: 0 36px 20px 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 34px;
}

#fullArticle h1,
#fullArticle h2,
#fullArticle h3,
#fullArticle h4,
#fullArticle h5 {
  color: var(--ink);
}

#fullArticle h2 {
  margin: 36px 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 28px;
}

#fullArticle h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
}

#fullArticle h4,
#fullArticle h5 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

#fullArticle strong {
  color: var(--ink);
  font-weight: 600;
}

#fullArticle a,
#fullArticle strong a,
#fullArticle a strong {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--link) 40%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}

#fullArticle a:hover,
#fullArticle a:hover strong {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

#fullArticle li {
  margin-bottom: 8px;
}

#fullArticle li::marker {
  color: var(--text-muted);
}

#fullArticle .printArticle {
  position: absolute;
  top: 6px;
  right: 0;
  border: 0;
  text-decoration: none;
}

#fullArticle .printArticle .icon-print {
  color: var(--text-muted);
  transition: color 0.2s;
}

#fullArticle .printArticle:hover .icon-print {
  color: var(--ink);
}

#fullArticle dl {
  margin: 0 0 16px;
}

#fullArticle dt {
  float: left;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}

#fullArticle dd {
  margin: 0 0 20px 42px;
  padding-top: 1px;
}

/* Articles size screenshots against this cap and opt out with an inline max-height: none. */
#fullArticle img {
  max-height: 200px;
  margin: 12px 0 20px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

#fullArticle img.noBdr {
  padding: 0;
  border: 0;
  border-radius: 0;
}

#fullArticle hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

#fullArticle .index-list {
  margin: 24px 0 32px;
  padding: 16px 20px;
  border: 0;
  border-top: 3px solid var(--border-strong);
  border-radius: 0;
  background: var(--surface-tint);
}

#fullArticle .index-list h4 {
  margin: 0 0 10px;
  padding: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 20px;
  text-transform: none;
}

#fullArticle .index-list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#fullArticle .index-list li {
  margin: 0;
  padding: 0;
}

#fullArticle .index-list a {
  color: var(--link);
  font-size: 15px;
  line-height: 24px;
  text-decoration: none;
}

#fullArticle .index-list a:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#fullArticle
  :is(
    .callout,
    .callout-blue,
    .callout-green,
    .callout-red,
    .callout-yellow,
    .private-note
  ),
#fullArticle blockquote {
  --callout-bg: var(--surface-tint);
  --callout-line: var(--border-strong);
  margin: 24px 0;
  padding: 16px 20px 18px;
  border: 0;
  border-left: 3px solid var(--callout-line);
  border-radius: 0;
  background: var(--callout-bg);
  color: var(--text);
  font-size: 15px;
  font-style: normal;
  line-height: 24px;
}

#fullArticle
  :is(
    .callout,
    .callout-blue,
    .callout-green,
    .callout-red,
    .callout-yellow,
    .private-note
  ).dashed {
  border: 1px dashed var(--callout-line);
  border-left: 3px solid var(--callout-line);
}

#fullArticle .callout-small {
  padding: 12px 16px 14px;
  font-size: 14px;
  line-height: 22px;
}

#fullArticle
  :is(
    .callout,
    .callout-blue,
    .callout-green,
    .callout-red,
    .callout-yellow,
    .private-note
  )
  p {
  margin-bottom: 8px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

#fullArticle
  :is(
    .callout,
    .callout-blue,
    .callout-green,
    .callout-red,
    .callout-yellow,
    .private-note
  )
  p:last-child {
  margin-bottom: 0;
}

#fullArticle .callout-blue {
  --callout-bg: var(--info-bg);
  --callout-line: var(--info-line);
}

#fullArticle .callout-green,
#fullArticle blockquote.success {
  --callout-bg: var(--success-bg);
  --callout-line: var(--success-line);
}

#fullArticle .callout-red,
#fullArticle blockquote.warning {
  --callout-bg: var(--error-bg);
  --callout-line: var(--error-line);
}

#fullArticle .callout-yellow,
#fullArticle .private-note {
  --callout-bg: var(--warning-bg);
  --callout-line: var(--warning-line);
}

#fullArticle pre,
pre {
  margin: 16px 0 24px;
  padding: 14px 18px;
  overflow-x: auto;
  border: 1px solid var(--border) !important;
  border-radius: 4px;
  background: var(--page);
  color: var(--ink);
  font-size: 14px;
  line-height: 22px;
}

#fullArticle code {
  padding: 2px 6px;
  border: 0;
  border-radius: 3px;
  background: var(--chip);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Some articles hard-code light-theme colors inline that fail contrast on these surfaces. */
#fullArticle [style*="rgba(0,0,0"] {
  color: var(--text-muted) !important;
}

#fullArticle [style*="e54a32" i] {
  color: var(--error-text) !important;
}

#fullArticle pre code {
  padding: 0;
  background: transparent;
}

#fullArticle table td,
#fullArticle table th {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 22px;
}

#fullArticle table th,
#fullArticle table thead {
  color: var(--ink);
  font-weight: 600;
}

#fullArticle table.table-striped tbody > tr:nth-child(odd) > td,
#fullArticle table.table-striped tbody > tr:nth-child(odd) > th {
  background-color: var(--page);
}

.related {
  margin: 32px 0 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.related h3 {
  margin: 0 0 8px;
  padding: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-transform: none;
}

.related ul {
  margin: 0;
  padding: 0;
}

.related ul > li {
  padding: 4px 0;
  color: var(--link);
}

.related ul > li a {
  margin: 0;
  color: var(--link);
  font-size: 16px;
  line-height: 24px;
}

.related a:hover,
.related ul > li a:hover {
  color: var(--link-hover);
}

.related ul > li a:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related ul > li a i {
  display: none;
}

.articleRatings {
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: none;
  color: var(--text);
}

.articleFoot {
  margin-top: 32px;
}

.articleFoot p,
.articleFoot time,
.articleFoot p.lu,
.articleFoot time.lu {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 14px;
  font-style: normal;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  #fullArticle .title {
    font-size: 26px;
    line-height: 34px;
  }

  #fullArticle .index-list ul {
    grid-template-columns: 1fr;
  }

  #fullArticle table {
    display: block;
    overflow-x: auto;
  }

  .articleFoot p.lu,
  .articleFoot time.lu {
    float: none;
  }
}

footer {
  margin: 0 auto 40px;
  padding: 0;
  border: 0;
}

footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

footer p a,
footer p a:hover {
  color: var(--text);
}

footer span {
  display: none;
}
