@charset "UTF-8";
.liquid-glass {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
}
.liquid-glass::before, .liquid-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.liquid-glass::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.liquid-glass::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}

.liquid-glass-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

html[data-theme=light] {
  --light-bg: #F7F2E8;
  --light-bg-alt: #FAF5ED;
  --light-text-primary: #2C2420;
  --light-text-secondary: #6B5D4E;
  --light-text-tertiary: #8F7E6C;
  --light-accent: #C4956A;
  --light-accent-hover: #A87D55;
  --light-accent-visited: #8B6F4E;
  --light-glass-bg: rgba(247, 242, 232, 0.72);
  --light-glass-border: rgba(44, 36, 32, 0.07);
  --light-glass-shine: rgba(247, 242, 232, 0.9);
  --light-glass-edge: rgba(44, 36, 32, 0.04);
  --light-header-bg: rgba(247, 242, 232, 0.25);
  --light-header-border: rgba(44, 36, 32, 0.06);
  --light-nav-color: #4A3B2A;
  --light-nav-indicator-bg: rgba(74, 59, 42, 0.07);
  --light-nav-indicator-border: rgba(44, 36, 32, 0.18);
  --light-shadow-sm: 0 10px 24px rgba(44, 36, 32, 0.05);
  --light-shadow-md: 0 26px 54px rgba(44, 36, 32, 0.09);
  --light-shadow-lg: 0 10px 28px rgba(44, 36, 32, 0.08);
  --light-shadow-header: 0 10px 24px rgba(44, 36, 32, 0.04),
      0 28px 56px rgba(44, 36, 32, 0.1);
  --light-code-bg: rgba(44, 36, 32, 0.06);
  --light-code-text: #2C2420;
  --light-code-block-bg: #EDE5D9;
  --light-code-block-text: #333333;
  --light-code-border: rgba(44, 36, 32, 0.12);
  --light-code-block-border: rgba(44, 36, 32, 0.10);
  --light-note-color: #3B6E9B;
  --light-warning-color: #9A7B3C;
  --light-error-color: #A8483A;
  --light-table-border: rgba(44, 36, 32, 0.10);
  --light-table-header: rgba(44, 36, 32, 0.05);
  --light-table-row: rgba(44, 36, 32, 0.025);
  --light-table-bg: rgba(44, 36, 32, 0.02);
  --light-toc-link: #6B5D4E;
  --light-toc-active: #C4956A;
  --light-toc-hover: #8B6F4E;
  --light-blockquote-border: rgba(44, 36, 32, 0.3);
  --light-blockquote-bg: rgba(44, 36, 32, 0.04);
  --light-blockquote-text: rgba(44, 36, 32, 0.78);
  --light-hr: rgba(44, 36, 32, 0.28);
  --light-glass-gradient-base: rgba(247, 242, 232, 0.96);
  --light-glass-gradient-side: rgba(247, 242, 232, 0.72);
  --light-glass-gradient-edge: rgba(247, 242, 232, 0.35);
  --light-glass-gradient-radial: rgba(247, 242, 232, 0.82);
  --light-glass-inner-top: rgba(247, 242, 232, 0.95);
  --light-glass-inner-right: rgba(247, 242, 232, 0.62);
  --light-glass-inner-left: rgba(247, 242, 232, 0.38);
  --light-glass-inner-bottom: rgba(247, 242, 232, 0.32);
  --light-glass-inner-glow: rgba(247, 242, 232, 0.72);
  --light-header-gradient-top: rgba(247, 242, 232, 0.17);
  --light-header-gradient-side: rgba(247, 242, 232, 0.085);
  --light-header-gradient-edge: rgba(247, 242, 232, 0.028);
  --light-header-gradient-radial: rgba(247, 242, 232, 0.16);
  --light-header-inner-top: rgba(247, 242, 232, 0.18);
  --light-header-inner-right: rgba(247, 242, 232, 0.08);
  --light-header-inner-left: rgba(247, 242, 232, 0.035);
  --light-header-inner-bottom: rgba(247, 242, 232, 0.05);
  --light-header-inner-glow: rgba(247, 242, 232, 0.24);
  --light-icon-shadow: 0 6px 14px rgba(44, 36, 32, 0.08),
      0 12px 26px rgba(44, 36, 32, 0.05);
  --light-tag-text: #1f2937;
  --light-tag-hover-border: rgba(44, 36, 32, 0.14);
  --light-tag-hover-bg: rgba(44, 36, 32, 0.05);
  --light-post-nav-text: rgba(44, 36, 32, 0.85);
  --light-post-nav-disabled: rgba(44, 36, 32, 0.4);
  --light-nav-shadow: 0 12px 24px rgba(44, 36, 32, 0.04),
      0 22px 42px rgba(44, 36, 32, 0.08),
      0 14px 30px rgba(44, 36, 32, 0.06);
}

html[data-theme=light] #starCanvas {
  opacity: 0;
  pointer-events: none;
}

html[data-theme=light]:not([data-bg]),
html[data-theme=light][data-bg=paper] {
  --light-page-bg: #FCF9F2;
  background-color: #FCF9F2;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

html[data-theme=light][data-bg=gradient] {
  --light-page-bg: #1C1917;
  background-color: #1C1917;
  background-image: none;
  --light-text-primary: #E8DDD4;
  --light-text-secondary: #B8A99C;
  --light-text-tertiary: #8F7E6E;
  --light-accent: #D4A87C;
  --light-accent-hover: #E0B890;
  --light-glass-bg: rgba(255, 255, 255, 0.04);
  --light-glass-border: rgba(255, 255, 255, 0.08);
  --light-glass-edge: rgba(255, 255, 255, 0.04);
  --light-header-bg: rgba(28, 25, 23, 0.5);
  --light-header-border: rgba(255, 255, 255, 0.06);
  --light-nav-color: #D0C5B8;
  --light-nav-indicator-bg: rgba(255, 255, 255, 0.08);
  --light-nav-indicator-border: rgba(255, 255, 255, 0.12);
  --light-hr: rgba(255, 255, 255, 0.18);
  --light-code-bg: rgba(255, 255, 255, 0.06);
  --light-code-border: rgba(255, 255, 255, 0.08);
  --light-code-block-bg: rgba(255, 255, 255, 0.04);
  --light-code-block-text: #D0C5B8;
  --light-code-block-border: rgba(255, 255, 255, 0.08);
  --light-blockquote-border: rgba(255, 255, 255, 0.2);
  --light-blockquote-bg: rgba(255, 255, 255, 0.04);
  --light-blockquote-text: rgba(232, 221, 212, 0.78);
  --light-table-border: rgba(255, 255, 255, 0.1);
  --light-table-header: rgba(255, 255, 255, 0.06);
  --light-table-row: rgba(255, 255, 255, 0.03);
  --light-table-bg: rgba(255, 255, 255, 0.02);
  --light-toc-link: #B8A99C;
  --light-toc-active: #D4A87C;
  --light-toc-hover: #D0C5B8;
  --light-tag-text: #D0C5B8;
  --light-tag-hover-border: rgba(255, 255, 255, 0.14);
  --light-tag-hover-bg: rgba(255, 255, 255, 0.06);
  --light-post-nav-text: rgba(232, 221, 212, 0.85);
  --light-post-nav-disabled: rgba(255, 255, 255, 0.3);
}
html[data-theme=light][data-bg=gradient] .site-header .top-btn__icon {
  filter: brightness(0) invert(1);
  opacity: 0.82;
}
html[data-theme=light][data-bg=gradient] {
  --light-note-color: #A0C8E8;
  --light-warning-color: #E0C888;
  --light-error-color: #E0A098;
}
html[data-theme=light][data-bg=gradient] .glass-card code {
  background: rgba(255, 255, 255, 0.08);
  color: #D0C5B8;
}
html[data-theme=light][data-bg=gradient] .glass-card pre {
  color: #D0C5B8;
}
html[data-theme=light][data-bg=gradient] .glass-card pre code {
  color: #D0C5B8;
}
html[data-theme=light][data-bg=gradient] .glass-card div.highlighter-rouge {
  background: #1A1A1A;
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme=light][data-bg=gradient] .glass-card div.highlighter-rouge[class*=language-]::before {
  background: rgba(255, 255, 255, 0.06);
  color: #8F7E6E;
}
html[data-theme=light][data-bg=gradient] .glass-card .highlight {
  background: transparent;
}
html[data-theme=light][data-bg=gradient] .glass-card .copy-code-btn {
  color: #8F7E6E;
}
html[data-theme=light][data-bg=gradient] .glass-card .copy-code-btn:hover {
  color: #D0C5B8;
}

html[data-theme=light][data-bg=clean] {
  --light-page-bg: #FAFAF8;
  background-color: #FAFAF8;
  background-image: none;
  --light-glass-bg: rgba(250, 250, 248, 0.72);
  --light-glass-shine: rgba(250, 250, 248, 0.92);
  --light-glass-gradient-base: rgba(250, 250, 248, 0.96);
  --light-glass-gradient-side: rgba(250, 250, 248, 0.74);
  --light-glass-gradient-edge: rgba(250, 250, 248, 0.38);
  --light-glass-gradient-radial: rgba(250, 250, 248, 0.84);
  --light-glass-inner-top: rgba(250, 250, 248, 0.96);
  --light-glass-inner-right: rgba(250, 250, 248, 0.64);
  --light-glass-inner-left: rgba(250, 250, 248, 0.40);
  --light-glass-inner-bottom: rgba(250, 250, 248, 0.34);
  --light-glass-inner-glow: rgba(250, 250, 248, 0.74);
  --light-header-gradient-top: rgba(250, 250, 248, 0.18);
  --light-header-gradient-side: rgba(250, 250, 248, 0.09);
  --light-header-gradient-edge: rgba(250, 250, 248, 0.03);
  --light-header-gradient-radial: rgba(250, 250, 248, 0.17);
  --light-header-inner-top: rgba(250, 250, 248, 0.20);
  --light-header-inner-right: rgba(250, 250, 248, 0.09);
  --light-header-inner-left: rgba(250, 250, 248, 0.04);
  --light-header-inner-bottom: rgba(250, 250, 248, 0.06);
  --light-header-inner-glow: rgba(250, 250, 248, 0.26);
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
}
.liquid-glass::before, .liquid-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.liquid-glass::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.liquid-glass::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}

