@charset "UTF-8";
/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none;
}
a:visited {
  color: rgb(22.9483471074, 86.2541322314, 168.5516528926);
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(1500px - (30px * 2));
  max-width: calc(1500px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(1500px - (30px));
    max-width: calc(1500px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #828282;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(62.9, 62.9, 62.9);
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
}
table tr:nth-child(even) {
  background-color: rgb(247.3, 247.3, 247.3);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(239.65, 239.65, 239.65);
  border: 1px solid rgb(221.8, 221.8, 221.8);
  border-bottom-color: rgb(201.4, 201.4, 201.4);
}
table td {
  border: 1px solid #e8e8e8;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(66.25, 66.25, 66.25);
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(66.25, 66.25, 66.25);
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(66.25, 66.25, 66.25);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #828282;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

body {
  background-color: #121212 !important;
  color: #e0e0e0 !important;
}

.site-title {
  color: #fff !important;
  font-weight: bold;
}

.site-title:hover {
  color: #fff !important;
}

.page-link {
  color: #e0e0e0 !important;
}

.page-link:hover {
  color: #fff !important;
  text-decoration: underline;
}

.site-header {
  background-color: #1f1f1f !important;
  border-bottom: 1px solid #333;
}

.page-content,
.site-footer {
  background-color: #000 !important;
  color: #eee !important;
}

.page-content .wrapper {
  max-width: 900px;
}

a {
  color: #4db6ac;
}

a:hover {
  color: #80cbc4;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff !important;
}

.highlight {
  background-color: #1e1e1e !important;
  border: 1px solid #333;
}

pre {
  background-color: #1e1e1e !important;
  color: #d4d4d4 !important;
  border: 1px solid #333;
}

code {
  background-color: #333 !important;
  color: #ff9d00 !important;
  padding: 2px 4px;
  border-radius: 4px;
}

.highlight .c {
  color: #608b4e;
}
.highlight .k {
  color: #569cd6;
}
.highlight .s {
  color: #ce9178;
}
.highlight .nb {
  color: #4ec9b0;
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.hero {
  text-align: center;
  padding: 40px 20px 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #333;
}

.hero-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4db6ac;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-size: 1.8em;
  margin: 0 0 10px;
  font-family: "Noto Serif SC", serif;
}

.hero-desc {
  color: #aaa;
  font-size: 1em;
  margin: 0 0 20px;
  min-height: 1.5em;
}

.hero-desc .cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: #4db6ac;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(31, 31, 31, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e0e0e0 !important;
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 0.9em;
  transition: all 0.3s;
}

.hero-btn:hover {
  background: #4db6ac;
  color: #000 !important;
  border-color: #4db6ac;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 25px;
  padding: 16px 20px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 10px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 1.6em;
  font-weight: 700;
  color: #4db6ac;
  font-family: "Noto Serif SC", serif;
}

.stat-label {
  font-size: 0.8em;
  color: #888;
}

.hero-search {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  z-index: 1;
}

#search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  background: rgba(31, 31, 31, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 0.95em;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

#search-input:focus {
  border-color: #4db6ac;
}

#search-input::placeholder {
  color: #666;
}

#search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(31, 31, 31, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-top: none;
  border-radius: 0 0 8px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
}

#search-results.active {
  display: block;
}

#search-results li {
  border-bottom: 1px solid #2a2a2a;
}

#search-results li:last-child {
  border-bottom: none;
}

#search-results a {
  display: block;
  padding: 10px 14px;
  color: #e0e0e0 !important;
  text-decoration: none !important;
  transition: background 0.2s;
}

#search-results a:hover {
  background: #2a2a2a;
}

.search-title {
  display: block;
  font-size: 0.95em;
  margin-bottom: 2px;
}

.search-meta {
  font-size: 0.8em;
  color: #888;
}

.search-no-result {
  padding: 14px;
  color: #888;
  text-align: center;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  margin-bottom: 24px;
}

.post-card {
  display: flex;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
}

.post-card:hover {
  border-color: #4db6ac;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(77, 182, 172, 0.08);
}

.post-card-image {
  flex-shrink: 0;
  width: 200px;
  overflow: hidden;
}

