@charset "UTF-8";

:root {
  --color-primary: #3E6AE1;
  --color-white: #FFFFFF;
  --color-light-ash: #F4F4F4;
  --color-carbon: #171A20;
  --color-graphite: #393C41;
  --color-pewter: #5C5E62;
  --color-silver-fog: #8E8E8E;
  --color-cloud-gray: #EEEEEE;
  --color-pale-silver: #D0D1D2;
  --color-frosted: rgba(255, 255, 255, 0.75);
  --transition-base: 0.33s cubic-bezier(0.5, 0, 0, 0.75);
  --radius-small: 4px;
  --radius-large: 12px;
  --container-width: 1383px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-white);
  color: var(--color-graphite);
  font-family: "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.43;
  padding-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(62, 106, 225, 0.18);
}

.fireworks,
.widget {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

main {
  padding-top: 72px;
}

.head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 220;
  padding: 16px 24px;
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base), border-color var(--transition-base);
}

.head.scrolled {
  background: var(--color-frosted);
  border-bottom: 1px solid var(--color-cloud-gray);
  backdrop-filter: blur(14px);
}

.head .main {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  white-space: nowrap;
  color: var(--color-carbon);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.logo img {
  height: 18px;
  width: auto;
}

.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu li {
  min-height: 32px;
  border-radius: var(--radius-small);
  padding: 8px 16px;
  color: var(--color-carbon);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.menu li:hover,
.menu li:focus-visible,
.menu li.nav {
  background: var(--color-light-ash);
}

.menu li.skin {
  min-width: 32px;
  padding: 8px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-icon {
  width: 16px;
  height: 16px;
  background: url("../assets/public/menu_icon.svg") no-repeat center/contain;
  filter: brightness(0) saturate(100%) invert(9%) sepia(9%) saturate(1156%) hue-rotate(185deg) brightness(95%) contrast(92%);
}

#menu-expand {
  display: none;
}

#menu-panel {
  position: absolute;
  top: 64px;
  right: 24px;
  width: min(280px, calc(100vw - 48px));
  background: var(--color-white);
  border: 1px solid var(--color-cloud-gray);
  border-radius: var(--radius-small);
  padding: 12px;
}

#menu-panel[hidden] {
  display: none !important;
}

#menu-panel .menu-panel-content {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#menu-panel .menu-panel-content li {
  width: 100%;
  justify-content: flex-start;
}

