/* edupk.tomeleaf.com —— 清华计算机系课程攻略 自研前端
   紫色主题(致敬清华紫 #660874)、卡片布局、文件树、深浅双主题 */

:root {
  --bg: #f7f6fa;
  --surface: #ffffff;
  --ink: #21202c;
  --muted: #6f6a80;
  --line: #e7e4ef;
  --accent: #7c3aad;
  --accent-deep: #5b2a86;
  --accent-soft: #f1eafa;
  --sel: #f3f0f9;
  --mark: #fde68a;
  --code-bg: #f4f2f8;
  --shadow: 0 16px 40px -18px rgba(38, 20, 66, .22);
  --grad: linear-gradient(120deg, #82318e, #6d28d9 55%, #2563eb);
}
[data-theme="dark"] {
  --bg: #141220;
  --surface: #1d1a2b;
  --ink: #ece9f6;
  --muted: #9c95b3;
  --line: #2c2840;
  --accent: #b07ce6;
  --accent-deep: #cdb0f3;
  --accent-soft: #2a2140;
  --sel: #262138;
  --mark: #94682a;
  --code-bg: #141220;
  --shadow: 0 16px 40px -14px rgba(0, 0, 0, .6);
  --grad: linear-gradient(120deg, #c65fc9, #a78bfa 55%, #60a5fa);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }

/* ───── 顶栏 ───── */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface);                       /* 旧浏览器 fallback */
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  max-width: 1200px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16.5px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .glyph {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-size: 16px; font-weight: 700;
}
.brand small { font-weight: 500; color: var(--muted); font-size: 11.5px; display: block; letter-spacing: .4px; }
nav.main { display: flex; gap: 2px; }
nav.main a {
  padding: 6px 11px; border-radius: 8px; font-size: 14.5px; color: var(--muted);
}
nav.main a:hover { color: var(--ink); background: var(--sel); text-decoration: none; }
nav.main a[aria-current] { color: var(--accent); background: var(--accent-soft); }

.search { margin-left: auto; position: relative; }
.search input {
  width: 220px; padding: 7.5px 34px 7.5px 34px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); font-size: 14px;
  transition: width .2s ease, border-color .2s, box-shadow .2s;
}
.search input:focus {
  outline: none; width: 300px; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.search .mag {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; display: flex;
}
.search kbd.hint {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  font-size: 10.5px; color: var(--muted); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 5px; background: var(--surface); pointer-events: none;
}
.icon-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
  display: grid; place-items: center; flex: none;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }

/* 搜索下拉 */
.search-pop {
  position: absolute; top: calc(100% + 8px); right: 0; width: min(540px, 92vw);
  max-height: min(480px, 70vh); overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 6px;
}
.sp-group { font-size: 11.5px; color: var(--muted); padding: 8px 12px 2px; letter-spacing: .8px; }
.sp-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 9px; color: var(--ink); font-size: 14px;
}
a.sp-row:hover, .sp-row.active { background: var(--sel); text-decoration: none; }
.sp-row .sub { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; }
.sp-row mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 1px; }
.sp-empty { padding: 18px 14px; color: var(--muted); font-size: 14px; text-align: center; }

/* ───── 版心 ───── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 26px 24px 90px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* 首页 hero */
.hero { text-align: center; padding: 58px 0 34px; }
.hero .pill {
  display: inline-flex; gap: 7px; align-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-size: 12.5px; border-radius: 999px; padding: 5px 14px; margin-bottom: 22px;
}
.hero .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.hero h1 {
  font-size: clamp(30px, 5vw, 46px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: 16.5px; max-width: 560px; margin: 0 auto 26px; }
.stats-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stats-chips .chip {
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  padding: 6px 16px; border-radius: 999px; font-size: 13.5px;
}
.stats-chips .chip b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }

.sec-title { display: flex; align-items: baseline; gap: 12px; margin: 38px 0 16px; }
.sec-title h2 { font-size: 21px; margin: 0; }
.sec-title span { font-size: 13px; color: var(--muted); }