.post-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-content {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card-content .post-meta {
  color: #888;
  font-size: 0.85em;
  margin-bottom: 6px;
}

.post-card-content h3 {
  margin: 0 0 8px;
}

.post-card-content .post-link {
  color: #e0e0e0 !important;
  text-decoration: none !important;
  font-size: 1.15em;
  transition: color 0.2s;
}

.post-card-content .post-link:hover {
  color: #4db6ac !important;
}

.post-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tag-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(31, 31, 31, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #4db6ac;
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 4px;
  font-size: 0.75em;
}

.post-card-excerpt {
  color: #999;
  font-size: 0.9em;
  line-height: 1.5;
}

.post-card-excerpt p {
  margin: 0;
}

@media (max-width: 600px) {
  .post-card {
    flex-direction: column;
  }
  .post-card-image {
    width: 100%;
    height: 180px;
  }
  .stats-bar {
    gap: 20px;
    flex-wrap: wrap;
  }
}
.post-category {
  color: #4db6ac !important;
  text-decoration: none !important;
}

.post-category:hover {
  text-decoration: underline !important;
}

.post-tag {
  color: #80cbc4 !important;
  text-decoration: none !important;
  font-size: 0.9em;
}

.post-tag:hover {
  text-decoration: underline !important;
}

.post-layout {
  display: flex;
  gap: 30px;
}

.post-main {
  flex: 1;
  min-width: 0;
}

.post-toc {
  flex-shrink: 0;
  width: 220px;
  display: none;
}

.toc-sticky {
  position: sticky;
  top: 30px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.toc-sticky::-webkit-scrollbar {
  width: 4px;
}

.toc-sticky::-webkit-scrollbar-track {
  background: transparent;
}

.toc-sticky::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 2px;
}

.toc-title {
  font-size: 0.95em;
  margin: 0 0 12px;
  color: #aaa !important;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}

#toc-nav {
  font-size: 0.85em;
  line-height: 1.8;
}

#toc-nav a {
  display: block;
  padding: 2px 0;
  color: #888 !important;
  text-decoration: none !important;
  transition: color 0.2s;
  border-left: 2px solid transparent;
  padding-left: 8px;
}

#toc-nav a:hover,
#toc-nav a.active {
  color: #4db6ac !important;
  border-left-color: #4db6ac;
}

#toc-nav .toc-h1 {
  padding-left: 0;
  font-weight: 600;
}

#toc-nav .toc-h2 {
  padding-left: 8px;
}

#toc-nav .toc-h3 {
  padding-left: 20px;
  font-size: 0.9em;
}

@media (min-width: 900px) {
  .post-toc {
    display: block;
  }
}
.post-content .katex-display,
.post-content .kdmath {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}

.related-posts {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.related-posts h3 {
  margin-bottom: 15px;
  font-size: 1.2em;
}

.related-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-posts li {
  margin-bottom: 8px;
}

.related-posts li a {
  color: #4db6ac !important;
  text-decoration: none !important;
}

.related-posts li a:hover {
  text-decoration: underline !important;
}

.related-posts .post-meta {
  margin-left: 8px;
  font-size: 0.85em;
  color: #888;
}

.share-buttons {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-label {
  font-size: 0.9em;
  color: #888;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 50%;
  color: #aaa !important;
  text-decoration: none !important;
  font-size: 0.95em;
  cursor: pointer;
  transition: all 0.3s;
}

.share-btn:hover {
  background: #4db6ac;
  color: #000 !important;
  border-color: #4db6ac;
}

.share-copy {
  font-family: inherit;
}

.code-block-wrapper {
  position: relative;
  margin: 15px 0;
}

.code-block-wrapper pre {
  margin: 0;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 12px;
  background: #333;
  color: #aaa;
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 0.8em;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  z-index: 10;
}

.code-block-wrapper:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  background: #4db6ac;
  color: #000;
}

.code-block-wrapper pre {
  counter-reset: code-line;
  padding: 12px 0;
}

.code-line {
  display: flex;
  counter-increment: code-line;
  padding: 0 16px;
  line-height: 1.6;
}

.code-line::before {
  content: counter(code-line);
  display: inline-block;
  width: 2.5em;
  padding-right: 12px;
  margin-right: 12px;
  text-align: right;
  color: #555;
  border-right: 1px solid #333;
  user-select: none;
  flex-shrink: 0;
  font-size: 0.9em;
}

.code-block-wrapper pre code {
  background: transparent !important;
  color: #d4d4d4 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

#back-to-top {
  position: fixed;
  bottom: 3cm;
  right: 30px;
  width: 5cm;
  height: 3.6cm;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  z-index: 999;
  cursor: pointer;
  padding: 0;
}

#back-to-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

#back-to-top:hover img {
  transform: scale(1.1);
}

