/*
 * QuietLoop Studio · 主页与文章页功能层
 * 叠加顺序：quietloop.css → quietloop-enhanced.css → 本文件。
 * 动态数据由页脚脚本提供；没有第三方字体、播放器或 Live2D 依赖。
 */

:root {
  --qls-cyan: #9fe3ed;
  --qls-mint: #c9f3d2;
  --qls-violet: #c9c2ff;
  --qls-orange: #ffd99a;
  --qls-glass: rgba(21, 34, 31, .72);
  --qls-soft-line: rgba(201, 243, 210, .18);
}

#blogTitle h1 { position: relative; z-index: 1; }
#blogTitle h1 a {
  display: inline-block;
  background: linear-gradient(105deg, #f3f2e8 18%, var(--qls-mint) 53%, var(--qls-cyan) 86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(159, 227, 237, .11);
  transition: filter .25s ease, letter-spacing .25s ease;
}
#blogTitle h1 a:hover { filter: drop-shadow(0 0 14px rgba(201, 243, 210, .34)); letter-spacing: .012em; }
#blogTitle h2 { max-width: 760px; color: #c8d4ca; }
#blogTitle h2::before { color: var(--qls-cyan); }
#blogTitle h2 { font-size: 21px; font-weight: 700; letter-spacing: .08em; background: linear-gradient(100deg, #f3f2e8, #bfead4 48%, #9fe3ed); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 24px rgba(159, 227, 237, .2); }
#blogCalendar { display: none !important; }

