/* P3.75 可组装关于页。选择器挂 .ask-about,经典 about.php 零命中。 */

.ask-about {
  padding: 28px 0 88px;
  max-width: 720px;
  margin: 0 auto;
  box-sizing: border-box;
}
.ask-about .ask-about-mod {
  margin: 0 auto 56px;
  padding: 0 var(--space-page);
}
.ask-about__title {
  font-size: clamp(18px, 3.4vw, 22px);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.ask-about-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}
.ask-about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ask-about-hero__bg--grad {
  background:
    radial-gradient(80% 70% at 20% 0%, hsl(var(--page-h, 28) 50% 62% / .45), transparent 55%),
    linear-gradient(165deg, hsl(28 30% 88%), hsl(20 18% 72%));
}
html[data-theme="dark"] .ask-about-hero__bg--grad {
  background:
    radial-gradient(80% 70% at 20% 0%, hsl(var(--page-h, 28) 40% 32% / .5), transparent 55%),
    linear-gradient(165deg, hsl(24 16% 18%), hsl(20 12% 10%));
}
.ask-about-hero__inner {
  position: relative;
  z-index: 1;
  padding: 36px 24px 28px;
  width: 100%;
  background: linear-gradient(to top, rgb(0 0 0 / .45), transparent 70%);
  color: #fff;
}
.ask-about-hero__avatar {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgb(0 0 0 / .18);
  background: rgb(255 255 255 / .16);
  display: grid;
  place-items: center;
}
.ask-about-hero__avatar--empty svg { width: 40px; height: 40px; }
.ask-about-hero__name {
  margin: 16px 0 6px;
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.ask-about-hero__slogan {
  margin: 0;
  font-size: 15px;
  opacity: .88;
  max-width: 28em;
  line-height: 1.5;
}
.ask-about-hero__socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.ask-about-hero__soc {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / .16);
  border: 1px solid rgb(255 255 255 / .22);
  color: #fff;
}
.ask-about-hero__soc svg { width: 16px; height: 16px; }

.ask-about-bio__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ask-about-md > *:first-child { margin-top: 0; }
.ask-about-md > *:last-child { margin-bottom: 0; }
.ask-about-md p { margin: 0 0 .8em; }
.ask-about-md blockquote {
  margin: 0 0 .9em;
  padding: 2px 0 2px 12px;
  border-left: 3px solid color-mix(in srgb, var(--text-secondary) 45%, transparent);
  color: var(--text-secondary);
}
.ask-about-md hr {
  border: 0;
  border-top: 1px solid var(--separator, rgb(0 0 0 / .1));
  margin: 16px 0;
}
.ask-about-md em { font-style: italic; }
.ask-about-md strong { font-weight: 650; }
.ask-about-md ul, .ask-about-md ol { margin: 0 0 .8em; padding-left: 1.2em; }
.ask-about-md a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* 生平时间线:archive 那条竖线 + P3.74 圆点对齐(线宽 2,圆心 = 线中心),
   关于页 720 宽所以桌面是「标签 | 线 | 正文」,不是文章页左右交错卡。 */
