@charset "UTF-8";
@font-face {
  font-family: "FZShuSong-Z01";
  src: local("FZShuSong-Z01") local("Songti Sc"), url("../fonts/FZSSK.woff2") format("woff2");
}
@font-face {
  font-family: "FZKai-Z03";
  src: local("FZKai-Z03") local("Kaiti SC"), url("../fonts/FZKTK.woff2") format("woff2");
}
@font-face {
  font-family: "Source Han Serif CN";
  src: local("Source Han Serif CN"), local("Source Han Serif SC"), local("Source Han Serif TC"), local("Source Han Serif TW"), local("Source Han Serif"), local("Noto Serif CJK SC"), local("Songti SC"), local("SimSong"), url("../fonts/SourceHanSerifCN-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "FandolKai";
  src: local("Kaiti"), local("Kaiti SC"), local("STKaiti"), local("楷体"), local("SimKai"), local("AR PL KaitiM GB"), local("DFKai-SB"), local("FandolKai"), url("../fonts/AR-PL-KaitiM-GB.woff2") format("woff2");
}
body {
  font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Latin Modern Roman", "FZShuSong-Z01", "Source Han Serif CN", serif;
}

.home blockquote, .cn blockquote, .kai, .cn em, .cn .side, .hash-note, .hide-notes .toggle-notes {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "FZKai-Z03", FandolKai, serif;
}

.title {
  font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Latin Modern Roman", "FZShuSong-Z01", "Source Han Serif CN", serif;
}

code {
  font-family: Consolas, Courier, "Courier New", "FZKai-Z03", FandolKai, monospace;
}

pre, code {
  font-size: 0.95em;
}

h1, h2, h3 {
  font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Latin Modern Roman", "FZShuSong-Z01", "Source Han Serif CN", serif;
}

.dropdown-menu,
nav#navbar-main li.nav-item {
  /*font-size: 16px;*/
  /*font-weight: bold;*/
  font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Latin Modern Roman", "FZShuSong-Z01", "Source Han Serif CN", serif;
}

footer {
  font-size: 0.6rem;
  color: #777;
  text-align: center;
  margin-top: 2rem;
}

footer p {
  margin: 0.5rem 0;
}

@media (max-width: 600px) {
  footer {
    text-align: center;
  }
}
.highlight table td {
  padding: 5px;
}

.highlight table pre {
  margin: 0;
}

.highlight .cm {
  color: #999988;
  font-style: italic;
}

.highlight .cp {
  color: #999999;
  font-weight: bold;
}

.highlight .c1 {
  color: #999988;
  font-style: italic;
}

.highlight .cs {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}

.highlight .c, .highlight .cd {
  color: #999988;
  font-style: italic;
}

.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}

.highlight .gd {
  color: #000000;
  background-color: #ffdddd;
}

.highlight .ge {
  color: #000000;
  font-style: italic;
}

.highlight .gr {
  color: #aa0000;
}

.highlight .gh {
  color: #999999;
}

.highlight .gi {
  color: #000000;
  background-color: #ddffdd;
}

.highlight .go {
  color: #888888;
}

.highlight .gp {
  color: #555555;
}

.highlight .gs {
  font-weight: bold;
}

.highlight .gu {
  color: #aaaaaa;
}

.highlight .gt {
  color: #aa0000;
}

.highlight .kc {
  color: #000000;
  font-weight: bold;
}

.highlight .kd {
  color: #000000;
  font-weight: bold;
}

.highlight .kn {
  color: #000000;
  font-weight: bold;
}

.highlight .kp {
  color: #000000;
  font-weight: bold;
}

.highlight .kr {
  color: #000000;
  font-weight: bold;
}

.highlight .kt {
  color: #445588;
  font-weight: bold;
}

.highlight .k, .highlight .kv {
  color: #000000;
  font-weight: bold;
}

.highlight .mf {
  color: #009999;
}

.highlight .mh {
  color: #009999;
}

.highlight .il {
  color: #009999;
}

.highlight .mi {
  color: #009999;
}

.highlight .mo {
  color: #009999;
}

.highlight .m, .highlight .mb, .highlight .mx {
  color: #009999;
}

.highlight .sb {
  color: #d14;
}