/* 卡片网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 15px; }
a.card { display: block; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); text-decoration: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.sem-card { padding: 19px 20px 16px; position: relative; overflow: hidden; }
.sem-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--grad); opacity: .85;
}
.sem-card .yr { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.sem-card h3 { margin: 3px 0 12px; font-size: 20px; letter-spacing: -.2px; }
.sem-card .meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.doc-card { padding: 15px 18px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.doc-card .ic { color: var(--accent); display: flex; }

/* ───── 学期页 ───── */
.layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 34px; }
.toc { position: sticky; top: 74px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; scrollbar-width: thin; }
.toc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 9px; }
.toc-card>b { display: block; font-size: 12px; color: var(--muted); letter-spacing: 1px; padding: 0 12px 7px; }
.toc-card ol { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.toc-card a {
  display: flex; gap: 7px; justify-content: space-between; align-items: baseline;
  padding: 5px 12px; border-radius: 8px; color: var(--muted);
  border-left: 2px solid transparent;
}
.toc-card a:hover { color: var(--ink); background: var(--sel); text-decoration: none; }
.toc-card a.active { color: var(--accent); background: var(--accent-soft); border-left-color: var(--accent); }
.toc-card a i { font-style: normal; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: 30px; margin: 0; letter-spacing: -.3px; }
.page-head .stats { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.page-head .tools { margin-left: auto; display: flex; gap: 8px; }
.btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 9px; padding: 6px 13px; font-size: 13px; cursor: pointer;
}
.btn:hover { color: var(--accent); border-color: var(--accent); }

/* 课程卡 */
.course { margin-bottom: 22px; overflow: hidden; }
.course>header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 18px 22px 4px; }
.course>header h2 { font-size: 19.5px; margin: 0; letter-spacing: -.2px; scroll-margin-top: 84px; }
.course>header h2 a { color: var(--ink); }
.course>header h2 a:hover { color: var(--accent); }
.course .badge {
  font-size: 12px; color: var(--muted); background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; padding: 2.5px 10px;
  font-variant-numeric: tabular-nums;
}
.course .open-dir {
  margin-left: auto; font-size: 12.5px; color: var(--muted);
  display: inline-flex; gap: 5px; align-items: center;
}
.course .open-dir:hover { color: var(--accent); }

/* Markdown 正文 */
.prose { padding: 4px 22px 10px; overflow-wrap: break-word; }
.prose h1, .prose h2, .prose h3, .prose h4 { letter-spacing: -.2px; scroll-margin-top: 90px; }
.prose h1 { font-size: 21px; } .prose h2 { font-size: 18px; } .prose h3 { font-size: 16px; }
.prose img { max-width: 100%; border-radius: 10px; }
.prose table { border-collapse: collapse; max-width: 100%; display: block; overflow: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 6px 12px; font-size: 14px; }
.prose th { background: var(--sel); }
.prose code { background: var(--code-bg); border-radius: 5px; padding: 1.5px 6px; font-size: .9em; }
.prose pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow: auto; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 0; padding: 2px 16px; color: var(--muted); background: var(--accent-soft); border-radius: 0 8px 8px 0; }