#back-to-top.jumping img {
  animation: backToTopJump 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes backToTopJump {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(-1.5cm) scale(1.1);
  }
  50% {
    transform: translateY(-0.75cm) scale(1.05);
  }
  70% {
    transform: translateY(-1.1cm) scale(1.08);
  }
  85% {
    transform: translateY(-0.35cm) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
#cat-speech {
  position: fixed;
  bottom: 7cm;
  right: 30px;
  max-width: 220px;
  background: linear-gradient(135deg, #ffe4e1, #ffd1dc);
  color: #5a3d3d;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
  z-index: 998;
  word-break: break-word;
}

#cat-speech.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.speech-tail {
  position: absolute;
  bottom: -8px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #ffd1dc;
}

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #4db6ac, #80cbc4);
  z-index: 9999;
  transition: width 0.1s linear;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2.5em;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10001;
}

.lightbox-close:hover {
  color: #fff;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.flip-in {
  opacity: 0;
  transform: perspective(600px) rotateY(30deg);
  transform-origin: left center;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.flip-in.animate {
  opacity: 1;
  transform: perspective(600px) rotateY(0deg);
}

.categories-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  padding: 16px 20px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

.category-summary-item {
  color: #4db6ac;
  font-size: 0.95em;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.category-summary-item:hover {
  color: #80cbc4;
}

.category-summary-count {
  font-size: 0.75em;
  color: #80cbc4;
  font-weight: 600;
}

.categories-divider {
  width: 100%;
  height: 0.5cm;
  background: #4db6ac;
  margin: 18px 0 0;
  border: none;
  border-radius: 2px;
}

.categories-page {
  padding: 10px 0;
}

.category-group {
  margin-bottom: 30px;
}

.category-title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4db6ac;
  display: inline-block;
}

.post-count {
  font-size: 0.7em;
  color: #888;
  font-weight: normal;
}

.category-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-posts li {
  padding: 6px 0;
  border-bottom: 1px solid #1f1f1f;
}

.category-posts .post-meta {
  margin-right: 10px;
  color: #888;
  font-size: 0.85em;
}

.tags-page {
  padding: 10px 0;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
  padding: 20px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 10px;
  justify-content: center;
}

.tag-cloud-item {
  display: inline-block;
  padding: 6px 14px;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 20px;
  color: #4db6ac !important;
  text-decoration: none !important;
  transition: all 0.3s;
}

.tag-cloud-item:hover {
  background: #4db6ac;
  color: #000 !important;
  border-color: #4db6ac;
  transform: translateY(-2px);
}

.tag-count {
  font-size: 0.7em;
  color: #888;
  margin-left: 4px;
}

.tag-group {
  margin-bottom: 30px;
}

.tag-title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4db6ac;
  display: inline-block;
}

.tag-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-posts li {
  padding: 6px 0;
  border-bottom: 1px solid #1f1f1f;
}

.tag-posts .post-meta {
  margin-right: 10px;
  color: #888;
  font-size: 0.85em;
}

.category-grid, .tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 25px 0;
}

.category-card, .tag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 22px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 10px;
  transition: all 0.3s;
  text-decoration: none !important;
  color: inherit !important;
}

.category-card:hover, .tag-card:hover {
  border-color: #4db6ac;
  background: #1f1f1f;
  transform: translateY(-2px);
}

.category-card-icon, .tag-card-icon {
  font-size: 2.2em;
  color: #4db6ac;
  margin-bottom: 12px;
}

.category-card h3, .tag-card h3 {
  margin: 0 0 6px;
  font-size: 1.05em;
  color: #e0e0e0;
}

.category-card p, .tag-card p {
  color: #888;
  margin: 0;
  font-size: 0.85em;
}

.category-detail, .tag-detail {
  padding: 10px 0;
}

.category-detail-title, .tag-detail-title {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4db6ac;
  display: inline-block;
}

