/* Server description: factual text and tables. */
.server-guide-page{background:#f5f3ee;color:#243d54;--guide-navy:#102d4e;--guide-line:#dedbd2}
.server-guide-page main{font-family:var(--sans),Arial,sans-serif;word-spacing:normal;text-align:left}
.guide-width{width:min(1340px,calc(100% - 64px));max-width:1340px}
.guide-hero{position:relative;isolation:isolate;padding:120px 0 0;color:#f4eee1;background:#102d4e;overflow:hidden}
.guide-hero-art{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0c2544f5,#102d4ee0 50%,#102d4e80),url('/prototype/assets/reorin-smith-1774.webp') 72% 30%/cover}
.guide-breadcrumb{display:flex;gap:12px;font-size:12px;color:#d4d9df;margin-bottom:16px}
.guide-breadcrumb a{color:inherit;text-decoration:none}
.guide-breadcrumb a:hover{color:#f4d293}
.guide-hero h1{font:700 36px/1.2 var(--sans);letter-spacing:normal;color:#fff9ec;margin:0 0 20px}
.guide-facts{margin:0;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #e9cf9a40;padding:18px 0 22px;max-width:950px}
.guide-facts div+div{padding-left:30px;border-left:1px solid #ffffff20}
.guide-facts dt{font-size:11px;color:#b8c6d5;margin-bottom:6px}
.guide-facts dd{margin:0;font:600 22px/1.2 var(--sans);color:#fff0d2}
.guide-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:30px;align-items:start;padding-top:24px;padding-bottom:40px}
.guide-sidebar{position:sticky;top:108px;min-width:0}
.guide-sidebar details{border:1px solid #d4d0c7;background:#eeeae2;max-height:calc(100svh - 125px);overflow:auto;scrollbar-width:thin}
.guide-sidebar summary{font-size:14px;font-weight:700;color:#173855;padding:16px 18px 12px;cursor:pointer;list-style:none}
.guide-sidebar summary::-webkit-details-marker{display:none}
.guide-sidebar summary>span{display:none}
.guide-sidebar nav{display:flex;flex-direction:column;padding:0 8px 10px}
.guide-sidebar nav a{display:flex;gap:10px;align-items:baseline;padding:8px 10px;border-left:2px solid transparent;font-size:12px;line-height:1.4;color:#45596c;text-decoration:none}
.guide-sidebar nav a>span{font-size:10px;color:#9a885f;font-variant-numeric:tabular-nums}
.guide-sidebar nav a:hover{background:#e5dfd2;color:#102d4e}
.guide-sidebar nav a[aria-current]{background:#173855;color:#fff2d7;border-left-color:#d4b276}
.guide-sidebar nav a[aria-current]>span{color:#d4b276}
.guide-wiki-link{display:block;padding:14px 18px;background:#e7e1d5;border-top:1px solid #d4d0c7;color:#203e58;font-size:12px;text-decoration:none}
.guide-content{min-width:0}
.guide-section{scroll-margin-top:12px;margin-bottom:20px;border:1px solid var(--guide-line);background:#fffefa}
.guide-section-heading{display:flex;gap:14px;align-items:center;padding:19px 24px;border-bottom:1px solid #e8e2d6;background:linear-gradient(100deg,#eee9df,#fffefa)}
.guide-section-heading h2{margin:0;font:700 22px/1.3 var(--sans);color:#163954}
.guide-number{font:500 12px var(--sans);color:#a18049;border:1px solid #c5ab7c70;padding:7px}
.guide-anchor{margin-left:auto;color:#b7a078;font-size:20px;text-decoration:none;padding:5px}
.guide-prose{padding:4px 24px 20px;font-size:14px;line-height:1.65;color:#475c6c;overflow-wrap:anywhere;white-space:normal;word-spacing:normal;text-align:left}
.guide-prose p{margin:14px 0}
.guide-prose h3{font:700 18px/1.4 var(--sans);color:#173b56;margin:24px 0 12px}
.guide-prose h4{font:700 16px/1.4 var(--sans);color:#173b56;margin:20px 0 10px}
.guide-prose h3[id]{scroll-margin-top:100px}
.guide-prose strong{color:#223f55;font-weight:650}
.guide-prose a{color:#926c2c;text-underline-offset:3px}
.guide-prose ul{padding-left:20px;margin:14px 0}
.guide-prose li{margin:6px 0}
.guide-prose code{font:12px/1.5 Consolas,monospace;background:#e9edf0;color:#234461;padding:3px 6px;border:1px solid #d9e1e5;border-radius:3px}
.guide-screenshot {
  width: fit-content;
  max-width: min(100%, 20rem);
  margin: 0 0 18px;
  background: #102d4e;
  border: 1px solid #9a8056;
  border-radius: 6px;
  box-shadow: 0 4px 12px #16395420;
}
.guide-screenshot:has(.guide-screenshot-open) { max-width: min(100%, 27rem); }
.guide-screenshot img, .guide-image-dialog img { display: block; max-width: 100%; height: auto; }
.guide-screenshot img { border-radius: 5px; }
.guide-prose .guide-screenshot-open {
  display: block;
  color: #fff0d2;
  cursor: zoom-in;
  text-decoration: none;
  border-radius: inherit;
}
.guide-screenshot-open img { border-radius: 5px 5px 0 0; }
.guide-screenshot-open span {
  display: block;
  padding: 7px 12px;
  border-top: 1px solid #9a8056;
  font-size: .875rem;
  text-align: center;
}
.guide-screenshot-open:hover span { background: #203d5d; }
.server-guide-page:has(.guide-image-dialog[open]) { overflow: hidden; }
.guide-image-dialog {
  max-width: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  background: #102d4e;
  color: #fff0d2;
  border: 1px solid #9a8056;
  border-radius: 6px;
  box-shadow: 0 12px 40px #0008;
}
.guide-image-dialog::backdrop { background: #081728d9; }
.guide-image-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 4px 14px;
  border-bottom: 1px solid #9a8056;
}
.guide-image-dialog a { color: inherit; font-size: .875rem; }
.guide-image-dialog button {
  display: block;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: #203d5d;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}
.guide-image-dialog button:focus-visible { outline: 2px solid #e6c691; outline-offset: 1px; }
.guide-image-dialog img { max-height: calc(100dvh - 80px); object-fit: contain; }
.guide-table{overflow-x:auto;margin:16px 0;border:1px solid #ddd9ce;scrollbar-width:thin}
.guide-table table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.6;text-align:left;min-width:410px}
.guide-table th{background:#173855;color:#fff0d5;padding:11px 14px;font-weight:600;border:0}
.guide-table td{padding:9px 14px;border-bottom:1px solid #e5e2d9;vertical-align:top;color:#445a6b}
.guide-table tr:nth-child(even) td{background:#f4f2ed}
.guide-table tr:last-child td{border-bottom:0}
.guide-table td:first-child{color:#203f57;font-weight:500}
.guide-table p{margin:0}
.guide-table[aria-labelledby="newbie-buffer"] table {
  min-width: 0;
  line-height: 1.4;
}
.guide-table[aria-labelledby="newbie-buffer"] :is(th, td) {
  padding: 6px 8px;
  overflow-wrap: normal;
  white-space: normal;
}
.guide-table[aria-labelledby="newbie-buffer"] :is(th, td):is(:first-child, :nth-child(3)) {
  width: 1%;
  white-space: nowrap;
}
@media (min-width: 601px) {
  .guide-table[aria-labelledby="newbie-buffer"] :is(th, td):nth-child(2) {
    width: 1%;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .guide-table[aria-labelledby="newbie-buffer"] :is(th, td) { padding-inline: 4px; }
}
.guide-prose .guide-example{margin:18px 0;padding:4px 17px;background:#eef3f5;border:0;border-left:3px solid #a18149;color:#35526b}
.guide-example p{margin:10px 0;font-size:13px;line-height:1.65}
.guide-end{border-top:1px solid #cfc6b5;padding:18px 0;font-size:13px}
.guide-end a{display:inline-block;margin-right:23px;color:#8a692f;text-decoration:none}
.server-guide-page a:focus-visible,.guide-sidebar summary:focus-visible,.guide-table:focus-visible{outline:2px solid #b38a46;outline-offset:3px}
@media(min-width:1001px){.guide-sidebar summary{pointer-events:none}}
@media(max-width:1100px){.guide-layout{grid-template-columns:220px minmax(0,1fr);gap:22px}.guide-section-heading{padding:18px}.guide-prose{padding:4px 18px 18px}}
@media(max-width:1000px){
 .guide-width{width:calc(100% - 36px)}.guide-hero{padding-top:96px}.guide-layout{grid-template-columns:1fr;gap:18px}
 .guide-sidebar{position:static}.guide-sidebar details{max-height:none}.guide-sidebar summary{padding:14px 18px;display:flex;justify-content:space-between}
 .guide-sidebar summary>span{display:inline}.guide-sidebar nav{display:grid;grid-template-columns:repeat(2,1fr)}
 .guide-sidebar details:not([open]) nav{display:none}.guide-section{scroll-margin-top:0}
}
@media(max-width:600px){
 .guide-width{width:calc(100% - 28px)}.guide-hero-art{background:linear-gradient(90deg,#102d4ef0,#102d4eb5),url('/prototype/assets/reorin-smith-960.webp') 65% center/cover}
 .guide-hero h1{font-size:28px;margin-bottom:18px}.guide-breadcrumb{font-size:11px}
 .guide-facts{grid-template-columns:repeat(2,1fr);gap:18px 0;padding:18px 0}.guide-facts div+div{padding-left:20px}
 .guide-facts div:nth-child(3){padding-left:0;border-left:0}.guide-facts dd{font-size:20px}.guide-facts dt{font-size:10px}
 .guide-layout{padding-top:18px}.guide-sidebar nav{grid-template-columns:1fr}.guide-section-heading{padding:16px 14px;gap:10px}
 .guide-section-heading h2{font-size:19px}.guide-number{font-size:10px;padding:5px}.guide-anchor{font-size:16px}
 .guide-prose{padding:1px 15px 16px;font-size:13px}.guide-prose h3{font-size:17px}
 .guide-table table{font-size:11px;min-width:400px}.guide-table td,.guide-table th{padding:9px 11px}
 #olympiad .guide-table table{min-width:0;table-layout:fixed}
 #olympiad .guide-table td{white-space:normal}
 .guide-prose .guide-example{padding:3px 13px}.guide-example p{font-size:12px}.guide-section{margin-bottom:18px}
}