.hero-section {
  width: min(1420px, calc(100% - 24px));
  min-height: 50vh;
  margin: 24px auto 0;
  border-radius: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hero-gradient, linear-gradient(135deg, #171A20 0%, #2a3654 52%, #3E6AE1 100%));
  color: var(--hero-text, var(--color-white));
}

.hero-home {
  --hero-gradient: linear-gradient(135deg, #171A20 0%, #24365f 52%, #3E6AE1 100%);
  --hero-text: #FFFFFF;
}

.hero-about {
  --hero-gradient: linear-gradient(135deg, #171A20 0%, #24365f 52%, #3E6AE1 100%);
  --hero-text: #FFFFFF;
}

.hero-work {
  --hero-gradient: linear-gradient(135deg, #171A20 0%, #24365f 52%, #3E6AE1 100%);
  --hero-text: #FFFFFF;
}

.hero-blog {
  --hero-gradient: linear-gradient(135deg, #171A20 0%, #24365f 52%, #3E6AE1 100%);
  --hero-text: #FFFFFF;
}

.hero-guide {
  --hero-gradient: linear-gradient(135deg, rgba(12, 18, 30, 0.74) 0%, rgba(24, 40, 69, 0.62) 56%, rgba(33, 58, 113, 0.66) 100%), url("../assets/public/blog_pentest_android/cover_blog.png") center/cover no-repeat;
  --hero-text: #FFFFFF;
}

.hero-guide-lec2 {
  --hero-gradient: linear-gradient(135deg, rgba(10, 18, 30, 0.76) 0%, rgba(20, 37, 65, 0.66) 56%, rgba(31, 56, 103, 0.68) 100%), url("../assets/public/cover_zero.png") center/cover no-repeat;
}

.hero-guide-lec3 {
  --hero-gradient: linear-gradient(135deg, rgba(10, 18, 30, 0.76) 0%, rgba(20, 37, 65, 0.66) 56%, rgba(31, 56, 103, 0.68) 100%), url("../assets/public/cover_zero.png") center/cover no-repeat;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: inherit;
}

.hero-kicker {
  color: inherit;
  font-size: 22px;
  line-height: 0.95;
  font-weight: 400;
  opacity: 0.86;
}

.hero-title {
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
  color: inherit;
}

.hero-subtitle {
  color: inherit;
  font-size: 14px;
  line-height: 1.43;
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.94;
}

.hero-home .hero-kicker,
.hero-home .hero-title,
.hero-home .hero-subtitle,
.hero-home .hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-home .hero-kicker {
  animation-delay: 0.06s;
}

.hero-home .hero-title {
  animation-delay: 0.16s;
}

.hero-home .hero-subtitle {
  animation-delay: 0.26s;
}

.hero-home .hero-actions {
  animation-delay: 0.34s;
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn {
  min-height: 40px;
  border-radius: var(--radius-small);
  border: 3px solid transparent;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  transition: border-color var(--transition-base), background-color var(--transition-base), color var(--transition-base), box-shadow 0.25s;
}

.cta-btn-primary {
  min-width: 200px;
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-btn-primary:hover {
  background: #365fca;
}

.cta-btn-secondary {
  min-width: 160px;
  background: var(--color-white);
  color: var(--color-graphite);
  border-color: var(--color-pale-silver);
}

.cta-btn-secondary:hover {
  background: var(--color-light-ash);
}

.section-block {
  padding: 88px 24px;
}

.section-inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 28px;
  color: var(--color-carbon);
  text-align: center;
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
}

.content-divider {
  width: 100%;
  height: 1px;
  background: var(--color-cloud-gray);
  margin: 24px 0;
}

.index .hello {
  width: min(1420px, calc(100% - 24px));
  height: 400px;
  margin: 24px auto 0;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0F1320 0%, #1D2740 58%, #2E4F96 100%);
}

.index .hello::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 44%);
}

.index .hello::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: radial-gradient(at center, #fff, transparent 72%);
  -webkit-mask-image: radial-gradient(at center, #fff, transparent 72%);
  opacity: 0.6;
}

.index .hello .title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.index .hello .title .title-hi,
.index .hello .title .title-name {
  font-size: 32px;
  font-weight: 700;
}

.index .hello .title .title-hi {
  background: linear-gradient(180deg, #E8E8F6 0%, rgba(232, 232, 246, 0.72) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.index .hello .title .title-name {
  --bg: linear-gradient(90deg, #A29CD3 0%, #E8BFAC 100%);
  position: relative;
  background: var(--bg);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.index .hello .title .title-name:hover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 1px;
  background: var(--bg);
}

.index .hello .hello-desc {
  position: relative;
  z-index: 1;
  height: 28px;
  margin: 24px 0 0;
  color: #B3B3C1;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  padding: 0 24px;
}

.index .hello .hello-desc .hello-typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  border-right: 1px solid rgba(179, 179, 193, 0.95);
  animation: helloTypingLoop 4.2s steps(29, end) infinite, helloCaret 0.78s step-end infinite;
}

@keyframes helloTypingLoop {
  0% {
    width: 0;
  }

  40% {
    width: 29ch;
  }

  64% {
    width: 29ch;
  }

  100% {
    width: 0;
  }
}

@keyframes helloCaret {
  0%,
  45% {
    border-right-color: rgba(179, 179, 193, 0.95);
  }

  46%,
  100% {
    border-right-color: transparent;
  }
}

.index .quickly-link {
  padding: 88px 24px 64px;
}

.quickly-link .title-hi {
  margin: 0 auto 30px;
  max-width: var(--container-width);
  color: var(--color-carbon);
  text-align: center;
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
}

.quickly-link .loader {
  display: none;
}

.link-card {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-card > svg {
  margin: 4px auto;
  color: var(--color-pewter);
}

.link-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-card-item {
  list-style: none;
}

.link-card-item a {
  width: 100%;
  min-height: 116px;
  border: 1px solid var(--color-cloud-gray);
  border-radius: var(--radius-small);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color var(--transition-base), background-color var(--transition-base), color var(--transition-base);
}

.link-card-item a:hover {
  background: var(--color-light-ash);
  border-color: var(--color-pale-silver);
}

.link-card-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.link-card-item .info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-card-item .info-title {
  color: var(--color-carbon);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 500;
}

.link-card-item .info-desc {
  color: var(--color-pewter);
  font-size: 14px;
  line-height: 1.43;
}

.icon-arrow {
  color: var(--color-pewter);
  font-size: 14px;
  line-height: 1;
  margin-left: auto;
  transition: color var(--transition-base);
}

.link-card-item a:hover .icon-arrow {
  color: var(--color-primary);
}

.category-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.category-stack {
  display: grid;
  gap: 16px;
}

.category-card {
  --category-gradient: linear-gradient(135deg, #171A20 0%, #2a3654 55%, #3E6AE1 100%);
  min-height: 220px;
  border-radius: var(--radius-large);
  padding: 22px;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: var(--category-gradient);
  color: var(--color-white);
  transition: transform var(--transition-base), filter var(--transition-base);
}

.category-card:hover {
  filter: brightness(1.04);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-large);
  pointer-events: none;
}

.category-card span {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
}

.category-card-pentest {
  --category-gradient: linear-gradient(135deg, #141920 0%, #1f2e47 58%, #355cbf 100%);
}

.category-card-appsec {
  --category-gradient: linear-gradient(135deg, #1a2029 0%, #2f3544 58%, #4e5f82 100%);
}

.category-card-mobile {
  --category-gradient: linear-gradient(135deg, #172030 0%, #233a68 54%, #3E6AE1 100%);
}

.about .about-top,
.about .about-middle,
.about .about-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 64px 24px 0;
}

.about .about-bottom {
  padding-bottom: 80px;
}

.about-name {
  margin-bottom: 32px;
  color: var(--color-carbon);
  text-align: center;
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
}

.about-info {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: 40px;
}

.about-info-title {
  margin-bottom: 16px;
  color: var(--color-carbon);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 500;
}

.introduce-desc {
  color: var(--color-graphite);
  font-size: 14px;
  line-height: 1.43;
}

.about-info-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-desc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-desc .list {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  column-gap: 10px;
}

.list-label {
  color: var(--color-pewter);
  font-size: 14px;
  line-height: 1.43;
}

.list-value,
.list-value a {
  color: var(--color-graphite);
  font-size: 14px;
  line-height: 1.43;
}

.list-value a:hover {
  color: var(--color-primary);
}

#email {
  cursor: pointer;
}

#emailCopied {
  border-bottom: 1px dotted transparent;
  transition: border-color var(--transition-base), color var(--transition-base);
}

#email:hover #emailCopied,
#emailCopied:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.copied {
  grid-column: 2;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.resume-desc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resume-desc-helptext {
  color: var(--color-pewter);
  font-size: 14px;
}

.resume-btn a {
  min-height: 40px;
  min-width: 200px;
  border-radius: var(--radius-small);
  border: 3px solid transparent;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  transition: background-color var(--transition-base);
}

.resume-btn a:hover {
  background: #365fca;
}

.power {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-00,
.list-01 {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.list-00 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.list-01 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.power-card-number a,
.power-card a {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--color-cloud-gray);
  border-radius: var(--radius-small);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.power-card-number a {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.power-card-number a:hover,
.power-card a:hover {
  background: var(--color-light-ash);
  border-color: var(--color-pale-silver);
}

.card-title {
  color: var(--color-carbon);
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
}

.card-text {
  color: var(--color-pewter);
  font-size: 14px;
  line-height: 1.43;
}

.card-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.about-bottom .experience {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-bottom .experience > .item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-cloud-gray);
}

.about-bottom .experience > .item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.time {
  color: var(--color-carbon);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.name {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company a,
.company span {
  color: var(--color-carbon);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 500;
}

.company a:hover {
  color: var(--color-primary);
}

.job {
  color: var(--color-pewter);
  font-size: 14px;
}

.project-experience {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-experience .item .title {
  margin-bottom: 8px;
  color: var(--color-carbon);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
}

.project-experience .item .desc ul {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-experience .item .desc li {
  color: var(--color-graphite);
  font-size: 14px;
  line-height: 1.43;
}

.about-bottom .section-heading {
  margin-bottom: 28px;
}

.about-horizontal-timeline {
  border: 1px solid var(--color-cloud-gray);
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, #fbfcff 0%, #f5f8ff 100%);
  padding: 24px;
}

.about-timepoint-track {
  --about-progress-ratio: 0;
  position: relative;
  margin: 0 0 22px;
  padding: 0 4px 12px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 10px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}

.about-timepoint-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.about-timepoint-track::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 2px;
  background: var(--color-cloud-gray);
  border-radius: 999px;
  pointer-events: none;
}

.about-timepoint-track::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: calc((100% - 16px) * var(--about-progress-ratio));
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  transition: width 0.24s ease;
  pointer-events: none;
}

.about-timepoint-track::-webkit-scrollbar {
  height: 6px;
}

.about-timepoint-track::-webkit-scrollbar-track {
  background: transparent;
}

.about-timepoint-track::-webkit-scrollbar-thumb {
  background: var(--color-pale-silver);
  border-radius: 999px;
}

.about-timepoint {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  flex: 0 0 clamp(164px, 20vw, 216px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  color: var(--color-pewter);
  cursor: pointer;
  transition: color var(--transition-base);
  position: relative;
  z-index: 1;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.about-timepoint::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px #f8faff;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.about-timepoint:hover::before,
.about-timepoint.is-active::before {
  background: var(--color-primary);
  transform: scale(1.05);
}

.about-timepoint-date {
  color: var(--color-pewter);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-timepoint-label {
  color: var(--color-carbon);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
}

.about-timepoint:hover .about-timepoint-label,
.about-timepoint.is-active .about-timepoint-label {
  color: var(--color-primary);
}

.about-timepoint.is-active .about-timepoint-date {
  color: var(--color-primary);
}

.about-timepoint:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--radius-small);
}

.about-detail-panel {
  display: none;
  border: 1px solid var(--color-cloud-gray);
  border-radius: var(--radius-small);
  background: var(--color-white);
  padding: 24px;
}

.about-detail-panel.is-active {
  display: block;
  animation: aboutPanelReveal 220ms ease-out;
}

.about-timeline-time {
  color: var(--color-pewter);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 10px;
}

.about-detail-panel .name {
  margin-bottom: 14px;
}

.about-detail-panel .project-experience {
  gap: 16px;
}

@keyframes aboutPanelReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work .work-timeline {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 24px 96px;
}

.timeline-header {
  max-width: 760px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.timeline-header h1 {
  color: var(--color-carbon);
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
}

.timeline-header p {
  color: var(--color-graphite);
  font-size: 14px;
  line-height: 1.43;
}

.timeline-track {
  position: relative;
  padding: 12px 0;
}

.timeline-line,
.timeline-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-line {
  width: 1px;
  background: var(--color-cloud-gray);
}

.timeline-progress {
  width: 2px;
  background: var(--color-primary);
  transform-origin: top;
  transform: translateX(-50%) scaleY(0);
}

.timeline-item {
  width: 50%;
  position: relative;
  padding: 0 48px 64px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out, border-color var(--transition-base);
  transition-delay: var(--delay, 0ms);
}

.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item[data-side="left"] {
  margin-right: auto;
  text-align: right;
}

.timeline-item[data-side="right"] {
  margin-left: auto;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  position: absolute;
  top: 14px;
}

.timeline-item[data-side="left"] .timeline-dot {
  right: -6px;
}

.timeline-item[data-side="right"] .timeline-dot {
  left: -6px;
}

.timeline-card {
  border: 1px solid var(--color-cloud-gray);
  border-radius: var(--radius-small);
  padding: 22px;
  display: grid;
  gap: 10px;
  background: var(--color-white);
  text-align: left;
}

.timeline-item.is-current .timeline-card {
  border-color: var(--color-primary);
}

.timeline-time {
  color: var(--color-pewter);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.timeline-item.is-current .timeline-time {
  color: var(--color-primary);
}

.timeline-card h2 {
  color: var(--color-carbon);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 500;
}

.timeline-meta {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
}

.timeline-label {
  color: var(--color-pewter);
  font-size: 14px;
}

.timeline-value {
  color: var(--color-graphite);
  font-size: 14px;
}

.timeline-visual {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}

.timeline-visual img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.blog {
  padding-bottom: 84px;
}

.blog-left {
  display: none;
}

.blog .blog-list {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 72px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-filter-toolbar {
  max-width: var(--container-width);
  margin: 28px auto 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-tag-filter {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 620px;
}

.blog-sort-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-sort-label {
  color: var(--color-pewter);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.blog-sort-chips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-sort-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid var(--color-cloud-gray);
  background: var(--color-white);
  color: var(--color-carbon);
  font-size: 13px;
  font-weight: 500;
  padding: 0 12px;
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.blog-sort-chip:hover {
  background: var(--color-light-ash);
  border-color: var(--color-pale-silver);
}

.blog-sort-chip.active {
  background: var(--color-carbon);
  border-color: var(--color-carbon);
  color: var(--color-white);
}

.blog .blog-list .item {
  border-bottom: 1px solid var(--color-cloud-gray);
  padding-bottom: 24px;
}

.blog .blog-list .item:last-child {
  border-bottom: none;
}

.blog .blog-list .item > a {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: stretch;
  width: 100%;
  justify-content: flex-start;
}

.blog-list-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap;
  width: 100%;
  gap: 18px;
}

.post-cover {
  width: 136px;
  max-width: 136px;
  flex: 0 0 136px;
  margin: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: var(--color-light-ash);
  position: relative;
  display: block;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.blog .blog-list-row .post-cover {
  width: 172px;
  max-width: 172px;
  flex-basis: 172px;
  aspect-ratio: 4 / 3;
}

.post-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-cloud-gray);
  border-radius: var(--radius-large);
  pointer-events: none;
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.blog .blog-list .item > a:hover .post-cover img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1);
}

.post-cover-gradient {
  background: linear-gradient(145deg, #151a25 0%, #2a3d66 58%, #3E6AE1 100%);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 12px;
}

.post-cover-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22), transparent 42%);
  pointer-events: none;
}

.post-cover-gradient-title,
.post-cover-gradient-sub {
  position: relative;
  z-index: 1;
}

.post-cover-gradient-title {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.post-cover-gradient-sub {
  font-size: 11px;
  line-height: 1.2;
  opacity: 0.9;
}

.blog .blog-list .item > a:hover .post-cover-gradient {
  transform: scale(1.03);
  filter: saturate(1.08);
}

.blog-card-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.blog-card-body .title-area {
  flex-direction: column;
  gap: 8px;
}

.blog-card-body .title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.blog-card-body .title .name {
  font-size: 24px;
  line-height: 1.28;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.blog-card-body .desc {
  max-width: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.blog-post-meta-row {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

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

.blog-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid var(--color-cloud-gray);
  padding: 0 10px;
  color: var(--color-pewter);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.blog-tag:hover {
  background: var(--color-light-ash);
  border-color: var(--color-pale-silver);
  color: var(--color-carbon);
}

.blog-tag.active {
  background: var(--color-carbon);
  border-color: var(--color-carbon);
  color: var(--color-white);
}

.blog .blog-list-row .blog-tags .blog-tag {
  cursor: default;
}

.blog .blog-list-row .blog-tags .blog-tag:hover {
  background: transparent;
  border-color: var(--color-cloud-gray);
  color: var(--color-pewter);
}

.title-area {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.title .name {
  color: var(--color-carbon);
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
}

.title .link {
  color: var(--color-pewter);
  font-size: 14px;
}

.tag {
  white-space: nowrap;
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.desc {
  color: var(--color-graphite);
  font-size: 14px;
  line-height: 1.43;
  max-width: 920px;
}

.info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-pewter);
  font-size: 14px;
}

.blog .blog-list-row .info {
  margin-top: auto;
  width: 100%;
}

.blog .blog-list-row .info-name {
  color: var(--color-carbon);
  font-weight: 500;
}

.blog .blog-list-row .info-time {
  margin-left: auto;
  white-space: nowrap;
  color: var(--color-silver-fog);
  font-size: 13px;
}

.info-avatar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.blog .blog-list-row .info-avatar img {
  width: 30px;
  height: 30px;
}

.blog-post-page .blog-list {
  padding-top: 56px;
}

.blog-post-layout {
  --blog-toc-column: 280px;
  --blog-sticky-top: 88px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: var(--blog-toc-column) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding-left: 0;
  position: relative;
}

.blog-post-layout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--blog-toc-column) - 1px);
  width: 1px;
  background: var(--color-cloud-gray);
  pointer-events: none;
}

.blog-markdown {
  grid-column: 2;
  grid-row: 1;
  color: var(--color-graphite);
  padding-left: 24px;
  padding-right: 8px;
  max-height: none;
  overflow: visible;
}

.blog-markdown h1 {
  color: var(--color-carbon);
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 18px;
  scroll-margin-top: calc(var(--blog-sticky-top) + 12px);
}

.blog-markdown h2 {
  color: var(--color-carbon);
  font-family: "Universal Sans Display", "Universal Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  margin: 30px 0 14px;
  scroll-margin-top: calc(var(--blog-sticky-top) + 12px);
}

.blog-markdown p {
  margin-bottom: 14px;
}

.blog-markdown ul {
  margin: 0 0 18px;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-markdown li {
  color: var(--color-graphite);
  font-size: 14px;
}

.blog-markdown a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-markdown code {
  border-radius: 0;
  background: transparent;
  border: none;
  color: #111827;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92em;
  font-weight: 600;
  padding: 0;
}

.code-block-wrap {
  position: relative;
  margin: 16px 0;
}

.blog-markdown pre {
  margin: 0;
  border: 1px solid var(--color-cloud-gray);
  border-radius: var(--radius-small);
  background: #f8fafc;
  padding: 44px 16px 12px 30px;
  overflow: auto;
  line-height: 1.45;
}

.blog-markdown pre code {
  display: block;
  padding: 0;
  background: transparent;
  border: none;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.code-lang-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: rgba(71, 85, 105, 0.62);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0;
  pointer-events: none;
  user-select: none;
}

.code-lang-commandline .code-lang-badge {
  color: rgba(15, 23, 42, 0.88);
  background: rgba(241, 245, 249, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  padding: 2px 8px;
  line-height: 1.15;
}

.code-lang-commandline .blog-markdown pre {
  background: #111827;
  border-color: #1f2937;
}

.code-lang-commandline .blog-markdown pre code {
  color: #e5e7eb;
}

.code-lang-python .code-lang-badge {
  color: #1f2937;
  background: rgba(226, 232, 240, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  line-height: 1.15;
}

.code-lang-python .blog-markdown pre {
  background: #f7f9fc;
  border-color: #d9e2ee;
}

.code-lang-python .blog-markdown pre code {
  color: #0f172a;
}

.code-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  min-width: 30px;
  min-height: 28px;
  border-radius: var(--radius-small);
  border: 1px solid var(--color-pale-silver);
  background: var(--color-white);
  color: var(--color-carbon);
  font-size: 0;
  line-height: 0;
  font-weight: 400;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.code-copy-btn:hover {
  background: var(--color-light-ash);
}

.code-copy-btn::before,
.code-copy-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1.6px solid currentColor;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), border-color var(--transition-base);
}

.code-copy-btn::before {
  transform: translate(-32%, -68%);
}

.code-copy-btn::after {
  transform: translate(-62%, -38%);
  background: var(--color-white);
}

.code-copy-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.code-copy-btn.copied {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.code-copy-btn.copied::before {
  width: 8px;
  height: 5px;
  border: 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  transform: translate(-50%, -58%) rotate(-45deg);
}

.code-copy-btn.copied::after {
  opacity: 0;
}

.code-copy-btn.failed {
  border-color: #dc2626;
  color: #dc2626;
}

.blog-markdown pre code .tok-comment {
  color: #6b7280;
  font-style: italic;
}

.blog-markdown pre code .tok-keyword {
  color: #7c3aed;
  font-weight: 600;
}

.blog-markdown pre code .tok-string {
  color: #047857;
}

.blog-markdown pre code .tok-number {
  color: #b45309;
}

.blog-markdown pre code .tok-boolean,
.blog-markdown pre code .tok-null {
  color: #b91c1c;
  font-weight: 600;
}

.blog-markdown pre code .tok-function {
  color: #2563eb;
}

.blog-markdown pre code .tok-class {
  color: #9333ea;
}

.blog-markdown pre code .tok-variable {
  color: #be123c;
}

.blog-markdown pre code .tok-tag {
  color: #1d4ed8;
}

.blog-markdown pre code .tok-attr {
  color: #7c3aed;
}

.blog-markdown pre code .tok-value {
  color: #0f766e;
}

.blog-markdown pre code .tok-annotation {
  color: #db2777;
}

.blog-markdown pre code .tok-key {
  color: #1d4ed8;
  font-weight: 600;
}

.blog-markdown pre code .tok-operator,
.blog-markdown pre code .tok-punctuation {
  color: #64748b;
}

.blog-markdown pre code .tok-command {
  color: #111827;
  font-weight: 700;
}

.blog-markdown pre code .tok-prompt {
  color: #92400e;
  font-weight: 700;
}

.blog-markdown pre code .tok-option {
  color: #2563eb;
}

.blog-markdown pre code .tok-path {
  color: #0f766e;
}

.code-lang-commandline .blog-markdown pre code .tok-comment {
  color: #94a3b8;
}

.code-lang-commandline .blog-markdown pre code .tok-command {
  color: #f8fafc;
}

.code-lang-commandline .blog-markdown pre code .tok-prompt {
  color: #f59e0b;
}

.code-lang-commandline .blog-markdown pre code .tok-option {
  color: #93c5fd;
}

.code-lang-commandline .blog-markdown pre code .tok-path {
  color: #5eead4;
}

.code-lang-commandline .blog-markdown pre code .tok-string {
  color: #86efac;
}

.code-lang-commandline .blog-markdown pre code .tok-key {
  color: #fbcfe8;
}

.code-lang-python .blog-markdown pre code .tok-comment {
  color: #64748b;
  font-style: italic;
}

.code-lang-python .blog-markdown pre code .tok-keyword {
  color: #5b21b6;
  font-weight: 700;
}

.code-lang-python .blog-markdown pre code .tok-string {
  color: #0f766e;
}

.code-lang-python .blog-markdown pre code .tok-number {
  color: #b45309;
}

.code-lang-python .blog-markdown pre code .tok-function {
  color: #1d4ed8;
}

.code-lang-python .blog-markdown pre code .tok-annotation {
  color: #be185d;
}

.code-lang-python .blog-markdown pre code .tok-operator,
.code-lang-python .blog-markdown pre code .tok-punctuation {
  color: #475569;
}

/* Force inline code style: plain black monospace text, no chip background */
.blog-markdown :not(pre) > code,
.blog-markdown p code,
.blog-markdown li code,
.blog-markdown td code {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #111827 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-size: 0.92em !important;
  font-weight: 600 !important;
  padding: 0 !important;
}

.blog-markdown figure {
  margin: 22px 0;
  display: flex;
  justify-content: center;
}

.blog-markdown figure img {
  width: min(100%, 520px);
  max-width: 520px;
  height: auto;
  object-fit: initial;
  background: transparent;
  padding: 0;
  border: 1px solid var(--color-cloud-gray);
  border-radius: 10px;
  cursor: zoom-in;
}

.blog-toc-wrap {
  grid-column: 1;
  grid-row: 1;
  justify-self: stretch;
  width: 100%;
  position: sticky;
  top: var(--blog-sticky-top);
  border: 0;
  border-radius: 0;
  padding: 0 22px 24px 0;
  background: transparent;
  max-height: calc(100dvh - var(--blog-sticky-top) - 4px);
  overflow: auto;
}

.blog-toc-title {
  margin-bottom: 12px;
  color: var(--color-carbon);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 500;
}

.blog-toc {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-reference {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--color-cloud-gray);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-reference .blog-toc-title {
  margin-bottom: 0;
}

.blog-reference-link {
  color: var(--color-pewter);
  font-size: 14px;
  line-height: 1.3;
  transition: color var(--transition-base);
}

.blog-reference-link:hover {
  color: var(--color-primary);
}

.toc-link {
  color: var(--color-pewter);
  font-size: 14px;
  line-height: 1.3;
  transition: color var(--transition-base);
}

.toc-link:hover,
.toc-link.active {
  color: var(--color-primary);
}

.blog-image-no-scroll {
  overflow: hidden;
}

.blog-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(23, 26, 32, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}

.blog-image-lightbox.open {
  display: flex;
}

#blogImageLightboxImg {
  width: auto;
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 120px);
  border-radius: var(--radius-small);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: transparent;
  color: var(--color-white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.footer {
  padding: 36px 24px 44px;
  border-top: 1px solid var(--color-cloud-gray);
}

.footer .copyright {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--color-pewter);
}

.footer a {
  color: var(--color-pewter);
  transition: color var(--transition-base);
}

.footer a:hover {
  color: var(--color-primary);
}

.visit-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border: 1px solid var(--color-cloud-gray);
  border-radius: 999px;
  background: #f8fafc;
  padding: 4px 10px;
  color: var(--color-pewter);
}

.visit-counter-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
}

.visit-counter-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.visit-counter-label {
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visit-counter-value {
  color: var(--color-carbon);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.visit-counter-divider {
  width: 1px;
  height: 14px;
  background: var(--color-pale-silver);
}

@media screen and (max-width: 1280px) {
  .link-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-01 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 1024px) {
  main {
    padding-top: 68px;
  }

  .head {
    padding: 14px 20px;
  }

  #menu-panel {
    right: 20px;
    width: min(300px, calc(100vw - 40px));
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-section {
    width: min(1160px, calc(100% - 20px));
    min-height: 46vh;
  }

  .about-info {
    grid-template-columns: 1fr;
  }

  .about-horizontal-timeline {
    padding: 20px;
  }

  .about-timepoint-track {
    gap: 12px;
  }

  .work .work-timeline {
    padding-top: 64px;
  }

  .timeline-line,
  .timeline-progress {
    left: 18px;
  }

  .timeline-line {
    transform: none;
  }

  .timeline-progress {
    transform: translateX(-50%) scaleY(0);
  }

  .timeline-item {
    width: 100%;
    margin: 0 !important;
    padding: 0 0 48px 42px;
    text-align: left !important;
  }

  .timeline-item[data-side="left"] .timeline-dot,
  .timeline-item[data-side="right"] .timeline-dot {
    left: 12px;
    right: auto;
  }

  .blog-post-layout {
    --blog-toc-column: 236px;
    --blog-sticky-top: 82px;
    grid-template-columns: var(--blog-toc-column) minmax(0, 1fr);
    padding-left: 0;
  }

  .blog-post-layout::before {
    left: calc(var(--blog-toc-column) - 1px);
  }

  .blog-markdown {
    grid-column: 2;
    grid-row: 1;
    padding-left: 20px;
    max-height: none;
    overflow: visible;
  }

  .blog-toc-wrap {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: var(--blog-sticky-top);
    max-height: calc(100dvh - var(--blog-sticky-top) - 4px);
    overflow: auto;
  }
}

@media screen and (max-width: 768px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .blog-post-layout::before {
    display: none;
  }

  .blog-markdown {
    grid-column: 1;
    grid-row: auto;
    padding-left: 0;
    padding-right: 0;
    max-height: none;
    overflow-y: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
  }

  .blog-toc-wrap {
    grid-column: 1;
    grid-row: auto;
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    padding: 0 0 18px;
    margin-bottom: 16px;
  }

  .head {
    padding: 12px 16px;
  }

  .logo {
    font-size: 15px;
    letter-spacing: 0.28em;
  }

  .head .main > .menu {
    display: none;
  }

  #menu-expand {
    display: flex;
  }

  #menu-panel {
    top: 58px;
    right: 16px;
    width: calc(100vw - 32px);
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-section {
    width: calc(100% - 16px);
    min-height: 42vh;
    margin-top: 16px;
    border-radius: 14px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-kicker {
    font-size: 18px;
    line-height: 1.1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn,
  .cta-btn-primary,
  .cta-btn-secondary {
    width: min(320px, 100%);
    min-width: 0;
  }

  .section-block,
  .index .quickly-link,
  .about .about-top,
  .about .about-middle,
  .about .about-bottom,
  .work .work-timeline,
  .blog .blog-list,
  .blog-filter-toolbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-sort-filter {
    width: 100%;
    justify-content: flex-end;
  }

  .quickly-link .title-hi,
  .section-heading {
    font-size: 28px;
  }

  .link-card-list {
    grid-template-columns: 1fr;
  }

  .list-00 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-01 {
    grid-template-columns: 1fr;
  }

  .index .hello {
    min-height: 300px;
    width: calc(100% - 16px);
    margin-top: 16px;
    border-radius: 14px;
  }

  .index .hello::after {
    width: 360px;
    height: 360px;
  }

  .index .hello .title .title-hi,
  .index .hello .title .title-name {
    font-size: 24px;
  }

  .index .hello .hello-desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.04em;
  }

  .about-horizontal-timeline {
    padding: 16px;
  }

  .about-timepoint-track {
    gap: 12px;
    padding-bottom: 10px;
  }

  .about-timepoint {
    flex-basis: 150px;
  }

  .about-detail-panel {
    padding: 18px;
  }

  .timeline-header h1 {
    font-size: 32px;
  }

  .title .name {
    font-size: 24px;
  }

  .blog .blog-list .item > a {
    gap: 16px;
  }

  .blog .blog-list-row .post-cover {
    width: 140px;
    max-width: 140px;
    flex-basis: 140px;
  }

  .title-area {
    flex-direction: column;
    gap: 8px;
  }

  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer .copyright span,
  .footer .fillings,
  .footer .friends {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .logo {
    font-size: 14px;
    letter-spacing: 0.22em;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-section {
    width: calc(100% - 12px);
    min-height: 38vh;
  }

  .section-heading,
  .quickly-link .title-hi,
  .about-name,
  .timeline-header h1,
  .blog-markdown h1 {
    font-size: 24px;
  }

  .blog-markdown h2 {
    font-size: 21px;
  }

  .index .hello {
    min-height: 268px;
    width: calc(100% - 12px);
  }

  .index .hello::after {
    width: 300px;
    height: 300px;
  }

  .index .hello .title .title-hi,
  .index .hello .title .title-name {
    font-size: 22px;
  }

  .index .hello .hello-desc {
    font-size: 13px;
    line-height: 1.62;
  }

  .about-timepoint {
    flex-basis: 136px;
  }

  .about-timepoint-date {
    font-size: 11px;
  }

  .about-timepoint-label {
    font-size: 13px;
  }

  .blog .blog-list-row .post-cover {
    width: 116px;
    max-width: 116px;
    flex-basis: 116px;
  }

  .blog-sort-filter {
    justify-content: flex-start;
  }

  .blog-sort-chips {
    width: 100%;
  }

  .blog .blog-list-row .info {
    flex-wrap: wrap;
    gap: 6px;
  }

  .blog .blog-list-row .info-time {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .index .hello .hello-desc .hello-typed {
    width: auto;
    border-right: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