.category-detail-list, .tag-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-detail-list li, .tag-detail-list li {
  padding: 8px 0;
  border-bottom: 1px solid #1f1f1f;
}

.category-detail-list .post-meta, .tag-detail-list .post-meta {
  margin-right: 10px;
  color: #888;
  font-size: 0.85em;
}

.archive-page {
  padding: 10px 0;
}

.archive-year {
  margin-bottom: 25px;
}

.year-title {
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #333;
  color: #4db6ac !important;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-list li {
  padding: 5px 0;
}

.archive-list .post-meta {
  margin-right: 10px;
  color: #888;
  font-size: 0.85em;
}

.links-page {
  padding: 10px 0;
}

.friend-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 25px 0;
}

.friend-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.3s;
}

.friend-link:hover {
  border-color: #4db6ac;
  background: #1f1f1f;
  transform: translateY(-2px);
}

.friend-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #333;
  transition: border-color 0.3s;
}

.friend-link:hover .friend-avatar {
  border-color: #4db6ac;
}

.friend-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.friend-name {
  display: block;
  font-size: 1em;
  font-weight: 500;
  color: #e0e0e0;
}

.friend-desc {
  display: block;
  font-size: 0.8em;
  color: #888;
  margin-top: 2px;
}

.links-note {
  margin-top: 30px;
  padding: 20px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 8px;
  color: #ccc;
}

.links-note p {
  margin: 0 0 10px;
}

.links-note p:last-child {
  margin-bottom: 0;
}

.links-requirements {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
}

.links-requirements li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: #aaa;
  font-size: 0.95em;
}

.links-requirements li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #4db6ac;
}

.reading-time {
  color: #888;
  font-size: 0.9em;
}

.tools-page {
  padding: 10px 0;
}

.tools-page > p {
  color: #888;
  margin-bottom: 20px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 25px 0;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px 24px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 10px;
  transition: all 0.3s;
}

.tool-card:hover {
  border-color: #4db6ac;
  background: #1f1f1f;
  transform: translateY(-2px);
}

.tool-card-icon {
  font-size: 2.5em;
  color: #4db6ac;
  margin-bottom: 16px;
}

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 1.15em;
  color: #e0e0e0;
}

.tool-card > p {
  color: #888;
  margin: 0 0 20px;
  font-size: 0.85em;
  flex: 1;
}

.tool-btn {
  display: inline-block;
  padding: 8px 22px;
  background: #4db6ac;
  color: #000 !important;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.3s;
}

.tool-btn:hover {
  background: #80cbc4;
}

.tool-detail {
  padding: 10px 0;
}

.back-to-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4db6ac !important;
  font-size: 0.9em;
  margin-bottom: 20px;
  text-decoration: none !important;
  transition: color 0.3s;
}

.back-to-tools:hover {
  color: #80cbc4 !important;
}

.weather-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.weather-input-group input {
  flex: 1;
  padding: 10px 14px;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 6px;
  color: #e0e0e0;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s;
}

.weather-input-group input:focus {
  border-color: #4db6ac;
}

.weather-input-group button {
  padding: 10px 20px;
  background: #4db6ac;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.weather-input-group button:hover {
  background: #80cbc4;
}

#weather-result {
  min-height: 100px;
}

.weather-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  color: #666;
  font-size: 0.95em;
}

.weather-placeholder i {
  font-size: 1.5em;
}

.weather-loading {
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 1em;
}

.weather-error {
  text-align: center;
  padding: 30px 20px;
  color: #e57373;
  font-size: 0.95em;
}

.weather-card {
  padding: 20px;
  background: rgba(31, 31, 31, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 8px;
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.weather-location {
  display: flex;
  flex-direction: column;
}

.weather-location strong {
  font-size: 1.3em;
  color: #e0e0e0;
}

.weather-region {
  font-size: 0.8em;
  color: #888;
  margin-top: 2px;
}

.weather-temp {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-emoji {
  font-size: 2.2em;
}

.weather-temp-value {
  font-size: 2em;
  font-weight: 700;
  color: #4db6ac;
}

.weather-desc {
  font-size: 1em;
  color: #aaa;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a2a;
}

.weather-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.weather-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: #1a1a1a;
  border-radius: 6px;
}

.detail-label {
  font-size: 0.75em;
  color: #888;
}

.weather-detail-item span:last-child {
  font-size: 0.95em;
  color: #e0e0e0;
  font-weight: 500;
}

@media (max-width: 600px) {
  .weather-details {
    grid-template-columns: repeat(2, 1fr);
  }
  .weather-header {
    flex-direction: column;
    gap: 10px;
  }
  .weather-input-group {
    flex-direction: column;
  }
}
.langrank-toolbar {
  margin-bottom: 16px;
}

.langrank-toolbar button {
  padding: 8px 18px;
  background: #4db6ac;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.langrank-toolbar button:hover {
  background: #80cbc4;
}

#langrank-result {
  min-height: 200px;
}

.langrank-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 60px 20px;
  color: #666;
  font-size: 0.95em;
}