.liquid-glass-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-header {
  position: fixed;
  --header-top: 16px;
  top: var(--header-top);
  left: 50%;
  transform: translateX(-50%);
  width: calc(70% + 60px);
  max-width: 1260px;
  z-index: 1000;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 44px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  transition: top 0.18s ease-out;
}
.site-header::before, .site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-header::before {
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.17), transparent 8%), linear-gradient(90deg, rgba(255, 255, 255, 0.085), transparent 8%, transparent 92%, rgba(255, 255, 255, 0.028)), radial-gradient(90% 18% at 50% 0%, rgba(255, 255, 255, 0.16) 0, transparent 78%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.site-header::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.site-header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
}
.site-header .nav .nav-links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-wrap: wrap;
  gap: 20px;
}
.site-header .nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 6px 18px;
  border-radius: 40px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.site-header .nav a:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
}
.site-header .nav a:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.site-header .nav a::before, .site-header .nav a::after {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-header .nav a.active::before, .site-header .nav a.active::after {
  opacity: 0;
}
.site-header .nav .nav-indicator {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
}
.site-header .nav .nav-indicator::before, .site-header .nav .nav-indicator::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-header .nav .nav-indicator::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.site-header .nav .nav-indicator::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.site-header .nav .nav-indicator {
  position: absolute;
  left: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: 40px;
  transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1), top 0.35s cubic-bezier(0.22, 1, 0.36, 1), height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header .nav .top-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: white;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.16s ease;
}
.site-header .nav .top-btn:hover {
  opacity: 0.82;
  transform: translateY(-3px);
}
.site-header .nav .top-btn.top-btn--visible {
  opacity: 1;
  pointer-events: auto;
}
.site-header .nav .top-btn.post-back-btn {
  opacity: 1;
  pointer-events: auto;
}
.site-header .nav .top-btn.post-back-btn .top-btn__icon {
  transform: rotate(-90deg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header .nav .top-btn.post-back-btn.top-btn--scrolled .top-btn__icon {
  transform: rotate(0deg);
}
.site-header .nav .top-btn__icon {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: brightness(0) invert(1);
}
.site-header .nav .theme-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: white;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.site-header .nav .theme-toggle:hover {
  opacity: 0.82;
  transform: rotate(30deg);
}
.site-header .nav .theme-toggle__icon {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}
@media (max-width: 720px) {
  .site-header {
    --header-top: 12px;
    border-radius: 26px;
  }
  .site-header .nav {
    gap: 10px;
    padding: 8px 14px;
  }
  .site-header .nav .nav-links {
    justify-content: center;
    gap: 10px;
  }
  .site-header .nav a {
    font-size: 14px;
    padding: 5px 14px;
  }
  .site-header .nav .top-btn {
    width: 38px;
    height: 38px;
  }
  .site-header .nav .top-btn__icon {
    width: 21px;
    height: 21px;
  }
  .site-header .nav .theme-toggle {
    width: 38px;
    height: 38px;
  }
  .site-header .nav .theme-toggle__icon {
    width: 21px;
    height: 21px;
  }
}
@media (max-width: 480px) {
  .site-header {
    border-radius: 22px;
  }
  .site-header .nav {
    padding: 7px 12px;
    gap: 8px;
  }
  .site-header .nav .nav-links {
    gap: 8px;
  }
  .site-header .nav a {
    font-size: 13px;
    padding: 4px 12px;
  }
  .site-header .nav .top-btn {
    width: 34px;
    height: 34px;
  }
  .site-header .nav .top-btn__icon {
    width: 18px;
    height: 18px;
  }
  .site-header .nav .theme-toggle {
    width: 34px;
    height: 34px;
  }
  .site-header .nav .theme-toggle__icon {
    width: 18px;
    height: 18px;
  }
}

.bg-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.bg-selector:hover {
  opacity: 1;
}

.bg-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--dot-color);
  transition: transform 0.15s, border-color 0.15s;
}
.bg-btn:hover {
  transform: scale(1.3);
}
.bg-btn.is-active {
  border-color: rgba(44, 36, 32, 0.4);
  transform: scale(1.2);
}

[data-theme=dark] .bg-selector {
  display: none;
}

.nav-reading-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 80%);
  white-space: nowrap;
  font-size: 18px;
  font-weight: 600;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  z-index: 2;
  max-width: calc(100% - 120px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.site-header.nav-reading .nav-links {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}
.site-header.nav-reading .nav-reading-title {
  transform: translate(-50%, -50%);
  opacity: 1;
}
.site-header.nav-reading .top-btn {
  z-index: 3;
}

@media (max-width: 720px) {
  .nav-reading-title {
    font-size: 16px;
    max-width: calc(100% - 100px);
  }
}
@media (max-width: 480px) {
  .nav-reading-title {
    font-size: 14px;
    max-width: calc(100% - 80px);
  }
}
.post-toc a {
  color: rgba(226, 232, 240, 0.82);
  text-decoration: none;
  text-decoration-line: none;
  transition: color 0.2s ease;
}
.post-toc a:visited {
  color: rgba(226, 232, 240, 0.82);
  text-decoration: none;
}
.post-toc a:hover {
  color: #b7d8ff;
  text-decoration: none;
}
.post-toc a.is-active, .post-toc a[aria-current=true] {
  color: #74b8ff;
}

.tags-list .tag {
  display: inline-block;
  border-radius: 999px;
  transform: translateY(0);
  transition: transform 0.18s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}
.tags-list .tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08), 0 0 56px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.024);
}

.post-card .post-header {
  margin-bottom: 20px;
}
.post-card .post-header h1 {
  margin-bottom: 10px;
}
.post-card .post-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
[data-theme=light] .post-card .post-meta {
  color: var(--light-text-secondary);
}
.post-card .post-tags {
  margin-top: 10px;
}
.post-card .post-tags .tag {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 8px;
  border-radius: 999px;
  font-size: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
}
.post-card .post-tags .tag::before, .post-card .post-tags .tag::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-card .post-tags .tag::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.post-card .post-tags .tag::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.post-card .post-tags .tag {
  color: rgba(255, 255, 255, 0.85);
}
.post-card .post-toc {
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 16px;
}
.post-card .post-toc::before, .post-card .post-toc::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-card .post-toc::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.post-card .post-toc::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.post-card .post-toc .toc-title {
  font-size: 12px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.post-card .post-toc .toc-content {
  overflow: auto;
  /* 隐藏滚动条但保留滚动功能 */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}
.post-card .post-toc .toc-content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}
.post-card .post-toc ul {
  margin: 0;
  padding-left: 16px;
  list-style: none;
}
.post-card .post-toc ul li {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.3;
  padding: 0;
}
.post-card .post-toc ul a {
  color: inherit;
}
.post-card .post-toc ul ul {
  padding-left: 16px;
  /* 所有层级相同的缩进 */
  margin: 0;
  /* 移除额外的垂直间距 */
}
.post-card .post-toc ul ul li {
  margin-bottom: 8px;
  /* 统一垂直间距 */
  font-size: 12px;
  line-height: 1.3;
  padding: 0;
}
.post-card .post-toc ul ul ul {
  padding-left: 16px;
  /* 更深层级的缩进也相同 */
  margin: 0;
}
.post-card .post-content {
  margin-top: 20px;
}
.post-card .post-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  table-layout: auto;
}
.post-card .post-content thead {
  background: rgba(255, 255, 255, 0.08);
}
.post-card .post-content th,
.post-card .post-content td {
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  vertical-align: top;
}
.post-card .post-content th {
  font-weight: 600;
}
.post-card .post-content tr th:last-child,
.post-card .post-content tr td:last-child {
  border-right: 0;
}
.post-card .post-content tbody tr:last-child td {
  border-bottom: 0;
}
.post-card .post-content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}
.post-card .post-nav {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.post-card .post-nav a {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 12px 16px;
}
.post-card .post-nav a::before, .post-card .post-nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-card .post-nav a::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.post-card .post-nav a::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.post-card .post-nav a {
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.post-card .post-nav a:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: translateY(-2px) scale(1.018);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
}
.post-card .post-nav a:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.post-card .post-nav a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.post-card .post-nav .disabled {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 12px 16px;
}
.post-card .post-nav .disabled::before, .post-card .post-nav .disabled::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-card .post-nav .disabled::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.post-card .post-nav .disabled::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.post-card .post-nav .disabled {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
  opacity: 0.6;
}
.post-card .post-nav .prev {
  text-align: right;
}
.post-card .post-nav .next {
  text-align: left;
}
[data-theme=light] .post-card .post-nav a {
  color: var(--light-post-nav-text);
}
[data-theme=light] .post-card .post-nav .disabled {
  color: var(--light-post-nav-disabled);
}

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

.post-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.post-pagination__button {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 12px 16px;
}
.post-pagination__button::before, .post-pagination__button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-pagination__button::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.post-pagination__button::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.post-pagination__button {
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.post-pagination__button:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: translateY(-2px) scale(1.018);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
}
.post-pagination__button:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.post-pagination__button {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-family: inherit;
}
.post-pagination__button--prev {
  text-align: left;
}
.post-pagination__button--next {
  text-align: right;
}
.post-pagination__button:disabled {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 12px 16px;
}
.post-pagination__button:disabled::before, .post-pagination__button:disabled::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-pagination__button:disabled::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.post-pagination__button:disabled::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.post-pagination__button:disabled {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
  opacity: 0.6;
  pointer-events: none;
}
.post-pagination__button:disabled:hover {
  animation: none;
  transform: none;
  background: rgba(255, 255, 255, 0.006);
  border-color: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}
.post-pagination__current {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  white-space: nowrap;
}

[data-theme=light] .post-pagination__current {
  color: var(--light-text-secondary);
}

@media (min-width: 1001px) {
  body[data-section=posts] .page-container {
    padding-top: 50px;
  }
}
.post-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 4px 0;
}
.post-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.post-search__input, .post-search__clear {
  position: relative;
  z-index: 2;
  font: inherit;
}
.post-search__input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  color: white;
  background: transparent;
  border: 0;
  outline: 0;
}
.post-search__input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}
.post-search__clear {
  padding: 6px 2px 6px 10px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}
.post-search__clear:hover, .post-search__clear:focus-visible {
  color: white;
  background: transparent;
}

.page-main-card .post-search__status {
  margin: 10px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
}

.post-search__empty {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.post-search__empty {
  padding: 20px 0;
  text-align: center;
}

[data-theme=light] .post-search {
  background: transparent;
}
[data-theme=light] .post-search .post-search__input {
  color: var(--light-text-primary);
}
[data-theme=light] .post-search .post-search__input::placeholder {
  color: var(--light-text-secondary);
}
[data-theme=light] .post-search .post-search__clear {
  color: var(--light-text-secondary);
  background: transparent;
}
[data-theme=light] .post-search .post-search__clear:hover, [data-theme=light] .post-search .post-search__clear:focus-visible {
  color: var(--light-text-primary);
  background: transparent;
}

[data-theme=light] .page-main-card .post-search__status {
  color: rgba(44, 36, 32, 0.5);
}

[data-theme=light] .post-search__empty {
  color: var(--light-text-secondary);
}

@media (max-width: 480px) {
  .post-search {
    padding: 4px 0;
  }
}
.post-item {
  margin-bottom: 16px;
}
.post-item a {
  display: block;
  transform: scale3d(1, 1, 1);
  transform-origin: center;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 16px;
}
.post-item a::before, .post-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-item a::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.post-item a::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.post-item a {
  will-change: transform, box-shadow, border-color, background-color;
  animation: none;
  transition: box-shadow 0.16s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.16s ease-out, background-color 0.16s ease-out;
  text-decoration: none;
}
.post-item a:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: scale3d(1.018, 1.018, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.post-item a:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.post-item .post-title {
  font-size: 18px;
  color: white;
  margin-bottom: 6px;
}
.post-item .post-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.post-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}
.post-meta .post-author {
  font-weight: 500;
}
.post-meta .post-tags .tag {
  padding: 2px 6px;
  border-radius: 999px;
  margin-right: 4px;
  font-size: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
}
.post-meta .post-tags .tag::before, .post-meta .post-tags .tag::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.post-meta .post-tags .tag::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.post-meta .post-tags .tag::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}