.ask-about-tl {
  position: relative;
  margin: 28px 0 0;
  padding: 4px 0 8px;
}
.ask-about-tl__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ask-about-tl__line {
  position: absolute;
  top: 4px;
  bottom: 8px;
  left: 20px;
  width: 2px;
  background: var(--separator, rgb(0 0 0 / .16));
}
.ask-about-tl__item {
  position: relative;
  padding: 0 0 28px 44px;
}
.ask-about-tl__item:last-child { padding-bottom: 0; }
.ask-about-tl__node {
  position: absolute;
  /* 与 archive P3.74 同一套:线 left:20px width:2px → 中心 21px;
     条目是时间线盒子的内容盒全宽,圆点 left:21px + translate(-50%)。 */
  left: 21px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(var(--page-h, 28) 70% 55%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--bg-page);
  z-index: 1;
}
.ask-about-tl__label {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}
.ask-about-tl__t { font-weight: 700; font-size: 15px; }
.ask-about-tl__d { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.ask-about-tl__body { font-size: 15px; line-height: 1.7; color: var(--text-secondary); min-width: 0; }

@media (min-width: 560px) {
  .ask-about-tl__line { left: 108px; }
  .ask-about-tl__item {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 28px;
    padding: 0 0 32px 0;
    align-items: start;
  }
  .ask-about-tl__node {
    left: 109px;
    top: 10px;
  }
  .ask-about-tl__label {
    grid-column: 1;
    text-align: right;
    margin-bottom: 0;
    padding-top: 0;
  }
  .ask-about-tl__body { grid-column: 2; }
}

.ask-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ask-about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: hsl(var(--h, 28) 40% 50% / .12);
  color: var(--text-primary);
  border: 1px solid rgb(0 0 0 / .06);
}
html[data-theme="dark"] .ask-about-tag {
  border-color: rgb(255 255 255 / .12);
}
a.ask-about-tag {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.ask-about-tag:hover,
a.ask-about-tag:focus-visible {
  background: hsl(var(--h, 28) 42% 50% / .22);
}
a.ask-about-tag::after {
  content: "↗";
  font-size: 10px;
  font-weight: 500;
  opacity: .42;
  margin-left: 1px;
  line-height: 1;
}

.ask-about-bar { margin-bottom: 14px; }
.ask-about-bar__lab {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.ask-about-bar__track {
  height: 6px;
  border-radius: 99px;
  background: rgb(0 0 0 / .06);
  overflow: hidden;
}
html[data-theme="dark"] .ask-about-bar__track { background: rgb(255 255 255 / .08); }
.ask-about-bar__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: hsl(var(--page-h, 28) 45% 48%);
}
.ask-about-skillgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ask-about-skillcell {
  padding: 16px;
  border-radius: 18px;
  background: var(--bg-elevated, rgb(0 0 0 / .03));
  box-shadow: 0 2px 10px rgb(0 0 0 / .04);
}
.ask-about-skillcell__icon svg { width: 22px; height: 22px; }
.ask-about-skillcell__t { font-weight: 650; margin-top: 8px; font-size: 14px; }

.ask-about-fav {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
}
.ask-about-fav::-webkit-scrollbar { display: none; }
.ask-about-fav__card {
  flex: 0 0 62%;
  max-width: 220px;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 2px 12px rgb(0 0 0 / .06);
  color: inherit;
}
.ask-about-fav__img { aspect-ratio: 1 / 1; overflow: hidden; }
.ask-about-fav__img img { width: 100%; height: 100%; object-fit: cover; }
.ask-about-fav__img--empty { background: linear-gradient(160deg, hsl(28 40% 70%), hsl(20 24% 42%)); }
.ask-about-fav__meta { padding: 10px 12px 14px; }
.ask-about-fav__meta .t { font-weight: 650; font-size: 14px; }
.ask-about-fav__meta .st { font-size: 12px; color: var(--text-secondary); }

.ask-about-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ask-about-contact__a {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  background: var(--text-primary);
  color: var(--bg-page);
}
.ask-about-contact__a--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgb(0 0 0 / .12);
}
html[data-theme="dark"] .ask-about-contact__a--ghost {
  border-color: rgb(255 255 255 / .2);
}

@media (min-width: 700px) {
  .ask-about { padding-top: 40px; }
  .ask-about-hero { min-height: 340px; }
  .ask-about-skillgrid { grid-template-columns: repeat(3, 1fr); }
  .ask-about-fav__card { flex-basis: 200px; }
}

[data-glass-mode="on"] .ask-about-hero,
[data-glass-mode="on"] .ask-about-skillcell,
[data-glass-mode="on"] .ask-about-fav__card {
  background-color: rgb(255 255 255 / .12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