.langrank-placeholder i {
  font-size: 1.8em;
}

.langrank-loading {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 1em;
}

.langrank-error {
  text-align: center;
  padding: 40px 20px;
  color: #e57373;
  font-size: 0.95em;
}

.langrank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.langrank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9em;
}

.langrank-rank {
  color: #888;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.langrank-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.langrank-name {
  color: #e0e0e0;
  width: 100px;
  flex-shrink: 0;
}

.langrank-count {
  color: #e0e0e0;
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.langrank-bar-bg {
  flex: 1;
  height: 8px;
  background: #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  min-width: 60px;
}

.langrank-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.langrank-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #2a2a2a;
  font-size: 0.78em;
  color: #666;
  text-align: center;
}

.anime-image-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.anime-image-toolbar select {
  flex: 1;
  min-width: 140px;
  padding: 10px 14px;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 6px;
  color: #e0e0e0;
  font-size: 0.95em;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s;
}

.anime-image-toolbar select:focus {
  border-color: #4db6ac;
}

.anime-image-toolbar button {
  padding: 10px 20px;
  background: #4db6ac;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.anime-image-toolbar button:hover {
  background: #80cbc4;
}

#anime-result {
  min-height: 200px;
}

.anime-placeholder,
.anime-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 60px 20px;
  color: #666;
  font-size: 0.95em;
}

.anime-placeholder i {
  font-size: 2em;
}

.anime-loading i {
  font-size: 1.5em;
}

.anime-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  color: #e57373;
  font-size: 0.95em;
}

.anime-error i {
  font-size: 1.5em;
}

.anime-image-wrapper {
  display: flex;
  justify-content: center;
  padding: 10px;
  background: rgba(31, 31, 31, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 8px;
}

.anime-image-wrapper img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 6px;
  object-fit: contain;
}

.anime-source {
  margin-top: 16px;
  text-align: center;
  font-size: 0.78em;
  color: #666;
}

.anime-source a {
  color: #4db6ac !important;
}

body.light-mode .anime-image-toolbar select {
  background: rgba(240, 240, 240, 0.8);
  border-color: #ddd;
  color: #333;
}
body.light-mode .anime-image-wrapper {
  background: rgba(240, 240, 240, 0.8);
  border-color: #e0e0e0;
}

.footer-col .footer-heading {
  color: #4db6ac;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #333;
  font-size: 0.85em;
  color: #888;
  flex-wrap: wrap;
}

.footer-bottom i {
  margin-right: 4px;
  color: #4db6ac;
}

.stat-placeholder {
  color: #666;
}

.site-age #site-age-display {
  color: #e0e0e0;
  font-weight: 500;
}

.site-visitors span {
  color: #e0e0e0;
  font-weight: 500;
}

body.light-mode .footer-bottom {
  border-top-color: #e0e0e0;
  color: #999;
}
body.light-mode .site-age #site-age-display,
body.light-mode .site-visitors span {
  color: #444;
}

.site-header {
  position: relative;
}

.site-header .wrapper {
  position: relative;
}

.site-nav {
  padding-right: 70px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-trigger .fa-chevron-down {
  font-size: 0.7em;
  margin-left: 2px;
  transition: transform 0.2s;
}

.dropdown:hover .dropdown-trigger .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 90px;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 3px 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 2px 14px;
  line-height: 1.6;
  color: #aaa !important;
  text-decoration: none !important;
  font-size: 0.9em;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background: rgba(77, 182, 172, 0.15);
  color: #4db6ac !important;
}