.highlight .sc {
  color: #d14;
}

.highlight .sd {
  color: #d14;
}

.highlight .s2 {
  color: #d14;
}

.highlight .se {
  color: #d14;
}

.highlight .sh {
  color: #d14;
}

.highlight .si {
  color: #d14;
}

.highlight .sx {
  color: #d14;
}

.highlight .sr {
  color: #009926;
}

.highlight .s1 {
  color: #d14;
}

.highlight .ss {
  color: #990073;
}

.highlight .s {
  color: #d14;
}

.highlight .na {
  color: #008080;
}

.highlight .bp {
  color: #999999;
}

.highlight .nb {
  color: #0086B3;
}

.highlight .nc {
  color: #445588;
  font-weight: bold;
}

.highlight .no {
  color: #008080;
}

.highlight .nd {
  color: #3c5d5d;
  font-weight: bold;
}

.highlight .ni {
  color: #800080;
}

.highlight .ne {
  color: #990000;
  font-weight: bold;
}

.highlight .nf {
  color: #990000;
  font-weight: bold;
}

.highlight .nl {
  color: #990000;
  font-weight: bold;
}

.highlight .nn {
  color: #555555;
}

.highlight .nt {
  color: #000080;
}

.highlight .vc {
  color: #008080;
}

.highlight .vg {
  color: #008080;
}

.highlight .vi {
  color: #008080;
}

.highlight .nv {
  color: #008080;
}

.highlight .ow {
  color: #000000;
  font-weight: bold;
}

.highlight .o {
  color: #000000;
  font-weight: bold;
}

.highlight .w {
  color: #bbbbbb;
}

.highlight {
  background-color: #f8f8f8;
}

/* =========================================================
   Base
   ========================================================= */
body {
  background-color: #fff;
  padding: 50px;
  font: 16px/1.5 Palatino, "Palatino Linotype", "Palatino LT STD", "Latin Modern Roman", "FZShuSong-Z01", "Source Han Serif CN", serif;
  color: #000000;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  color: #000000;
  margin: 0 0 20px;
}

p, ul, ol, table, pre, dl {
  margin: 0 0 20px;
}

h1, h2, h3 {
  line-height: 1.1;
}

h1 {
  font-size: 28px;
}

h2 {
  color: #393939;
}

h3, h4, h5, h6 {
  color: #494949;
}

a {
  color: #800000;
  text-decoration: none;
}

a:hover, a:focus {
  color: #800000;
  font-weight: bold;
}

a small {
  font-size: 11px;
  color: #777;
  margin-top: -0.3em;
  display: block;
}

blockquote {
  border-left: 1px solid #e5e5e5;
  margin: 0;
  padding: 0 0 0 20px;
  font-style: italic;
}

code, pre {
  font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
  color: #333;
}

pre {
  padding: 8px 15px;
  background: #f8f8f8;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 5px 10px;
  border-bottom: 1px solid #e5e5e5;
}

th, dt {
  color: #444;
  font-weight: 700;
}

img {
  max-width: 100%;
}

kbd {
  background-color: #fafbfc;
  border: 1px solid #c6cbd1;
  border-bottom-color: #959da5;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #959da5;
  color: #444d56;
  display: inline-block;
  font-size: 11px;
  line-height: 10px;
  padding: 3px 5px;
  vertical-align: middle;
}

hr {
  border: 0;
  background: #e5e5e5;
  height: 1px;
  margin: 0 0 20px;
}

small {
  font-size: 11px;
}

strong {
  color: #222;
  font-weight: 700;
}

section ul {
  padding-left: 1.2em;
  margin-left: 0;
}

.course-meta {
  font-size: 0.85em;
}

.site-title-link {
  color: #000;
  text-decoration: none;
}

.site-title-link:visited {
  color: #800000;
}

.site-title-link:active {
  color: #800000;
}

h1 a {
  color: #000;
  text-decoration: none;
}

/* =========================================================
   Desktop / Default layout (two-column)
   ========================================================= */
.wrapper {
  width: 1000px;
  margin: 0 auto;
}

header {
  width: 250px;
  float: left;
  position: fixed;
  -webkit-font-smoothing: subpixel-antialiased;
}