#qlx-studio-bar {
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 13px 0 25px;
  padding: 11px 14px;
  border: 1px solid var(--qls-soft-line);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(28, 45, 40, .82), rgba(22, 35, 37, .58));
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}
.qls-avatar-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 243, 210, .56);
  border-radius: 11px;
  background: linear-gradient(145deg, #27473a, #14241f);
  color: var(--qls-mint);
  font: 10px/1 var(--ql-mono);
  letter-spacing: -.06em;
  box-shadow: 0 0 0 4px rgba(159, 227, 237, .045);
}
.qls-avatar-badge img { display: block; width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.qls-clock-badge { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(159, 227, 237, .55); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(159, 227, 237, .24), rgba(20, 36, 37, .9)); color: #bcecf0; font: 600 24px/1 var(--ql-mono); box-shadow: 0 0 18px rgba(159, 227, 237, .2); animation: qls-clock-pulse 3.2s ease-in-out infinite; }
.qls-clock, .qls-weather { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.qls-clock strong { color: #f0f5e8; font: 600 16px/1.25 var(--ql-mono); letter-spacing: .04em; }
.qls-clock small, .qls-weather small { color: #93a99b; font-size: 10px; }
.qls-weather-icon { font-size: 18px; line-height: 1; filter: drop-shadow(0 0 7px rgba(255, 217, 154, .22)); }
.qls-weather-text { color: #c5d7ca; font-size: 13px; }
.qls-weather { position: relative; cursor: pointer; outline: none; }
.qls-weather-detail { position: absolute; z-index: 4; top: calc(100% + 10px); left: 0; min-width: 230px; padding: 10px 12px; border: 1px solid rgba(159, 227, 237, .35); border-radius: 10px; background: rgba(16, 28, 34, .95); box-shadow: 0 14px 35px rgba(0, 0, 0, .3); color: #dcece2; font-size: 11px; line-height: 1.7; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.qls-weather:hover .qls-weather-detail, .qls-weather.is-open .qls-weather-detail, .qls-weather:focus-within .qls-weather-detail { opacity: 1; pointer-events: auto; transform: translateY(0); }
.qls-quote-line { min-width: 0; overflow: hidden; color: #d3e0d3; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; }
.qls-quote-line::before { margin-right: .55em; color: var(--qls-orange); content: "✦"; }
.qls-scene-label { color: var(--qls-cyan); font: 10px/1.8 var(--ql-mono); letter-spacing: .1em; }
.qls-scene-mark { color: var(--qls-orange); font-size: 20px; line-height: 1; animation: qls-scene-float 4s ease-in-out infinite; }

.qls-profile-card, .qls-studio-card, .qls-social-card, .qls-calendar-card, .qls-focus-card, .qls-reader-card, .qls-toc-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 23px;
  padding: 17px 16px 15px;
  border: 1px solid var(--qls-soft-line);
  border-radius: var(--ql-radius);
  background: linear-gradient(145deg, rgba(29, 44, 39, .95), rgba(20, 31, 30, .97));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .14);
}
.qls-profile-card::after, .qls-studio-card::after, .qls-social-card::after, .qls-calendar-card::after, .qls-focus-card::after, .qls-reader-card::after, .qls-toc-card::after {
  position: absolute;
  right: -34px;
  bottom: -53px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(159, 227, 237, .15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.qls-kicker { margin: 0 0 9px; color: var(--qls-cyan); font: 11px/1.8 var(--ql-mono); letter-spacing: .12em; }
.qls-label { color: #8fa79a; font-size: 10px; }
.qls-value { color: #e4eee2; font: 600 16px/1.5 var(--ql-mono); }

.qls-source-link { color: #8aa99a !important; font-size: 11px !important; }

#qlx-profile-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-start; gap: 10px; max-width: 310px; margin: 3px auto 15px 0; padding: 8px 10px; border: 1px solid rgba(159, 227, 237, .22); border-radius: 13px; background: linear-gradient(135deg, rgba(28, 48, 67, .78), rgba(21, 32, 42, .6)); box-shadow: 0 9px 26px rgba(0, 0, 0, .12); }
.qls-top-profile-art { display: block; width: 58px; height: 58px; flex: 0 0 58px; border: 1px solid rgba(159, 227, 237, .42); border-radius: 11px; object-fit: cover; }
.qls-top-profile-copy { min-width: 0; text-align: left; align-items: flex-start; }
.qls-top-profile-copy .qls-kicker { margin-bottom: 1px; font-size: 10px; }
.qls-top-profile-copy strong { display: block; color: #f2f7f0; font-size: 14px; letter-spacing: .04em; }
.qls-top-profile-copy small { display: block; margin-top: 2px; color: #a9c0c0; font-size: 10px; }
.qls-top-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 7px; justify-content: start; }
.qls-top-account-stats a { display: grid; gap: 1px; padding: 3px 5px; border: 1px solid rgba(201, 243, 210, .14); border-radius: 6px; color: #c8d9d4 !important; text-align: center; text-decoration: none !important; }
.qls-top-account-stats a:hover { background: rgba(159, 227, 237, .13); }
.qls-top-account-stats b { color: #eef8eb; font: 600 12px/1 var(--ql-mono); }
.qls-top-account-stats span { color: #93aaa3; font-size: 9px; }

.qls-profile-card { display: grid; grid-template-columns: 92px 1fr; gap: 13px; padding: 13px; background: linear-gradient(135deg, rgba(35, 50, 73, .96), rgba(23, 35, 45, .98)); }
.qls-profile-art-wrap { position: relative; z-index: 1; display: grid; place-items: center; min-height: 92px; overflow: hidden; border: 1px solid rgba(159, 227, 237, .4); border-radius: 13px; background: #1b5a9a; }
.qls-profile-art { display: block; width: 100%; height: 92px; object-fit: cover; }
.qls-profile-copy { position: relative; z-index: 1; min-width: 0; }
.qls-profile-copy .qls-kicker { margin-bottom: 2px; }
.qls-profile-copy h3 { margin: 0; color: #f4f7ef; font-size: 20px; letter-spacing: .02em; }
.qls-profile-copy p:not(.qls-kicker) { margin: 3px 0 10px; color: #c7d6df; font-size: 12px; }
.qls-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.qls-account-stats a { display: grid; gap: 1px; padding: 5px 2px; border: 1px solid rgba(201, 243, 210, .15); border-radius: 8px; color: #c8d9d4 !important; text-align: center; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.qls-account-stats a:hover { background: rgba(159, 227, 237, .14); transform: translateY(-2px); }
.qls-account-stats strong { color: #f1f6ed; font: 600 15px/1.1 var(--ql-mono); }
.qls-account-stats span { color: #96ada7; font-size: 10px; }

.qls-live-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.qls-live-cell { padding: 9px 8px; border: 1px solid rgba(201, 243, 210, .11); border-radius: 9px; background: rgba(8, 19, 17, .18); }
.qls-live-cell:last-child { grid-column: span 2; }
.qls-live-cell strong { display: block; margin-top: 2px; color: #e1eee0; font: 600 15px/1.55 var(--ql-mono); }
.qls-live-cell small { display: block; color: #8ca497; font-size: 10px; }
.qls-quote { position: relative; z-index: 1; display: block; margin: 11px 0 0; padding-top: 10px; border-top: 1px solid rgba(201, 243, 210, .12); color: #c1d2c4 !important; font-size: 13px; line-height: 1.8; text-decoration: none !important; }
.qls-quote:hover { color: #f2f8eb !important; }
.qls-quote::before { margin-right: .45em; color: var(--qls-orange); content: "✦"; }

.qls-social-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.qls-social-link { display: grid; place-items: center; min-width: 0; min-height: 52px; padding: 7px 3px; border: 1px solid rgba(201, 243, 210, .2); border-radius: 11px; background: rgba(8, 19, 17, .22); color: #b8cbbd !important; text-decoration: none !important; transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.qls-social-link:hover { border-color: rgba(201, 243, 210, .55); background: rgba(76, 124, 101, .28); color: #eff8e8 !important; transform: translateY(-2px); }
.qls-social-link:hover { box-shadow: 0 7px 18px rgba(0, 0, 0, .18); }
.qls-social-link img { display: block; width: 32px; height: 32px; object-fit: contain; }
.qls-app-note { margin-top: 10px !important; text-align: center; }

.qls-calendar-card { background: linear-gradient(145deg, rgba(45, 38, 66, .94), rgba(24, 28, 46, .98)); }
.qls-calendar-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.qls-calendar-head strong { color: #f0eaff; font: 600 17px/1.4 var(--ql-mono); }
.qls-calendar-actions { display: flex; gap: 4px; }
.qls-calendar-actions button { width: 26px; height: 26px; padding: 0; border: 1px solid rgba(201, 194, 255, .35); border-radius: 7px; background: rgba(201, 194, 255, .1); color: #e6dcff; cursor: pointer; font-size: 21px; line-height: 21px; }
.qls-calendar-actions button:hover { background: rgba(201, 194, 255, .25); }
.qls-calendar-week, .qls-calendar-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.qls-calendar-week { margin: 12px 0 5px; color: #aeabd1; font-size: 10px; text-align: center; }
.qls-calendar-grid { min-height: 168px; }
.qls-calendar-empty { min-height: 28px; }
.qls-calendar-day { position: relative; min-height: 28px; padding: 4px 2px; border: 1px solid transparent; border-radius: 7px; background: rgba(8, 19, 17, .16); color: #d9d6e9; cursor: pointer; font: 12px/1 var(--ql-mono); }
.qls-calendar-day:hover, .qls-calendar-day.is-selected { border-color: rgba(201, 194, 255, .65); background: rgba(201, 194, 255, .2); }
.qls-calendar-day.is-today { border-color: rgba(159, 227, 237, .8); color: #f5ffff; }
.qls-calendar-day.is-weekend { color: #c6b8e6; }
.qls-calendar-day i, .qls-calendar-day b { position: absolute; right: 3px; bottom: 2px; font-size: 8px; font-style: normal; font-weight: 600; }
.qls-calendar-day i { color: #ffd99a; }
.qls-calendar-day b { color: #9fe3ed; }
.qls-calendar-detail { position: relative; z-index: 1; min-height: 38px; margin-top: 10px; padding: 8px 9px; border-top: 1px solid rgba(201, 194, 255, .18); color: #cbc6e4; font-size: 11px; line-height: 1.65; }
.qls-calendar-tools { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.qls-calendar-tools button { padding: 5px 8px; border: 1px solid rgba(201, 194, 255, .28); border-radius: 7px; background: rgba(201, 194, 255, .09); color: #dcd5f2; cursor: pointer; font-size: 10px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.qls-calendar-tools button:hover { border-color: rgba(159, 227, 237, .7); background: rgba(159, 227, 237, .14); transform: translateY(-1px); }
.qls-todo-form { position: relative; z-index: 1; display: grid; gap: 7px; margin-top: 9px; padding: 8px; border: 1px solid rgba(159, 227, 237, .22); border-radius: 9px; background: rgba(7, 17, 24, .24); }
.qls-todo-form[hidden] { display: none; }
.qls-todo-form label { display: grid; gap: 4px; color: #c9d9d1; font-size: 10px; }
.qls-todo-form input { width: 100%; box-sizing: border-box; padding: 6px 7px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(3, 10, 13, .35); color: #eef8f0; font: 11px/1.4 var(--ql-mono); outline: none; }
.qls-todo-form input:focus { border-color: rgba(159, 227, 237, .8); box-shadow: 0 0 0 2px rgba(159, 227, 237, .12); }
.qls-todo-form > div { display: flex; gap: 6px; }
.qls-todo-form button { padding: 5px 8px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(159, 227, 237, .1); color: #dff4ed; cursor: pointer; font-size: 10px; }
.qls-todo-form button:hover { border-color: rgba(159, 227, 237, .8); background: rgba(159, 227, 237, .18); }
.qls-calendar-note { position: relative; z-index: 1; display: block; margin-top: 7px; color: #9994b4; font-size: 9px; line-height: 1.5; }

.qls-focus-card { background: linear-gradient(145deg, rgba(42, 50, 65, .95), rgba(24, 31, 43, .98)); }
.qls-focus-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.qls-focus-head strong { display: block; color: #eef7ef; font: 600 30px/1.2 var(--ql-mono); letter-spacing: .04em; }
.qls-focus-head span { color: var(--qls-cyan); font-size: 11px; }
.qls-focus-progress { position: relative; z-index: 1; height: 6px; margin: 16px 0 13px; overflow: hidden; border-radius: 999px; background: rgba(201, 243, 210, .12); }
.qls-focus-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--qls-cyan), var(--qls-mint)); transition: width .3s ease; }
.qls-focus-modes, .qls-focus-actions { position: relative; z-index: 1; display: flex; gap: 7px; }
.qls-focus-modes button, .qls-focus-actions button { padding: 6px 9px; border: 1px solid rgba(159, 227, 237, .24); border-radius: 7px; background: rgba(8, 19, 17, .2); color: #c9d9d0; cursor: pointer; font-size: 11px; }
.qls-focus-modes button.is-active, .qls-focus-modes button:hover, .qls-focus-actions button:hover { border-color: rgba(159, 227, 237, .7); background: rgba(159, 227, 237, .13); color: #f1faef; }
.qls-focus-actions { margin-top: 10px; }

#qlx-hotspots { display: none !important; }

.qls-reader-card { padding-bottom: 14px; }
.qls-reader-row { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 10px; margin: 7px 0; color: #9fb3a3; font-size: 11px; }
.qls-reader-row strong { color: #dfeadf; font-weight: 600; }
.qls-reader-meter { position: relative; z-index: 1; height: 4px; margin-top: 10px; overflow: hidden; border-radius: 4px; background: rgba(201, 243, 210, .1); }
.qls-reader-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--qls-cyan), var(--qls-mint)); transition: width .2s ease; }

.qls-toc-card { padding-bottom: 12px; }
.qls-toc-card[hidden] { display: none; }
.qls-toc-list { position: relative; z-index: 1; max-height: 42vh; margin: 0; padding: 0 0 2px; overflow-y: auto; list-style: none; }
.qls-toc-list li { margin: 0; padding: 0; border-left: 1px solid rgba(201, 243, 210, .11); }
.qls-toc-list li.qls-toc-h3 { padding-left: 8px; }
.qls-toc-list a { display: block; padding: 5px 8px; overflow: hidden; color: #9eb4a4 !important; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; transition: color .2s ease, border-color .2s ease, padding-left .2s ease; }
.qls-toc-list a:hover, .qls-toc-list a.is-active { padding-left: 11px; border-left: 2px solid var(--qls-cyan); color: #e3f0e0 !important; }

.qlx-links li { border-bottom: 0 !important; }
.qlx-links li a { display: grid !important; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 6px; margin: 6px 0; padding: 8px 9px !important; border: 1px solid rgba(201, 243, 210, .12); border-radius: 9px; background: linear-gradient(100deg, rgba(201, 243, 210, .06), rgba(159, 227, 237, .03)); color: #d2e1d4 !important; font-size: 13px !important; text-decoration: none !important; }
.qlx-links li a::before { display: none !important; }
.qlx-links li a:hover { padding-left: 12px !important; border-color: rgba(159, 227, 237, .52); background: rgba(159, 227, 237, .12); }
.qls-link-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(159, 227, 237, .32); border-radius: 7px; color: #9fe3ed; font: 600 14px/1 var(--ql-mono); }
.qlx-links li:nth-child(2) .qls-link-icon { color: #ffd99a; border-color: rgba(255, 217, 154, .35); }
.qlx-links li:nth-child(3) .qls-link-icon { color: #c9c2ff; border-color: rgba(201, 194, 255, .35); }
.qlx-links li:nth-child(4) .qls-link-icon { color: #c9f3d2; border-color: rgba(201, 243, 210, .35); }
.qlx-links li a b { color: #8ea99a; font: 13px/1 var(--ql-mono); }

#qlx-floating-nav { position: fixed; z-index: 10000; top: 50%; left: 12px; display: grid; gap: 7px; padding: 8px 6px; border: 1px solid rgba(159, 227, 237, .26); border-radius: 14px; background: rgba(20, 30, 41, .8); box-shadow: 0 16px 35px rgba(0, 0, 0, .25); opacity: .82; transform: translateY(-50%); backdrop-filter: blur(12px); }
#qlx-floating-nav a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid transparent; border-radius: 10px; color: #a9c9c1 !important; text-decoration: none !important; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
#qlx-floating-nav a span { font-size: 19px; line-height: 1; }
#qlx-floating-nav a b { position: absolute; left: 55px; padding: 4px 7px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(15, 27, 31, .96); color: #e8f2e8; font-size: 11px; font-weight: 500; opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .2s ease, transform .2s ease; transform: translateX(-4px); }
#qlx-floating-nav a:hover { border-color: rgba(159, 227, 237, .6); background: rgba(159, 227, 237, .14); color: #f3faed !important; transform: translateX(2px); }
#qlx-floating-nav a:hover b { opacity: 1; transform: translateX(0); }

.qlx-pointer {
  position: fixed;
  z-index: 9998;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(159, 227, 237, .65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease, opacity .2s ease, border-color .2s ease;
}
.qlx-pointer.is-ready { opacity: .7; }
.qlx-pointer.is-hover { width: 28px; height: 28px; border-color: var(--qls-mint); }
.qlx-click-ripple { position: fixed; z-index: 9997; width: 8px; height: 8px; border: 1px solid var(--qls-cyan); border-radius: 50%; pointer-events: none; animation: qls-ripple .65s ease-out forwards; }
.qlx-particle { position: fixed; z-index: 9996; width: 5px; height: 5px; border-radius: 50%; background: hsl(var(--qlx-particle-hue), 82%, 72%); box-shadow: 0 0 7px currentColor; pointer-events: none; animation: qls-particle .7s ease-out forwards; }
.qlx-click-glyph { position: fixed; z-index: 9999; color: var(--qls-orange); pointer-events: none; font: 600 20px/1 var(--ql-mono); text-shadow: 0 0 9px rgba(255, 217, 154, .7); transform: translate(-50%, -50%); animation: qls-glyph .8s ease-out forwards; }

body.qlx-scene-night { --qls-cyan: #b8c9ff; --qls-mint: #c7d6ff; }
body.qlx-scene-night #home::before { box-shadow: 0 0 0 2rem rgba(184, 201, 255, .035), 0 0 70px rgba(184, 201, 255, .16); }
body.qlx-scene-morning #home::before { box-shadow: 0 0 0 2rem rgba(255, 217, 154, .03), 0 0 70px rgba(255, 217, 154, .12); }
body.qlx-scene-evening #home::after { box-shadow: 0 0 0 2rem rgba(201, 194, 255, .035), 0 0 70px rgba(201, 194, 255, .15); }

@keyframes qls-ripple { from { opacity: .85; transform: translate(-50%, -50%) scale(.7); } to { opacity: 0; transform: translate(-50%, -50%) scale(5); } }
@keyframes qls-particle { from { opacity: .85; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(calc(-50% + var(--qlx-particle-x)), calc(-50% + var(--qlx-particle-y))) scale(.1); } }
@keyframes qls-glyph { from { opacity: .95; transform: translate(-50%, -50%) scale(.8) rotate(0); } to { opacity: 0; transform: translate(-50%, -145%) scale(1.5) rotate(25deg); } }
@keyframes qls-clock-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(159, 227, 237, .18); } 50% { transform: scale(1.06); box-shadow: 0 0 26px rgba(159, 227, 237, .36); } }
@keyframes qls-scene-float { 0%, 100% { transform: translateY(0) rotate(-5deg); opacity: .75; } 50% { transform: translateY(-3px) rotate(8deg); opacity: 1; } }

/* 博客园某些布局会把公告节点复制到同一容器；只保留第一份完整组件。 */
#sidebar_news_content > section:nth-of-type(n+8),
#sidebar_news_content > button#qlx-top:nth-of-type(n+2) { display: none !important; }

@media (max-width: 1100px) {
  #qlx-floating-nav { display: none; }
}
@media (max-width: 880px) {
  #qlx-studio-bar { grid-template-columns: auto auto 1fr; }
  .qls-quote-line { grid-column: 1 / -1; grid-row: 2; }
  .qls-scene-label { justify-self: end; }
  .qls-toc-list { max-height: 25vh; }
}
@media (min-width: 881px) {
  .qls-live-grid .qls-live-cell:last-child { grid-column: span 1; }
}
@media (max-width: 520px) {
  #qlx-studio-bar { grid-template-columns: auto 1fr; gap: 9px; margin-bottom: 19px; }
  .qls-weather { justify-self: end; }
  .qls-scene-label { grid-column: 1 / -1; justify-self: start; }
  .qls-social-list { gap: 4px; }
  .qls-social-link { min-height: 42px; }
  .qls-social-link img { width: 24px; height: 24px; }
  #qlx-profile-top { max-width: none; margin: 2px 0 14px; }
  .qls-top-profile-art { width: 52px; height: 52px; flex-basis: 52px; }
  #blogTitle h2 { font-size: 16px; letter-spacing: .04em; }
  .qls-calendar-grid { min-height: 160px; }
  #qlx-floating-nav { display: none; }
  .qlx-pointer, .qlx-click-ripple, .qlx-particle, .qlx-click-glyph { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .qlx-pointer, .qlx-click-ripple, .qlx-particle, .qlx-click-glyph { animation: none !important; transition: none !important; }
}

/* 顶部个人模块与 QuietLoop 标题共用左边缘，背景只保留轻微的融入式渐变。 */
#header > #qlx-profile-top {
  margin: 3px 0 15px 0 !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, rgba(28, 48, 67, .28), rgba(21, 32, 42, 0) 88%) !important;
  box-shadow: none !important;
}
/* QuietLoop profile alignment override */
#header > #qlx-profile-top { margin: 3px 0 15px 0 !important; padding: 8px 0 !important; border: 0 !important; border-radius: 0 !important; background: linear-gradient(90deg, rgba(28,48,67,.28), rgba(21,32,42,0) 88%) !important; box-shadow: none !important; }
#header > #qlx-profile-top .qls-top-profile-art { border-color: rgba(159,227,237,.18); }
/* QuietLoop profile alignment override */
header > #qlx-profile-top { margin: 3px 0 15px 0 !important; padding: 8px 0 !important; border: 0 !important; border-radius: 0 !important; background: linear-gradient(90deg, rgba(28,48,67,.28), rgba(21,32,42,0) 88%) !important; box-shadow: none !important; }
header > #qlx-profile-top .qls-top-profile-art { border-color: rgba(159,227,237,.18); }
/*
 * QuietLoop · Personal technical notebook
 * 适用于博客园 BlackLowKey 皮肤。保留博客园默认 CSS，再粘贴本文件。
 * 无 JavaScript、无字体请求、无外部图片请求。原创样式，可自行修改。
 */
:root {
  --ql-bg: #101716;
  --ql-panel: #17211f;
  --ql-panel-strong: #1c2925;
  --ql-line: #34463e;
  --ql-ink: #edf0e6;
  --ql-muted: #b4c1b6;
  --ql-accent: #a4e1ba;
  --ql-paper: #f4f3eb;
  --ql-paper-ink: #24312b;
  --ql-paper-muted: #57655c;
  --ql-radius: 14px;
  --ql-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ql-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
  margin: 0;
  color: var(--ql-ink);
  font-family: var(--ql-sans);
  font-size: 16px;
  line-height: 1.8;
  background-color: var(--ql-bg);
  background-image: radial-gradient(ellipse at 80% 0, rgba(117, 174, 139, .075), transparent 52%);
}

/* #home 内定制；不覆盖博客园顶部平台导航。 */
#home, #home *, #home *::before, #home *::after { box-sizing: border-box; }
#home {
  width: auto;
  max-width: 1220px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 32px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
#home a { color: var(--ql-accent); text-decoration: none; }
#home a:hover { text-decoration: underline; text-underline-offset: .22em; }
#home a:focus-visible, #home button:focus-visible, #home input:focus-visible,
#home textarea:focus-visible, #home select:focus-visible {
  outline: 3px solid var(--ql-accent);
  outline-offset: 4px;
  border-radius: 3px;
}
#home img { max-width: 100%; height: auto; }
#home input, #home textarea, #home select, #home button {
  max-width: 100%;
  font: inherit;
}

#header {
  height: auto;
  min-height: 0;
  margin: 0 0 30px;
  padding: 53px 0 0;
  border: 0;
  background: transparent;
}
#blogTitle {
  position: relative;
  height: auto;
  min-height: 128px;
  margin: 0;
  padding: 0 90px 26px 0;
  background: transparent;
}
#blogTitle::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 7px;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ql-accent);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-34deg);
  box-shadow: 0 0 0 10px rgba(164, 225, 186, .035);
}
#blogTitle h1 {
  float: none;
  margin: 0 0 9px;
  padding: 0;
  font: 600 clamp(34px, 5vw, 54px)/1.14 var(--ql-sans);
  letter-spacing: -.045em;
  color: var(--ql-ink);
}
#blogTitle h1 a, #Header1_HeaderTitle { color: var(--ql-ink); }
#blogTitle h1 a:hover { color: var(--ql-accent); text-decoration: none; }
#blogTitle h2 {
  float: none;
  max-width: 650px;
  margin: 0;
  padding: 0;
  color: var(--ql-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .035em;
}
#navigator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  height: auto;
  min-height: 53px;
  margin: 0;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--ql-line);
  border-bottom: 1px solid var(--ql-line);
  background: transparent;
}
#navList {
  display: flex;
  flex-wrap: wrap;
  float: none;
  gap: 5px 22px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
#navList li { float: none; width: auto; margin: 0; padding: 0; list-style: none; }
#navList a {
  display: inline-block;
  height: auto;
  padding: 4px 0;
  background: transparent;
  color: var(--ql-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}
#navList a:hover { color: var(--ql-accent); background: transparent; }
#navigator .blogStats {
  float: none;
  margin: 0;
  padding: 0;
  color: var(--ql-muted);
  font: 11px/1.8 var(--ql-mono);
  text-align: left;
}

#main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 30px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
#mainContent, #sideBar {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
#mainContent > .forFlow { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
#sideBarMain { width: auto; min-width: 0; margin: 0; padding: 0; color: var(--ql-muted); }
#main > .clear { display: none; }

.day, #topics > .post {
  width: auto;
  min-width: 0;
  margin: 0 0 24px;
  padding: 25px 28px 20px;
  overflow-wrap: anywhere;
  border: 1px solid var(--ql-line);
  border-radius: var(--ql-radius);
  background: var(--ql-panel);
  box-shadow: none;
}
.dayTitle {
  float: none;
  width: auto;
  height: auto;
  margin: 0 0 15px;
  padding: 0;
  background: transparent;
  color: var(--ql-muted);
  font: 11px/1.8 var(--ql-mono);
  letter-spacing: .08em;
}
#home .dayTitle a { color: var(--ql-muted); }
.postTitle {
  float: none;
  width: auto;
  margin: 0 0 15px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: clamp(21px, 2.6vw, 29px);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.035em;
}
#home .postTitle a { color: var(--ql-ink); }
#home .postTitle a:hover { color: var(--ql-accent); }
.postCon { float: none; width: auto; padding: 0; color: var(--ql-muted); line-height: 1.9; }
.postCon .c_b_p_desc { padding: 0; color: var(--ql-muted); font-size: 14px; line-height: 1.9; }
.postDesc, .postSeparator {
  float: none;
  width: auto;
  height: auto;
  margin: 18px 0 0;
  padding: 13px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ql-line);
  color: var(--ql-muted);
  font-size: 11px;
  line-height: 1.9;
  text-align: left;
}
.postSeparator:empty { margin: 0; padding: 0; border: 0; }

/* 正文用暖灰纸色，保持长篇阅读与代码、截图的清晰度。 */
#cnblogs_post_body {
  min-width: 0;
  margin: 21px 0 0;
  padding: clamp(20px, 3.5vw, 36px);
  border-radius: 9px;
  background: var(--ql-paper);
  color: var(--ql-paper-ink);
  font: 16px/1.95 var(--ql-sans);
  overflow-wrap: anywhere;
}
#cnblogs_post_body > :first-child { margin-top: 0; }
#cnblogs_post_body > :last-child { margin-bottom: 0; }
#cnblogs_post_body p { margin: 1em 0; line-height: 1.95; }
#cnblogs_post_body h1, #cnblogs_post_body h2, #cnblogs_post_body h3,
#cnblogs_post_body h4, #cnblogs_post_body h5, #cnblogs_post_body h6 {
  margin: 1.9em 0 .7em;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ql-paper-ink);
  font-family: var(--ql-sans);
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.02em;
}
#cnblogs_post_body h1 { font-size: 28px; }
#cnblogs_post_body h2 { font-size: 24px; padding-bottom: .35em; border-bottom: 1px solid #ced7cc; }
#cnblogs_post_body h3 { font-size: 20px; }
#cnblogs_post_body h4 { font-size: 18px; }
#cnblogs_post_body a { color: #236342; text-decoration: underline; text-underline-offset: .2em; }
#cnblogs_post_body a:hover { color: #143e2b; }
#cnblogs_post_body a:focus-visible { outline-color: #236342; }
#cnblogs_post_body strong { color: #163b2c; font-weight: 700; }
#cnblogs_post_body blockquote {
  margin: 1.5em 0;
  padding: 12px 19px;
  border: 0;
  border-left: 3px solid #508360;
  border-radius: 0 6px 6px 0;
  background: #e7eadf;
  color: #3b5142;
}
#cnblogs_post_body blockquote p { margin: .3em 0; }
#cnblogs_post_body ul, #cnblogs_post_body ol { padding-left: 1.55em; margin: 1em 0; }
#cnblogs_post_body li { margin: .38em 0; }
#cnblogs_post_body li > p { margin: .4em 0; }
#cnblogs_post_body hr { height: 1px; margin: 2em 0; border: 0; background: #ced7cc; }
#cnblogs_post_body img { display: block; max-width: 100%; height: auto; margin: 1.5em auto .6em; border-radius: 7px; }
#cnblogs_post_body figure { margin: 1.5em 0; }
#cnblogs_post_body figcaption { color: var(--ql-paper-muted); font-size: 12px; text-align: center; }
#cnblogs_post_body :not(pre) > code {
  padding: .16em .4em;
  border: 1px solid #d8dfd1;
  border-radius: 4px;
  background: #e5e9de;
  color: #29573c;
  font: .88em/1.6 var(--ql-mono);
  overflow-wrap: anywhere;
}
#cnblogs_post_body pre {
  display: block;
  max-width: 100%;
  margin: 1.4em 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid #33483c;
  border-radius: 7px;
  background: #18231d;
  color: #e0ecda;
  text-shadow: none;
  tab-size: 4;
  white-space: pre;
  overflow-wrap: normal;
  font: 13px/1.8 var(--ql-mono);
}
#cnblogs_post_body pre code,
#cnblogs_post_body pre code.hljs {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  white-space: pre;
  overflow-wrap: normal;
  font: inherit;
}
#cnblogs_post_body pre .hljs-comment, #cnblogs_post_body pre .hljs-quote { color: #a8bba4; }
#cnblogs_post_body pre .hljs-keyword, #cnblogs_post_body pre .hljs-selector-tag { color: #b4dbc3; }
#cnblogs_post_body pre .hljs-string, #cnblogs_post_body pre .hljs-title { color: #dfd69e; }
#cnblogs_post_body pre .hljs-number, #cnblogs_post_body pre .hljs-literal { color: #c8b9e9; }
/* 无需给 Markdown 表格额外包 HTML：小屏时表格自身横向滚动。 */
#cnblogs_post_body table {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 1.4em 0;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fbfaf5;
  color: var(--ql-paper-ink);
  font-size: 13px;
  line-height: 1.75;
}
#cnblogs_post_body table th, #cnblogs_post_body table td {
  min-width: 108px;
  padding: 11px 13px;
  border: 1px solid #cad4c7;
  background: transparent;
  color: inherit;
  text-align: left;
  vertical-align: top;
}
#cnblogs_post_body table th { background: #e5eadf; font-weight: 600; }
#cnblogs_post_body table tr:nth-child(even) { background: #eff1e8; }
#cnblogs_post_body details { margin: 1.4em 0; padding: 12px 16px; border: 1px solid #cad4c7; border-radius: 7px; }
#cnblogs_post_body summary { cursor: pointer; font-weight: 600; color: #29573c; }
#cnblogs_post_body input[type="checkbox"] { accent-color: #39724c; margin-right: .45em; }

#sideBarMain .newsItem, #sideBarMain .catListView, #sideBarMain .catListComment,
#sideBarMain .catListPostCategory, #sideBarMain .catListPostArchive,
#sideBarMain .catListTag, #sideBarMain .catListEssay, #sideBarMain .catListArticle,
#sideBarMain .catList, #sideBarMain #profile_block, #sideBarMain #calendar {
  margin: 0 0 23px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--ql-muted);
  font-size: 12px;
  line-height: 1.9;
}
#sideBarMain .catListTitle, #sideBarMain .newsItem h3, #sideBarMain h3 {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--ql-line);
  background: transparent;
  color: var(--ql-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
}
#sideBarMain ul { margin: 0; padding-left: 0; list-style: none; }
#sideBarMain li { margin: 6px 0; padding: 0; overflow-wrap: anywhere; }
#sideBarMain a { color: var(--ql-muted); }
#sideBarMain a:hover { color: var(--ql-accent); }
#sideBarMain input[type="text"], #sideBarMain input[type="search"] {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--ql-line);
  border-radius: 5px;
  background: var(--ql-panel);
  color: var(--ql-ink);
}
#sideBarMain .Cal { width: 100%; border: 1px solid var(--ql-line); background: var(--ql-panel); color: var(--ql-muted); }
#sideBarMain .CalTitle, #sideBarMain .CalDayHeader { background: var(--ql-panel-strong); color: var(--ql-ink); }
#sideBarMain .CalTodayDay { background: #365a44; color: #fff; }

/* 可选公告 HTML 使用以下类名；与博客园默认模块互不依赖。 */
.ql-note {
  margin: 0 0 27px;
  padding: 22px 19px;
  border: 1px solid var(--ql-line);
  border-radius: var(--ql-radius);
  background: var(--ql-panel);
}
.ql-note .ql-monogram {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 19px;
  border: 1px solid #638e71;
  border-radius: 50%;
  color: var(--ql-accent);
  font: 14px/1 var(--ql-mono);
  letter-spacing: -.08em;
}
.ql-note .ql-eyebrow { margin: 0 0 7px; color: var(--ql-accent); font: 10px/1.8 var(--ql-mono); letter-spacing: .13em; }
.ql-note .ql-name { margin: 0 0 7px; color: var(--ql-ink); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.ql-note p { margin: 8px 0; color: var(--ql-muted); font-size: 12px; line-height: 1.85; }
.ql-note .ql-status { margin-top: 19px; padding-top: 12px; border-top: 1px solid var(--ql-line); color: var(--ql-accent); font: 10px/1.8 var(--ql-mono); }
.ql-note .ql-status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--ql-accent); vertical-align: middle; }
#home .ql-note a { color: var(--ql-accent); }
.ql-note .ql-course { display: inline-block; margin-top: 5px; font-size: 12px; }

#footer {
  clear: both;
  margin: 46px 0 0;
  padding: 24px 0 32px;
  border: 0;
  border-top: 1px solid var(--ql-line);
  background: transparent;
  color: var(--ql-muted);
  font-size: 11px;
  line-height: 1.9;
  text-align: left;
}
/* 评论功能、文章操作与平台版权保持可见。 */
#blog-comments-placeholder, #comment_form_container, #comment_nav,
#blog_post_info, #post_next_prev { color: var(--ql-muted); }
#comment_form_container textarea { border: 1px solid #9aaa99; background: #f4f3eb; color: #24312b; }
#blog-comments-placeholder .feedbackItem { padding: 16px 0; border-bottom: 1px solid var(--ql-line); }
#blog-comments-placeholder .blog_comment_body { color: var(--ql-ink); }

@media (min-width: 1440px) { #home { max-width: 1300px; } #main { grid-template-columns: minmax(0, 1fr) 265px; gap: 38px; } }
@media (max-width: 880px) {
  #home { padding: 0 24px; }
  #main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #sideBar { width: 100%; }
  #sideBarMain { max-width: none; }
  .ql-note { margin-top: 0; }
  #blogTitle { min-height: 119px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  #home { padding: 0 15px; }
  #header { padding-top: 33px; margin-bottom: 22px; }
  #blogTitle { min-height: 116px; padding-right: 62px; padding-bottom: 23px; }
  #blogTitle h2 { font-size: 12px; letter-spacing: 0; }
  #blogTitle::after { top: 3px; right: 5px; width: 39px; height: 39px; box-shadow: 0 0 0 7px rgba(164,225,186,.035); }
  #navigator { gap: 8px; }
  #navList { gap: 3px 17px; }
  #navList a { font-size: 12px; }
  .day, #topics > .post { padding: 19px 16px 16px; border-radius: 10px; }
  .postTitle { font-size: 23px; }
  #cnblogs_post_body { margin-top: 19px; padding: 20px 15px; font-size: 15px; }
  #cnblogs_post_body h1 { font-size: 24px; }
  #cnblogs_post_body h2 { font-size: 21px; }
  #cnblogs_post_body h3 { font-size: 18px; }
  #cnblogs_post_body pre { padding: 14px; font-size: 12px; }
  #cnblogs_post_body table th, #cnblogs_post_body table td { padding: 9px 10px; }
  #footer { margin-top: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  #home *, #home *::before, #home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: white; color: black; }
  #home { max-width: none; padding: 0; }
  #header { padding-top: 0; }
  #main { display: block; }
  #sideBar, #navigator, #blogTitle::after { display: none; }
  .day, #topics > .post, #cnblogs_post_body { padding: 0; border: 0; background: white; color: black; }
  #home .postTitle a, #blogTitle h1 a, #blogTitle h2, #footer { color: black; }
  #cnblogs_post_body pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f3f3f3; color: black; border-color: #bbb; }
  #cnblogs_post_body pre code { white-space: pre-wrap; }
  #cnblogs_post_body table { display: table; width: 100%; max-width: 100%; font-size: 11px; }
}


/*
 * QuietLoop Enhanced · 可选增强层
 * 用法：先保留 quietloop.css，再把本文件内容粘贴到页面定制 CSS 的末尾。
 * 只依赖 CSS 和侧栏中的内联 SVG，不请求外部字体、图片或脚本。
 * 想恢复原样时，删除本文件对应内容即可；quietloop.css 不受影响。
 */

:root {
  --qlx-mint: #b8efd0;
  --qlx-blue: #8bc7d9;
  --qlx-gold: #f0d998;
  --qlx-glow: rgba(144, 220, 195, .18);
}

/* 一层很轻的环境光，页面仍保持原来的墨绿色底色。 */
body {
  background-image:
    radial-gradient(circle at 12% 7%, rgba(139, 199, 217, .12), transparent 26rem),
    radial-gradient(circle at 92% 78%, rgba(184, 239, 208, .09), transparent 31rem),
    radial-gradient(ellipse at 80% 0, rgba(117, 174, 139, .075), transparent 52%);
}

#home {
  position: relative;
  isolation: isolate;
}

#home::before,
#home::after {
  position: fixed;
  z-index: -1;
  display: block;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(184, 239, 208, .1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  opacity: .7;
  animation: qlx-orbit 18s ease-in-out infinite alternate;
}

#home::before { top: 18vh; right: -9rem; box-shadow: 0 0 0 2rem rgba(184, 239, 208, .025), 0 0 60px var(--qlx-glow); }
#home::after { bottom: -9rem; left: -8rem; animation-delay: -7s; }

#blogTitle {
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

#blogTitle::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--qlx-blue), var(--qlx-mint), transparent);
  content: "";
  animation: qlx-scan 5s ease-in-out infinite;
}

#blogTitle::after {
  border-color: var(--qlx-blue);
  border-right-color: transparent;
  box-shadow: 0 0 0 10px rgba(139, 199, 217, .045), 0 0 24px rgba(139, 199, 217, .18);
  animation: qlx-breathe 4.5s ease-in-out infinite;
}

#blogTitle h1 a { text-shadow: 0 0 26px rgba(184, 239, 208, .09); }
#blogTitle h2::before { margin-right: .55em; color: var(--qlx-blue); content: "//"; font-family: var(--ql-mono); }

#navigator {
  position: relative;
  border-color: rgba(184, 239, 208, .25);
  background: linear-gradient(90deg, rgba(23, 33, 31, .42), rgba(23, 33, 31, .08));
  backdrop-filter: blur(9px);
}

#navList a {
  position: relative;
  transition: color .2s ease, transform .2s ease;
}

#navList a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--qlx-mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

#navList a:hover { transform: translateY(-1px); }
#navList a:hover::after { transform: scaleX(1); transform-origin: left; }

.qlx-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--qlx-blue), var(--qlx-mint), var(--qlx-gold));
  box-shadow: 0 0 12px rgba(184, 239, 208, .55);
  pointer-events: none;
  transition: width .12s ease-out;
}

.day, #topics > .post {
  position: relative;
  overflow: hidden;
  border-color: rgba(184, 239, 208, .2);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .12);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.day::before, #topics > .post::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--qlx-mint));
  content: "";
  opacity: .65;
}

.day:hover, #topics > .post:hover {
  border-color: rgba(184, 239, 208, .42);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .2), 0 0 28px rgba(139, 199, 217, .055);
  transform: translateY(-2px);
}

#cnblogs_post_body {
  box-shadow: inset 0 0 0 1px rgba(42, 68, 53, .035), 0 9px 30px rgba(0, 0, 0, .1);
}

#cnblogs_post_body h2 { border-image: linear-gradient(90deg, #9dc8a8 0 34%, #ced7cc 34%) 1; }
#cnblogs_post_body blockquote { border-left-color: var(--qlx-blue); background: linear-gradient(100deg, #e5eee9, #eef0e7); }
#cnblogs_post_body table th { background: linear-gradient(135deg, #e5eee5, #e6edf0); }

.ql-note, .qlx-links {
  position: relative;
  overflow: hidden;
  border-color: rgba(184, 239, 208, .22);
  background: linear-gradient(145deg, rgba(28, 41, 37, .97), rgba(20, 31, 29, .95));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .13);
}

.ql-note::after, .qlx-links::after {
  position: absolute;
  right: -35px;
  bottom: -52px;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(139, 199, 217, .17);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ql-note .ql-status { color: var(--qlx-mint); }
.ql-note .ql-status::before { background: var(--qlx-blue); box-shadow: 0 0 0 4px rgba(139, 199, 217, .1); }

.qlx-links { margin: 0 0 23px; padding: 18px 19px 15px; border: 1px solid var(--ql-line); border-radius: var(--ql-radius); }
.qlx-kicker { margin: 0 0 8px; color: var(--qlx-blue); font: 10px/1.8 var(--ql-mono); letter-spacing: .12em; }
.qlx-links ul { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.qlx-links li { margin: 0; padding: 0; border-bottom: 1px solid rgba(184, 239, 208, .09); }
.qlx-links li:last-child { border-bottom: 0; }
.qlx-links a { display: block; padding: 7px 0; color: var(--ql-muted); font-size: 12px; transition: color .2s ease, padding-left .2s ease; }
.qlx-links a::before { margin-right: .6em; color: var(--qlx-mint); content: "↗"; font-family: var(--ql-mono); }
.qlx-links a:hover { padding-left: 4px; color: var(--qlx-mint); text-decoration: none; }

.qlx-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184, 239, 208, .32);
  border-radius: 50%;
  background: rgba(23, 33, 31, .88);
  color: var(--qlx-mint);
  font: 15px/1 var(--ql-mono);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.qlx-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.qlx-top:hover { background: #263a31; }

@keyframes qlx-orbit { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(0, 12px, 0) rotate(8deg); } }
@keyframes qlx-breathe { 0%, 100% { transform: rotate(-34deg) scale(1); } 50% { transform: rotate(-27deg) scale(1.06); } }
@keyframes qlx-scan { 0%, 100% { transform: translateX(0); opacity: .7; } 50% { transform: translateX(4rem); opacity: 1; } }

@media (max-width: 880px) {
}

@media (max-width: 520px) {
  .qlx-top { right: 14px; bottom: 14px; width: 35px; height: 35px; }
  #home::before, #home::after { display: none; }
  .day:hover, #topics > .post:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  #home::before, #home::after, #blogTitle::before, #blogTitle::after,
  .qlx-top, .day, #topics > .post, #navList a { transition: none !important; }
}


/*
 * QuietLoop Studio · 主页与文章页功能层
 * 叠加顺序：quietloop.css → quietloop-enhanced.css → 本文件。
 * 动态数据由页脚脚本提供；没有第三方字体、播放器或 Live2D 依赖。
 */

:root {
  --qls-cyan: #9fe3ed;
  --qls-mint: #c9f3d2;
  --qls-violet: #c9c2ff;
  --qls-orange: #ffd99a;
  --qls-glass: rgba(21, 34, 31, .72);
  --qls-soft-line: rgba(201, 243, 210, .18);
}

#blogTitle h1 { position: relative; z-index: 1; }
#blogTitle h1 a {
  display: inline-block;
  background: linear-gradient(105deg, #f3f2e8 18%, var(--qls-mint) 53%, var(--qls-cyan) 86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(159, 227, 237, .11);
  transition: filter .25s ease, letter-spacing .25s ease;
}
#blogTitle h1 a:hover { filter: drop-shadow(0 0 14px rgba(201, 243, 210, .34)); letter-spacing: .012em; }
#blogTitle h2 { max-width: 760px; color: #c8d4ca; }
#blogTitle h2::before { color: var(--qls-cyan); }
#blogTitle h2 { font-size: 21px; font-weight: 700; letter-spacing: .08em; background: linear-gradient(100deg, #f3f2e8, #bfead4 48%, #9fe3ed); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 24px rgba(159, 227, 237, .2); }
#blogCalendar { display: none !important; }

#qlx-studio-bar {
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 13px 0 25px;
  padding: 11px 14px;
  border: 1px solid var(--qls-soft-line);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(28, 45, 40, .82), rgba(22, 35, 37, .58));
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}
.qls-avatar-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 243, 210, .56);
  border-radius: 11px;
  background: linear-gradient(145deg, #27473a, #14241f);
  color: var(--qls-mint);
  font: 10px/1 var(--ql-mono);
  letter-spacing: -.06em;
  box-shadow: 0 0 0 4px rgba(159, 227, 237, .045);
}
.qls-avatar-badge img { display: block; width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.qls-clock-badge { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(159, 227, 237, .55); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(159, 227, 237, .24), rgba(20, 36, 37, .9)); color: #bcecf0; font: 600 24px/1 var(--ql-mono); box-shadow: 0 0 18px rgba(159, 227, 237, .2); animation: qls-clock-pulse 3.2s ease-in-out infinite; }
.qls-clock, .qls-weather { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.qls-clock strong { color: #f0f5e8; font: 600 16px/1.25 var(--ql-mono); letter-spacing: .04em; }
.qls-clock small, .qls-weather small { color: #93a99b; font-size: 10px; }
.qls-weather-icon { font-size: 18px; line-height: 1; filter: drop-shadow(0 0 7px rgba(255, 217, 154, .22)); }
.qls-weather-text { color: #c5d7ca; font-size: 13px; }
.qls-weather { position: relative; cursor: pointer; outline: none; }
.qls-weather-detail { position: absolute; z-index: 4; top: calc(100% + 10px); left: 0; min-width: 230px; padding: 10px 12px; border: 1px solid rgba(159, 227, 237, .35); border-radius: 10px; background: rgba(16, 28, 34, .95); box-shadow: 0 14px 35px rgba(0, 0, 0, .3); color: #dcece2; font-size: 11px; line-height: 1.7; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.qls-weather:hover .qls-weather-detail, .qls-weather.is-open .qls-weather-detail, .qls-weather:focus-within .qls-weather-detail { opacity: 1; pointer-events: auto; transform: translateY(0); }
.qls-quote-line { min-width: 0; overflow: hidden; color: #d3e0d3; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; }
.qls-quote-line::before { margin-right: .55em; color: var(--qls-orange); content: "✦"; }
.qls-scene-label { color: var(--qls-cyan); font: 10px/1.8 var(--ql-mono); letter-spacing: .1em; }
.qls-scene-mark { color: var(--qls-orange); font-size: 20px; line-height: 1; animation: qls-scene-float 4s ease-in-out infinite; }

.qls-profile-card, .qls-studio-card, .qls-social-card, .qls-calendar-card, .qls-hot-card, .qls-reader-card, .qls-toc-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 23px;
  padding: 17px 16px 15px;
  border: 1px solid var(--qls-soft-line);
  border-radius: var(--ql-radius);
  background: linear-gradient(145deg, rgba(29, 44, 39, .95), rgba(20, 31, 30, .97));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .14);
}
.qls-profile-card::after, .qls-studio-card::after, .qls-social-card::after, .qls-calendar-card::after, .qls-hot-card::after, .qls-reader-card::after, .qls-toc-card::after {
  position: absolute;
  right: -34px;
  bottom: -53px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(159, 227, 237, .15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.qls-kicker { margin: 0 0 9px; color: var(--qls-cyan); font: 11px/1.8 var(--ql-mono); letter-spacing: .12em; }
.qls-label { color: #8fa79a; font-size: 10px; }
.qls-value { color: #e4eee2; font: 600 16px/1.5 var(--ql-mono); }

.qls-source-link { color: #8aa99a !important; font-size: 11px !important; }

#qlx-profile-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-start; gap: 10px; max-width: 310px; margin: 3px auto 15px 0; padding: 8px 10px; border: 1px solid rgba(159, 227, 237, .22); border-radius: 13px; background: linear-gradient(135deg, rgba(28, 48, 67, .78), rgba(21, 32, 42, .6)); box-shadow: 0 9px 26px rgba(0, 0, 0, .12); }
.qls-top-profile-art { display: block; width: 58px; height: 58px; flex: 0 0 58px; border: 1px solid rgba(159, 227, 237, .42); border-radius: 11px; object-fit: cover; }
.qls-top-profile-copy { min-width: 0; text-align: left; align-items: flex-start; }
.qls-top-profile-copy .qls-kicker { margin-bottom: 1px; font-size: 10px; }
.qls-top-profile-copy strong { display: block; color: #f2f7f0; font-size: 14px; letter-spacing: .04em; }
.qls-top-profile-copy small { display: block; margin-top: 2px; color: #a9c0c0; font-size: 10px; }
.qls-top-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 7px; justify-content: start; }
.qls-top-account-stats a { display: grid; gap: 1px; padding: 3px 5px; border: 1px solid rgba(201, 243, 210, .14); border-radius: 6px; color: #c8d9d4 !important; text-align: center; text-decoration: none !important; }
.qls-top-account-stats a:hover { background: rgba(159, 227, 237, .13); }
.qls-top-account-stats b { color: #eef8eb; font: 600 12px/1 var(--ql-mono); }
.qls-top-account-stats span { color: #93aaa3; font-size: 9px; }

.qls-profile-card { display: grid; grid-template-columns: 92px 1fr; gap: 13px; padding: 13px; background: linear-gradient(135deg, rgba(35, 50, 73, .96), rgba(23, 35, 45, .98)); }
.qls-profile-art-wrap { position: relative; z-index: 1; display: grid; place-items: center; min-height: 92px; overflow: hidden; border: 1px solid rgba(159, 227, 237, .4); border-radius: 13px; background: #1b5a9a; }
.qls-profile-art { display: block; width: 100%; height: 92px; object-fit: cover; }
.qls-profile-copy { position: relative; z-index: 1; min-width: 0; }
.qls-profile-copy .qls-kicker { margin-bottom: 2px; }
.qls-profile-copy h3 { margin: 0; color: #f4f7ef; font-size: 20px; letter-spacing: .02em; }
.qls-profile-copy p:not(.qls-kicker) { margin: 3px 0 10px; color: #c7d6df; font-size: 12px; }
.qls-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.qls-account-stats a { display: grid; gap: 1px; padding: 5px 2px; border: 1px solid rgba(201, 243, 210, .15); border-radius: 8px; color: #c8d9d4 !important; text-align: center; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.qls-account-stats a:hover { background: rgba(159, 227, 237, .14); transform: translateY(-2px); }
.qls-account-stats strong { color: #f1f6ed; font: 600 15px/1.1 var(--ql-mono); }
.qls-account-stats span { color: #96ada7; font-size: 10px; }

.qls-live-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.qls-live-cell { padding: 9px 8px; border: 1px solid rgba(201, 243, 210, .11); border-radius: 9px; background: rgba(8, 19, 17, .18); }
.qls-live-cell:last-child { grid-column: span 2; }
.qls-live-cell strong { display: block; margin-top: 2px; color: #e1eee0; font: 600 15px/1.55 var(--ql-mono); }
.qls-live-cell small { display: block; color: #8ca497; font-size: 10px; }
.qls-quote { position: relative; z-index: 1; display: block; margin: 11px 0 0; padding-top: 10px; border-top: 1px solid rgba(201, 243, 210, .12); color: #c1d2c4 !important; font-size: 13px; line-height: 1.8; text-decoration: none !important; }
.qls-quote:hover { color: #f2f8eb !important; }
.qls-quote::before { margin-right: .45em; color: var(--qls-orange); content: "✦"; }

.qls-social-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.qls-social-link { display: grid; place-items: center; min-width: 0; min-height: 52px; padding: 7px 3px; border: 1px solid rgba(201, 243, 210, .2); border-radius: 11px; background: rgba(8, 19, 17, .22); color: #b8cbbd !important; text-decoration: none !important; transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.qls-social-link:hover { border-color: rgba(201, 243, 210, .55); background: rgba(76, 124, 101, .28); color: #eff8e8 !important; transform: translateY(-2px); }
.qls-social-link:hover { box-shadow: 0 7px 18px rgba(0, 0, 0, .18); }
.qls-social-link img { display: block; width: 32px; height: 32px; object-fit: contain; }
.qls-app-note { margin-top: 10px !important; text-align: center; }

.qls-calendar-card { background: linear-gradient(145deg, rgba(45, 38, 66, .94), rgba(24, 28, 46, .98)); }
.qls-calendar-head, .qls-hot-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.qls-calendar-head strong { color: #f0eaff; font: 600 17px/1.4 var(--ql-mono); }
.qls-calendar-actions { display: flex; gap: 4px; }
.qls-calendar-actions button { width: 26px; height: 26px; padding: 0; border: 1px solid rgba(201, 194, 255, .35); border-radius: 7px; background: rgba(201, 194, 255, .1); color: #e6dcff; cursor: pointer; font-size: 21px; line-height: 21px; }
.qls-calendar-actions button:hover { background: rgba(201, 194, 255, .25); }
.qls-calendar-week, .qls-calendar-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.qls-calendar-week { margin: 12px 0 5px; color: #aeabd1; font-size: 10px; text-align: center; }
.qls-calendar-grid { min-height: 168px; }
.qls-calendar-empty { min-height: 28px; }
.qls-calendar-day { position: relative; min-height: 28px; padding: 4px 2px; border: 1px solid transparent; border-radius: 7px; background: rgba(8, 19, 17, .16); color: #d9d6e9; cursor: pointer; font: 12px/1 var(--ql-mono); }
.qls-calendar-day:hover, .qls-calendar-day.is-selected { border-color: rgba(201, 194, 255, .65); background: rgba(201, 194, 255, .2); }
.qls-calendar-day.is-today { border-color: rgba(159, 227, 237, .8); color: #f5ffff; }
.qls-calendar-day.is-weekend { color: #c6b8e6; }
.qls-calendar-day i, .qls-calendar-day b { position: absolute; right: 3px; bottom: 2px; font-size: 8px; font-style: normal; font-weight: 600; }
.qls-calendar-day i { color: #ffd99a; }
.qls-calendar-day b { color: #9fe3ed; }
.qls-calendar-detail { position: relative; z-index: 1; min-height: 38px; margin-top: 10px; padding: 8px 9px; border-top: 1px solid rgba(201, 194, 255, .18); color: #cbc6e4; font-size: 11px; line-height: 1.65; }
.qls-calendar-tools { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.qls-calendar-tools button { padding: 5px 8px; border: 1px solid rgba(201, 194, 255, .28); border-radius: 7px; background: rgba(201, 194, 255, .09); color: #dcd5f2; cursor: pointer; font-size: 10px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.qls-calendar-tools button:hover { border-color: rgba(159, 227, 237, .7); background: rgba(159, 227, 237, .14); transform: translateY(-1px); }
.qls-todo-form { position: relative; z-index: 1; display: grid; gap: 7px; margin-top: 9px; padding: 8px; border: 1px solid rgba(159, 227, 237, .22); border-radius: 9px; background: rgba(7, 17, 24, .24); }
.qls-todo-form[hidden] { display: none; }
.qls-todo-form label { display: grid; gap: 4px; color: #c9d9d1; font-size: 10px; }
.qls-todo-form input { width: 100%; box-sizing: border-box; padding: 6px 7px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(3, 10, 13, .35); color: #eef8f0; font: 11px/1.4 var(--ql-mono); outline: none; }
.qls-todo-form input:focus { border-color: rgba(159, 227, 237, .8); box-shadow: 0 0 0 2px rgba(159, 227, 237, .12); }
.qls-todo-form > div { display: flex; gap: 6px; }
.qls-todo-form button { padding: 5px 8px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(159, 227, 237, .1); color: #dff4ed; cursor: pointer; font-size: 10px; }
.qls-todo-form button:hover { border-color: rgba(159, 227, 237, .8); background: rgba(159, 227, 237, .18); }
.qls-calendar-note { position: relative; z-index: 1; display: block; margin-top: 7px; color: #9994b4; font-size: 9px; line-height: 1.5; }

.qls-hot-card { background: linear-gradient(145deg, rgba(45, 56, 43, .95), rgba(20, 35, 32, .98)); }
.qls-hot-tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 2px 0 10px; }
.qls-hot-tabs button { padding: 5px 3px; border: 1px solid rgba(191, 232, 208, .18); border-radius: 7px; background: rgba(8, 19, 17, .2); color: #a6bdb1; cursor: pointer; font-size: 11px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.qls-hot-tabs button:hover, .qls-hot-tabs button.is-active { border-color: rgba(159, 227, 237, .62); background: rgba(159, 227, 237, .13); color: #f0f8ee; }
.qls-hot-list { position: relative; z-index: 1; margin: 2px 0 0; padding: 0 0 0 18px; }
.qls-hot-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin: 7px 0; padding-left: 2px; color: #b8c9bd; font-size: 12px; line-height: 1.45; }
.qls-hot-list a { color: #d8e8d8 !important; text-decoration: none !important; }
.qls-hot-list a:hover { color: #9fe3ed !important; }
.qls-hot-score { color: #ffd99a; font: 10px/1.5 var(--ql-mono); white-space: nowrap; }

.qls-reader-card { padding-bottom: 14px; }
.qls-reader-row { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 10px; margin: 7px 0; color: #9fb3a3; font-size: 11px; }
.qls-reader-row strong { color: #dfeadf; font-weight: 600; }
.qls-reader-meter { position: relative; z-index: 1; height: 4px; margin-top: 10px; overflow: hidden; border-radius: 4px; background: rgba(201, 243, 210, .1); }
.qls-reader-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--qls-cyan), var(--qls-mint)); transition: width .2s ease; }

.qls-toc-card { padding-bottom: 12px; }
.qls-toc-card[hidden] { display: none; }
.qls-toc-list { position: relative; z-index: 1; max-height: 42vh; margin: 0; padding: 0 0 2px; overflow-y: auto; list-style: none; }
.qls-toc-list li { margin: 0; padding: 0; border-left: 1px solid rgba(201, 243, 210, .11); }
.qls-toc-list li.qls-toc-h3 { padding-left: 8px; }
.qls-toc-list a { display: block; padding: 5px 8px; overflow: hidden; color: #9eb4a4 !important; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; transition: color .2s ease, border-color .2s ease, padding-left .2s ease; }
.qls-toc-list a:hover, .qls-toc-list a.is-active { padding-left: 11px; border-left: 2px solid var(--qls-cyan); color: #e3f0e0 !important; }

.qlx-links li { border-bottom: 0 !important; }
.qlx-links li a { display: grid !important; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 6px; margin: 6px 0; padding: 8px 9px !important; border: 1px solid rgba(201, 243, 210, .12); border-radius: 9px; background: linear-gradient(100deg, rgba(201, 243, 210, .06), rgba(159, 227, 237, .03)); color: #d2e1d4 !important; font-size: 13px !important; text-decoration: none !important; }
.qlx-links li a::before { display: none !important; }
.qlx-links li a:hover { padding-left: 12px !important; border-color: rgba(159, 227, 237, .52); background: rgba(159, 227, 237, .12); }
.qls-link-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(159, 227, 237, .32); border-radius: 7px; color: #9fe3ed; font: 600 14px/1 var(--ql-mono); }
.qlx-links li:nth-child(2) .qls-link-icon { color: #ffd99a; border-color: rgba(255, 217, 154, .35); }
.qlx-links li:nth-child(3) .qls-link-icon { color: #c9c2ff; border-color: rgba(201, 194, 255, .35); }
.qlx-links li:nth-child(4) .qls-link-icon { color: #c9f3d2; border-color: rgba(201, 243, 210, .35); }
.qlx-links li a b { color: #8ea99a; font: 13px/1 var(--ql-mono); }

#qlx-floating-nav { position: fixed; z-index: 10000; top: 50%; left: 12px; display: grid; gap: 7px; padding: 8px 6px; border: 1px solid rgba(159, 227, 237, .26); border-radius: 14px; background: rgba(20, 30, 41, .8); box-shadow: 0 16px 35px rgba(0, 0, 0, .25); opacity: .82; transform: translateY(-50%); backdrop-filter: blur(12px); }
#qlx-floating-nav a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid transparent; border-radius: 10px; color: #a9c9c1 !important; text-decoration: none !important; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
#qlx-floating-nav a span { font-size: 19px; line-height: 1; }
#qlx-floating-nav a b { position: absolute; left: 55px; padding: 4px 7px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(15, 27, 31, .96); color: #e8f2e8; font-size: 11px; font-weight: 500; opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .2s ease, transform .2s ease; transform: translateX(-4px); }
#qlx-floating-nav a:hover { border-color: rgba(159, 227, 237, .6); background: rgba(159, 227, 237, .14); color: #f3faed !important; transform: translateX(2px); }
#qlx-floating-nav a:hover b { opacity: 1; transform: translateX(0); }

.qlx-pointer {
  position: fixed;
  z-index: 9998;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(159, 227, 237, .65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease, opacity .2s ease, border-color .2s ease;
}
.qlx-pointer.is-ready { opacity: .7; }
.qlx-pointer.is-hover { width: 28px; height: 28px; border-color: var(--qls-mint); }
.qlx-click-ripple { position: fixed; z-index: 9997; width: 8px; height: 8px; border: 1px solid var(--qls-cyan); border-radius: 50%; pointer-events: none; animation: qls-ripple .65s ease-out forwards; }
.qlx-particle { position: fixed; z-index: 9996; width: 5px; height: 5px; border-radius: 50%; background: hsl(var(--qlx-particle-hue), 82%, 72%); box-shadow: 0 0 7px currentColor; pointer-events: none; animation: qls-particle .7s ease-out forwards; }
.qlx-click-glyph { position: fixed; z-index: 9999; color: var(--qls-orange); pointer-events: none; font: 600 20px/1 var(--ql-mono); text-shadow: 0 0 9px rgba(255, 217, 154, .7); transform: translate(-50%, -50%); animation: qls-glyph .8s ease-out forwards; }

body.qlx-scene-night { --qls-cyan: #b8c9ff; --qls-mint: #c7d6ff; }
body.qlx-scene-night #home::before { box-shadow: 0 0 0 2rem rgba(184, 201, 255, .035), 0 0 70px rgba(184, 201, 255, .16); }
body.qlx-scene-morning #home::before { box-shadow: 0 0 0 2rem rgba(255, 217, 154, .03), 0 0 70px rgba(255, 217, 154, .12); }
body.qlx-scene-evening #home::after { box-shadow: 0 0 0 2rem rgba(201, 194, 255, .035), 0 0 70px rgba(201, 194, 255, .15); }

@keyframes qls-ripple { from { opacity: .85; transform: translate(-50%, -50%) scale(.7); } to { opacity: 0; transform: translate(-50%, -50%) scale(5); } }
@keyframes qls-particle { from { opacity: .85; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(calc(-50% + var(--qlx-particle-x)), calc(-50% + var(--qlx-particle-y))) scale(.1); } }
@keyframes qls-glyph { from { opacity: .95; transform: translate(-50%, -50%) scale(.8) rotate(0); } to { opacity: 0; transform: translate(-50%, -145%) scale(1.5) rotate(25deg); } }
@keyframes qls-clock-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(159, 227, 237, .18); } 50% { transform: scale(1.06); box-shadow: 0 0 26px rgba(159, 227, 237, .36); } }
@keyframes qls-scene-float { 0%, 100% { transform: translateY(0) rotate(-5deg); opacity: .75; } 50% { transform: translateY(-3px) rotate(8deg); opacity: 1; } }

/* 博客园某些布局会把公告节点复制到同一容器；只保留第一份完整组件。 */
#sidebar_news_content > section:nth-of-type(n+8),
#sidebar_news_content > button#qlx-top:nth-of-type(n+2) { display: none !important; }

@media (max-width: 1100px) {
  #qlx-floating-nav { display: none; }
}
@media (max-width: 880px) {
  #qlx-studio-bar { grid-template-columns: auto auto 1fr; }
  .qls-quote-line { grid-column: 1 / -1; grid-row: 2; }
  .qls-scene-label { justify-self: end; }
  .qls-toc-list { max-height: 25vh; }
}
@media (min-width: 881px) {
  .qls-live-grid .qls-live-cell:last-child { grid-column: span 1; }
}
@media (max-width: 520px) {
  #qlx-studio-bar { grid-template-columns: auto 1fr; gap: 9px; margin-bottom: 19px; }
  .qls-weather { justify-self: end; }
  .qls-scene-label { grid-column: 1 / -1; justify-self: start; }
  .qls-social-list { gap: 4px; }
  .qls-social-link { min-height: 42px; }
  .qls-social-link img { width: 24px; height: 24px; }
  #qlx-profile-top { max-width: none; margin: 2px 0 14px; }
  .qls-top-profile-art { width: 52px; height: 52px; flex-basis: 52px; }
  #blogTitle h2 { font-size: 16px; letter-spacing: .04em; }
  .qls-calendar-grid { min-height: 160px; }
  #qlx-floating-nav { display: none; }
  .qlx-pointer, .qlx-click-ripple, .qlx-particle, .qlx-click-glyph { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .qlx-pointer, .qlx-click-ripple, .qlx-particle, .qlx-click-glyph { animation: none !important; transition: none !important; }
}

/*
 * QuietLoop · Personal technical notebook
 * 适用于博客园 BlackLowKey 皮肤。保留博客园默认 CSS，再粘贴本文件。
 * 无 JavaScript、无字体请求、无外部图片请求。原创样式，可自行修改。
 */
:root {
  --ql-bg: #101716;
  --ql-panel: #17211f;
  --ql-panel-strong: #1c2925;
  --ql-line: #34463e;
  --ql-ink: #edf0e6;
  --ql-muted: #b4c1b6;
  --ql-accent: #a4e1ba;
  --ql-paper: #f4f3eb;
  --ql-paper-ink: #24312b;
  --ql-paper-muted: #57655c;
  --ql-radius: 14px;
  --ql-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ql-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
  margin: 0;
  color: var(--ql-ink);
  font-family: var(--ql-sans);
  font-size: 16px;
  line-height: 1.8;
  background-color: var(--ql-bg);
  background-image: radial-gradient(ellipse at 80% 0, rgba(117, 174, 139, .075), transparent 52%);
}

/* #home 内定制；不覆盖博客园顶部平台导航。 */
#home, #home *, #home *::before, #home *::after { box-sizing: border-box; }
#home {
  width: auto;
  max-width: 1220px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 32px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
#home a { color: var(--ql-accent); text-decoration: none; }
#home a:hover { text-decoration: underline; text-underline-offset: .22em; }
#home a:focus-visible, #home button:focus-visible, #home input:focus-visible,
#home textarea:focus-visible, #home select:focus-visible {
  outline: 3px solid var(--ql-accent);
  outline-offset: 4px;
  border-radius: 3px;
}
#home img { max-width: 100%; height: auto; }
#home input, #home textarea, #home select, #home button {
  max-width: 100%;
  font: inherit;
}

#header {
  height: auto;
  min-height: 0;
  margin: 0 0 30px;
  padding: 53px 0 0;
  border: 0;
  background: transparent;
}
#blogTitle {
  position: relative;
  height: auto;
  min-height: 128px;
  margin: 0;
  padding: 0 90px 26px 0;
  background: transparent;
}
#blogTitle::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 7px;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ql-accent);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-34deg);
  box-shadow: 0 0 0 10px rgba(164, 225, 186, .035);
}
#blogTitle h1 {
  float: none;
  margin: 0 0 9px;
  padding: 0;
  font: 600 clamp(34px, 5vw, 54px)/1.14 var(--ql-sans);
  letter-spacing: -.045em;
  color: var(--ql-ink);
}
#blogTitle h1 a, #Header1_HeaderTitle { color: var(--ql-ink); }
#blogTitle h1 a:hover { color: var(--ql-accent); text-decoration: none; }
#blogTitle h2 {
  float: none;
  max-width: 650px;
  margin: 0;
  padding: 0;
  color: var(--ql-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .035em;
}
#navigator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  height: auto;
  min-height: 53px;
  margin: 0;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--ql-line);
  border-bottom: 1px solid var(--ql-line);
  background: transparent;
}
#navList {
  display: flex;
  flex-wrap: wrap;
  float: none;
  gap: 5px 22px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
#navList li { float: none; width: auto; margin: 0; padding: 0; list-style: none; }
#navList a {
  display: inline-block;
  height: auto;
  padding: 4px 0;
  background: transparent;
  color: var(--ql-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}
#navList a:hover { color: var(--ql-accent); background: transparent; }
#navigator .blogStats {
  float: none;
  margin: 0;
  padding: 0;
  color: var(--ql-muted);
  font: 11px/1.8 var(--ql-mono);
  text-align: left;
}

#main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 30px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
#mainContent, #sideBar {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
#mainContent > .forFlow { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
#sideBarMain { width: auto; min-width: 0; margin: 0; padding: 0; color: var(--ql-muted); }
#main > .clear { display: none; }

.day, #topics > .post {
  width: auto;
  min-width: 0;
  margin: 0 0 24px;
  padding: 25px 28px 20px;
  overflow-wrap: anywhere;
  border: 1px solid var(--ql-line);
  border-radius: var(--ql-radius);
  background: var(--ql-panel);
  box-shadow: none;
}
.dayTitle {
  float: none;
  width: auto;
  height: auto;
  margin: 0 0 15px;
  padding: 0;
  background: transparent;
  color: var(--ql-muted);
  font: 11px/1.8 var(--ql-mono);
  letter-spacing: .08em;
}
#home .dayTitle a { color: var(--ql-muted); }
.postTitle {
  float: none;
  width: auto;
  margin: 0 0 15px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: clamp(21px, 2.6vw, 29px);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.035em;
}
#home .postTitle a { color: var(--ql-ink); }
#home .postTitle a:hover { color: var(--ql-accent); }
.postCon { float: none; width: auto; padding: 0; color: var(--ql-muted); line-height: 1.9; }
.postCon .c_b_p_desc { padding: 0; color: var(--ql-muted); font-size: 14px; line-height: 1.9; }
.postDesc, .postSeparator {
  float: none;
  width: auto;
  height: auto;
  margin: 18px 0 0;
  padding: 13px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ql-line);
  color: var(--ql-muted);
  font-size: 11px;
  line-height: 1.9;
  text-align: left;
}
.postSeparator:empty { margin: 0; padding: 0; border: 0; }

/* 正文用暖灰纸色，保持长篇阅读与代码、截图的清晰度。 */
#cnblogs_post_body {
  min-width: 0;
  margin: 21px 0 0;
  padding: clamp(20px, 3.5vw, 36px);
  border-radius: 9px;
  background: var(--ql-paper);
  color: var(--ql-paper-ink);
  font: 16px/1.95 var(--ql-sans);
  overflow-wrap: anywhere;
}
#cnblogs_post_body > :first-child { margin-top: 0; }
#cnblogs_post_body > :last-child { margin-bottom: 0; }
#cnblogs_post_body p { margin: 1em 0; line-height: 1.95; }
#cnblogs_post_body h1, #cnblogs_post_body h2, #cnblogs_post_body h3,
#cnblogs_post_body h4, #cnblogs_post_body h5, #cnblogs_post_body h6 {
  margin: 1.9em 0 .7em;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ql-paper-ink);
  font-family: var(--ql-sans);
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.02em;
}
#cnblogs_post_body h1 { font-size: 28px; }
#cnblogs_post_body h2 { font-size: 24px; padding-bottom: .35em; border-bottom: 1px solid #ced7cc; }
#cnblogs_post_body h3 { font-size: 20px; }
#cnblogs_post_body h4 { font-size: 18px; }
#cnblogs_post_body a { color: #236342; text-decoration: underline; text-underline-offset: .2em; }
#cnblogs_post_body a:hover { color: #143e2b; }
#cnblogs_post_body a:focus-visible { outline-color: #236342; }
#cnblogs_post_body strong { color: #163b2c; font-weight: 700; }
#cnblogs_post_body blockquote {
  margin: 1.5em 0;
  padding: 12px 19px;
  border: 0;
  border-left: 3px solid #508360;
  border-radius: 0 6px 6px 0;
  background: #e7eadf;
  color: #3b5142;
}
#cnblogs_post_body blockquote p { margin: .3em 0; }
#cnblogs_post_body ul, #cnblogs_post_body ol { padding-left: 1.55em; margin: 1em 0; }
#cnblogs_post_body li { margin: .38em 0; }
#cnblogs_post_body li > p { margin: .4em 0; }
#cnblogs_post_body hr { height: 1px; margin: 2em 0; border: 0; background: #ced7cc; }
#cnblogs_post_body img { display: block; max-width: 100%; height: auto; margin: 1.5em auto .6em; border-radius: 7px; }
#cnblogs_post_body figure { margin: 1.5em 0; }
#cnblogs_post_body figcaption { color: var(--ql-paper-muted); font-size: 12px; text-align: center; }
#cnblogs_post_body :not(pre) > code {
  padding: .16em .4em;
  border: 1px solid #d8dfd1;
  border-radius: 4px;
  background: #e5e9de;
  color: #29573c;
  font: .88em/1.6 var(--ql-mono);
  overflow-wrap: anywhere;
}
#cnblogs_post_body pre {
  display: block;
  max-width: 100%;
  margin: 1.4em 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid #33483c;
  border-radius: 7px;
  background: #18231d;
  color: #e0ecda;
  text-shadow: none;
  tab-size: 4;
  white-space: pre;
  overflow-wrap: normal;
  font: 13px/1.8 var(--ql-mono);
}
#cnblogs_post_body pre code,
#cnblogs_post_body pre code.hljs {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  white-space: pre;
  overflow-wrap: normal;
  font: inherit;
}
#cnblogs_post_body pre .hljs-comment, #cnblogs_post_body pre .hljs-quote { color: #a8bba4; }
#cnblogs_post_body pre .hljs-keyword, #cnblogs_post_body pre .hljs-selector-tag { color: #b4dbc3; }
#cnblogs_post_body pre .hljs-string, #cnblogs_post_body pre .hljs-title { color: #dfd69e; }
#cnblogs_post_body pre .hljs-number, #cnblogs_post_body pre .hljs-literal { color: #c8b9e9; }
/* 无需给 Markdown 表格额外包 HTML：小屏时表格自身横向滚动。 */
#cnblogs_post_body table {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 1.4em 0;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fbfaf5;
  color: var(--ql-paper-ink);
  font-size: 13px;
  line-height: 1.75;
}
#cnblogs_post_body table th, #cnblogs_post_body table td {
  min-width: 108px;
  padding: 11px 13px;
  border: 1px solid #cad4c7;
  background: transparent;
  color: inherit;
  text-align: left;
  vertical-align: top;
}
#cnblogs_post_body table th { background: #e5eadf; font-weight: 600; }
#cnblogs_post_body table tr:nth-child(even) { background: #eff1e8; }
#cnblogs_post_body details { margin: 1.4em 0; padding: 12px 16px; border: 1px solid #cad4c7; border-radius: 7px; }
#cnblogs_post_body summary { cursor: pointer; font-weight: 600; color: #29573c; }
#cnblogs_post_body input[type="checkbox"] { accent-color: #39724c; margin-right: .45em; }

#sideBarMain .newsItem, #sideBarMain .catListView, #sideBarMain .catListComment,
#sideBarMain .catListPostCategory, #sideBarMain .catListPostArchive,
#sideBarMain .catListTag, #sideBarMain .catListEssay, #sideBarMain .catListArticle,
#sideBarMain .catList, #sideBarMain #profile_block, #sideBarMain #calendar {
  margin: 0 0 23px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--ql-muted);
  font-size: 12px;
  line-height: 1.9;
}
#sideBarMain .catListTitle, #sideBarMain .newsItem h3, #sideBarMain h3 {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--ql-line);
  background: transparent;
  color: var(--ql-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
}
#sideBarMain ul { margin: 0; padding-left: 0; list-style: none; }
#sideBarMain li { margin: 6px 0; padding: 0; overflow-wrap: anywhere; }
#sideBarMain a { color: var(--ql-muted); }
#sideBarMain a:hover { color: var(--ql-accent); }
#sideBarMain input[type="text"], #sideBarMain input[type="search"] {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--ql-line);
  border-radius: 5px;
  background: var(--ql-panel);
  color: var(--ql-ink);
}
#sideBarMain .Cal { width: 100%; border: 1px solid var(--ql-line); background: var(--ql-panel); color: var(--ql-muted); }
#sideBarMain .CalTitle, #sideBarMain .CalDayHeader { background: var(--ql-panel-strong); color: var(--ql-ink); }
#sideBarMain .CalTodayDay { background: #365a44; color: #fff; }

/* 可选公告 HTML 使用以下类名；与博客园默认模块互不依赖。 */
.ql-note {
  margin: 0 0 27px;
  padding: 22px 19px;
  border: 1px solid var(--ql-line);
  border-radius: var(--ql-radius);
  background: var(--ql-panel);
}
.ql-note .ql-monogram {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 19px;
  border: 1px solid #638e71;
  border-radius: 50%;
  color: var(--ql-accent);
  font: 14px/1 var(--ql-mono);
  letter-spacing: -.08em;
}
.ql-note .ql-eyebrow { margin: 0 0 7px; color: var(--ql-accent); font: 10px/1.8 var(--ql-mono); letter-spacing: .13em; }
.ql-note .ql-name { margin: 0 0 7px; color: var(--ql-ink); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.ql-note p { margin: 8px 0; color: var(--ql-muted); font-size: 12px; line-height: 1.85; }
.ql-note .ql-status { margin-top: 19px; padding-top: 12px; border-top: 1px solid var(--ql-line); color: var(--ql-accent); font: 10px/1.8 var(--ql-mono); }
.ql-note .ql-status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--ql-accent); vertical-align: middle; }
#home .ql-note a { color: var(--ql-accent); }
.ql-note .ql-course { display: inline-block; margin-top: 5px; font-size: 12px; }

#footer {
  clear: both;
  margin: 46px 0 0;
  padding: 24px 0 32px;
  border: 0;
  border-top: 1px solid var(--ql-line);
  background: transparent;
  color: var(--ql-muted);
  font-size: 11px;
  line-height: 1.9;
  text-align: left;
}
/* 评论功能、文章操作与平台版权保持可见。 */
#blog-comments-placeholder, #comment_form_container, #comment_nav,
#blog_post_info, #post_next_prev { color: var(--ql-muted); }
#comment_form_container textarea { border: 1px solid #9aaa99; background: #f4f3eb; color: #24312b; }
#blog-comments-placeholder .feedbackItem { padding: 16px 0; border-bottom: 1px solid var(--ql-line); }
#blog-comments-placeholder .blog_comment_body { color: var(--ql-ink); }

@media (min-width: 1440px) { #home { max-width: 1300px; } #main { grid-template-columns: minmax(0, 1fr) 265px; gap: 38px; } }
@media (max-width: 880px) {
  #home { padding: 0 24px; }
  #main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #sideBar { width: 100%; }
  #sideBarMain { max-width: none; }
  .ql-note { margin-top: 0; }
  #blogTitle { min-height: 119px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  #home { padding: 0 15px; }
  #header { padding-top: 33px; margin-bottom: 22px; }
  #blogTitle { min-height: 116px; padding-right: 62px; padding-bottom: 23px; }
  #blogTitle h2 { font-size: 12px; letter-spacing: 0; }
  #blogTitle::after { top: 3px; right: 5px; width: 39px; height: 39px; box-shadow: 0 0 0 7px rgba(164,225,186,.035); }
  #navigator { gap: 8px; }
  #navList { gap: 3px 17px; }
  #navList a { font-size: 12px; }
  .day, #topics > .post { padding: 19px 16px 16px; border-radius: 10px; }
  .postTitle { font-size: 23px; }
  #cnblogs_post_body { margin-top: 19px; padding: 20px 15px; font-size: 15px; }
  #cnblogs_post_body h1 { font-size: 24px; }
  #cnblogs_post_body h2 { font-size: 21px; }
  #cnblogs_post_body h3 { font-size: 18px; }
  #cnblogs_post_body pre { padding: 14px; font-size: 12px; }
  #cnblogs_post_body table th, #cnblogs_post_body table td { padding: 9px 10px; }
  #footer { margin-top: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  #home *, #home *::before, #home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: white; color: black; }
  #home { max-width: none; padding: 0; }
  #header { padding-top: 0; }
  #main { display: block; }
  #sideBar, #navigator, #blogTitle::after { display: none; }
  .day, #topics > .post, #cnblogs_post_body { padding: 0; border: 0; background: white; color: black; }
  #home .postTitle a, #blogTitle h1 a, #blogTitle h2, #footer { color: black; }
  #cnblogs_post_body pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f3f3f3; color: black; border-color: #bbb; }
  #cnblogs_post_body pre code { white-space: pre-wrap; }
  #cnblogs_post_body table { display: table; width: 100%; max-width: 100%; font-size: 11px; }
}


/*
 * QuietLoop Enhanced · 可选增强层
 * 用法：先保留 quietloop.css，再把本文件内容粘贴到页面定制 CSS 的末尾。
 * 只依赖 CSS 和侧栏中的内联 SVG，不请求外部字体、图片或脚本。
 * 想恢复原样时，删除本文件对应内容即可；quietloop.css 不受影响。
 */

:root {
  --qlx-mint: #b8efd0;
  --qlx-blue: #8bc7d9;
  --qlx-gold: #f0d998;
  --qlx-glow: rgba(144, 220, 195, .18);
}

/* 一层很轻的环境光，页面仍保持原来的墨绿色底色。 */
body {
  background-image:
    radial-gradient(circle at 12% 7%, rgba(139, 199, 217, .12), transparent 26rem),
    radial-gradient(circle at 92% 78%, rgba(184, 239, 208, .09), transparent 31rem),
    radial-gradient(ellipse at 80% 0, rgba(117, 174, 139, .075), transparent 52%);
}

#home {
  position: relative;
  isolation: isolate;
}

#home::before,
#home::after {
  position: fixed;
  z-index: -1;
  display: block;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(184, 239, 208, .1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  opacity: .7;
  animation: qlx-orbit 18s ease-in-out infinite alternate;
}

#home::before { top: 18vh; right: -9rem; box-shadow: 0 0 0 2rem rgba(184, 239, 208, .025), 0 0 60px var(--qlx-glow); }
#home::after { bottom: -9rem; left: -8rem; animation-delay: -7s; }

#blogTitle {
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

#blogTitle::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--qlx-blue), var(--qlx-mint), transparent);
  content: "";
  animation: qlx-scan 5s ease-in-out infinite;
}

#blogTitle::after {
  border-color: var(--qlx-blue);
  border-right-color: transparent;
  box-shadow: 0 0 0 10px rgba(139, 199, 217, .045), 0 0 24px rgba(139, 199, 217, .18);
  animation: qlx-breathe 4.5s ease-in-out infinite;
}

#blogTitle h1 a { text-shadow: 0 0 26px rgba(184, 239, 208, .09); }
#blogTitle h2::before { margin-right: .55em; color: var(--qlx-blue); content: "//"; font-family: var(--ql-mono); }

#navigator {
  position: relative;
  border-color: rgba(184, 239, 208, .25);
  background: linear-gradient(90deg, rgba(23, 33, 31, .42), rgba(23, 33, 31, .08));
  backdrop-filter: blur(9px);
}

#navList a {
  position: relative;
  transition: color .2s ease, transform .2s ease;
}

#navList a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--qlx-mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

#navList a:hover { transform: translateY(-1px); }
#navList a:hover::after { transform: scaleX(1); transform-origin: left; }

.qlx-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--qlx-blue), var(--qlx-mint), var(--qlx-gold));
  box-shadow: 0 0 12px rgba(184, 239, 208, .55);
  pointer-events: none;
  transition: width .12s ease-out;
}

.day, #topics > .post {
  position: relative;
  overflow: hidden;
  border-color: rgba(184, 239, 208, .2);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .12);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.day::before, #topics > .post::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--qlx-mint));
  content: "";
  opacity: .65;
}

.day:hover, #topics > .post:hover {
  border-color: rgba(184, 239, 208, .42);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .2), 0 0 28px rgba(139, 199, 217, .055);
  transform: translateY(-2px);
}

#cnblogs_post_body {
  box-shadow: inset 0 0 0 1px rgba(42, 68, 53, .035), 0 9px 30px rgba(0, 0, 0, .1);
}

#cnblogs_post_body h2 { border-image: linear-gradient(90deg, #9dc8a8 0 34%, #ced7cc 34%) 1; }
#cnblogs_post_body blockquote { border-left-color: var(--qlx-blue); background: linear-gradient(100deg, #e5eee9, #eef0e7); }
#cnblogs_post_body table th { background: linear-gradient(135deg, #e5eee5, #e6edf0); }

.ql-note, .qlx-links {
  position: relative;
  overflow: hidden;
  border-color: rgba(184, 239, 208, .22);
  background: linear-gradient(145deg, rgba(28, 41, 37, .97), rgba(20, 31, 29, .95));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .13);
}

.ql-note::after, .qlx-links::after {
  position: absolute;
  right: -35px;
  bottom: -52px;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(139, 199, 217, .17);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ql-note .ql-status { color: var(--qlx-mint); }
.ql-note .ql-status::before { background: var(--qlx-blue); box-shadow: 0 0 0 4px rgba(139, 199, 217, .1); }

.qlx-links { margin: 0 0 23px; padding: 18px 19px 15px; border: 1px solid var(--ql-line); border-radius: var(--ql-radius); }
.qlx-kicker { margin: 0 0 8px; color: var(--qlx-blue); font: 10px/1.8 var(--ql-mono); letter-spacing: .12em; }
.qlx-links ul { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.qlx-links li { margin: 0; padding: 0; border-bottom: 1px solid rgba(184, 239, 208, .09); }
.qlx-links li:last-child { border-bottom: 0; }
.qlx-links a { display: block; padding: 7px 0; color: var(--ql-muted); font-size: 12px; transition: color .2s ease, padding-left .2s ease; }
.qlx-links a::before { margin-right: .6em; color: var(--qlx-mint); content: "↗"; font-family: var(--ql-mono); }
.qlx-links a:hover { padding-left: 4px; color: var(--qlx-mint); text-decoration: none; }

.qlx-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184, 239, 208, .32);
  border-radius: 50%;
  background: rgba(23, 33, 31, .88);
  color: var(--qlx-mint);
  font: 15px/1 var(--ql-mono);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.qlx-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.qlx-top:hover { background: #263a31; }

@keyframes qlx-orbit { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(0, 12px, 0) rotate(8deg); } }
@keyframes qlx-breathe { 0%, 100% { transform: rotate(-34deg) scale(1); } 50% { transform: rotate(-27deg) scale(1.06); } }
@keyframes qlx-scan { 0%, 100% { transform: translateX(0); opacity: .7; } 50% { transform: translateX(4rem); opacity: 1; } }

@media (max-width: 880px) {
}

@media (max-width: 520px) {
  .qlx-top { right: 14px; bottom: 14px; width: 35px; height: 35px; }
  #home::before, #home::after { display: none; }
  .day:hover, #topics > .post:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  #home::before, #home::after, #blogTitle::before, #blogTitle::after,
  .qlx-top, .day, #topics > .post, #navList a { transition: none !important; }
}


/*
 * QuietLoop Studio · 主页与文章页功能层
 * 叠加顺序：quietloop.css → quietloop-enhanced.css → 本文件。
 * 动态数据由页脚脚本提供；没有第三方字体、播放器或 Live2D 依赖。
 */

:root {
  --qls-cyan: #9fe3ed;
  --qls-mint: #c9f3d2;
  --qls-violet: #c9c2ff;
  --qls-orange: #ffd99a;
  --qls-glass: rgba(21, 34, 31, .72);
  --qls-soft-line: rgba(201, 243, 210, .18);
}

#blogTitle h1 { position: relative; z-index: 1; }
#blogTitle h1 a {
  display: inline-block;
  background: linear-gradient(105deg, #f3f2e8 18%, var(--qls-mint) 53%, var(--qls-cyan) 86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(159, 227, 237, .11);
  transition: filter .25s ease, letter-spacing .25s ease;
}
#blogTitle h1 a:hover { filter: drop-shadow(0 0 14px rgba(201, 243, 210, .34)); letter-spacing: .012em; }
#blogTitle h2 { max-width: 760px; color: #c8d4ca; }
#blogTitle h2::before { color: var(--qls-cyan); }
#blogTitle h2 { font-size: 21px; font-weight: 700; letter-spacing: .08em; background: linear-gradient(100deg, #f3f2e8, #bfead4 48%, #9fe3ed); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 24px rgba(159, 227, 237, .2); }
#blogCalendar { display: none !important; }

#qlx-studio-bar {
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 13px 0 25px;
  padding: 11px 14px;
  border: 1px solid var(--qls-soft-line);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(28, 45, 40, .82), rgba(22, 35, 37, .58));
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}
.qls-avatar-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 243, 210, .56);
  border-radius: 11px;
  background: linear-gradient(145deg, #27473a, #14241f);
  color: var(--qls-mint);
  font: 10px/1 var(--ql-mono);
  letter-spacing: -.06em;
  box-shadow: 0 0 0 4px rgba(159, 227, 237, .045);
}
.qls-avatar-badge img { display: block; width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.qls-clock-badge { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(159, 227, 237, .55); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(159, 227, 237, .24), rgba(20, 36, 37, .9)); color: #bcecf0; font: 600 24px/1 var(--ql-mono); box-shadow: 0 0 18px rgba(159, 227, 237, .2); animation: qls-clock-pulse 3.2s ease-in-out infinite; }
.qls-clock, .qls-weather { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.qls-clock strong { color: #f0f5e8; font: 600 16px/1.25 var(--ql-mono); letter-spacing: .04em; }
.qls-clock small, .qls-weather small { color: #93a99b; font-size: 10px; }
.qls-weather-icon { font-size: 18px; line-height: 1; filter: drop-shadow(0 0 7px rgba(255, 217, 154, .22)); }
.qls-weather-text { color: #c5d7ca; font-size: 13px; }
.qls-weather { position: relative; cursor: pointer; outline: none; }
.qls-weather-detail { position: absolute; z-index: 4; top: calc(100% + 10px); left: 0; min-width: 230px; padding: 10px 12px; border: 1px solid rgba(159, 227, 237, .35); border-radius: 10px; background: rgba(16, 28, 34, .95); box-shadow: 0 14px 35px rgba(0, 0, 0, .3); color: #dcece2; font-size: 11px; line-height: 1.7; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.qls-weather:hover .qls-weather-detail, .qls-weather.is-open .qls-weather-detail, .qls-weather:focus-within .qls-weather-detail { opacity: 1; pointer-events: auto; transform: translateY(0); }
.qls-quote-line { min-width: 0; overflow: hidden; color: #d3e0d3; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; }
.qls-quote-line::before { margin-right: .55em; color: var(--qls-orange); content: "✦"; }
.qls-scene-label { color: var(--qls-cyan); font: 10px/1.8 var(--ql-mono); letter-spacing: .1em; }
.qls-scene-mark { color: var(--qls-orange); font-size: 20px; line-height: 1; animation: qls-scene-float 4s ease-in-out infinite; }

.qls-profile-card, .qls-studio-card, .qls-social-card, .qls-calendar-card, .qls-hot-card, .qls-reader-card, .qls-toc-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 23px;
  padding: 17px 16px 15px;
  border: 1px solid var(--qls-soft-line);
  border-radius: var(--ql-radius);
  background: linear-gradient(145deg, rgba(29, 44, 39, .95), rgba(20, 31, 30, .97));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .14);
}
.qls-profile-card::after, .qls-studio-card::after, .qls-social-card::after, .qls-calendar-card::after, .qls-hot-card::after, .qls-reader-card::after, .qls-toc-card::after {
  position: absolute;
  right: -34px;
  bottom: -53px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(159, 227, 237, .15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.qls-kicker { margin: 0 0 9px; color: var(--qls-cyan); font: 11px/1.8 var(--ql-mono); letter-spacing: .12em; }
.qls-label { color: #8fa79a; font-size: 10px; }
.qls-value { color: #e4eee2; font: 600 16px/1.5 var(--ql-mono); }

.qls-source-link { color: #8aa99a !important; font-size: 11px !important; }

#qlx-profile-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-start; gap: 10px; max-width: 310px; margin: 3px auto 15px 0; padding: 8px 10px; border: 1px solid rgba(159, 227, 237, .22); border-radius: 13px; background: linear-gradient(135deg, rgba(28, 48, 67, .78), rgba(21, 32, 42, .6)); box-shadow: 0 9px 26px rgba(0, 0, 0, .12); }
.qls-top-profile-art { display: block; width: 58px; height: 58px; flex: 0 0 58px; border: 1px solid rgba(159, 227, 237, .42); border-radius: 11px; object-fit: cover; }
.qls-top-profile-copy { min-width: 0; text-align: left; align-items: flex-start; }
.qls-top-profile-copy .qls-kicker { margin-bottom: 1px; font-size: 10px; }
.qls-top-profile-copy strong { display: block; color: #f2f7f0; font-size: 14px; letter-spacing: .04em; }
.qls-top-profile-copy small { display: block; margin-top: 2px; color: #a9c0c0; font-size: 10px; }
.qls-top-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 7px; justify-content: start; }
.qls-top-account-stats a { display: grid; gap: 1px; padding: 3px 5px; border: 1px solid rgba(201, 243, 210, .14); border-radius: 6px; color: #c8d9d4 !important; text-align: center; text-decoration: none !important; }
.qls-top-account-stats a:hover { background: rgba(159, 227, 237, .13); }
.qls-top-account-stats b { color: #eef8eb; font: 600 12px/1 var(--ql-mono); }
.qls-top-account-stats span { color: #93aaa3; font-size: 9px; }

.qls-profile-card { display: grid; grid-template-columns: 92px 1fr; gap: 13px; padding: 13px; background: linear-gradient(135deg, rgba(35, 50, 73, .96), rgba(23, 35, 45, .98)); }
.qls-profile-art-wrap { position: relative; z-index: 1; display: grid; place-items: center; min-height: 92px; overflow: hidden; border: 1px solid rgba(159, 227, 237, .4); border-radius: 13px; background: #1b5a9a; }
.qls-profile-art { display: block; width: 100%; height: 92px; object-fit: cover; }
.qls-profile-copy { position: relative; z-index: 1; min-width: 0; }
.qls-profile-copy .qls-kicker { margin-bottom: 2px; }
.qls-profile-copy h3 { margin: 0; color: #f4f7ef; font-size: 20px; letter-spacing: .02em; }
.qls-profile-copy p:not(.qls-kicker) { margin: 3px 0 10px; color: #c7d6df; font-size: 12px; }
.qls-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.qls-account-stats a { display: grid; gap: 1px; padding: 5px 2px; border: 1px solid rgba(201, 243, 210, .15); border-radius: 8px; color: #c8d9d4 !important; text-align: center; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.qls-account-stats a:hover { background: rgba(159, 227, 237, .14); transform: translateY(-2px); }
.qls-account-stats strong { color: #f1f6ed; font: 600 15px/1.1 var(--ql-mono); }
.qls-account-stats span { color: #96ada7; font-size: 10px; }

.qls-live-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.qls-live-cell { padding: 9px 8px; border: 1px solid rgba(201, 243, 210, .11); border-radius: 9px; background: rgba(8, 19, 17, .18); }
.qls-live-cell:last-child { grid-column: span 2; }
.qls-live-cell strong { display: block; margin-top: 2px; color: #e1eee0; font: 600 15px/1.55 var(--ql-mono); }
.qls-live-cell small { display: block; color: #8ca497; font-size: 10px; }
.qls-quote { position: relative; z-index: 1; display: block; margin: 11px 0 0; padding-top: 10px; border-top: 1px solid rgba(201, 243, 210, .12); color: #c1d2c4 !important; font-size: 13px; line-height: 1.8; text-decoration: none !important; }
.qls-quote:hover { color: #f2f8eb !important; }
.qls-quote::before { margin-right: .45em; color: var(--qls-orange); content: "✦"; }

.qls-social-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.qls-social-link { display: grid; place-items: center; min-width: 0; min-height: 52px; padding: 7px 3px; border: 1px solid rgba(201, 243, 210, .2); border-radius: 11px; background: rgba(8, 19, 17, .22); color: #b8cbbd !important; text-decoration: none !important; transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.qls-social-link:hover { border-color: rgba(201, 243, 210, .55); background: rgba(76, 124, 101, .28); color: #eff8e8 !important; transform: translateY(-2px); }
.qls-social-link:hover { box-shadow: 0 7px 18px rgba(0, 0, 0, .18); }
.qls-social-link img { display: block; width: 32px; height: 32px; object-fit: contain; }
.qls-app-note { margin-top: 10px !important; text-align: center; }

.qls-calendar-card { background: linear-gradient(145deg, rgba(45, 38, 66, .94), rgba(24, 28, 46, .98)); }
.qls-calendar-head, .qls-hot-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.qls-calendar-head strong { color: #f0eaff; font: 600 17px/1.4 var(--ql-mono); }
.qls-calendar-actions { display: flex; gap: 4px; }
.qls-calendar-actions button { width: 26px; height: 26px; padding: 0; border: 1px solid rgba(201, 194, 255, .35); border-radius: 7px; background: rgba(201, 194, 255, .1); color: #e6dcff; cursor: pointer; font-size: 21px; line-height: 21px; }
.qls-calendar-actions button:hover { background: rgba(201, 194, 255, .25); }
.qls-calendar-week, .qls-calendar-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.qls-calendar-week { margin: 12px 0 5px; color: #aeabd1; font-size: 10px; text-align: center; }
.qls-calendar-grid { min-height: 168px; }
.qls-calendar-empty { min-height: 28px; }
.qls-calendar-day { position: relative; min-height: 28px; padding: 4px 2px; border: 1px solid transparent; border-radius: 7px; background: rgba(8, 19, 17, .16); color: #d9d6e9; cursor: pointer; font: 12px/1 var(--ql-mono); }
.qls-calendar-day:hover, .qls-calendar-day.is-selected { border-color: rgba(201, 194, 255, .65); background: rgba(201, 194, 255, .2); }
.qls-calendar-day.is-today { border-color: rgba(159, 227, 237, .8); color: #f5ffff; }
.qls-calendar-day.is-weekend { color: #c6b8e6; }
.qls-calendar-day i, .qls-calendar-day b { position: absolute; right: 3px; bottom: 2px; font-size: 8px; font-style: normal; font-weight: 600; }
.qls-calendar-day i { color: #ffd99a; }
.qls-calendar-day b { color: #9fe3ed; }
.qls-calendar-detail { position: relative; z-index: 1; min-height: 38px; margin-top: 10px; padding: 8px 9px; border-top: 1px solid rgba(201, 194, 255, .18); color: #cbc6e4; font-size: 11px; line-height: 1.65; }
.qls-calendar-tools { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.qls-calendar-tools button { padding: 5px 8px; border: 1px solid rgba(201, 194, 255, .28); border-radius: 7px; background: rgba(201, 194, 255, .09); color: #dcd5f2; cursor: pointer; font-size: 10px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.qls-calendar-tools button:hover { border-color: rgba(159, 227, 237, .7); background: rgba(159, 227, 237, .14); transform: translateY(-1px); }
.qls-todo-form { position: relative; z-index: 1; display: grid; gap: 7px; margin-top: 9px; padding: 8px; border: 1px solid rgba(159, 227, 237, .22); border-radius: 9px; background: rgba(7, 17, 24, .24); }
.qls-todo-form[hidden] { display: none; }
.qls-todo-form label { display: grid; gap: 4px; color: #c9d9d1; font-size: 10px; }
.qls-todo-form input { width: 100%; box-sizing: border-box; padding: 6px 7px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(3, 10, 13, .35); color: #eef8f0; font: 11px/1.4 var(--ql-mono); outline: none; }
.qls-todo-form input:focus { border-color: rgba(159, 227, 237, .8); box-shadow: 0 0 0 2px rgba(159, 227, 237, .12); }
.qls-todo-form > div { display: flex; gap: 6px; }
.qls-todo-form button { padding: 5px 8px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(159, 227, 237, .1); color: #dff4ed; cursor: pointer; font-size: 10px; }
.qls-todo-form button:hover { border-color: rgba(159, 227, 237, .8); background: rgba(159, 227, 237, .18); }
.qls-calendar-note { position: relative; z-index: 1; display: block; margin-top: 7px; color: #9994b4; font-size: 9px; line-height: 1.5; }

.qls-hot-card { background: linear-gradient(145deg, rgba(45, 56, 43, .95), rgba(20, 35, 32, .98)); }
.qls-hot-tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 2px 0 10px; }
.qls-hot-tabs button { padding: 5px 3px; border: 1px solid rgba(191, 232, 208, .18); border-radius: 7px; background: rgba(8, 19, 17, .2); color: #a6bdb1; cursor: pointer; font-size: 11px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.qls-hot-tabs button:hover, .qls-hot-tabs button.is-active { border-color: rgba(159, 227, 237, .62); background: rgba(159, 227, 237, .13); color: #f0f8ee; }
.qls-hot-list { position: relative; z-index: 1; margin: 2px 0 0; padding: 0 0 0 18px; }
.qls-hot-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin: 7px 0; padding-left: 2px; color: #b8c9bd; font-size: 12px; line-height: 1.45; }
.qls-hot-list a { color: #d8e8d8 !important; text-decoration: none !important; }
.qls-hot-list a:hover { color: #9fe3ed !important; }
.qls-hot-score { color: #ffd99a; font: 10px/1.5 var(--ql-mono); white-space: nowrap; }

.qls-reader-card { padding-bottom: 14px; }
.qls-reader-row { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 10px; margin: 7px 0; color: #9fb3a3; font-size: 11px; }
.qls-reader-row strong { color: #dfeadf; font-weight: 600; }
.qls-reader-meter { position: relative; z-index: 1; height: 4px; margin-top: 10px; overflow: hidden; border-radius: 4px; background: rgba(201, 243, 210, .1); }
.qls-reader-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--qls-cyan), var(--qls-mint)); transition: width .2s ease; }

.qls-toc-card { padding-bottom: 12px; }
.qls-toc-card[hidden] { display: none; }
.qls-toc-list { position: relative; z-index: 1; max-height: 42vh; margin: 0; padding: 0 0 2px; overflow-y: auto; list-style: none; }
.qls-toc-list li { margin: 0; padding: 0; border-left: 1px solid rgba(201, 243, 210, .11); }
.qls-toc-list li.qls-toc-h3 { padding-left: 8px; }
.qls-toc-list a { display: block; padding: 5px 8px; overflow: hidden; color: #9eb4a4 !important; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; transition: color .2s ease, border-color .2s ease, padding-left .2s ease; }
.qls-toc-list a:hover, .qls-toc-list a.is-active { padding-left: 11px; border-left: 2px solid var(--qls-cyan); color: #e3f0e0 !important; }

.qlx-links li { border-bottom: 0 !important; }
.qlx-links li a { display: grid !important; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 6px; margin: 6px 0; padding: 8px 9px !important; border: 1px solid rgba(201, 243, 210, .12); border-radius: 9px; background: linear-gradient(100deg, rgba(201, 243, 210, .06), rgba(159, 227, 237, .03)); color: #d2e1d4 !important; font-size: 13px !important; text-decoration: none !important; }
.qlx-links li a::before { display: none !important; }
.qlx-links li a:hover { padding-left: 12px !important; border-color: rgba(159, 227, 237, .52); background: rgba(159, 227, 237, .12); }
.qls-link-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(159, 227, 237, .32); border-radius: 7px; color: #9fe3ed; font: 600 14px/1 var(--ql-mono); }
.qlx-links li:nth-child(2) .qls-link-icon { color: #ffd99a; border-color: rgba(255, 217, 154, .35); }
.qlx-links li:nth-child(3) .qls-link-icon { color: #c9c2ff; border-color: rgba(201, 194, 255, .35); }
.qlx-links li:nth-child(4) .qls-link-icon { color: #c9f3d2; border-color: rgba(201, 243, 210, .35); }
.qlx-links li a b { color: #8ea99a; font: 13px/1 var(--ql-mono); }

#qlx-floating-nav { position: fixed; z-index: 10000; top: 50%; left: 12px; display: grid; gap: 7px; padding: 8px 6px; border: 1px solid rgba(159, 227, 237, .26); border-radius: 14px; background: rgba(20, 30, 41, .8); box-shadow: 0 16px 35px rgba(0, 0, 0, .25); opacity: .82; transform: translateY(-50%); backdrop-filter: blur(12px); }
#qlx-floating-nav a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid transparent; border-radius: 10px; color: #a9c9c1 !important; text-decoration: none !important; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
#qlx-floating-nav a span { font-size: 19px; line-height: 1; }
#qlx-floating-nav a b { position: absolute; left: 55px; padding: 4px 7px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(15, 27, 31, .96); color: #e8f2e8; font-size: 11px; font-weight: 500; opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .2s ease, transform .2s ease; transform: translateX(-4px); }
#qlx-floating-nav a:hover { border-color: rgba(159, 227, 237, .6); background: rgba(159, 227, 237, .14); color: #f3faed !important; transform: translateX(2px); }
#qlx-floating-nav a:hover b { opacity: 1; transform: translateX(0); }

.qlx-pointer {
  position: fixed;
  z-index: 9998;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(159, 227, 237, .65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease, opacity .2s ease, border-color .2s ease;
}
.qlx-pointer.is-ready { opacity: .7; }
.qlx-pointer.is-hover { width: 28px; height: 28px; border-color: var(--qls-mint); }
.qlx-click-ripple { position: fixed; z-index: 9997; width: 8px; height: 8px; border: 1px solid var(--qls-cyan); border-radius: 50%; pointer-events: none; animation: qls-ripple .65s ease-out forwards; }
.qlx-particle { position: fixed; z-index: 9996; width: 5px; height: 5px; border-radius: 50%; background: hsl(var(--qlx-particle-hue), 82%, 72%); box-shadow: 0 0 7px currentColor; pointer-events: none; animation: qls-particle .7s ease-out forwards; }
.qlx-click-glyph { position: fixed; z-index: 9999; color: var(--qls-orange); pointer-events: none; font: 600 20px/1 var(--ql-mono); text-shadow: 0 0 9px rgba(255, 217, 154, .7); transform: translate(-50%, -50%); animation: qls-glyph .8s ease-out forwards; }

body.qlx-scene-night { --qls-cyan: #b8c9ff; --qls-mint: #c7d6ff; }
body.qlx-scene-night #home::before { box-shadow: 0 0 0 2rem rgba(184, 201, 255, .035), 0 0 70px rgba(184, 201, 255, .16); }
body.qlx-scene-morning #home::before { box-shadow: 0 0 0 2rem rgba(255, 217, 154, .03), 0 0 70px rgba(255, 217, 154, .12); }
body.qlx-scene-evening #home::after { box-shadow: 0 0 0 2rem rgba(201, 194, 255, .035), 0 0 70px rgba(201, 194, 255, .15); }

@keyframes qls-ripple { from { opacity: .85; transform: translate(-50%, -50%) scale(.7); } to { opacity: 0; transform: translate(-50%, -50%) scale(5); } }
@keyframes qls-particle { from { opacity: .85; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(calc(-50% + var(--qlx-particle-x)), calc(-50% + var(--qlx-particle-y))) scale(.1); } }
@keyframes qls-glyph { from { opacity: .95; transform: translate(-50%, -50%) scale(.8) rotate(0); } to { opacity: 0; transform: translate(-50%, -145%) scale(1.5) rotate(25deg); } }
@keyframes qls-clock-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(159, 227, 237, .18); } 50% { transform: scale(1.06); box-shadow: 0 0 26px rgba(159, 227, 237, .36); } }
@keyframes qls-scene-float { 0%, 100% { transform: translateY(0) rotate(-5deg); opacity: .75; } 50% { transform: translateY(-3px) rotate(8deg); opacity: 1; } }

@media (max-width: 1100px) {
  #qlx-floating-nav { display: none; }
}
@media (max-width: 880px) {
  #qlx-studio-bar { grid-template-columns: auto auto 1fr; }
  .qls-quote-line { grid-column: 1 / -1; grid-row: 2; }
  .qls-scene-label { justify-self: end; }
  .qls-toc-list { max-height: 25vh; }
}
@media (min-width: 881px) {
  .qls-live-grid .qls-live-cell:last-child { grid-column: span 1; }
}
@media (max-width: 520px) {
  #qlx-studio-bar { grid-template-columns: auto 1fr; gap: 9px; margin-bottom: 19px; }
  .qls-weather { justify-self: end; }
  .qls-scene-label { grid-column: 1 / -1; justify-self: start; }
  .qls-social-list { gap: 4px; }
  .qls-social-link { min-height: 42px; }
  .qls-social-link img { width: 24px; height: 24px; }
  #qlx-profile-top { max-width: none; margin: 2px 0 14px; }
  .qls-top-profile-art { width: 52px; height: 52px; flex-basis: 52px; }
  #blogTitle h2 { font-size: 16px; letter-spacing: .04em; }
  .qls-calendar-grid { min-height: 160px; }
  #qlx-floating-nav { display: none; }
  .qlx-pointer, .qlx-click-ripple, .qlx-particle, .qlx-click-glyph { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .qlx-pointer, .qlx-click-ripple, .qlx-particle, .qlx-click-glyph { animation: none !important; transition: none !important; }
}

/*
 * QuietLoop · Personal technical notebook
 * 适用于博客园 BlackLowKey 皮肤。保留博客园默认 CSS，再粘贴本文件。
 * 无 JavaScript、无字体请求、无外部图片请求。原创样式，可自行修改。
 */
:root {
  --ql-bg: #101716;
  --ql-panel: #17211f;
  --ql-panel-strong: #1c2925;
  --ql-line: #34463e;
  --ql-ink: #edf0e6;
  --ql-muted: #b4c1b6;
  --ql-accent: #a4e1ba;
  --ql-paper: #f4f3eb;
  --ql-paper-ink: #24312b;
  --ql-paper-muted: #57655c;
  --ql-radius: 14px;
  --ql-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ql-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
  margin: 0;
  color: var(--ql-ink);
  font-family: var(--ql-sans);
  font-size: 16px;
  line-height: 1.8;
  background-color: var(--ql-bg);
  background-image: radial-gradient(ellipse at 80% 0, rgba(117, 174, 139, .075), transparent 52%);
}

/* #home 内定制；不覆盖博客园顶部平台导航。 */
#home, #home *, #home *::before, #home *::after { box-sizing: border-box; }
#home {
  width: auto;
  max-width: 1220px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 32px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
#home a { color: var(--ql-accent); text-decoration: none; }
#home a:hover { text-decoration: underline; text-underline-offset: .22em; }
#home a:focus-visible, #home button:focus-visible, #home input:focus-visible,
#home textarea:focus-visible, #home select:focus-visible {
  outline: 3px solid var(--ql-accent);
  outline-offset: 4px;
  border-radius: 3px;
}
#home img { max-width: 100%; height: auto; }
#home input, #home textarea, #home select, #home button {
  max-width: 100%;
  font: inherit;
}

#header {
  height: auto;
  min-height: 0;
  margin: 0 0 30px;
  padding: 53px 0 0;
  border: 0;
  background: transparent;
}
#blogTitle {
  position: relative;
  height: auto;
  min-height: 128px;
  margin: 0;
  padding: 0 90px 26px 0;
  background: transparent;
}
#blogTitle::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 7px;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ql-accent);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-34deg);
  box-shadow: 0 0 0 10px rgba(164, 225, 186, .035);
}
#blogTitle h1 {
  float: none;
  margin: 0 0 9px;
  padding: 0;
  font: 600 clamp(34px, 5vw, 54px)/1.14 var(--ql-sans);
  letter-spacing: -.045em;
  color: var(--ql-ink);
}
#blogTitle h1 a, #Header1_HeaderTitle { color: var(--ql-ink); }
#blogTitle h1 a:hover { color: var(--ql-accent); text-decoration: none; }
#blogTitle h2 {
  float: none;
  max-width: 650px;
  margin: 0;
  padding: 0;
  color: var(--ql-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .035em;
}
#navigator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  height: auto;
  min-height: 53px;
  margin: 0;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--ql-line);
  border-bottom: 1px solid var(--ql-line);
  background: transparent;
}
#navList {
  display: flex;
  flex-wrap: wrap;
  float: none;
  gap: 5px 22px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
#navList li { float: none; width: auto; margin: 0; padding: 0; list-style: none; }
#navList a {
  display: inline-block;
  height: auto;
  padding: 4px 0;
  background: transparent;
  color: var(--ql-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}
#navList a:hover { color: var(--ql-accent); background: transparent; }
#navigator .blogStats {
  float: none;
  margin: 0;
  padding: 0;
  color: var(--ql-muted);
  font: 11px/1.8 var(--ql-mono);
  text-align: left;
}

#main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 30px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
#mainContent, #sideBar {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
#mainContent > .forFlow { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
#sideBarMain { width: auto; min-width: 0; margin: 0; padding: 0; color: var(--ql-muted); }
#main > .clear { display: none; }

.day, #topics > .post {
  width: auto;
  min-width: 0;
  margin: 0 0 24px;
  padding: 25px 28px 20px;
  overflow-wrap: anywhere;
  border: 1px solid var(--ql-line);
  border-radius: var(--ql-radius);
  background: var(--ql-panel);
  box-shadow: none;
}
.dayTitle {
  float: none;
  width: auto;
  height: auto;
  margin: 0 0 15px;
  padding: 0;
  background: transparent;
  color: var(--ql-muted);
  font: 11px/1.8 var(--ql-mono);
  letter-spacing: .08em;
}
#home .dayTitle a { color: var(--ql-muted); }
.postTitle {
  float: none;
  width: auto;
  margin: 0 0 15px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: clamp(21px, 2.6vw, 29px);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.035em;
}
#home .postTitle a { color: var(--ql-ink); }
#home .postTitle a:hover { color: var(--ql-accent); }
.postCon { float: none; width: auto; padding: 0; color: var(--ql-muted); line-height: 1.9; }
.postCon .c_b_p_desc { padding: 0; color: var(--ql-muted); font-size: 14px; line-height: 1.9; }
.postDesc, .postSeparator {
  float: none;
  width: auto;
  height: auto;
  margin: 18px 0 0;
  padding: 13px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ql-line);
  color: var(--ql-muted);
  font-size: 11px;
  line-height: 1.9;
  text-align: left;
}
.postSeparator:empty { margin: 0; padding: 0; border: 0; }

/* 正文用暖灰纸色，保持长篇阅读与代码、截图的清晰度。 */
#cnblogs_post_body {
  min-width: 0;
  margin: 21px 0 0;
  padding: clamp(20px, 3.5vw, 36px);
  border-radius: 9px;
  background: var(--ql-paper);
  color: var(--ql-paper-ink);
  font: 16px/1.95 var(--ql-sans);
  overflow-wrap: anywhere;
}
#cnblogs_post_body > :first-child { margin-top: 0; }
#cnblogs_post_body > :last-child { margin-bottom: 0; }
#cnblogs_post_body p { margin: 1em 0; line-height: 1.95; }
#cnblogs_post_body h1, #cnblogs_post_body h2, #cnblogs_post_body h3,
#cnblogs_post_body h4, #cnblogs_post_body h5, #cnblogs_post_body h6 {
  margin: 1.9em 0 .7em;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ql-paper-ink);
  font-family: var(--ql-sans);
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.02em;
}
#cnblogs_post_body h1 { font-size: 28px; }
#cnblogs_post_body h2 { font-size: 24px; padding-bottom: .35em; border-bottom: 1px solid #ced7cc; }
#cnblogs_post_body h3 { font-size: 20px; }
#cnblogs_post_body h4 { font-size: 18px; }
#cnblogs_post_body a { color: #236342; text-decoration: underline; text-underline-offset: .2em; }
#cnblogs_post_body a:hover { color: #143e2b; }
#cnblogs_post_body a:focus-visible { outline-color: #236342; }
#cnblogs_post_body strong { color: #163b2c; font-weight: 700; }
#cnblogs_post_body blockquote {
  margin: 1.5em 0;
  padding: 12px 19px;
  border: 0;
  border-left: 3px solid #508360;
  border-radius: 0 6px 6px 0;
  background: #e7eadf;
  color: #3b5142;
}
#cnblogs_post_body blockquote p { margin: .3em 0; }
#cnblogs_post_body ul, #cnblogs_post_body ol { padding-left: 1.55em; margin: 1em 0; }
#cnblogs_post_body li { margin: .38em 0; }
#cnblogs_post_body li > p { margin: .4em 0; }
#cnblogs_post_body hr { height: 1px; margin: 2em 0; border: 0; background: #ced7cc; }
#cnblogs_post_body img { display: block; max-width: 100%; height: auto; margin: 1.5em auto .6em; border-radius: 7px; }
#cnblogs_post_body figure { margin: 1.5em 0; }
#cnblogs_post_body figcaption { color: var(--ql-paper-muted); font-size: 12px; text-align: center; }
#cnblogs_post_body :not(pre) > code {
  padding: .16em .4em;
  border: 1px solid #d8dfd1;
  border-radius: 4px;
  background: #e5e9de;
  color: #29573c;
  font: .88em/1.6 var(--ql-mono);
  overflow-wrap: anywhere;
}
#cnblogs_post_body pre {
  display: block;
  max-width: 100%;
  margin: 1.4em 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid #33483c;
  border-radius: 7px;
  background: #18231d;
  color: #e0ecda;
  text-shadow: none;
  tab-size: 4;
  white-space: pre;
  overflow-wrap: normal;
  font: 13px/1.8 var(--ql-mono);
}
#cnblogs_post_body pre code,
#cnblogs_post_body pre code.hljs {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  white-space: pre;
  overflow-wrap: normal;
  font: inherit;
}
#cnblogs_post_body pre .hljs-comment, #cnblogs_post_body pre .hljs-quote { color: #a8bba4; }
#cnblogs_post_body pre .hljs-keyword, #cnblogs_post_body pre .hljs-selector-tag { color: #b4dbc3; }
#cnblogs_post_body pre .hljs-string, #cnblogs_post_body pre .hljs-title { color: #dfd69e; }
#cnblogs_post_body pre .hljs-number, #cnblogs_post_body pre .hljs-literal { color: #c8b9e9; }
/* 无需给 Markdown 表格额外包 HTML：小屏时表格自身横向滚动。 */
#cnblogs_post_body table {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 1.4em 0;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fbfaf5;
  color: var(--ql-paper-ink);
  font-size: 13px;
  line-height: 1.75;
}
#cnblogs_post_body table th, #cnblogs_post_body table td {
  min-width: 108px;
  padding: 11px 13px;
  border: 1px solid #cad4c7;
  background: transparent;
  color: inherit;
  text-align: left;
  vertical-align: top;
}
#cnblogs_post_body table th { background: #e5eadf; font-weight: 600; }
#cnblogs_post_body table tr:nth-child(even) { background: #eff1e8; }
#cnblogs_post_body details { margin: 1.4em 0; padding: 12px 16px; border: 1px solid #cad4c7; border-radius: 7px; }
#cnblogs_post_body summary { cursor: pointer; font-weight: 600; color: #29573c; }
#cnblogs_post_body input[type="checkbox"] { accent-color: #39724c; margin-right: .45em; }

#sideBarMain .newsItem, #sideBarMain .catListView, #sideBarMain .catListComment,
#sideBarMain .catListPostCategory, #sideBarMain .catListPostArchive,
#sideBarMain .catListTag, #sideBarMain .catListEssay, #sideBarMain .catListArticle,
#sideBarMain .catList, #sideBarMain #profile_block, #sideBarMain #calendar {
  margin: 0 0 23px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--ql-muted);
  font-size: 12px;
  line-height: 1.9;
}
#sideBarMain .catListTitle, #sideBarMain .newsItem h3, #sideBarMain h3 {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--ql-line);
  background: transparent;
  color: var(--ql-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
}
#sideBarMain ul { margin: 0; padding-left: 0; list-style: none; }
#sideBarMain li { margin: 6px 0; padding: 0; overflow-wrap: anywhere; }
#sideBarMain a { color: var(--ql-muted); }
#sideBarMain a:hover { color: var(--ql-accent); }
#sideBarMain input[type="text"], #sideBarMain input[type="search"] {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--ql-line);
  border-radius: 5px;
  background: var(--ql-panel);
  color: var(--ql-ink);
}
#sideBarMain .Cal { width: 100%; border: 1px solid var(--ql-line); background: var(--ql-panel); color: var(--ql-muted); }
#sideBarMain .CalTitle, #sideBarMain .CalDayHeader { background: var(--ql-panel-strong); color: var(--ql-ink); }
#sideBarMain .CalTodayDay { background: #365a44; color: #fff; }

/* 可选公告 HTML 使用以下类名；与博客园默认模块互不依赖。 */
.ql-note {
  margin: 0 0 27px;
  padding: 22px 19px;
  border: 1px solid var(--ql-line);
  border-radius: var(--ql-radius);
  background: var(--ql-panel);
}
.ql-note .ql-monogram {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 19px;
  border: 1px solid #638e71;
  border-radius: 50%;
  color: var(--ql-accent);
  font: 14px/1 var(--ql-mono);
  letter-spacing: -.08em;
}
.ql-note .ql-eyebrow { margin: 0 0 7px; color: var(--ql-accent); font: 10px/1.8 var(--ql-mono); letter-spacing: .13em; }
.ql-note .ql-name { margin: 0 0 7px; color: var(--ql-ink); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.ql-note p { margin: 8px 0; color: var(--ql-muted); font-size: 12px; line-height: 1.85; }
.ql-note .ql-status { margin-top: 19px; padding-top: 12px; border-top: 1px solid var(--ql-line); color: var(--ql-accent); font: 10px/1.8 var(--ql-mono); }
.ql-note .ql-status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--ql-accent); vertical-align: middle; }
#home .ql-note a { color: var(--ql-accent); }
.ql-note .ql-course { display: inline-block; margin-top: 5px; font-size: 12px; }

#footer {
  clear: both;
  margin: 46px 0 0;
  padding: 24px 0 32px;
  border: 0;
  border-top: 1px solid var(--ql-line);
  background: transparent;
  color: var(--ql-muted);
  font-size: 11px;
  line-height: 1.9;
  text-align: left;
}
/* 评论功能、文章操作与平台版权保持可见。 */
#blog-comments-placeholder, #comment_form_container, #comment_nav,
#blog_post_info, #post_next_prev { color: var(--ql-muted); }
#comment_form_container textarea { border: 1px solid #9aaa99; background: #f4f3eb; color: #24312b; }
#blog-comments-placeholder .feedbackItem { padding: 16px 0; border-bottom: 1px solid var(--ql-line); }
#blog-comments-placeholder .blog_comment_body { color: var(--ql-ink); }

@media (min-width: 1440px) { #home { max-width: 1300px; } #main { grid-template-columns: minmax(0, 1fr) 265px; gap: 38px; } }
@media (max-width: 880px) {
  #home { padding: 0 24px; }
  #main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #sideBar { width: 100%; }
  #sideBarMain { max-width: none; }
  .ql-note { margin-top: 0; }
  #blogTitle { min-height: 119px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  #home { padding: 0 15px; }
  #header { padding-top: 33px; margin-bottom: 22px; }
  #blogTitle { min-height: 116px; padding-right: 62px; padding-bottom: 23px; }
  #blogTitle h2 { font-size: 12px; letter-spacing: 0; }
  #blogTitle::after { top: 3px; right: 5px; width: 39px; height: 39px; box-shadow: 0 0 0 7px rgba(164,225,186,.035); }
  #navigator { gap: 8px; }
  #navList { gap: 3px 17px; }
  #navList a { font-size: 12px; }
  .day, #topics > .post { padding: 19px 16px 16px; border-radius: 10px; }
  .postTitle { font-size: 23px; }
  #cnblogs_post_body { margin-top: 19px; padding: 20px 15px; font-size: 15px; }
  #cnblogs_post_body h1 { font-size: 24px; }
  #cnblogs_post_body h2 { font-size: 21px; }
  #cnblogs_post_body h3 { font-size: 18px; }
  #cnblogs_post_body pre { padding: 14px; font-size: 12px; }
  #cnblogs_post_body table th, #cnblogs_post_body table td { padding: 9px 10px; }
  #footer { margin-top: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  #home *, #home *::before, #home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: white; color: black; }
  #home { max-width: none; padding: 0; }
  #header { padding-top: 0; }
  #main { display: block; }
  #sideBar, #navigator, #blogTitle::after { display: none; }
  .day, #topics > .post, #cnblogs_post_body { padding: 0; border: 0; background: white; color: black; }
  #home .postTitle a, #blogTitle h1 a, #blogTitle h2, #footer { color: black; }
  #cnblogs_post_body pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f3f3f3; color: black; border-color: #bbb; }
  #cnblogs_post_body pre code { white-space: pre-wrap; }
  #cnblogs_post_body table { display: table; width: 100%; max-width: 100%; font-size: 11px; }
}


/*
 * QuietLoop Enhanced · 可选增强层
 * 用法：先保留 quietloop.css，再把本文件内容粘贴到页面定制 CSS 的末尾。
 * 只依赖 CSS 和侧栏中的内联 SVG，不请求外部字体、图片或脚本。
 * 想恢复原样时，删除本文件对应内容即可；quietloop.css 不受影响。
 */

:root {
  --qlx-mint: #b8efd0;
  --qlx-blue: #8bc7d9;
  --qlx-gold: #f0d998;
  --qlx-glow: rgba(144, 220, 195, .18);
}

/* 一层很轻的环境光，页面仍保持原来的墨绿色底色。 */
body {
  background-image:
    radial-gradient(circle at 12% 7%, rgba(139, 199, 217, .12), transparent 26rem),
    radial-gradient(circle at 92% 78%, rgba(184, 239, 208, .09), transparent 31rem),
    radial-gradient(ellipse at 80% 0, rgba(117, 174, 139, .075), transparent 52%);
}

#home {
  position: relative;
  isolation: isolate;
}

#home::before,
#home::after {
  position: fixed;
  z-index: -1;
  display: block;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(184, 239, 208, .1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  opacity: .7;
  animation: qlx-orbit 18s ease-in-out infinite alternate;
}

#home::before { top: 18vh; right: -9rem; box-shadow: 0 0 0 2rem rgba(184, 239, 208, .025), 0 0 60px var(--qlx-glow); }
#home::after { bottom: -9rem; left: -8rem; animation-delay: -7s; }

#blogTitle {
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

#blogTitle::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--qlx-blue), var(--qlx-mint), transparent);
  content: "";
  animation: qlx-scan 5s ease-in-out infinite;
}

#blogTitle::after {
  border-color: var(--qlx-blue);
  border-right-color: transparent;
  box-shadow: 0 0 0 10px rgba(139, 199, 217, .045), 0 0 24px rgba(139, 199, 217, .18);
  animation: qlx-breathe 4.5s ease-in-out infinite;
}

#blogTitle h1 a { text-shadow: 0 0 26px rgba(184, 239, 208, .09); }
#blogTitle h2::before { margin-right: .55em; color: var(--qlx-blue); content: "//"; font-family: var(--ql-mono); }

#navigator {
  position: relative;
  border-color: rgba(184, 239, 208, .25);
  background: linear-gradient(90deg, rgba(23, 33, 31, .42), rgba(23, 33, 31, .08));
  backdrop-filter: blur(9px);
}

#navList a {
  position: relative;
  transition: color .2s ease, transform .2s ease;
}

#navList a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--qlx-mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

#navList a:hover { transform: translateY(-1px); }
#navList a:hover::after { transform: scaleX(1); transform-origin: left; }

.qlx-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--qlx-blue), var(--qlx-mint), var(--qlx-gold));
  box-shadow: 0 0 12px rgba(184, 239, 208, .55);
  pointer-events: none;
  transition: width .12s ease-out;
}

.day, #topics > .post {
  position: relative;
  overflow: hidden;
  border-color: rgba(184, 239, 208, .2);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .12);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.day::before, #topics > .post::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--qlx-mint));
  content: "";
  opacity: .65;
}

.day:hover, #topics > .post:hover {
  border-color: rgba(184, 239, 208, .42);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .2), 0 0 28px rgba(139, 199, 217, .055);
  transform: translateY(-2px);
}

#cnblogs_post_body {
  box-shadow: inset 0 0 0 1px rgba(42, 68, 53, .035), 0 9px 30px rgba(0, 0, 0, .1);
}

#cnblogs_post_body h2 { border-image: linear-gradient(90deg, #9dc8a8 0 34%, #ced7cc 34%) 1; }
#cnblogs_post_body blockquote { border-left-color: var(--qlx-blue); background: linear-gradient(100deg, #e5eee9, #eef0e7); }
#cnblogs_post_body table th { background: linear-gradient(135deg, #e5eee5, #e6edf0); }

.ql-note, .qlx-links {
  position: relative;
  overflow: hidden;
  border-color: rgba(184, 239, 208, .22);
  background: linear-gradient(145deg, rgba(28, 41, 37, .97), rgba(20, 31, 29, .95));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .13);
}

.ql-note::after, .qlx-links::after {
  position: absolute;
  right: -35px;
  bottom: -52px;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(139, 199, 217, .17);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ql-note .ql-status { color: var(--qlx-mint); }
.ql-note .ql-status::before { background: var(--qlx-blue); box-shadow: 0 0 0 4px rgba(139, 199, 217, .1); }

.qlx-links { margin: 0 0 23px; padding: 18px 19px 15px; border: 1px solid var(--ql-line); border-radius: var(--ql-radius); }
.qlx-kicker { margin: 0 0 8px; color: var(--qlx-blue); font: 10px/1.8 var(--ql-mono); letter-spacing: .12em; }
.qlx-links ul { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.qlx-links li { margin: 0; padding: 0; border-bottom: 1px solid rgba(184, 239, 208, .09); }
.qlx-links li:last-child { border-bottom: 0; }
.qlx-links a { display: block; padding: 7px 0; color: var(--ql-muted); font-size: 12px; transition: color .2s ease, padding-left .2s ease; }
.qlx-links a::before { margin-right: .6em; color: var(--qlx-mint); content: "↗"; font-family: var(--ql-mono); }
.qlx-links a:hover { padding-left: 4px; color: var(--qlx-mint); text-decoration: none; }

.qlx-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184, 239, 208, .32);
  border-radius: 50%;
  background: rgba(23, 33, 31, .88);
  color: var(--qlx-mint);
  font: 15px/1 var(--ql-mono);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.qlx-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.qlx-top:hover { background: #263a31; }

@keyframes qlx-orbit { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(0, 12px, 0) rotate(8deg); } }
@keyframes qlx-breathe { 0%, 100% { transform: rotate(-34deg) scale(1); } 50% { transform: rotate(-27deg) scale(1.06); } }
@keyframes qlx-scan { 0%, 100% { transform: translateX(0); opacity: .7; } 50% { transform: translateX(4rem); opacity: 1; } }

@media (max-width: 880px) {
}

@media (max-width: 520px) {
  .qlx-top { right: 14px; bottom: 14px; width: 35px; height: 35px; }
  #home::before, #home::after { display: none; }
  .day:hover, #topics > .post:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  #home::before, #home::after, #blogTitle::before, #blogTitle::after,
  .qlx-top, .day, #topics > .post, #navList a { transition: none !important; }
}


/*
 * QuietLoop Studio · 主页与文章页功能层
 * 叠加顺序：quietloop.css → quietloop-enhanced.css → 本文件。
 * 动态数据由页脚脚本提供；没有第三方字体、播放器或 Live2D 依赖。
 */

:root {
  --qls-cyan: #9fe3ed;
  --qls-mint: #c9f3d2;
  --qls-violet: #c9c2ff;
  --qls-orange: #ffd99a;
  --qls-glass: rgba(21, 34, 31, .72);
  --qls-soft-line: rgba(201, 243, 210, .18);
}

#blogTitle h1 { position: relative; z-index: 1; }
#blogTitle h1 a {
  display: inline-block;
  background: linear-gradient(105deg, #f3f2e8 18%, var(--qls-mint) 53%, var(--qls-cyan) 86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(159, 227, 237, .11);
  transition: filter .25s ease, letter-spacing .25s ease;
}
#blogTitle h1 a:hover { filter: drop-shadow(0 0 14px rgba(201, 243, 210, .34)); letter-spacing: .012em; }
#blogTitle h2 { max-width: 760px; color: #c8d4ca; }
#blogTitle h2::before { color: var(--qls-cyan); }
#blogTitle h2 { font-size: 21px; font-weight: 700; letter-spacing: .08em; background: linear-gradient(100deg, #f3f2e8, #bfead4 48%, #9fe3ed); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 24px rgba(159, 227, 237, .2); }
#blogCalendar { display: none !important; }

#qlx-studio-bar {
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 13px 0 25px;
  padding: 11px 14px;
  border: 1px solid var(--qls-soft-line);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(28, 45, 40, .82), rgba(22, 35, 37, .58));
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}
.qls-avatar-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 243, 210, .56);
  border-radius: 11px;
  background: linear-gradient(145deg, #27473a, #14241f);
  color: var(--qls-mint);
  font: 10px/1 var(--ql-mono);
  letter-spacing: -.06em;
  box-shadow: 0 0 0 4px rgba(159, 227, 237, .045);
}
.qls-avatar-badge img { display: block; width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.qls-clock-badge { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(159, 227, 237, .55); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(159, 227, 237, .24), rgba(20, 36, 37, .9)); color: #bcecf0; font: 600 24px/1 var(--ql-mono); box-shadow: 0 0 18px rgba(159, 227, 237, .2); animation: qls-clock-pulse 3.2s ease-in-out infinite; }
.qls-clock, .qls-weather { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.qls-clock strong { color: #f0f5e8; font: 600 16px/1.25 var(--ql-mono); letter-spacing: .04em; }
.qls-clock small, .qls-weather small { color: #93a99b; font-size: 10px; }
.qls-weather-icon { font-size: 18px; line-height: 1; filter: drop-shadow(0 0 7px rgba(255, 217, 154, .22)); }
.qls-weather-text { color: #c5d7ca; font-size: 13px; }
.qls-weather { position: relative; cursor: pointer; outline: none; }
.qls-weather-detail { position: absolute; z-index: 4; top: calc(100% + 10px); left: 0; min-width: 230px; padding: 10px 12px; border: 1px solid rgba(159, 227, 237, .35); border-radius: 10px; background: rgba(16, 28, 34, .95); box-shadow: 0 14px 35px rgba(0, 0, 0, .3); color: #dcece2; font-size: 11px; line-height: 1.7; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.qls-weather:hover .qls-weather-detail, .qls-weather.is-open .qls-weather-detail, .qls-weather:focus-within .qls-weather-detail { opacity: 1; pointer-events: auto; transform: translateY(0); }
.qls-quote-line { min-width: 0; overflow: hidden; color: #d3e0d3; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; }
.qls-quote-line::before { margin-right: .55em; color: var(--qls-orange); content: "✦"; }
.qls-scene-label { color: var(--qls-cyan); font: 10px/1.8 var(--ql-mono); letter-spacing: .1em; }
.qls-scene-mark { color: var(--qls-orange); font-size: 20px; line-height: 1; animation: qls-scene-float 4s ease-in-out infinite; }

.qls-profile-card, .qls-studio-card, .qls-social-card, .qls-calendar-card, .qls-hot-card, .qls-reader-card, .qls-toc-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 23px;
  padding: 17px 16px 15px;
  border: 1px solid var(--qls-soft-line);
  border-radius: var(--ql-radius);
  background: linear-gradient(145deg, rgba(29, 44, 39, .95), rgba(20, 31, 30, .97));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .14);
}
.qls-profile-card::after, .qls-studio-card::after, .qls-social-card::after, .qls-calendar-card::after, .qls-hot-card::after, .qls-reader-card::after, .qls-toc-card::after {
  position: absolute;
  right: -34px;
  bottom: -53px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(159, 227, 237, .15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.qls-kicker { margin: 0 0 9px; color: var(--qls-cyan); font: 11px/1.8 var(--ql-mono); letter-spacing: .12em; }
.qls-label { color: #8fa79a; font-size: 10px; }
.qls-value { color: #e4eee2; font: 600 16px/1.5 var(--ql-mono); }

.qls-source-link { color: #8aa99a !important; font-size: 11px !important; }

#qlx-profile-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: 310px; margin: 3px 0 15px auto; padding: 8px 10px; border: 1px solid rgba(159, 227, 237, .22); border-radius: 13px; background: linear-gradient(135deg, rgba(28, 48, 67, .78), rgba(21, 32, 42, .6)); box-shadow: 0 9px 26px rgba(0, 0, 0, .12); }
.qls-top-profile-art { display: block; width: 58px; height: 58px; flex: 0 0 58px; border: 1px solid rgba(159, 227, 237, .42); border-radius: 11px; object-fit: cover; }
.qls-top-profile-copy { min-width: 0; }
.qls-top-profile-copy .qls-kicker { margin-bottom: 1px; font-size: 10px; }
.qls-top-profile-copy strong { display: block; color: #f2f7f0; font-size: 14px; letter-spacing: .04em; }
.qls-top-profile-copy small { display: block; margin-top: 2px; color: #a9c0c0; font-size: 10px; }
.qls-top-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 7px; }
.qls-top-account-stats a { display: grid; gap: 1px; padding: 3px 5px; border: 1px solid rgba(201, 243, 210, .14); border-radius: 6px; color: #c8d9d4 !important; text-align: center; text-decoration: none !important; }
.qls-top-account-stats a:hover { background: rgba(159, 227, 237, .13); }
.qls-top-account-stats b { color: #eef8eb; font: 600 12px/1 var(--ql-mono); }
.qls-top-account-stats span { color: #93aaa3; font-size: 9px; }

.qls-profile-card { display: grid; grid-template-columns: 92px 1fr; gap: 13px; padding: 13px; background: linear-gradient(135deg, rgba(35, 50, 73, .96), rgba(23, 35, 45, .98)); }
.qls-profile-art-wrap { position: relative; z-index: 1; display: grid; place-items: center; min-height: 92px; overflow: hidden; border: 1px solid rgba(159, 227, 237, .4); border-radius: 13px; background: #1b5a9a; }
.qls-profile-art { display: block; width: 100%; height: 92px; object-fit: cover; }
.qls-profile-copy { position: relative; z-index: 1; min-width: 0; }
.qls-profile-copy .qls-kicker { margin-bottom: 2px; }
.qls-profile-copy h3 { margin: 0; color: #f4f7ef; font-size: 20px; letter-spacing: .02em; }
.qls-profile-copy p:not(.qls-kicker) { margin: 3px 0 10px; color: #c7d6df; font-size: 12px; }
.qls-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.qls-account-stats a { display: grid; gap: 1px; padding: 5px 2px; border: 1px solid rgba(201, 243, 210, .15); border-radius: 8px; color: #c8d9d4 !important; text-align: center; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.qls-account-stats a:hover { background: rgba(159, 227, 237, .14); transform: translateY(-2px); }
.qls-account-stats strong { color: #f1f6ed; font: 600 15px/1.1 var(--ql-mono); }
.qls-account-stats span { color: #96ada7; font-size: 10px; }

.qls-live-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.qls-live-cell { padding: 9px 8px; border: 1px solid rgba(201, 243, 210, .11); border-radius: 9px; background: rgba(8, 19, 17, .18); }
.qls-live-cell:last-child { grid-column: span 2; }
.qls-live-cell strong { display: block; margin-top: 2px; color: #e1eee0; font: 600 15px/1.55 var(--ql-mono); }
.qls-live-cell small { display: block; color: #8ca497; font-size: 10px; }
.qls-quote { position: relative; z-index: 1; display: block; margin: 11px 0 0; padding-top: 10px; border-top: 1px solid rgba(201, 243, 210, .12); color: #c1d2c4 !important; font-size: 13px; line-height: 1.8; text-decoration: none !important; }
.qls-quote:hover { color: #f2f8eb !important; }
.qls-quote::before { margin-right: .45em; color: var(--qls-orange); content: "✦"; }

.qls-social-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.qls-social-link { display: grid; place-items: center; min-width: 0; min-height: 52px; padding: 7px 3px; border: 1px solid rgba(201, 243, 210, .2); border-radius: 11px; background: rgba(8, 19, 17, .22); color: #b8cbbd !important; text-decoration: none !important; transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.qls-social-link:hover { border-color: rgba(201, 243, 210, .55); background: rgba(76, 124, 101, .28); color: #eff8e8 !important; transform: translateY(-2px); }
.qls-social-link:hover { box-shadow: 0 7px 18px rgba(0, 0, 0, .18); }
.qls-social-link img { display: block; width: 32px; height: 32px; object-fit: contain; }
.qls-app-note { margin-top: 10px !important; text-align: center; }

.qls-calendar-card { background: linear-gradient(145deg, rgba(45, 38, 66, .94), rgba(24, 28, 46, .98)); }
.qls-calendar-head, .qls-hot-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.qls-calendar-head strong { color: #f0eaff; font: 600 17px/1.4 var(--ql-mono); }
.qls-calendar-actions { display: flex; gap: 4px; }
.qls-calendar-actions button { width: 26px; height: 26px; padding: 0; border: 1px solid rgba(201, 194, 255, .35); border-radius: 7px; background: rgba(201, 194, 255, .1); color: #e6dcff; cursor: pointer; font-size: 21px; line-height: 21px; }
.qls-calendar-actions button:hover { background: rgba(201, 194, 255, .25); }
.qls-calendar-week, .qls-calendar-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.qls-calendar-week { margin: 12px 0 5px; color: #aeabd1; font-size: 10px; text-align: center; }
.qls-calendar-grid { min-height: 168px; }
.qls-calendar-empty { min-height: 28px; }
.qls-calendar-day { position: relative; min-height: 28px; padding: 4px 2px; border: 1px solid transparent; border-radius: 7px; background: rgba(8, 19, 17, .16); color: #d9d6e9; cursor: pointer; font: 12px/1 var(--ql-mono); }
.qls-calendar-day:hover, .qls-calendar-day.is-selected { border-color: rgba(201, 194, 255, .65); background: rgba(201, 194, 255, .2); }
.qls-calendar-day.is-today { border-color: rgba(159, 227, 237, .8); color: #f5ffff; }
.qls-calendar-day.is-weekend { color: #c6b8e6; }
.qls-calendar-day i, .qls-calendar-day b { position: absolute; right: 3px; bottom: 2px; font-size: 8px; font-style: normal; font-weight: 600; }
.qls-calendar-day i { color: #ffd99a; }
.qls-calendar-day b { color: #9fe3ed; }
.qls-calendar-detail { position: relative; z-index: 1; min-height: 38px; margin-top: 10px; padding: 8px 9px; border-top: 1px solid rgba(201, 194, 255, .18); color: #cbc6e4; font-size: 11px; line-height: 1.65; }
.qls-calendar-tools { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.qls-calendar-tools button { padding: 5px 8px; border: 1px solid rgba(201, 194, 255, .28); border-radius: 7px; background: rgba(201, 194, 255, .09); color: #dcd5f2; cursor: pointer; font-size: 10px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.qls-calendar-tools button:hover { border-color: rgba(159, 227, 237, .7); background: rgba(159, 227, 237, .14); transform: translateY(-1px); }
.qls-todo-form { position: relative; z-index: 1; display: grid; gap: 7px; margin-top: 9px; padding: 8px; border: 1px solid rgba(159, 227, 237, .22); border-radius: 9px; background: rgba(7, 17, 24, .24); }
.qls-todo-form[hidden] { display: none; }
.qls-todo-form label { display: grid; gap: 4px; color: #c9d9d1; font-size: 10px; }
.qls-todo-form input { width: 100%; box-sizing: border-box; padding: 6px 7px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(3, 10, 13, .35); color: #eef8f0; font: 11px/1.4 var(--ql-mono); outline: none; }
.qls-todo-form input:focus { border-color: rgba(159, 227, 237, .8); box-shadow: 0 0 0 2px rgba(159, 227, 237, .12); }
.qls-todo-form > div { display: flex; gap: 6px; }
.qls-todo-form button { padding: 5px 8px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(159, 227, 237, .1); color: #dff4ed; cursor: pointer; font-size: 10px; }
.qls-todo-form button:hover { border-color: rgba(159, 227, 237, .8); background: rgba(159, 227, 237, .18); }
.qls-calendar-note { position: relative; z-index: 1; display: block; margin-top: 7px; color: #9994b4; font-size: 9px; line-height: 1.5; }

.qls-hot-card { background: linear-gradient(145deg, rgba(45, 56, 43, .95), rgba(20, 35, 32, .98)); }
.qls-hot-tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 2px 0 10px; }
.qls-hot-tabs button { padding: 5px 3px; border: 1px solid rgba(191, 232, 208, .18); border-radius: 7px; background: rgba(8, 19, 17, .2); color: #a6bdb1; cursor: pointer; font-size: 11px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.qls-hot-tabs button:hover, .qls-hot-tabs button.is-active { border-color: rgba(159, 227, 237, .62); background: rgba(159, 227, 237, .13); color: #f0f8ee; }
.qls-hot-list { position: relative; z-index: 1; margin: 2px 0 0; padding: 0 0 0 18px; }
.qls-hot-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin: 7px 0; padding-left: 2px; color: #b8c9bd; font-size: 12px; line-height: 1.45; }
.qls-hot-list a { color: #d8e8d8 !important; text-decoration: none !important; }
.qls-hot-list a:hover { color: #9fe3ed !important; }
.qls-hot-score { color: #ffd99a; font: 10px/1.5 var(--ql-mono); white-space: nowrap; }

.qls-reader-card { padding-bottom: 14px; }
.qls-reader-row { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 10px; margin: 7px 0; color: #9fb3a3; font-size: 11px; }
.qls-reader-row strong { color: #dfeadf; font-weight: 600; }
.qls-reader-meter { position: relative; z-index: 1; height: 4px; margin-top: 10px; overflow: hidden; border-radius: 4px; background: rgba(201, 243, 210, .1); }
.qls-reader-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--qls-cyan), var(--qls-mint)); transition: width .2s ease; }

.qls-toc-card { padding-bottom: 12px; }
.qls-toc-card[hidden] { display: none; }
.qls-toc-list { position: relative; z-index: 1; max-height: 42vh; margin: 0; padding: 0 0 2px; overflow-y: auto; list-style: none; }
.qls-toc-list li { margin: 0; padding: 0; border-left: 1px solid rgba(201, 243, 210, .11); }
.qls-toc-list li.qls-toc-h3 { padding-left: 8px; }
.qls-toc-list a { display: block; padding: 5px 8px; overflow: hidden; color: #9eb4a4 !important; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; text-decoration: none !important; transition: color .2s ease, border-color .2s ease, padding-left .2s ease; }
.qls-toc-list a:hover, .qls-toc-list a.is-active { padding-left: 11px; border-left: 2px solid var(--qls-cyan); color: #e3f0e0 !important; }

.qlx-links li { border-bottom: 0 !important; }
.qlx-links li a { display: grid !important; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 6px; margin: 6px 0; padding: 8px 9px !important; border: 1px solid rgba(201, 243, 210, .12); border-radius: 9px; background: linear-gradient(100deg, rgba(201, 243, 210, .06), rgba(159, 227, 237, .03)); color: #d2e1d4 !important; font-size: 13px !important; text-decoration: none !important; }
.qlx-links li a::before { display: none !important; }
.qlx-links li a:hover { padding-left: 12px !important; border-color: rgba(159, 227, 237, .52); background: rgba(159, 227, 237, .12); }
.qls-link-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(159, 227, 237, .32); border-radius: 7px; color: #9fe3ed; font: 600 14px/1 var(--ql-mono); }
.qlx-links li:nth-child(2) .qls-link-icon { color: #ffd99a; border-color: rgba(255, 217, 154, .35); }
.qlx-links li:nth-child(3) .qls-link-icon { color: #c9c2ff; border-color: rgba(201, 194, 255, .35); }
.qlx-links li:nth-child(4) .qls-link-icon { color: #c9f3d2; border-color: rgba(201, 243, 210, .35); }
.qlx-links li a b { color: #8ea99a; font: 13px/1 var(--ql-mono); }

#qlx-floating-nav { position: fixed; z-index: 10000; top: 50%; left: 12px; display: grid; gap: 7px; padding: 8px 6px; border: 1px solid rgba(159, 227, 237, .26); border-radius: 14px; background: rgba(20, 30, 41, .8); box-shadow: 0 16px 35px rgba(0, 0, 0, .25); opacity: .82; transform: translateY(-50%); backdrop-filter: blur(12px); }
#qlx-floating-nav a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid transparent; border-radius: 10px; color: #a9c9c1 !important; text-decoration: none !important; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
#qlx-floating-nav a span { font-size: 19px; line-height: 1; }
#qlx-floating-nav a b { position: absolute; left: 55px; padding: 4px 7px; border: 1px solid rgba(159, 227, 237, .3); border-radius: 6px; background: rgba(15, 27, 31, .96); color: #e8f2e8; font-size: 11px; font-weight: 500; opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .2s ease, transform .2s ease; transform: translateX(-4px); }
#qlx-floating-nav a:hover { border-color: rgba(159, 227, 237, .6); background: rgba(159, 227, 237, .14); color: #f3faed !important; transform: translateX(2px); }
#qlx-floating-nav a:hover b { opacity: 1; transform: translateX(0); }

.qlx-pointer {
  position: fixed;
  z-index: 9998;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(159, 227, 237, .65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease, opacity .2s ease, border-color .2s ease;
}
.qlx-pointer.is-ready { opacity: .7; }
.qlx-pointer.is-hover { width: 28px; height: 28px; border-color: var(--qls-mint); }
.qlx-click-ripple { position: fixed; z-index: 9997; width: 8px; height: 8px; border: 1px solid var(--qls-cyan); border-radius: 50%; pointer-events: none; animation: qls-ripple .65s ease-out forwards; }
.qlx-particle { position: fixed; z-index: 9996; width: 5px; height: 5px; border-radius: 50%; background: hsl(var(--qlx-particle-hue), 82%, 72%); box-shadow: 0 0 7px currentColor; pointer-events: none; animation: qls-particle .7s ease-out forwards; }
.qlx-click-glyph { position: fixed; z-index: 9999; color: var(--qls-orange); pointer-events: none; font: 600 20px/1 var(--ql-mono); text-shadow: 0 0 9px rgba(255, 217, 154, .7); transform: translate(-50%, -50%); animation: qls-glyph .8s ease-out forwards; }

body.qlx-scene-night { --qls-cyan: #b8c9ff; --qls-mint: #c7d6ff; }
body.qlx-scene-night #home::before { box-shadow: 0 0 0 2rem rgba(184, 201, 255, .035), 0 0 70px rgba(184, 201, 255, .16); }
body.qlx-scene-morning #home::before { box-shadow: 0 0 0 2rem rgba(255, 217, 154, .03), 0 0 70px rgba(255, 217, 154, .12); }
body.qlx-scene-evening #home::after { box-shadow: 0 0 0 2rem rgba(201, 194, 255, .035), 0 0 70px rgba(201, 194, 255, .15); }

@keyframes qls-ripple { from { opacity: .85; transform: translate(-50%, -50%) scale(.7); } to { opacity: 0; transform: translate(-50%, -50%) scale(5); } }
@keyframes qls-particle { from { opacity: .85; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(calc(-50% + var(--qlx-particle-x)), calc(-50% + var(--qlx-particle-y))) scale(.1); } }
@keyframes qls-glyph { from { opacity: .95; transform: translate(-50%, -50%) scale(.8) rotate(0); } to { opacity: 0; transform: translate(-50%, -145%) scale(1.5) rotate(25deg); } }
@keyframes qls-clock-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(159, 227, 237, .18); } 50% { transform: scale(1.06); box-shadow: 0 0 26px rgba(159, 227, 237, .36); } }
@keyframes qls-scene-float { 0%, 100% { transform: translateY(0) rotate(-5deg); opacity: .75; } 50% { transform: translateY(-3px) rotate(8deg); opacity: 1; } }

@media (max-width: 1100px) {
  #qlx-floating-nav { display: none; }
}
@media (max-width: 880px) {
  #qlx-studio-bar { grid-template-columns: auto auto 1fr; }
  .qls-quote-line { grid-column: 1 / -1; grid-row: 2; }
  .qls-scene-label { justify-self: end; }
  .qls-toc-list { max-height: 25vh; }
}
@media (min-width: 881px) {
  .qls-live-grid .qls-live-cell:last-child { grid-column: span 1; }
}
@media (max-width: 520px) {
  #qlx-studio-bar { grid-template-columns: auto 1fr; gap: 9px; margin-bottom: 19px; }
  .qls-weather { justify-self: end; }
  .qls-scene-label { grid-column: 1 / -1; justify-self: start; }
  .qls-social-list { gap: 4px; }
  .qls-social-link { min-height: 42px; }
  .qls-social-link img { width: 24px; height: 24px; }
  #qlx-profile-top { max-width: none; margin: 2px 0 14px; }
  .qls-top-profile-art { width: 52px; height: 52px; flex-basis: 52px; }
  #blogTitle h2 { font-size: 16px; letter-spacing: .04em; }
  .qls-calendar-grid { min-height: 160px; }
  #qlx-floating-nav { display: none; }
  .qlx-pointer, .qlx-click-ripple, .qlx-particle, .qlx-click-glyph { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .qlx-pointer, .qlx-click-ripple, .qlx-particle, .qlx-click-glyph { animation: none !important; transition: none !important; }
}