@media screen and (max-width: 600px) {
  .dropdown {
    display: block;
  }
  .dropdown-trigger {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
    cursor: default;
    font-weight: 600;
    pointer-events: none;
  }
  .dropdown-trigger .fa-chevron-down {
    display: none;
  }
  .dropdown-menu {
    display: block;
    position: static;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 0;
    box-shadow: none !important;
    white-space: normal;
  }
  .dropdown-item {
    margin-left: 32px;
    padding: 5px 10px;
    font-size: 0.95em;
  }
}
body.light-mode .dropdown-menu {
  background: #f5f5f5;
  border-color: #e0e0e0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
body.light-mode .dropdown-item {
  color: #555 !important;
}
body.light-mode .dropdown-item:hover {
  background: rgba(77, 182, 172, 0.1);
  color: #4db6ac !important;
}

.header-actions {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
  z-index: 30;
}

.header-icon-btn {
  background: none !important;
  border: none !important;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 1em;
  color: #e0e0e0;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}

.header-icon-btn:hover {
  color: #4db6ac;
  background: rgba(77, 182, 172, 0.1);
}

.quick-search {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: rgba(31, 31, 31, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 10px;
  padding: 12px;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.quick-search.active {
  display: block;
}

.quick-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(51, 51, 51, 0.6);
  border-radius: 8px;
  padding: 8px 14px;
}

.quick-search-inner > .fa-search {
  color: #666;
  font-size: 0.9em;
  flex-shrink: 0;
}

#quick-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #e0e0e0;
  font-size: 0.95em;
  outline: none;
  font-family: inherit;
  min-width: 0;
}

#quick-search-input::placeholder {
  color: #666;
}

.quick-search-esc {
  font-size: 0.6em;
  color: #888;
  background: rgba(51, 51, 51, 0.6);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(51, 51, 51, 0.6);
  line-height: 1.4;
  flex-shrink: 0;
}

.quick-search-results {
  display: none;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}

.quick-search-results.active {
  display: block;
}

.quick-search-results li {
  border-bottom: 1px solid #2a2a2a;
}

.quick-search-results li:last-child {
  border-bottom: none;
}

.quick-search-results a {
  display: block;
  padding: 8px 12px;
  color: #e0e0e0 !important;
  text-decoration: none !important;
  font-size: 0.9em;
  transition: background 0.2s;
  border-radius: 4px;
}

.quick-search-results a:hover {
  background: #2a2a2a;
}

.quick-search-no-result {
  padding: 14px;
  color: #888;
  text-align: center;
  font-size: 0.9em;
}

body.light-mode {
  background-color: #ffffff !important;
  color: #333333 !important;
}
body.light-mode .site-header {
  background-color: #f5f5f5 !important;
  border-bottom-color: #e0e0e0;
}
body.light-mode .site-title, body.light-mode .page-link, body.light-mode .header-icon-btn {
  color: #333333 !important;
}
body.light-mode .page-content, body.light-mode .site-footer {
  background-color: #fafafa !important;
  color: #444444 !important;
}
body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4, body.light-mode h5, body.light-mode h6 {
  color: #222222 !important;
}
body.light-mode a {
  color: #4db6ac;
}
body.light-mode a:hover {
  color: #80cbc4;
}
body.light-mode .hero-btn, body.light-mode .stats-bar, body.light-mode .post-card, body.light-mode .categories-summary,
body.light-mode .tag-cloud, body.light-mode .friend-link, body.light-mode .tool-card, body.light-mode .weather-card,
body.light-mode .links-note, body.light-mode .code-block-wrapper pre, body.light-mode .highlight,
body.light-mode .weather-input-group input, body.light-mode .quick-search {
  background: rgba(240, 240, 240, 0.8) !important;
  border-color: #e0e0e0 !important;
}
body.light-mode .quick-search {
  background: #fafafa !important;
}
body.light-mode .quick-search-inner {
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: #ddd !important;
}
body.light-mode #quick-search-input {
  color: #333 !important;
}
body.light-mode #quick-search-input::placeholder {
  color: #999;
}
body.light-mode .quick-search-esc {
  color: #999;
  background: rgba(200, 200, 200, 0.6);
  border-color: #ccc;
}
body.light-mode .quick-search-results a {
  color: #333 !important;
}
body.light-mode .quick-search-results a:hover {
  background: #eee;
}
body.light-mode .hero-btn {
  color: #333 !important;
  border-color: #ddd !important;
}
body.light-mode .hero-btn:hover {
  background: #4db6ac !important;
  color: #000 !important;
}
body.light-mode .post-card-content .post-link {
  color: #333 !important;
}
body.light-mode .post-card-excerpt, body.light-mode .post-meta {
  color: #888 !important;
}
body.light-mode .post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
body.light-mode .tag-badge, body.light-mode .tag-cloud-item {
  background: rgba(240, 240, 240, 0.8) !important;
  border-color: #ddd !important;
}
body.light-mode .tag-cloud-item:hover {
  background: #4db6ac !important;
  color: #000 !important;
}
body.light-mode #search-input {
  color: #333 !important;
  border-color: #ddd !important;
  background: rgba(240, 240, 240, 0.8) !important;
}
body.light-mode #search-input::placeholder {
  color: #999;
}
body.light-mode #search-results {
  background: rgba(245, 245, 245, 0.95) !important;
  border-color: #ddd !important;
}
body.light-mode #search-results a {
  color: #333 !important;
}
body.light-mode #search-results a:hover {
  background: #eee;
}
body.light-mode pre, body.light-mode code, body.light-mode .highlight {
  background-color: #f5f5f5 !important;
  border-color: #e0e0e0;
}
body.light-mode code {
  background-color: #eee !important;
  color: #c7254e !important;
}
body.light-mode .code-block-wrapper pre code {
  color: #333 !important;
}
body.light-mode .copy-btn {
  background: #e0e0e0;
  color: #666;
  border-color: #ccc;
}
body.light-mode .copy-btn:hover {
  background: #4db6ac;
  color: #000;
}
body.light-mode .share-buttons {
  border-top-color: #ddd;
}
body.light-mode .share-btn {
  background: #e0e0e0;
  border-color: #ccc;
  color: #666 !important;
}
body.light-mode .share-btn:hover {
  background: #4db6ac;
  color: #000 !important;
  border-color: #4db6ac;
}
body.light-mode .toc-sticky::-webkit-scrollbar-thumb {
  background: #bbb;
}
body.light-mode .toc-title {
  color: #666 !important;
  border-bottom-color: #ddd;
}
body.light-mode #toc-nav a {
  color: #666 !important;
}
body.light-mode .stat-label, body.light-mode .search-meta, body.light-mode .weather-region, body.light-mode .weather-desc,
body.light-mode .detail-label, body.light-mode .friend-desc, body.light-mode .reading-time, body.light-mode .post-count,
body.light-mode .share-label, body.light-mode .links-note, body.light-mode .archive-list .post-meta {
  color: #888 !important;
}
body.light-mode .weather-detail-item {
  background: #f0f0f0;
}
body.light-mode .weather-detail-item span:last-child {
  color: #333 !important;
}
body.light-mode .weather-location strong {
  color: #333 !important;
}
body.light-mode .weather-input-group input {
  color: #333 !important;
}
body.light-mode .weather-desc {
  border-bottom-color: #ddd;
}
body.light-mode .friend-name {
  color: #333 !important;
}
body.light-mode .friend-link:hover {
  background: #e8e8e8 !important;
}
body.light-mode #reading-progress {
  background: linear-gradient(90deg, #4db6ac, #64b5f6);
}
body.light-mode #particle-canvas {
  opacity: 0.3;
}
body.light-mode #back-to-top img {
  box-shadow: none;
}
body.light-mode .langrank-name, body.light-mode .langrank-count {
  color: #333 !important;
}
body.light-mode .langrank-bar-bg {
  background: #ddd !important;
}
body.light-mode .langrank-footer {
  border-top-color: #ddd;
}

.ripple {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, rgba(77, 182, 172, 0.35), rgba(100, 181, 246, 0.15));
  border: 2px solid #4db6ac;
  transform: translate(-50%, -50%) scale(0);
  z-index: 9999;
  animation: rippleAnim 0.75s ease-out forwards;
}

@keyframes rippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
    border-color: #4db6ac;
  }
  50% {
    border-color: #64b5f6;
  }
  100% {
    transform: translate(-50%, -50%) scale(14);
    opacity: 0;
    border-color: #64b5f6;
  }
}

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