/* ───── 文件树 ───── */
.tree { padding: 8px 12px 16px; }
.trow {
  display: flex; align-items: center; gap: 10px; padding: 5px 10px;
  border-radius: 8px; font-size: 14.5px; color: var(--ink);
}
a.trow:hover { background: var(--sel); text-decoration: none; }
.trow .name { overflow-wrap: anywhere; }
.trow .sz { margin-left: auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trow .arrow { color: var(--muted); font-size: 12px; }
.trow .arrow:hover { color: var(--accent); }
details.dir { margin: 1px 0; }
details.dir>summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 7px; padding: 5px 10px;
  border-radius: 8px; font-weight: 600; font-size: 14.5px;
}
details.dir>summary::-webkit-details-marker { display: none; }
details.dir>summary:hover { background: var(--sel); }
details.dir>summary .cnt { font-weight: 400; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
details.dir .chev { transition: transform .16s ease; color: var(--muted); display: inline-flex; }
details.dir[open]>summary .chev { transform: rotate(90deg); }
details.dir>.tree {
  margin-left: 21px; padding-left: 5px; padding-top: 0; padding-bottom: 4px;
  border-left: 1px solid var(--line);
}
.folder-ic { color: var(--accent); display: inline-flex; }

/* 扩展名徽章 */
.ext {
  flex: none; font-size: 10px; font-weight: 800; letter-spacing: .5px;
  color: #fff; border-radius: 5px; padding: 3px 5.5px; min-width: 36px;
  text-align: center; font-variant-numeric: tabular-nums;
}
.ext.pdf  { background: #dc2626; } .ext.doc  { background: #2563eb; }
.ext.ppt  { background: #ea580c; } .ext.xls  { background: #16a34a; }
.ext.img  { background: #0d9488; } .ext.zip  { background: #b45309; }
.ext.md   { background: #64748b; } .ext.code { background: #0369a1; }
.ext.txt  { background: #71717a; } .ext.vid  { background: #7c3aad; }
.ext.aud  { background: #db2777; } .ext.cad  { background: #475569; }
.ext.file { background: #a1a1aa; }

/* 搜索页 */
.searchpage { max-width: 760px; margin: 0 auto; }
.searchpage .big {
  width: 100%; padding: 14px 18px; font-size: 16.5px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink);
}
.searchpage .big:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
#results { margin-top: 18px; }
#results a.sp-row { display: flex; }
#results .sp-group { border-bottom: 1px solid var(--line); }

/* 页脚 */
footer {
  border-top: 1px solid var(--line); padding: 26px 24px 34px;
  text-align: center; color: var(--muted); font-size: 13px; line-height: 2;
}
footer a { color: var(--muted); border-bottom: 1px dotted var(--muted); }
footer a:hover { color: var(--accent); }

/* 响应式 */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  nav.main { display: none; }
  .search input { width: 140px; }
  .search input:focus { width: min(320px, 58vw); }
  .search kbd.hint { display: none; }
  .wrap { padding: 18px 16px 70px; }
  .topbar-in { padding: 10px 16px; }
  .page-head .tools { margin-left: 0; }
}

/* pygments 代码高亮 */
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #f8f8f8; }
.codehilite .c { color: #3D7B7B; font-style: italic } /* Comment */
.codehilite .err { border: 1px solid #F00 } /* Error */
.codehilite .k { color: #008000; font-weight: bold } /* Keyword */
.codehilite .o { color: #666 } /* Operator */
.codehilite .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #9C6500 } /* Comment.Preproc */
.codehilite .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #A00000 } /* Generic.Deleted */
.codehilite .ge { font-style: italic } /* Generic.Emph */
.codehilite .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.codehilite .gr { color: #E40000 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #008400 } /* Generic.Inserted */
.codehilite .go { color: #717171 } /* Generic.Output */
.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.codehilite .gs { font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #04D } /* Generic.Traceback */
.codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #008000 } /* Keyword.Pseudo */
.codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #B00040 } /* Keyword.Type */
.codehilite .m { color: #666 } /* Literal.Number */
.codehilite .s { color: #BA2121 } /* Literal.String */
.codehilite .na { color: #687822 } /* Name.Attribute */
.codehilite .nb { color: #008000 } /* Name.Builtin */
.codehilite .nc { color: #00F; font-weight: bold } /* Name.Class */
.codehilite .no { color: #800 } /* Name.Constant */
.codehilite .nd { color: #A2F } /* Name.Decorator */
.codehilite .ni { color: #717171; font-weight: bold } /* Name.Entity */
.codehilite .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.codehilite .nf { color: #00F } /* Name.Function */
.codehilite .nl { color: #767600 } /* Name.Label */
.codehilite .nn { color: #00F; font-weight: bold } /* Name.Namespace */
.codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */
.codehilite .nv { color: #19177C } /* Name.Variable */
.codehilite .ow { color: #A2F; font-weight: bold } /* Operator.Word */
.codehilite .w { color: #BBB } /* Text.Whitespace */
.codehilite .mb { color: #666 } /* Literal.Number.Bin */
.codehilite .mf { color: #666 } /* Literal.Number.Float */
.codehilite .mh { color: #666 } /* Literal.Number.Hex */
.codehilite .mi { color: #666 } /* Literal.Number.Integer */
.codehilite .mo { color: #666 } /* Literal.Number.Oct */
.codehilite .sa { color: #BA2121 } /* Literal.String.Affix */
.codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */
.codehilite .sc { color: #BA2121 } /* Literal.String.Char */
.codehilite .dl { color: #BA2121 } /* Literal.String.Delimiter */
.codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.codehilite .s2 { color: #BA2121 } /* Literal.String.Double */
.codehilite .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */
.codehilite .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.codehilite .sx { color: #008000 } /* Literal.String.Other */
.codehilite .sr { color: #A45A77 } /* Literal.String.Regex */
.codehilite .s1 { color: #BA2121 } /* Literal.String.Single */
.codehilite .ss { color: #19177C } /* Literal.String.Symbol */
.codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #00F } /* Name.Function.Magic */
.codehilite .vc { color: #19177C } /* Name.Variable.Class */
.codehilite .vg { color: #19177C } /* Name.Variable.Global */
.codehilite .vi { color: #19177C } /* Name.Variable.Instance */
.codehilite .vm { color: #19177C } /* Name.Variable.Magic */
.codehilite .il { color: #666 } /* Literal.Number.Integer.Long */
[data-theme="dark"] pre { line-height: 125%; }
[data-theme="dark"] td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
[data-theme="dark"] span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
[data-theme="dark"] td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
[data-theme="dark"] span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
[data-theme="dark"] .codehilite .hll { background-color: #49483e }
[data-theme="dark"] .codehilite { background: #272822; color: #F8F8F2 }
[data-theme="dark"] .codehilite .c { color: #959077 } /* Comment */
[data-theme="dark"] .codehilite .err { color: #ED007E; background-color: #1E0010 } /* Error */
[data-theme="dark"] .codehilite .esc { color: #F8F8F2 } /* Escape */
[data-theme="dark"] .codehilite .g { color: #F8F8F2 } /* Generic */
[data-theme="dark"] .codehilite .k { color: #66D9EF } /* Keyword */
[data-theme="dark"] .codehilite .l { color: #AE81FF } /* Literal */
[data-theme="dark"] .codehilite .n { color: #F8F8F2 } /* Name */
[data-theme="dark"] .codehilite .o { color: #FF4689 } /* Operator */
[data-theme="dark"] .codehilite .x { color: #F8F8F2 } /* Other */
[data-theme="dark"] .codehilite .p { color: #F8F8F2 } /* Punctuation */
[data-theme="dark"] .codehilite .ch { color: #959077 } /* Comment.Hashbang */
[data-theme="dark"] .codehilite .cm { color: #959077 } /* Comment.Multiline */
[data-theme="dark"] .codehilite .cp { color: #959077 } /* Comment.Preproc */
[data-theme="dark"] .codehilite .cpf { color: #959077 } /* Comment.PreprocFile */
[data-theme="dark"] .codehilite .c1 { color: #959077 } /* Comment.Single */
[data-theme="dark"] .codehilite .cs { color: #959077 } /* Comment.Special */
[data-theme="dark"] .codehilite .gd { color: #FF4689 } /* Generic.Deleted */
[data-theme="dark"] .codehilite .ge { color: #F8F8F2; font-style: italic } /* Generic.Emph */
[data-theme="dark"] .codehilite .ges { color: #F8F8F2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
[data-theme="dark"] .codehilite .gr { color: #FF4689 } /* Generic.Error */
[data-theme="dark"] .codehilite .gh { color: #F8F8F2 } /* Generic.Heading */
[data-theme="dark"] .codehilite .gi { color: #A6E22E } /* Generic.Inserted */
[data-theme="dark"] .codehilite .go { color: #66D9EF } /* Generic.Output */
[data-theme="dark"] .codehilite .gp { color: #FF4689; font-weight: bold } /* Generic.Prompt */
[data-theme="dark"] .codehilite .gs { color: #F8F8F2; font-weight: bold } /* Generic.Strong */
[data-theme="dark"] .codehilite .gu { color: #959077 } /* Generic.Subheading */
[data-theme="dark"] .codehilite .gt { color: #66D9EF } /* Generic.Traceback */
[data-theme="dark"] .codehilite .kc { color: #66D9EF } /* Keyword.Constant */
[data-theme="dark"] .codehilite .kd { color: #66D9EF } /* Keyword.Declaration */
[data-theme="dark"] .codehilite .kn { color: #FF4689 } /* Keyword.Namespace */
[data-theme="dark"] .codehilite .kp { color: #66D9EF } /* Keyword.Pseudo */
[data-theme="dark"] .codehilite .kr { color: #66D9EF } /* Keyword.Reserved */
[data-theme="dark"] .codehilite .kt { color: #66D9EF } /* Keyword.Type */
[data-theme="dark"] .codehilite .ld { color: #E6DB74 } /* Literal.Date */
[data-theme="dark"] .codehilite .m { color: #AE81FF } /* Literal.Number */
[data-theme="dark"] .codehilite .s { color: #E6DB74 } /* Literal.String */
[data-theme="dark"] .codehilite .na { color: #A6E22E } /* Name.Attribute */
[data-theme="dark"] .codehilite .nb { color: #A6E22E } /* Name.Builtin */
[data-theme="dark"] .codehilite .nc { color: #A6E22E } /* Name.Class */
[data-theme="dark"] .codehilite .no { color: #66D9EF } /* Name.Constant */
[data-theme="dark"] .codehilite .nd { color: #A6E22E } /* Name.Decorator */
[data-theme="dark"] .codehilite .ni { color: #F8F8F2 } /* Name.Entity */
[data-theme="dark"] .codehilite .ne { color: #A6E22E } /* Name.Exception */
[data-theme="dark"] .codehilite .nf { color: #A6E22E } /* Name.Function */
[data-theme="dark"] .codehilite .nl { color: #F8F8F2 } /* Name.Label */
[data-theme="dark"] .codehilite .nn { color: #F8F8F2 } /* Name.Namespace */
[data-theme="dark"] .codehilite .nx { color: #A6E22E } /* Name.Other */
[data-theme="dark"] .codehilite .py { color: #F8F8F2 } /* Name.Property */
[data-theme="dark"] .codehilite .nt { color: #FF4689 } /* Name.Tag */
[data-theme="dark"] .codehilite .nv { color: #F8F8F2 } /* Name.Variable */
[data-theme="dark"] .codehilite .ow { color: #FF4689 } /* Operator.Word */
[data-theme="dark"] .codehilite .pm { color: #F8F8F2 } /* Punctuation.Marker */
[data-theme="dark"] .codehilite .w { color: #F8F8F2 } /* Text.Whitespace */
[data-theme="dark"] .codehilite .mb { color: #AE81FF } /* Literal.Number.Bin */
[data-theme="dark"] .codehilite .mf { color: #AE81FF } /* Literal.Number.Float */
[data-theme="dark"] .codehilite .mh { color: #AE81FF } /* Literal.Number.Hex */
[data-theme="dark"] .codehilite .mi { color: #AE81FF } /* Literal.Number.Integer */
[data-theme="dark"] .codehilite .mo { color: #AE81FF } /* Literal.Number.Oct */
[data-theme="dark"] .codehilite .sa { color: #E6DB74 } /* Literal.String.Affix */
[data-theme="dark"] .codehilite .sb { color: #E6DB74 } /* Literal.String.Backtick */
[data-theme="dark"] .codehilite .sc { color: #E6DB74 } /* Literal.String.Char */
[data-theme="dark"] .codehilite .dl { color: #E6DB74 } /* Literal.String.Delimiter */
[data-theme="dark"] .codehilite .sd { color: #E6DB74 } /* Literal.String.Doc */
[data-theme="dark"] .codehilite .s2 { color: #E6DB74 } /* Literal.String.Double */
[data-theme="dark"] .codehilite .se { color: #AE81FF } /* Literal.String.Escape */
[data-theme="dark"] .codehilite .sh { color: #E6DB74 } /* Literal.String.Heredoc */
[data-theme="dark"] .codehilite .si { color: #E6DB74 } /* Literal.String.Interpol */
[data-theme="dark"] .codehilite .sx { color: #E6DB74 } /* Literal.String.Other */
[data-theme="dark"] .codehilite .sr { color: #E6DB74 } /* Literal.String.Regex */
[data-theme="dark"] .codehilite .s1 { color: #E6DB74 } /* Literal.String.Single */
[data-theme="dark"] .codehilite .ss { color: #E6DB74 } /* Literal.String.Symbol */
[data-theme="dark"] .codehilite .bp { color: #A6E22E } /* Name.Builtin.Pseudo */
[data-theme="dark"] .codehilite .fm { color: #A6E22E } /* Name.Function.Magic */
[data-theme="dark"] .codehilite .vc { color: #F8F8F2 } /* Name.Variable.Class */
[data-theme="dark"] .codehilite .vg { color: #F8F8F2 } /* Name.Variable.Global */
[data-theme="dark"] .codehilite .vi { color: #F8F8F2 } /* Name.Variable.Instance */
[data-theme="dark"] .codehilite .vm { color: #F8F8F2 } /* Name.Variable.Magic */
[data-theme="dark"] .codehilite .il { color: #AE81FF } /* Literal.Number.Integer.Long */