[data-theme=light] .tags-list .post-tags .tag,
[data-theme=light] .post-meta .post-tags .tag {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme=light] .tags-list .post-tags .tag::before, [data-theme=light] .tags-list .post-tags .tag::after,
[data-theme=light] .post-meta .post-tags .tag::before,
[data-theme=light] .post-meta .post-tags .tag::after {
  display: none;
}

.tags-list .post-tags .tag {
  padding: 2px 6px;
  border-radius: 999px;
  margin-right: 4px;
  font-size: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
}
.tags-list .post-tags .tag::before, .tags-list .post-tags .tag::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tags-list .post-tags .tag::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.tags-list .post-tags .tag::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}

[data-theme=light] .post-card .post-tags .tag:hover,
[data-theme=light] .tags-list .post-tags .tag:hover,
[data-theme=light] .post-meta .post-tags .tag:hover {
  background: rgba(44, 36, 32, 0.04);
  border-color: rgba(44, 36, 32, 0.08);
  box-shadow: none;
}

[data-theme=light] .post-card .post-meta {
  color: var(--light-text-secondary);
}

.post-sidebar-card .post-toc {
  margin: 0;
}

@keyframes post-card-settle {
  0% {
    transform: scale3d(1.018, 1.018, 1);
  }
  55% {
    transform: scale3d(0.992, 0.992, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}
@keyframes post-card-pop {
  0% {
    transform: scale3d(1, 1, 1);
  }
  65% {
    transform: scale3d(1.026, 1.026, 1);
  }
  100% {
    transform: scale3d(1.018, 1.018, 1);
  }
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

html {
  overflow-y: auto;
  overflow-x: hidden;
  background: black;
}
html::-webkit-scrollbar {
  width: 8px;
}
html::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
  transition: background 0.3s;
}
html:hover::-webkit-scrollbar-thumb {
  background: rgba(202, 202, 202, 0.3);
}
html:hover::-webkit-scrollbar-thumb:hover {
  background: #707070;
}

.star-canvas-page {
  min-height: 100vh;
  touch-action: none;
  background: transparent;
  overflow-y: visible;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

#starCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: -1;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-container {
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
  justify-content: center;
}

.page-shell {
  width: calc(70% + 60px);
  max-width: 1260px;
}

.page-shell.has-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: flex-start;
  gap: 24px;
}

.page-shell.has-sidebar .sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: auto;
}

.page-main-card {
  min-width: 0;
  width: 100%;
}

.page-aside-card {
  min-width: 0;
  width: 100%;
}

.page-shell.has-sidebar .page-aside-card {
  position: fixed;
  top: calc(var(--header-height, 64px) + var(--header-current-top, 16px) * 2);
  right: var(--aside-right, max((100vw - 1260px) / 2, 15vw - 30px));
  width: 280px;
  max-height: calc(100vh - (var(--header-height, 64px) + var(--header-current-top, 16px) * 2) - 20px);
  overflow: auto;
  /* 隐藏滚动条但保留滚动功能 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
.page-shell.has-sidebar .page-aside-card::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}
.page-shell.has-sidebar .page-aside-card {
  z-index: 900;
  animation: slideInFromRight 0.5s ease-out;
}

.sidebar-wrapper .page-aside-card:nth-child(1) {
  top: calc(var(--header-height, 64px) + var(--header-current-top, 16px) * 2);
  animation: slideInFromTop 0.5s ease-out;
}

.sidebar-wrapper .page-aside-card:nth-child(2) {
  top: calc(var(--header-height, 64px) + var(--header-current-top, 16px) * 2 + var(--aside-height, 10px) + 12px);
  animation: slideInFromTop 0.5s ease-out 0.1s both;
}

.glass-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 30px;
}
.glass-card::before, .glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glass-card::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.glass-card::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.glass-card {
  color: white;
}
.glass-card h1,
.glass-card h2,
.glass-card h3,
.glass-card h4,
.glass-card h5,
.glass-card h6 {
  margin: 0 0 20px 0;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.glass-card h1 {
  font-size: 32px;
}
.glass-card h2 {
  font-size: 26px;
}
.glass-card h3 {
  font-size: 22px;
}
.glass-card p {
  margin: 0 0 18px 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}
.glass-card > *:last-child {
  margin-bottom: 0;
}
.glass-card ul,
.glass-card ol {
  margin: 0 0 20px 20px;
  padding: 0;
}
.glass-card ul li,
.glass-card ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.glass-card blockquote {
  margin: 20px 0;
  padding: 12px 16px;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
}
.glass-card hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}
.glass-card code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-card pre {
  margin: 0;
  padding: 12px 16px 20px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap; /* 代码自动换行 */
  word-break: break-all; /* 长单词换行 */
  overflow-wrap: break-word; /* 溢出换行 */
}
.glass-card pre > code, .glass-card pre code {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  font-size: 14px;
  line-height: inherit;
  color: #d4d4d4;
  border-radius: 0;
  margin: 0;
}
.glass-card p code,
.glass-card li code {
  display: inline !important;
  margin: 0 2px;
  font-size: 13px;
  padding: 2px 6px;
}
.glass-card div.highlighter-rouge {
  margin: 20px 0;
  padding: 0 0 0 2ch;
  padding-top: 25px;
  border-radius: 8px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}
.glass-card div.highlighter-rouge[class*=language-]::before {
  content: "Code";
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  padding: 6px 8px;
  border-radius: 0 0 6px 0;
  z-index: 1;
  text-transform: lowercase;
  letter-spacing: 0.05em;
}
.glass-card div.highlighter-rouge.language-powershell::before {
  content: "powershell";
}
.glass-card div.highlighter-rouge.language-bash::before, .glass-card div.highlighter-rouge.language-shell::before {
  content: "bash";
}
.glass-card div.highlighter-rouge.language-js::before, .glass-card div.highlighter-rouge.language-javascript::before {
  content: "javascript";
}
.glass-card div.highlighter-rouge.language-python::before {
  content: "python";
}
.glass-card div.highlighter-rouge.language-ruby::before {
  content: "ruby";
}
.glass-card div.highlighter-rouge.language-html::before {
  content: "html";
}
.glass-card div.highlighter-rouge.language-css::before {
  content: "css";
}
.glass-card div.highlighter-rouge.language-json::before {
  content: "json";
}
.glass-card div.highlighter-rouge.language-yaml::before {
  content: "yaml";
}
.glass-card div.highlighter-rouge.language-md::before, .glass-card div.highlighter-rouge.language-markdown::before {
  content: "markdown";
}
.glass-card .highlight {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
}
.glass-card .note,
.glass-card .warning,
.glass-card .error {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 15px;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}
.glass-card .note {
  background: rgba(80, 160, 255, 0.08);
  border: 1px solid rgba(80, 160, 255, 0.25);
  color: rgba(180, 220, 255, 0.95);
}
.glass-card .warning {
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.3);
  color: rgba(255, 220, 120, 0.95);
}
.glass-card .error {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: rgba(255, 150, 150, 0.95);
}

@media (max-width: 1000px) {
  .page-shell.has-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .sidebar-wrapper {
    flex-direction: row;
    width: 100%;
    gap: 18px;
  }
  .page-shell.has-sidebar .page-aside-card {
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    top: auto;
  }
}
.link {
  color: #ffea01;
  text-decoration: none;
  transition: color 0.3s ease;
}
.link:hover {
  color: #ffea00;
  text-decoration: underline;
}
.link:visited {
  color: #ffea01;
}

