:root {
  color-scheme: light;
  --ink: #1a2143;
  --blue: #122b8f;
  --nav: #263fa8;
  --rule: #a7a9c4;
  --chassis: #e0e1ec;
  --light: #fafaff;
  --pink: #fbdfed;
  font-family: "Inter", Tahoma, "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 1px 1px,#a7acd2 1px,transparent 1.22px) 0 0 / 8px 8px,#e1e5f8;
}
*,*::before,*::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: .17em; }
a:focus-visible { outline: 3px solid #9c2066; outline-offset: 3px; }
p { margin: 0; }
.skip { position: absolute; top: -6rem; left: 1rem; background: white; padding: .65rem; z-index: 2; }
.skip:focus { top: .4rem; }
.frame { width: min(1010px,calc(100% - 38px)); margin: 20px auto; padding: 3px; border: 2px outset #a5accb; background: var(--chassis); box-shadow: 5px 5px 0 #6974a564; }
.mast { min-height: 68px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1.1rem; padding: 12px 20px; color: #fff; background: linear-gradient(#4f62c3,#2647a4 48%,#152e88 51%,#2f48a6); border: 2px outset #8690cf; }
.brand { color: #fff; font: 900 italic clamp(1.9rem,4.5vw,3.1rem)/1 "Archivo Black",Arial,sans-serif; letter-spacing: -.085em; text-decoration: none; }
.mast > span { color: #ffebf5; font: 750 .86rem "Courier Prime",monospace; }
.columns { display: grid; grid-template-columns: 188px minmax(0,1fr); gap: 3px; padding-block: 3px; }
.sidebar { border: 1px solid #9296b8; background: #ededf7; }
.side-label { background: linear-gradient(#f7f7fb,#d3d6e8); padding: 7px 10px; font-weight: 830; font-size: .84rem; border-bottom: 1px solid #a4a9ca; color: #303a73; }
.sidebar nav { display: grid; margin: 8px; gap: 5px; }
.sidebar nav a, .sidebar nav span { min-height: 38px; display: flex; align-items: center; padding: .5rem .6rem; border: 2px outset #9fa5c2; background: linear-gradient(#fafafc,#d8d9eb); font-size: .85rem; font-weight: 780; }
.sidebar nav [aria-current="page"] { color: #651954; border-style: inset; background: #f5dce9; }
.sidebar nav a:hover { background: #faeef9; }
.side-note { border-top: 1px dotted #949abe; margin: 13px 10px; padding-top: 11px; color: #505570; line-height: 1.55; font-size: .79rem; overflow-wrap: anywhere; }
.content { min-width: 0; border: 1px solid #9296b8; background: #fff; }
.home-top { padding: 21px 23px 12px; background: linear-gradient(90deg,#fff1f8,#f3f5ff 68%,#fff); border-bottom: 1px solid #c1c0da; }
h1 { margin: 0; color: #20245f; font-size: clamp(1.63rem,3.7vw,2.7rem); font-weight: 880; line-height: 1.13; letter-spacing: -.067em; }
.home-top > p { margin: .58rem 0 .95rem; color: #464761; line-height: 1.55; }
.entry-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.entry-buttons a { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 60px; padding: .55rem .65rem; border: 2px outset #8393c6; background: linear-gradient(#fff 2%,#e3ecfd 49%,#d6e4fa 50%,#e9edff); font-weight: 820; }
.entry-buttons a:last-child { background: linear-gradient(#fff,#ffe9f5 48%,#f5d3ea 49%,#ffedf4); border-color: #b59abc; }
.entry-buttons a:hover { filter: brightness(1.045); }
.entry-buttons a > small { color: #424561; text-decoration: none; font: 700 .76rem/1.5 "Courier Prime","Courier New",monospace; overflow-wrap: anywhere; }
.hero { margin: 12px; padding: 3px; background: #e4e6f1; border: 2px inset #a7abca; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 1.96; object-fit: cover; object-position: center 61%; }
.block { margin: 11px 12px 14px; border: 1px solid #a8adcd; }
.band { margin: 0; padding: 7px 11px; background: linear-gradient(90deg,#e6eafa,#f9e6f1); border-bottom: 1px solid #bbbad6; color: #292e70; font-weight: 850; font-size: .99rem; line-height: 1.33; }
.block > p { padding: 10px 11px; line-height: 1.67; font-size: .93rem; }
.guide-links > a { display: block; padding: 10px 11px; font-weight: 750; font-size: .93rem; line-height: 1.48; }
.guide-links > a + a { border-top: 1px solid #d5d6e6; }
.foot { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .7rem 1rem; padding: 12px 14px; background: linear-gradient(#edeef7,#d5d8ed); border: 1px solid #a7adc7; }
.foot p { max-width: 66ch; line-height: 1.58; font-size: .8rem; color: #3e4361; }
.foot nav { display: flex; flex-wrap: wrap; gap: .9rem; font-weight: 700; font-size: .8rem; }
.crumb { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: 0 0 .82rem; font-size: .85rem; }
.inner { padding: 16px 19px 25px; }
.inner-head { padding: 12px 11px; background: #f5f4fb; border-top: 2px solid #5466b6; border-bottom: 1px solid #aab0d1; }
.inner-head > p { line-height: 1.65; margin-top: .73rem; }
.inner-head time { display: inline-block; margin-top: .67rem; color: #4c5070; font: .82rem "Courier Prime",monospace; }
.inner-body section,.guide-copy section { padding: 18px 0; border-bottom: 1px solid #c4c7df; scroll-margin-top: 12px; }
.inner-body section:target { border-bottom: 3px solid #555caa; }
.inner-body section h2,.guide-copy h2 { margin: 0 0 .55rem; font-size: 1.22rem; line-height: 1.34; color: #263575; }
.inner-body p,.guide-copy p { line-height: 1.75; overflow-wrap: anywhere; }
.inner-body p + p,.guide-copy p + p { margin-top: .6rem; }
.inner .guide-links { margin-top: .8rem; border: 1px solid #c4c7df; }
.related { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 1.1rem; font-weight: 720; }
code { font-family: "Courier Prime",monospace; overflow-wrap: anywhere; }
@media (max-width: 650px) {
 .frame { width: calc(100% - 16px); margin-block: 7px; padding: 2px; box-shadow: 2px 3px 0 #6974a53f; }
 .mast { min-height: 48px; padding: 8px 10px; }
 .mast > span { font-size: .7rem; }
 .columns { grid-template-columns: minmax(0,1fr); }
 .side-label,.side-note { display: none; }
 .sidebar nav { position: relative; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 3px; gap: 3px; }
 .sidebar nav a,.sidebar nav span { justify-content: center; min-height: 36px; padding: .33rem .23rem; font-size: .77rem; }
 .home-top { padding: 13px 10px 9px; }
 .home-top h1 { font-size: clamp(1.52rem,6.1vw,2.25rem); }
 .home-top > p { font-size: .85rem; margin: .49rem 0 .63rem; }
 .entry-buttons { gap: 5px; }
 .entry-buttons a { min-height: 53px; font-size: .87rem; }
 .entry-buttons a > small { font-size: .7rem; }
 .hero { margin: 7px; }
 .hero img { aspect-ratio: 1.6; object-position: center; }
 .block { margin: 8px 7px 10px; }
 .inner { padding: 12px 10px 19px; }
 .inner-head { padding-inline: 7px; }
 .foot { padding: 9px; }
}