section {
  width: 650px;
  float: right;
  padding-bottom: 50px;
}

footer {
  width: 250px;
  float: left;
  position: fixed;
  bottom: 50px;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* =========================================================
   Sidebar styling
   ========================================================= */
header .sidebar {
  text-align: center;
}

header .avatar {
  display: block;
  margin: 0 auto 24px;
}

header .sidebar-cv {
  display: inline-block;
  margin: 12px 0 32px;
  font-size: 20px;
  font-weight: 500;
  color: #800000;
}

header a.sidebar-cv:hover,
header a.sidebar-cv:focus {
  color: #800000;
  font-weight: bold;
}

header .sidebar-section {
  margin-bottom: 34px;
}

header .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000000;
}

header .sidebar-text {
  font-size: 18px;
  line-height: 1.4;
  color: #000000;
}

header .sidebar-text a:hover,
header .sidebar-text a:focus {
  color: #800000;
  font-weight: bold;
}

header .sidebar-email {
  display: inline-block;
  font-size: 18px;
  margin-top: 0;
  color: #800000;
  text-decoration: none;
}

header .sidebar-icons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 24px;
}

header .sidebar-icons a {
  color: #111;
  text-decoration: none;
}

header .sidebar-icons a:hover {
  color: #800000;
}

header .sidebar-icons svg {
  display: block;
}

/* =========================================================
   Mobile title
   (Only used in phone portrait stacked layout)
   ========================================================= */
.mobile-title {
  display: none;
}

/* =========================================================
   Two-column responsive: prevent horizontal scrolling on
   iPad portrait and phone landscape by making widths fluid.
   (Still two-column, just fluid.)
   ========================================================= */
@media screen and (max-width: 1100px) and (min-width: 601px) {
  .wrapper, div.wrapper {
    width: min(96vw, 1000px);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
  }
  header {
    width: clamp(220px, 28vw, 260px);
  }
  section {
    float: none;
    margin-left: calc(clamp(220px, 28vw, 260px) + 40px);
    /* proportional to screen, but bounded */
    width: clamp(420px, 56vw, 680px);
    /* ensure it never exceeds the remaining space in wrapper */
    max-width: calc(100% - clamp(220px, 28vw, 260px) - 40px);
    box-sizing: border-box;
    padding-right: 50px;
    padding-bottom: 50px;
  }
  footer {
    width: clamp(220px, 28vw, 260px);
  }
}
/* =========================================================
   Phone portrait ONLY (<=600px): stacked layout
   ========================================================= */
@media screen and (max-width: 600px) and (orientation: portrait) {
  body {
    padding: 15px;
  }
  .wrapper, div.wrapper {
    width: auto;
    margin: 0;
  }
  header, section, footer {
    float: none !important;
    position: static !important;
    width: auto !important;
  }
  header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .mobile-title {
    display: block !important;
    order: 1 !important;
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin: 10px 0 14px !important;
  }
  header .avatar {
    order: 2 !important;
    margin: 0 0 24px !important;
  }
  header .sidebar {
    order: 3 !important;
  }
  section {
    border: 1px solid #e5e5e5;
    border-width: 1px 0;
    padding: 20px 0;
    margin: 0 0 20px;
  }
  /* hide section H1 in stacked phone layout */
  section h1,
  section > h1:first-child {
    display: none !important;
  }
  footer {
    margin-top: 18px;
  }
}
/* =========================================================
   Phone landscape: still two-column, but footer must NOT
   overlap sidebar content (so make footer flow below content)
   ========================================================= */
@media screen and (orientation: landscape) and (max-width: 900px) {
  header {
    position: fixed !important;
    padding-top: 60px !important;
    top: 0 !important; /* ✅ space from top */
    bottom: 0 !important;
    width: clamp(220px, 28vw, 260px) !important;
    overflow-y: auto !important;
    padding-bottom: 50px !important;
  }
  footer {
    position: static !important;
    float: none !important;
    width: auto !important;
    margin-left: calc(clamp(220px, 28vw, 260px) + 40px);
    margin-top: 24px !important;
    font-size: 6px !important;
  }
}

/*# sourceMappingURL=style.css.map */