.home-quote-shell {
  min-height: auto;
  padding: 100px 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

.home-quote-card {
  width: calc(70% + 60px);
  max-width: 1260px;
  min-height: calc(100vh - 124px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 10%;
  padding-bottom: 36px;
}

.home-quote-card .home-quote-line,
.home-quote-card .home-quote-author {
  margin: 0;
  min-height: 1.4em;
}

.home-quote-card .home-quote-line {
  font-size: clamp(1.98rem, 4.2vw, 4.08rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.96);
}

.home-quote-card .home-quote-author {
  margin-top: 22px;
  font-size: clamp(1.14rem, 1.86vw, 1.8rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  width: 100%;
  padding-right: 6%;
  box-sizing: border-box;
  text-align: right;
}

.home-icon-list {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.home-icon-item {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transform: scale3d(1, 1, 1);
  transform-origin: center;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 0;
}
.home-icon-item::before, .home-icon-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-icon-item::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.home-icon-item::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.home-icon-item {
  will-change: transform, box-shadow, border-color, background-color;
  animation: none;
  transition: box-shadow 0.16s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.16s ease-out, background-color 0.16s ease-out;
}
.home-icon-item:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: scale3d(1.018, 1.018, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.home-icon-item:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.home-icon-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 720px) {
  .home-quote-shell {
    padding-top: 100px;
    padding-bottom: 18px;
  }
  .home-quote-card {
    width: calc(70% + 60px);
    max-width: 1260px;
    min-height: calc(100vh - 118px);
    padding-top: 18%;
    padding-bottom: 24px;
  }
  .home-quote-author {
    margin-top: 16px;
  }
  .home-icon-list {
    gap: 14px;
    margin-top: auto;
  }
  .home-icon-item {
    width: 56px;
    height: 56px;
  }
  .home-icon-item img {
    width: 26px;
    height: 26px;
  }
}
.tags-scroll-container {
  position: relative;
  height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tags-scroll-container::-webkit-scrollbar {
  display: none;
}

.tags-scroll-wrapper {
  height: auto;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list-item {
  display: inline-block;
  cursor: pointer;
  transform: scale3d(1, 1, 1);
  transform-origin: center;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 8px 12px;
}
.tag-list-item::before, .tag-list-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tag-list-item::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.tag-list-item::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.tag-list-item {
  will-change: transform, box-shadow, border-color, background-color;
  animation: none;
  transition: box-shadow 0.16s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.16s ease-out, background-color 0.16s ease-out;
}
.tag-list-item:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: scale3d(1.018, 1.018, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.tag-list-item:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.tag-list-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.tag-list-title {
  display: block;
  font-size: 12px;
  color: white;
  line-height: 1.4;
}

[data-theme=light] .tag-list-item {
  color: var(--light-tag-text);
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme=light] .tag-list-item::before, [data-theme=light] .tag-list-item::after {
  display: none;
}
[data-theme=light] .tag-list-item:hover {
  background: rgba(44, 36, 32, 0.04);
  border-color: rgba(44, 36, 32, 0.08);
  box-shadow: none;
}
[data-theme=light] .tag-list-item.active {
  background: rgba(44, 36, 32, 0.08);
  border-color: rgba(44, 36, 32, 0.15);
  box-shadow: none;
}

[data-theme=light] .tag-list-title {
  color: var(--light-text-primary);
}

[data-theme=light] .glass-card code {
  background: var(--light-code-bg);
  color: #1e293b;
  border: 1px solid var(--light-code-border);
}
[data-theme=light] .glass-card pre {
  margin: 0;
  padding: 12px 16px 20px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  color: var(--light-code-block-text);
  white-space: pre-wrap; /* 代码自动换行 */
  word-break: break-all; /* 长单词换行 */
  overflow-wrap: break-word; /* 溢出换行 */
}
[data-theme=light] .glass-card pre > code, [data-theme=light] .glass-card pre code {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  color: var(--light-code-block-text);
  border-radius: 0;
  margin: 0;
}
[data-theme=light] .glass-card div.highlighter-rouge {
  margin: 20px 0;
  padding: 0 0 0 2ch;
  padding-top: 25px;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid var(--light-code-block-border);
  overflow: hidden;
  position: relative;
}
[data-theme=light] .glass-card div.highlighter-rouge[class*=language-]::before {
  content: "Code";
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(44, 36, 32, 0.05);
  color: var(--light-text-secondary);
  font-size: 11px;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  padding: 6px 8px;
  border-radius: 0 0 6px 0;
  z-index: 1;
  text-transform: lowercase;
  letter-spacing: 0.05em;
}
[data-theme=light] .glass-card div.highlighter-rouge.language-powershell::before {
  content: "powershell";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-bash::before, [data-theme=light] .glass-card div.highlighter-rouge.language-shell::before {
  content: "bash";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-js::before, [data-theme=light] .glass-card div.highlighter-rouge.language-javascript::before {
  content: "javascript";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-python::before {
  content: "python";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-ruby::before {
  content: "ruby";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-html::before {
  content: "html";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-css::before {
  content: "css";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-json::before {
  content: "json";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-yaml::before {
  content: "yaml";
}
[data-theme=light] .glass-card div.highlighter-rouge.language-md::before, [data-theme=light] .glass-card div.highlighter-rouge.language-markdown::before {
  content: "markdown";
}
[data-theme=light] .glass-card .highlight {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
}
[data-theme=light] .glass-card .copy-code-btn {
  color: #4a5568;
  opacity: 1;
}
[data-theme=light] .glass-card .copy-code-btn:hover {
  color: #2d3748;
  opacity: 1;
}
[data-theme=light] .glass-card .copy-code-btn svg {
  stroke-width: 2.5 !important;
}

.copy-code-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  color: rgba(255, 255, 255, 0.5);
}
.copy-code-btn:hover {
  opacity: 1;
}
.copy-code-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

html {
  scrollbar-gutter: stable;
}

html,
body,
.site-header,
.glass-card,
.post-item a,
.post-card .post-toc,
.post-card .post-nav a,
.post-pagination__button,
.post-card .post-tags .tag,
.post-meta .post-tags .tag,
.home-icon-item img {
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.home-icon-item img {
  filter: brightness(0) invert(1);
}

html[data-theme=light] body,
body.theme-light {
  color: var(--light-text-primary);
}

html[data-theme=light] .site-header,
body.theme-light .site-header {
  background: var(--light-page-bg);
  border-color: transparent;
  border-bottom: 1px solid var(--light-hr);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme=light] .site-header::before, html[data-theme=light] .site-header::after,
body.theme-light .site-header::before,
body.theme-light .site-header::after {
  display: none;
}
html[data-theme=light] .site-header .nav a,
body.theme-light .site-header .nav a {
  color: var(--light-nav-color);
}
html[data-theme=light] .site-header .nav-reading-title,
body.theme-light .site-header .nav-reading-title {
  color: var(--light-nav-color);
}
html[data-theme=light] .site-header .top-btn__icon,
body.theme-light .site-header .top-btn__icon {
  filter: none;
}
html[data-theme=light] .site-header .nav-indicator,
body.theme-light .site-header .nav-indicator {
  background: var(--light-nav-indicator-bg);
  border-color: var(--light-nav-indicator-border);
  box-shadow: none;
}
html[data-theme=light] .site-header .nav-indicator::before, html[data-theme=light] .site-header .nav-indicator::after,
body.theme-light .site-header .nav-indicator::before,
body.theme-light .site-header .nav-indicator::after {
  opacity: 0 !important;
}

@media (max-width: 720px) {
  html[data-theme=light] .site-header,
  body.theme-light .site-header {
    --header-top: 0;
    border-radius: 0;
  }
}
html[data-theme=light] .glass-card,
html[data-theme=light] .post-item a,
html[data-theme=light] .post-card .post-toc,
html[data-theme=light] .post-card .post-nav a,
html[data-theme=light] .post-card .post-nav .disabled,
html[data-theme=light] .post-pagination__button,
html[data-theme=light] .post-pagination__button:disabled,
html[data-theme=light] .post-card .post-tags .tag,
html[data-theme=light] .post-meta .post-tags .tag,
html[data-theme=light] .project-card,
body.theme-light .glass-card,
body.theme-light .post-item a,
body.theme-light .post-card .post-toc,
body.theme-light .post-card .post-nav a,
body.theme-light .post-card .post-nav .disabled,
body.theme-light .post-pagination__button,
body.theme-light .post-pagination__button:disabled,
body.theme-light .post-card .post-tags .tag,
body.theme-light .post-meta .post-tags .tag,
body.theme-light .project-card {
  color: var(--light-text-primary);
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme=light] .glass-card::before, html[data-theme=light] .glass-card::after,
html[data-theme=light] .post-item a::before,
html[data-theme=light] .post-item a::after,
html[data-theme=light] .post-card .post-toc::before,
html[data-theme=light] .post-card .post-toc::after,
html[data-theme=light] .post-card .post-nav a::before,
html[data-theme=light] .post-card .post-nav a::after,
html[data-theme=light] .post-card .post-nav .disabled::before,
html[data-theme=light] .post-card .post-nav .disabled::after,
html[data-theme=light] .post-pagination__button::before,
html[data-theme=light] .post-pagination__button::after,
html[data-theme=light] .post-pagination__button:disabled::before,
html[data-theme=light] .post-pagination__button:disabled::after,
html[data-theme=light] .post-card .post-tags .tag::before,
html[data-theme=light] .post-card .post-tags .tag::after,
html[data-theme=light] .post-meta .post-tags .tag::before,
html[data-theme=light] .post-meta .post-tags .tag::after,
html[data-theme=light] .project-card::before,
html[data-theme=light] .project-card::after,
body.theme-light .glass-card::before,
body.theme-light .glass-card::after,
body.theme-light .post-item a::before,
body.theme-light .post-item a::after,
body.theme-light .post-card .post-toc::before,
body.theme-light .post-card .post-toc::after,
body.theme-light .post-card .post-nav a::before,
body.theme-light .post-card .post-nav a::after,
body.theme-light .post-card .post-nav .disabled::before,
body.theme-light .post-card .post-nav .disabled::after,
body.theme-light .post-pagination__button::before,
body.theme-light .post-pagination__button::after,
body.theme-light .post-pagination__button:disabled::before,
body.theme-light .post-pagination__button:disabled::after,
body.theme-light .post-card .post-tags .tag::before,
body.theme-light .post-card .post-tags .tag::after,
body.theme-light .post-meta .post-tags .tag::before,
body.theme-light .post-meta .post-tags .tag::after,
body.theme-light .project-card::before,
body.theme-light .project-card::after {
  display: none;
}

html[data-theme=light] .post-item,
body.theme-light .post-item {
  margin-bottom: 0;
}

html[data-theme=light] .post-item a,
body.theme-light .post-item a {
  border-bottom: 1px dashed var(--light-hr);
  border-radius: 0;
}

html[data-theme=light] .post-item:last-child a,
body.theme-light .post-item:last-child a {
  border-bottom: none;
}

html[data-theme=light] .post-item a:hover,
body.theme-light .post-item a:hover {
  background: rgba(44, 36, 32, 0.03);
  box-shadow: none;
  border-color: transparent;
}

html[data-theme=light] .projects-grid,
body.theme-light .projects-grid {
  gap: 0;
  margin-top: 0;
}

html[data-theme=light] .project-card,
body.theme-light .project-card {
  border-bottom: 1px dashed var(--light-hr);
  border-radius: 0;
}

html[data-theme=light] .page-aside-card,
body.theme-light .page-aside-card {
  border-left: 1px dashed var(--light-hr);
  border-radius: 0;
  padding-left: 20px;
}

html[data-theme=light] .home-quote-card,
body.theme-light .home-quote-card {
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme=light] .home-quote-card::before, html[data-theme=light] .home-quote-card::after,
body.theme-light .home-quote-card::before,
body.theme-light .home-quote-card::after {
  display: none;
}

html[data-theme=light] .home-icon-item,
body.theme-light .home-icon-item {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme=light] .home-icon-item::before, html[data-theme=light] .home-icon-item::after,
body.theme-light .home-icon-item::before,
body.theme-light .home-icon-item::after {
  display: none;
}
html[data-theme=light] .home-icon-item:hover,
body.theme-light .home-icon-item:hover {
  background: rgba(44, 36, 32, 0.04);
  border-color: rgba(44, 36, 32, 0.08);
  box-shadow: none;
}

html[data-theme=light] .post-card .post-nav a:hover,
body.theme-light .post-card .post-nav a:hover,
html[data-theme=light] .post-pagination__button:hover:not(:disabled),
body.theme-light .post-pagination__button:hover:not(:disabled) {
  background: rgba(44, 36, 32, 0.04);
}

html[data-theme=light] .post-card .post-tags .tag:hover,
html[data-theme=light] .post-meta .post-tags .tag:hover,
body.theme-light .post-card .post-tags .tag:hover,
body.theme-light .post-meta .post-tags .tag:hover {
  background: rgba(44, 36, 32, 0.04);
  border-color: rgba(44, 36, 32, 0.08);
  box-shadow: none;
}

html[data-theme=light] .home-icon-item img,
body.theme-light .home-icon-item img {
  filter: none;
}

html[data-theme=light] .home-icon-item:not(:hover),
body.theme-light .home-icon-item:not(:hover) {
  animation: none;
  box-shadow: none;
}

html[data-theme=light] .glass-card,
body.theme-light .glass-card {
  color: var(--light-text-primary);
}

html[data-theme=light] .glass-card p,
html[data-theme=light] .glass-card li,
html[data-theme=light] .post-card .post-content,
html[data-theme=light] .post-card .post-title,
html[data-theme=light] .post-item .post-title,
body.theme-light .glass-card p,
body.theme-light .glass-card li,
body.theme-light .post-card .post-content,
body.theme-light .post-card .post-title,
body.theme-light .post-item .post-title {
  color: var(--light-text-primary);
}

html[data-theme=light] .glass-card blockquote,
body.theme-light .glass-card blockquote {
  border-left-color: var(--light-blockquote-border);
  background: var(--light-blockquote-bg);
  color: var(--light-blockquote-text);
}

html[data-theme=light] .glass-card .note,
body.theme-light .glass-card .note {
  color: var(--light-note-color);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme=light] .glass-card .warning,
body.theme-light .glass-card .warning {
  color: var(--light-warning-color);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme=light] .glass-card .error,
body.theme-light .glass-card .error {
  color: var(--light-error-color);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme=light] .glass-card hr,
body.theme-light .glass-card hr {
  border: none;
  border-top: 1px dashed var(--light-hr);
  background: none;
  height: auto;
}

html[data-theme=light] .glass-card code,
body.theme-light .glass-card code {
  background: var(--light-code-bg);
  color: var(--light-text-primary);
}

html[data-theme=light] .glass-card pre,
body.theme-light .glass-card pre {
  background: transparent;
  color: var(--light-code-block-text);
}

html[data-theme=light] .glass-card pre code,
body.theme-light .glass-card pre code {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: inherit;
}

html[data-theme=light] .post-meta,
html[data-theme=light] .post-card .post-meta,
html[data-theme=light] .post-card .post-toc .toc-title,
html[data-theme=light] .post-sidebar-card .post-toc .toc-title,
html[data-theme=light] .post-item .post-meta,
html[data-theme=light] .post-card .post-toc a,
html[data-theme=light] .post-sidebar-card .post-toc a,
html[data-theme=light] .post-card .post-nav a,
html[data-theme=light] .post-pagination__button,
body.theme-light .post-meta,
body.theme-light .post-card .post-meta,
body.theme-light .post-card .post-toc .toc-title,
body.theme-light .post-sidebar-card .post-toc .toc-title,
body.theme-light .post-item .post-meta,
body.theme-light .post-card .post-toc a,
body.theme-light .post-sidebar-card .post-toc a,
body.theme-light .post-card .post-nav a,
body.theme-light .post-pagination__button {
  color: var(--light-text-secondary);
}

html[data-theme=light] .post-card .post-toc .toc-title,
body.theme-light .post-card .post-toc .toc-title {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--light-hr);
}

html[data-theme=light] .post-sidebar-card,
body.theme-light .post-sidebar-card {
  content-visibility: visible;
  padding-top: 12px;
}
html[data-theme=light] .post-sidebar-card .post-toc .toc-title,
body.theme-light .post-sidebar-card .post-toc .toc-title {
  position: sticky;
  top: -12px;
  z-index: 1;
  margin-left: -30px;
  margin-right: -30px;
  padding: 8px 30px 8px 30px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--light-hr);
  background: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
html[data-theme=light] .post-sidebar-card .post-toc .toc-content,
body.theme-light .post-sidebar-card .post-toc .toc-content {
  overflow: visible;
}

html[data-theme=light] .post-card .post-toc a,
html[data-theme=light] .post-sidebar-card .post-toc a,
body.theme-light .post-card .post-toc a,
body.theme-light .post-sidebar-card .post-toc a {
  color: var(--light-toc-link);
  text-decoration: none;
}

html[data-theme=light] .post-card .post-toc a:visited,
html[data-theme=light] .post-sidebar-card .post-toc a:visited,
body.theme-light .post-card .post-toc a:visited,
body.theme-light .post-sidebar-card .post-toc a:visited {
  color: var(--light-toc-link);
  text-decoration: none;
}

html[data-theme=light] .post-card .post-toc a:hover,
html[data-theme=light] .post-sidebar-card .post-toc a:hover,
body.theme-light .post-card .post-toc a:hover,
body.theme-light .post-sidebar-card .post-toc a:hover {
  color: var(--light-toc-hover);
}

html[data-theme=light] .post-card .post-toc a.is-active,
html[data-theme=light] .post-sidebar-card .post-toc a.is-active,
html[data-theme=light] .post-card .post-toc a[aria-current=true],
html[data-theme=light] .post-sidebar-card .post-toc a[aria-current=true],
body.theme-light .post-card .post-toc a.is-active,
body.theme-light .post-sidebar-card .post-toc a.is-active,
body.theme-light .post-card .post-toc a[aria-current=true],
body.theme-light .post-sidebar-card .post-toc a[aria-current=true] {
  color: var(--light-toc-active);
}

html[data-theme=light] .post-card .post-content table,
body.theme-light .post-card .post-content table {
  border-color: var(--light-table-border);
  background: var(--light-table-bg);
}

html[data-theme=light] .post-card .post-content thead,
body.theme-light .post-card .post-content thead {
  background: var(--light-table-header);
}

html[data-theme=light] .post-card .post-content th,
html[data-theme=light] .post-card .post-content td,
body.theme-light .post-card .post-content th,
body.theme-light .post-card .post-content td {
  border-right-color: var(--light-table-border);
  border-bottom-color: var(--light-table-border);
  color: var(--light-text-primary);
}

html[data-theme=light] .post-card .post-content tbody tr:nth-child(even),
body.theme-light .post-card .post-content tbody tr:nth-child(even) {
  background: var(--light-table-row);
}

html[data-theme=light] .link,
body.theme-light .link {
  color: var(--light-accent);
}
html[data-theme=light] .link:hover,
body.theme-light .link:hover {
  color: var(--light-accent-hover);
}
html[data-theme=light] .link:visited,
body.theme-light .link:visited {
  color: var(--light-accent-visited);
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
}
.liquid-glass::before, .liquid-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.liquid-glass::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.liquid-glass::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}

.liquid-glass-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.checkin-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

.checkin-main-card {
  content-visibility: visible;
  contain-intrinsic-size: auto;
  padding: 0 !important;
}

.checkin-main-card .page-content {
  padding: 0 !important;
}

.checkin-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.status-success,
.status-pending,
.status-error {
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1rem 0;
  text-align: center;
}

.status-success {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
}

.status-pending {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ff9800;
}

.status-error {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.05));
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #f44336;
}

.checkin-time {
  font-size: 0.9em;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #667eea;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-placeholder {
  width: 100%;
}

.loading-line {
  height: 20px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}

.loading-line:nth-child(2) {
  width: 80%;
}

.loading-line:nth-child(3) {
  width: 60%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.retry-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #f44336;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 0.5rem 1rem;
}
.retry-btn::before, .retry-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.retry-btn::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.retry-btn::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.retry-btn {
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.retry-btn:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
}
.retry-btn:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

.checkin-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 1.5rem auto;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.4);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 1rem 2rem;
}
.checkin-btn::before, .checkin-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.checkin-btn::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.checkin-btn::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.checkin-btn {
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.checkin-btn:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
}
.checkin-btn:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.checkin-btn:hover {
  background: rgba(102, 126, 234, 0.25);
  border-color: rgba(102, 126, 234, 0.6);
}

.checkin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.checkin-btn:disabled:hover {
  animation: none;
  transform: none;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.checkin-stats {
  margin: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.checkin-history {
  margin: 2rem 0;
}

.contribution-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contribution-year-selector {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.history-list {
  margin: 1rem 0;
}

.year-btn {
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.year-btn:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}
.year-btn.is-active {
  color: #D4A87C;
  background: rgba(212, 168, 124, 0.12);
}

.history-list {
  margin: 1rem 0;
}

.contribution-history {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contribution-history-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.contribution-summary,
.contribution-latest {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.contribution-summary strong {
  color: #fff;
}

.contribution-calendar {
  display: flex;
  gap: 0.5rem;
  overflow-x: hidden;
}

.contribution-weekday-labels {
  margin-top: 1.35rem;
  width: 36px;
  display: grid;
  grid-template-rows: repeat(7, 12px);
  row-gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.contribution-weekday-labels span:nth-child(1) {
  grid-row: 2;
}
.contribution-weekday-labels span:nth-child(2) {
  grid-row: 4;
}
.contribution-weekday-labels span:nth-child(3) {
  grid-row: 6;
}

.contribution-calendar-main {
  min-width: max-content;
}

.contribution-months {
  display: grid;
  grid-template-columns: repeat(var(--week-count, 53), 12px);
  column-gap: 4px;
  margin-bottom: 0.35rem;
  font-size: 11px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.56);
}

.contribution-month-label {
  width: 12px;
  overflow: visible;
  white-space: nowrap;
}

.contribution-weeks {
  display: flex;
  gap: 4px;
}

.contribution-week {
  display: grid;
  grid-template-rows: repeat(7, 12px);
  row-gap: 4px;
}

.contribution-cell {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  transform: scale3d(1, 1, 1);
  transform-origin: center;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  will-change: transform, box-shadow, border-color, background-color;
  animation: none;
  transition: box-shadow 0.16s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.16s ease-out, background-color 0.16s ease-out;
}

.contribution-cell:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: scale3d(1.018, 1.018, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}

.contribution-cell:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

.contribution-level-0 {
  background: rgba(255, 255, 255, 0.02);
}

.contribution-level-1 {
  background: rgba(47, 129, 247, 0.18);
}

.contribution-level-2 {
  background: rgba(47, 129, 247, 0.32);
}

.contribution-level-3 {
  background: rgba(47, 129, 247, 0.5);
}

.contribution-level-4 {
  background: rgba(47, 129, 247, 0.72);
}

.contribution-cell.is-out-of-range {
  opacity: 0.32;
}

.contribution-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.3;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  transform: translate(-50%, calc(-100% + 4px));
  transition: opacity 0.12s ease-out, transform 0.12s ease-out;
}

[data-theme=light] {
  color: var(--light-text-primary);
}
[data-theme=light] .checkin-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
[data-theme=light] .status-success,
[data-theme=light] .status-pending,
[data-theme=light] .status-error {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px dashed var(--light-hr);
  box-shadow: none;
  padding: 0.5rem 0;
  margin: 0;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 600;
}
[data-theme=light] .status-success p,
[data-theme=light] .status-pending p,
[data-theme=light] .status-error p {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}
[data-theme=light] .checkin-time {
  font-size: 0.85rem;
  font-weight: 400;
}
[data-theme=light] .status-success {
  color: #43a047;
}
[data-theme=light] .status-pending {
  color: #ef6c00;
}
[data-theme=light] .status-error {
  color: #d32f2f;
}
[data-theme=light] .checkin-time {
  color: var(--light-text-secondary);
}
[data-theme=light] .loading-spinner {
  border-color: rgba(44, 36, 32, 0.1);
  border-top-color: #C4956A;
}
[data-theme=light] .loading-line {
  background: linear-gradient(90deg, rgba(44, 36, 32, 0.04) 25%, rgba(44, 36, 32, 0.08) 50%, rgba(44, 36, 32, 0.04) 75%);
}
[data-theme=light] .stat-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: scale3d(1, 1, 1);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  animation: none;
}
[data-theme=light] .stat-card:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
[data-theme=light] .stat-card:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
[data-theme=light] .stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
[data-theme=light] .stat-value {
  font-size: 3.5rem;
  color: #C4956A;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #C4956A;
  background-clip: unset;
}
[data-theme=light] .stat-label {
  color: var(--light-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
[data-theme=light] .year-btn {
  color: var(--light-text-tertiary);
}
[data-theme=light] .year-btn:hover {
  color: var(--light-text-primary);
  background: rgba(44, 36, 32, 0.04);
}
[data-theme=light] .year-btn.is-active {
  color: #C4956A;
  background: rgba(196, 149, 106, 0.12);
}
[data-theme=light] .contribution-summary,
[data-theme=light] .contribution-latest {
  color: var(--light-text-secondary);
}
[data-theme=light] .contribution-summary strong {
  color: #C4956A;
}
[data-theme=light] .contribution-weekday-labels,
[data-theme=light] .contribution-months {
  color: var(--light-text-tertiary);
}
[data-theme=light] .contribution-cell {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: none;
  box-shadow: none;
  will-change: transform;
  transition: background 0.15s ease, transform 0.15s ease;
}
[data-theme=light] .contribution-cell:hover {
  border: none;
  box-shadow: none;
  animation: none;
  transform: scale(1.6);
}
[data-theme=light] .contribution-cell:not(:hover) {
  animation: none;
}
[data-theme=light] .contribution-level-0 {
  background: rgba(44, 36, 32, 0.05);
}
[data-theme=light] .contribution-level-1 {
  background: rgba(196, 149, 106, 0.2);
}
[data-theme=light] .contribution-level-2 {
  background: rgba(196, 149, 106, 0.38);
}
[data-theme=light] .contribution-level-3 {
  background: rgba(196, 149, 106, 0.56);
}
[data-theme=light] .contribution-level-4 {
  background: rgba(196, 149, 106, 0.78);
}
[data-theme=light] .retry-btn {
  color: #d32f2f;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme=light] .retry-btn::before, [data-theme=light] .retry-btn::after {
  display: none;
}
[data-theme=light] .retry-btn:hover {
  background: rgba(44, 36, 32, 0.03);
}
[data-theme=light] .checkin-btn {
  color: var(--light-text-primary);
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px dashed var(--light-hr);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin: 0;
  flex-shrink: 0;
}
[data-theme=light] .checkin-btn::before, [data-theme=light] .checkin-btn::after {
  display: none;
}
[data-theme=light] .checkin-btn:hover {
  background: rgba(44, 36, 32, 0.03);
}
[data-theme=light] .checkin-btn:disabled {
  opacity: 0.35;
}
[data-theme=light] .checkin-btn:disabled:hover {
  background: transparent;
}

.checkin-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0;
}

.user-info-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.logout-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.logout-btn:hover {
  color: #f44336;
  border-color: rgba(244, 67, 54, 0.4);
}

.login-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.login-hint p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.login-btn {
  display: block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.4);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 1rem 2rem;
}
.login-btn::before, .login-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.login-btn::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.login-btn::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.login-btn {
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.login-btn:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
}
.login-btn:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.login-btn:hover {
  background: rgba(102, 126, 234, 0.25);
  border-color: rgba(102, 126, 234, 0.6);
}

[data-theme=light] .checkin-user-bar {
  background: transparent;
  border: none;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
}
[data-theme=light] .user-name {
  color: var(--light-text-primary);
}
[data-theme=light] .logout-btn {
  color: var(--light-text-secondary);
  border-color: var(--light-hr);
}
[data-theme=light] .logout-btn:hover {
  color: #d32f2f;
  border-color: rgba(211, 47, 47, 0.4);
}
[data-theme=light] .login-hint {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme=light] .login-hint p {
  color: var(--light-text-secondary);
  font-size: 1.35rem;
  font-weight: 600;
}
[data-theme=light] .login-btn {
  color: var(--light-text-primary);
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px dashed var(--light-hr);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme=light] .login-btn::before, [data-theme=light] .login-btn::after {
  display: none;
}
[data-theme=light] .login-btn:hover {
  background: rgba(44, 36, 32, 0.03);
}

@media (max-width: 768px) {
  .contribution-body {
    flex-direction: column;
  }
  .contribution-year-selector {
    flex-direction: row;
    gap: 8px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contribution-history-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .contribution-weekday-labels {
    width: 30px;
    font-size: 11px;
  }
  .contribution-months {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 1rem;
  }
  .stat-value {
    font-size: 2rem;
  }
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  transform: scale3d(1, 1, 1);
  transform-origin: center;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.006);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 20px;
}
.project-card::before, .project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.project-card::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.project-card::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.project-card {
  will-change: transform, box-shadow, border-color, background-color;
  animation: none;
  transition: box-shadow 0.16s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.16s ease-out, background-color 0.16s ease-out;
  text-decoration: none;
  color: inherit;
}
.project-card:hover {
  animation: post-card-pop 0.14s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform: scale3d(1.018, 1.018, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 40px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.018);
  transition: box-shadow 0.14s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.14s ease-out, background-color 0.14s ease-out;
}
.project-card:not(:hover) {
  animation: post-card-settle 0.18s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.project-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-title {
  font-size: 16px;
  color: white;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.project-card .project-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 12px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme=light] .project-card {
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px dashed var(--light-hr);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme=light] .project-card::before, [data-theme=light] .project-card::after {
  display: none;
}
[data-theme=light] .project-card:hover {
  background: rgba(44, 36, 32, 0.03);
  box-shadow: none;
  border-color: transparent;
}
[data-theme=light] .project-title {
  color: var(--light-text-primary);
}
[data-theme=light] .project-card .project-description {
  color: var(--light-text-secondary);
}
[data-theme=light] .project-tag {
  background: var(--light-code-bg);
  border: 1px solid var(--light-glass-border);
  color: var(--light-text-secondary);
}
[data-theme=light] .project-icon {
  border: 1px solid var(--light-glass-border);
}

.flashlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  pointer-events: none;
}

.flashlight-mode .theme-toggle {
  width: 44px;
  height: 44px;
  margin: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.flashlight-mode .theme-toggle__icon {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.fl-placeholder {
  visibility: hidden !important;
  pointer-events: none !important;
}

html[data-theme=light] {
  --about-accent-secondary: #5f7d78;
  --about-card-shadow: 0 18px 45px rgba(44, 36, 32, 0.08);
}

html[data-theme=light][data-bg=gradient] {
  --about-accent-secondary: #92b8b0;
  --about-card-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.about-page {
  width: 100%;
  overflow: hidden;
  color: var(--light-text-primary);
}

.about-page,
.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
}

.about-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 150px 32px 76px;
  position: relative;
}

.about-hero__inner,
.about-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.about-hero__inner {
  position: relative;
}

.about-hero__kicker,
.about-section-heading__eyebrow,
.about-social__label {
  margin: 0;
  color: var(--light-accent);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
}

.about-hero__title {
  margin: 18px 0 14px;
  padding-bottom: 16px;
  overflow: hidden;
  color: var(--light-text-primary);
  font-size: 88px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.about-hero__title-char {
  display: inline-block;
  transform-origin: center bottom;
}

.about-hero__intro {
  max-width: 720px;
  margin: 0;
  color: var(--light-text-secondary);
  font-size: 20px;
  line-height: 1.9;
}

.about-hero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  color: var(--light-text-tertiary);
  font-size: 14px;
  line-height: 1.5;
}

.about-hero__topics span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-hero__topics span::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: var(--about-accent-secondary);
}

.about-hero__rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 54px;
  color: var(--light-text-tertiary);
  font-size: 12px;
}

.about-hero__rule-line {
  display: block;
  width: 32vw;
  max-width: 240px;
  height: 1px;
  background-color: var(--light-hr);
  transform-origin: left center;
}

.about-content {
  padding: 46px 32px 100px;
}

.about-profile {
  position: relative;
}

.about-section-heading {
  max-width: 620px;
  margin-bottom: 32px;
}

.about-section-heading h2 {
  margin: 10px 0 12px;
  color: var(--light-text-primary);
  font-size: 34px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: 0;
}

.about-profile-title__primary,
.about-profile-title__rest-char {
  display: inline-block;
}

.about-profile-title__rest-char {
  will-change: transform, opacity, filter;
}

.about-section-heading > p:last-child {
  margin: 0;
  color: var(--light-text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-card-track,
.friend-link-track {
  min-width: 0;
  transform-origin: center bottom;
}

.about-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
  padding: 28px;
}
.about-card::before, .about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-card::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.about-card::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.about-card {
  min-height: 350px;
  height: 100%;
  transform-style: preserve-3d;
  background-color: var(--light-glass-bg);
  border-color: var(--light-glass-border);
  box-shadow: var(--about-card-shadow);
  color: var(--light-text-primary);
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-card::before,
.about-card::after {
  opacity: 0;
  transition: opacity 0.35s ease;
}

html[data-bg=gradient] .about-card::before,
html[data-bg=gradient] .about-card::after {
  opacity: 0.82;
}

.about-card:hover {
  transform: translateY(-3px);
}

.about-card > * {
  position: relative;
  z-index: 2;
  transform: translateZ(16px);
}

.about-card__number {
  display: block;
  margin-bottom: 44px;
  color: var(--light-accent);
  font-size: 13px;
  font-weight: 700;
}

.about-card-track:nth-child(2) .about-card__number {
  color: var(--about-accent-secondary);
}

.about-card h3 {
  margin: 0 0 14px;
  color: var(--light-text-primary);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: 0;
}

.about-card__lead {
  margin: 0 0 22px;
  color: var(--light-text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

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

.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--light-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.about-list li::before {
  content: "";
  width: 16px;
  height: 1px;
  margin-top: 11px;
  flex: 0 0 auto;
  background-color: var(--light-accent);
}

.about-contact-links {
  border-top: 1px solid var(--light-hr);
}

.about-contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--light-hr);
  color: var(--light-text-secondary);
  text-decoration: none;
}

.about-contact-links a span {
  font-size: 13px;
}

.about-contact-links a strong {
  color: var(--light-text-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.about-contact-links a:hover strong {
  color: var(--light-accent);
}

.about-friends-section {
  margin-top: 108px;
}

.friend-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.friend-link-track {
  margin-bottom: 0;
}

.friend-link-track .friend-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px;
  color: var(--light-text-primary);
}

.friend-link-track:last-child {
  margin-bottom: 0;
}

.friend-link > * {
  position: relative;
  z-index: 2;
}

.friend-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--light-glass-border);
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--light-code-bg);
}

.friend-avatar img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friend-avatar__fallback {
  position: absolute;
  color: var(--about-accent-secondary);
  font-size: 14px;
  font-weight: 700;
}

.friend-avatar.is-fallback img {
  display: none;
}

.friend-info {
  min-width: 0;
}

.friend-name {
  display: block;
  overflow-wrap: anywhere;
  color: var(--light-text-primary);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 650;
}

.friend-desc {
  display: inline;
  margin: 0;
  color: var(--light-text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.friend-tags {
  display: inline-flex;
  gap: 3px;
  margin-left: 5px;
  vertical-align: middle;
}

.friend-tag {
  padding: 2px 5px;
  border: 1px solid var(--light-glass-border);
  border-radius: 4px;
  background-color: var(--light-code-bg);
  color: var(--light-text-tertiary);
  font-size: 9px;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .friend-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .friend-links {
    grid-template-columns: 1fr;
  }
  .friend-link-track .friend-link {
    min-height: 0;
  }
}
.about-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 92px;
  padding-top: 28px;
  border-top: 1px solid var(--light-hr);
}

.about-social .home-icon-list {
  width: auto;
  margin: 0;
  gap: 10px;
}

.about-social .home-icon-item {
  width: 48px;
  height: 48px;
  background-color: var(--light-glass-bg);
  border-color: var(--light-glass-border);
  box-shadow: none;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-social .home-icon-item:hover {
  transform: translateY(-2px);
}

.about-social .home-icon-item img {
  width: 23px;
  height: 23px;
}

.about-hero__kicker,
.about-hero__title,
.about-hero__intro,
.about-hero__topics,
.about-hero__topics span::before,
.about-hero__rule,
.about-hero__rule-line,
.about-section-heading__eyebrow,
.about-section-heading h2,
.about-section-heading > p:last-child,
.about-card__number,
.about-card h3,
.about-card__lead,
.about-list li,
.about-list li::before,
.about-contact-links,
.about-contact-links a,
.about-contact-links a strong,
.friend-avatar,
.friend-avatar__fallback,
.friend-name,
.friend-desc,
.friend-tag,
.about-social,
.about-social__label {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (max-width: 900px) {
  .about-hero__title {
    font-size: 68px;
  }
}
@media (max-width: 720px) {
  .about-hero {
    min-height: auto;
    padding: 150px 20px 64px;
  }
  .about-hero__title {
    margin-top: 14px;
    font-size: 50px;
  }
  .about-hero__intro {
    font-size: 17px;
    line-height: 1.75;
  }
  .about-hero__topics {
    gap: 8px 18px;
    margin-top: 26px;
    font-size: 13px;
  }
  .about-hero__rule {
    margin-top: 38px;
  }
  .about-content {
    padding: 34px 20px 72px;
  }
  .about-section-heading h2 {
    font-size: 28px;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
  .about-card {
    min-height: auto;
    padding: 24px;
  }
  .about-card__number {
    margin-bottom: 30px;
  }
  .about-friends-section {
    margin-top: 76px;
  }
  .about-social {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 68px;
  }
}
@media (max-width: 420px) {
  .about-hero__title {
    font-size: 42px;
  }
  .about-contact-links a {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .about-contact-links a strong {
    text-align: left;
  }
  .about-social .home-icon-list {
    gap: 8px;
  }
  .about-social .home-icon-item {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-page * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .about-card:hover,
  .friend-link:hover,
  .about-social .home-icon-item:hover {
    transform: none;
  }
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.photo-page {
  background: #090909;
  color: #f4f2ec;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  overflow-x: clip;
}

.photo-page *,
.photo-page *::before,
.photo-page *::after {
  box-sizing: border-box;
}

.photo-page a {
  color: inherit;
}

.photo-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 22px 24px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 4;
}

.photo-header__brand {
  display: grid;
  font-size: 11px;
  font-weight: 700;
  gap: 2px;
  letter-spacing: 0;
  line-height: 1.1;
  text-decoration: none;
}

.photo-header__brand span:last-child,
.photo-header__menu,
.photo-hero__eyebrow,
.photo-hero__scroll,
.photo-statement span,
.photo-footer {
  font-size: 11px;
  letter-spacing: 0;
}

.photo-header__brand span:last-child {
  color: #a8a59e;
  font-weight: 400;
}

.photo-header__menu {
  color: #f4f2ec;
  text-decoration: none;
}

.photo-header__menu span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 180ms ease;
}

.photo-header__menu:hover span {
  transform: translateY(3px);
}

.photo-hero {
  min-height: 135svh;
  overflow: hidden;
  padding: 19svh 24px 34px;
  position: relative;
}

.photo-hero::before {
  background: #090909;
  content: "";
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.photo-hero__eyebrow,
.photo-hero__intro,
.photo-hero__scroll,
.photo-hero h1 {
  position: relative;
  z-index: 3;
}

.photo-hero__eyebrow {
  color: #cac6bd;
  margin: 0;
}

.photo-hero h1 {
  font-size: clamp(88px, 19vw, 300px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.79;
  margin: 26px 0 0 -6px;
}

.photo-hero__intro {
  bottom: 86px;
  font-size: clamp(17px, 2.2vw, 27px);
  line-height: 1.25;
  margin: 0;
  max-width: 310px;
  position: absolute;
}

.photo-hero__scroll {
  bottom: 36px;
  color: #cac6bd;
  margin: 0;
  position: absolute;
}

.photo-hero__scroll span {
  display: inline-block;
  margin-left: 7px;
}

.photo-hero__images {
  inset: 0;
  position: absolute;
  z-index: 1;
}

.photo-hero__image {
  margin: 0;
  overflow: hidden;
  position: absolute;
}

.photo-hero__image img {
  display: block;
  filter: saturate(0.78) contrast(1.04);
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.photo-hero:hover .photo-hero__image img {
  transform: scale(1.04);
}

.photo-hero__image--1 {
  height: 37vw;
  left: 11vw;
  top: 31vh;
  width: 25vw;
}

.photo-hero__image--2 {
  height: 28vw;
  right: 12vw;
  top: 16vh;
  width: 19vw;
}

.photo-hero__image--3 {
  bottom: 7vh;
  height: 24vw;
  right: 28vw;
  width: 32vw;
}

.photo-statement {
  min-height: 600svh;
  overflow: clip;
  padding: 0;
  position: relative;
}

.photo-statement__copy {
  align-items: end;
  display: flex;
  justify-content: space-between;
  left: 24px;
  padding-top: 80px;
  position: absolute;
  right: 24px;
  top: 0;
  z-index: 2;
}

.photo-statement__background {
  --photo-statement-progress: 0;
  --photo-bg-parallax: 0px;
  --photo-reveal: 0;
  height: 150svh;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: sticky;
  top: 0;
  z-index: 1;
}

.photo-statement__background-image {
  background: #090909;
  border-top: 1px solid rgba(244, 242, 236, 0.8);
  clip-path: inset(100% 0 0 0);
  height: 150svh;
  inset: 0;
  margin: 0;
  overflow: hidden;
  position: absolute;
  transition: none;
  width: 100%;
  z-index: calc(var(--photo-stack-index) + 1);
}

.photo-statement__background-image:first-child {
  clip-path: inset(0 0 0 0);
}

.photo-statement__background-image > img {
  display: block;
  filter: saturate(0.72) contrast(1.05);
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--photo-bg-parallax), 0) scale(1.01);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.photo-statement__floating {
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: none;
  visibility: hidden;
  z-index: 10;
}

.photo-statement__floating.is-active {
  visibility: visible;
}

.photo-statement__floating-card {
  background: #111;
  border: 1px solid rgba(244, 242, 236, 0.72);
  height: auto;
  left: 14%;
  margin: 0;
  overflow: hidden;
  position: absolute;
  top: 22%;
  transform: translate3d(0, -12svh, 0);
  width: clamp(160px, 20vw, 310px);
}

.photo-statement__floating-card:nth-child(2) {
  left: 40%;
  top: 39%;
}

.photo-statement__floating-card:nth-child(3) {
  left: 66%;
  top: 27%;
}

.photo-statement__floating[data-photo-floating-layer="0"] .photo-statement__floating-card:nth-child(1) {
  left: 4%;
  top: 28%;
}

.photo-statement__floating[data-photo-floating-layer="0"] .photo-statement__floating-card:nth-child(2) {
  left: 76%;
  top: 50%;
}

.photo-statement__floating[data-photo-floating-layer="0"] .photo-statement__floating-card:nth-child(3) {
  left: 40%;
  top: 70%;
}

.photo-statement__floating[data-photo-floating-layer="1"] .photo-statement__floating-card:nth-child(1) {
  left: 6%;
  top: 14%;
}

.photo-statement__floating[data-photo-floating-layer="1"] .photo-statement__floating-card:nth-child(2) {
  left: 74%;
  top: 40%;
}

.photo-statement__floating[data-photo-floating-layer="1"] .photo-statement__floating-card:nth-child(3) {
  left: 40%;
  top: 62%;
}

.photo-statement__floating[data-photo-floating-layer="2"] .photo-statement__floating-card:nth-child(1) {
  left: 8%;
  top: 4%;
}

.photo-statement__floating[data-photo-floating-layer="2"] .photo-statement__floating-card:nth-child(2) {
  left: 72%;
  top: 26%;
}

.photo-statement__floating[data-photo-floating-layer="2"] .photo-statement__floating-card:nth-child(3) {
  left: 38%;
  top: 52%;
}

.photo-statement__floating-card img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.photo-statement p {
  font-size: clamp(30px, 5.7vw, 77px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  max-width: 930px;
}

.photo-statement span {
  color: #a8a59e;
  white-space: nowrap;
}

.photo-grid-section {
  --sideMargin: 4rem;
  background: #000;
  color: #f4f2ec;
  color-scheme: dark;
  font-family: sans-serif;
  font-size: 10px;
  padding: 0 var(--sideMargin) 8rem;
  position: relative;
  z-index: 3;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-drag: none;
  -webkit-user-select: none;
}
.photo-grid-section .photo-canvas__reset {
  align-items: center;
  background: transparent;
  border: 0;
  bottom: 3.2rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  gap: 1rem;
  left: var(--sideMargin);
  margin: 0;
  opacity: 0;
  padding: 0.6rem 1.2rem;
  pointer-events: none;
  position: fixed;
  transition: opacity 300ms ease;
  z-index: 5;
}
.photo-grid-section .photo-canvas__reset svg {
  height: 18px;
  width: 18px;
}
.photo-grid-section .photo-canvas__reset.is-visible {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06), 0 0 42px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(2px) saturate(135%) brightness(1.02);
  isolation: isolate;
}
.photo-grid-section .photo-canvas__reset.is-visible::before, .photo-grid-section .photo-canvas__reset.is-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.photo-grid-section .photo-canvas__reset.is-visible::before {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.11) 6%, rgba(255, 255, 255, 0.03) 16%, transparent 32%), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.045) 8%, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03) 92%, rgba(255, 255, 255, 0.06) 100%), radial-gradient(90% 22% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.05) 56%, transparent 82%);
  opacity: 0.82;
  filter: url("#liquid-glass-distortion");
  transform: translateZ(0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
}
.photo-grid-section .photo-canvas__reset.is-visible::after {
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 2px 4px -3px rgba(255, 255, 255, 0.16), inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 2px 0 4px -4px rgba(255, 255, 255, 0.06), inset -1px 0 0 rgba(255, 255, 255, 0.035), inset -2px 0 4px -4px rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px -4px rgba(255, 255, 255, 0.025), inset 0 10px 14px -14px rgba(255, 255, 255, 0.24);
  z-index: 1;
}
.photo-grid-section .photo-canvas__reset.is-visible {
  backdrop-filter: blur(8px) saturate(135%) brightness(1.02);
  -webkit-backdrop-filter: blur(8px) saturate(135%) brightness(1.02);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  opacity: 1;
  pointer-events: auto;
  position: fixed;
}
.photo-grid-section .photo-canvas-dot {
  background: #fff;
  border-radius: 50%;
  height: 12px;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 200ms ease;
  width: 12px;
  z-index: 6;
}
.photo-grid-section .photo-canvas-hint {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  left: 0;
  letter-spacing: 0;
  margin: 0;
  mix-blend-mode: difference;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 200ms ease;
  white-space: nowrap;
  z-index: 6;
}
.photo-grid-section .photo-canvas-hint.is-visible,
.photo-grid-section .photo-canvas-dot.is-visible {
  opacity: 1;
}
.photo-grid-section .photo-canvas-hint__mobile {
  display: none;
}

.photo-grid-section__head {
  align-items: end;
  border-top: 1px solid rgba(244, 242, 236, 0.8);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: min(136rem, calc(100vw - var(--sideMargin) * 2));
  padding: 3.6rem 0 5.6rem;
}

.photo-grid-section__head h2 {
  font-size: clamp(2.8rem, 5.2vw, 6.6rem);
  font-weight: 400;
  line-height: 0.82;
  margin: 0;
}

.photographyImageGrid__containerInner {
  cursor: none;
}

.photographyImageGrid__rows {
  display: none;
  flex-direction: column;
  position: relative;
  z-index: 0;
}

.photographyImageGrid__rows--desktop {
  display: flex;
}

.photographyImageGrid__row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: 2rem;
  pointer-events: none;
  position: relative;
}

.photographyImageGrid__row::before {
  aspect-ratio: calc(1 / var(--row-ratio, 1.3333));
  content: "";
  display: block;
  grid-column: 1/-1;
  grid-row: 1;
  width: calc((100% - 14rem) / 8);
}

.photographyImageGrid__row:not(:first-child) {
  margin-top: calc((100% - 14rem) / 8 * var(--row-ratio, 1.3333) * -0.5);
}

.photographyImageGridItem {
  aspect-ratio: calc(1 / var(--row-ratio, 1.3333));
  background: transparent;
  border: 0;
  cursor: grab;
  display: block;
  grid-column: var(--photo-column)/span 1;
  grid-row: 1;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 0;
  pointer-events: auto;
  position: relative;
  width: 100%;
}

.photographyImageGridItem:focus-visible,
.photo-dialog button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.fill {
  height: 100%;
  width: 100%;
}

.draggableElement {
  cursor: grab;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  user-select: none;
}

.draggableElement.is-dragging {
  cursor: grabbing;
  position: relative;
  z-index: 10;
}

.photographyImageGridItem.is-dragging {
  cursor: grabbing;
  position: relative;
  z-index: 10;
}

.photographyImageGridItem__inner {
  height: 100%;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.8s ease;
  width: 100%;
}

.photographyImageGridItem.visible .photographyImageGridItem__inner {
  opacity: 1;
}

.photographyImageGridItem__image {
  -webkit-user-drag: none;
  display: block;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  user-select: none;
  width: 100%;
}

.photographyImageGridItem:hover .photographyImageGridItem__image {
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .photographyImageGridItem__image,
  .photographyImageGridItem__inner {
    transition: none;
  }
}
.photo-footer {
  align-items: center;
  background: #000;
  border-top: 1px solid rgba(244, 242, 236, 0.8);
  color: #f4f2ec;
  display: flex;
  justify-content: space-between;
  margin: 0 4rem;
  padding: 1.8rem 0 2.8rem;
}

.photo-footer p {
  margin: 0;
}

.photo-footer a {
  color: #f4f2ec;
  text-decoration: none;
}

.photo-footer a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.photo-footer a:hover span {
  transform: translate(2px, -2px);
}

.photo-dialog {
  background: #0d0d0d;
  border: 0;
  color: #f4f2ec;
  height: 100dvh;
  margin: 0;
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 0;
  width: 100vw;
}

.photo-dialog::backdrop {
  background: #0d0d0d;
}

.photo-dialog__close,
.photo-dialog__controls button {
  background: transparent;
  border: 0;
  color: #f4f2ec;
  cursor: pointer;
  font: inherit;
}

.photo-dialog__close {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1;
  padding: 0;
  position: absolute;
  left: 40px;
  top: 34px;
  z-index: 3;
}

.photo-dialog__content {
  display: flex;
  height: 100%;
  position: relative;
  width: 100%;
}

.photo-dialog__main {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.photo-dialog__image-wrap {
  align-items: center;
  display: flex;
  inset: 48px 24px 62px 68px;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  --photo-pan-x: 0px;
  --photo-pan-y: 0px;
}

.photo-dialog__image {
  -webkit-user-drag: none;
  cursor: zoom-in;
  display: block;
  height: 100%;
  object-fit: contain;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  width: 100%;
  will-change: transform;
}

.photo-dialog__image.is-dragging {
  transition: none;
}

.photo-dialog__info {
  bottom: 17px;
  max-width: 460px;
  pointer-events: none;
  position: absolute;
  right: 24px;
  text-align: right;
  width: 36vw;
  z-index: 2;
}

.photo-dialog__info p {
  color: #a8a59e;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 10px;
}

.photo-dialog__info .photo-dialog__count {
  color: #f4f2ec;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  margin: 0 0 12px;
}

.photo-dialog__controls {
  bottom: 24px;
  display: flex;
  gap: 32px;
  left: 40px;
  position: absolute;
  z-index: 2;
}

.photo-dialog__controls button {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.photo-dialog__arrow-inner {
  overflow: clip;
  position: relative;
}

.photo-dialog__arrow-icon {
  display: block;
  line-height: 1;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-dialog__arrow-icon svg {
  display: block;
}

.photo-dialog__arrow-icon:first-child {
  position: relative;
}

.photo-dialog__arrow-icon:nth-child(2),
.photo-dialog__arrow-icon:nth-child(3) {
  left: 0;
  position: absolute;
  top: 0;
}

.photo-dialog__controls button[dir=left] .photo-dialog__arrow-icon:nth-child(2),
.photo-dialog__controls button[dir=left] .photo-dialog__arrow-icon:nth-child(3) {
  transform: translateX(100%);
}

.photo-dialog__controls button[dir=left]:hover .photo-dialog__arrow-icon:nth-child(1) {
  transform: translateX(-100%);
}

.photo-dialog__controls button[dir=left]:hover .photo-dialog__arrow-icon:nth-child(2) {
  transform: translateX(0);
}

.photo-dialog__controls button[dir=left]:hover .photo-dialog__arrow-icon:nth-child(3) {
  transform: translateX(100%);
}

.photo-dialog__controls button[dir=right] .photo-dialog__arrow-icon:nth-child(2),
.photo-dialog__controls button[dir=right] .photo-dialog__arrow-icon:nth-child(3) {
  transform: translateX(-100%);
}

.photo-dialog__controls button[dir=right]:hover .photo-dialog__arrow-icon:nth-child(1) {
  transform: translateX(100%);
}

.photo-dialog__controls button[dir=right]:hover .photo-dialog__arrow-icon:nth-child(2) {
  transform: translateX(0);
}

.photo-dialog__controls button[dir=right]:hover .photo-dialog__arrow-icon:nth-child(3) {
  transform: translateX(-100%);
}

.photo-dialog__thumbs {
  display: flex;
  flex: 0 0 118px;
  flex-direction: column;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 76px 20px 24px 20px;
  position: relative;
  scrollbar-width: none;
  touch-action: none;
  width: 118px;
}

.photo-dialog__thumbs::-webkit-scrollbar {
  display: none;
}

.photo-dialog__thumb {
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
  opacity: 0.55;
  padding: 0;
  position: relative;
  transition: opacity 250ms ease, transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: scale(1);
  width: 78px;
}

.photo-dialog__thumb img {
  display: block;
  height: auto;
  width: 100%;
}

.photo-dialog__thumb:hover,
.photo-dialog__thumb.is-active {
  opacity: 1;
  transform: scale(1.5);
  z-index: 1;
}

.photo-dialog__thumb:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.photo-dialog-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .photo-header,
  .photo-hero,
  .photo-statement,
  .photo-grid-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .photo-header {
    padding-top: 17px;
  }
  .photo-hero {
    min-height: 112svh;
    padding-top: 18svh;
  }
  .photo-hero h1 {
    font-size: 29vw;
    margin-left: -4px;
  }
  .photo-hero__intro {
    bottom: 72px;
    max-width: 250px;
  }
  .photo-hero__scroll {
    bottom: 25px;
  }
  .photo-hero__image--1 {
    height: 61vw;
    left: 4vw;
    top: 29vh;
    width: 41vw;
  }
  .photo-hero__image--2 {
    height: 49vw;
    right: 5vw;
    top: 19vh;
    width: 33vw;
  }
  .photo-hero__image--3 {
    bottom: 15vh;
    height: 34vw;
    right: 16vw;
    width: 46vw;
  }
  .photo-statement {
    min-height: 600svh;
    padding: 0;
  }
  .photo-statement__copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 36px;
    left: 16px;
    padding-top: 54px;
    right: 16px;
  }
  .photo-statement__background {
    height: 150svh;
  }
  .photo-statement__floating-card {
    height: auto;
    left: 4%;
    top: 23%;
    transform: translate3d(0, -9svh, 0);
    width: clamp(130px, 36vw, 195px);
  }
  .photo-statement__floating-card:nth-child(2) {
    left: 33%;
    top: 39%;
  }
  .photo-statement__floating-card:nth-child(3) {
    left: 62%;
    top: 28%;
  }
  .photo-statement__floating[data-photo-floating-layer="0"] .photo-statement__floating-card:nth-child(1) {
    left: 2%;
    top: 26%;
  }
  .photo-statement__floating[data-photo-floating-layer="0"] .photo-statement__floating-card:nth-child(2) {
    left: 60%;
    top: 50%;
  }
  .photo-statement__floating[data-photo-floating-layer="0"] .photo-statement__floating-card:nth-child(3) {
    left: 30%;
    top: 70%;
  }
  .photo-statement__floating[data-photo-floating-layer="1"] .photo-statement__floating-card:nth-child(1) {
    left: 3%;
    top: 12%;
  }
  .photo-statement__floating[data-photo-floating-layer="1"] .photo-statement__floating-card:nth-child(2) {
    left: 59%;
    top: 38%;
  }
  .photo-statement__floating[data-photo-floating-layer="1"] .photo-statement__floating-card:nth-child(3) {
    left: 29%;
    top: 60%;
  }
  .photo-statement__floating[data-photo-floating-layer="2"] .photo-statement__floating-card:nth-child(1) {
    left: 4%;
    top: 2%;
  }
  .photo-statement__floating[data-photo-floating-layer="2"] .photo-statement__floating-card:nth-child(2) {
    left: 58%;
    top: 24%;
  }
  .photo-statement__floating[data-photo-floating-layer="2"] .photo-statement__floating-card:nth-child(3) {
    left: 28%;
    top: 50%;
  }
  .photo-statement p {
    font-size: 39px;
  }
  .photo-grid-section {
    --sideMargin: 1.6rem;
    padding: 0 var(--sideMargin) 6rem;
  }
  .photo-grid-section__head {
    padding: 2rem 0 3.2rem;
  }
  .photo-grid-section__head h2 {
    font-size: 3.4rem;
  }
  .photo-footer {
    margin: 0 16px;
  }
  .photo-dialog {
    padding: 0;
  }
  .photo-dialog__close {
    left: 16px;
    top: 20px;
  }
  .photo-dialog__content {
    flex-direction: column;
  }
  .photo-dialog__main {
    flex: 1 1 auto;
    min-height: 0;
  }
  .photo-dialog__image-wrap {
    inset: 48px 16px 12px;
  }
  .photo-dialog__info {
    bottom: auto;
    left: 16px;
    max-width: calc(100% - 32px);
    padding-left: 64px;
    right: 16px;
    text-align: left;
    top: 48px;
    width: calc(100% - 32px);
  }
  .photo-dialog__info p {
    margin-bottom: 6px;
  }
  .photo-dialog__controls {
    bottom: auto;
    left: 16px;
    top: 46px;
  }
  .photo-dialog__thumbs {
    align-items: center;
    flex: 0 0 92px;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 16px;
    width: 100%;
  }
  .photo-dialog__thumb {
    flex: 0 0 auto;
    width: 64px;
  }
}
@media (max-width: 900px) {
  .photographyImageGrid__rows--desktop {
    display: none;
  }
  .photographyImageGrid__rows--mobile {
    display: flex;
  }
  .photographyImageGrid__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.2rem;
  }
  .photographyImageGrid__row::before {
    width: calc((100% - 2.4rem) / 3);
  }
  .photographyImageGrid__row:not(:first-child) {
    margin-top: calc((100% - 2.4rem) / 3 * var(--row-ratio, 1.3333) * -0.5);
  }
  .photo-grid-section .photo-canvas__reset {
    display: none;
  }
  .photo-grid-section .photo-canvas-hint {
    left: var(--sideMargin, 1.6rem);
    position: absolute;
    top: 0;
  }
  .photo-grid-section .photo-canvas-hint__desktop {
    display: none;
  }
  .photo-grid-section .photo-canvas-dot {
    display: none;
  }
  .photo-grid-section .photo-canvas-hint__mobile {
    display: inline;
  }
}
html.photo-dragging {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .photo-page *,
  .photo-page *::before,
  .photo-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

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