:root { color-scheme: light; font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; color: #111; background: #fff; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.site-wrap { max-width: 1160px; margin: 0 auto; padding: 0 36px; }

.site-header { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #111; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.mark { display: inline-grid; place-items: center; width: 33px; height: 33px; border: 1.5px solid #111; border-radius: 50%; font-size: 18px; font-weight: 500; }
.wordmark-suffix { color: #777; font-size: 14px; font-weight: 400; }
.site-header nav { display: flex; gap: 30px; font-size: 14px; }
.site-header nav a, .footer-links a { text-decoration: none; }
.site-header nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: 46px; padding: 86px 0 96px; border-bottom: 1px solid #111; }
.eyebrow { margin: 0 0 22px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 27px; font-size: clamp(48px, 5.6vw, 82px); line-height: 1.22; letter-spacing: -.055em; font-weight: 800; }
.period { font-family: Georgia, serif; }
.intro-text { max-width: 620px; margin-bottom: 29px; color: #4f4f4f; font-size: 18px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 25px; padding-bottom: 7px; border-bottom: 1px solid #111; font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { gap: 32px; }
.hero-code { display: grid; place-items: center; justify-self: end; width: 100%; max-width: 440px; aspect-ratio: 1; border: 1px solid #111; }
.hero-code-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-code p { margin: 0; color: #777; font-size: 13px; line-height: 1.7; text-align: center; }
.code-placeholder { position: relative; display: grid; place-items: center; width: 170px; height: 170px; border: 1px dashed #888; color: #666; text-align: center; font-size: 16px; font-weight: 700; line-height: 1.8; }
.placeholder-corners { position: absolute; inset: 11px; border: 1px solid #ddd; }

.articles { padding: 38px 0 100px; }
.section-bar { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 17px; border-bottom: 1px solid #d8d8d8; }
.section-bar h2 { margin: 0; font-size: 19px; }
.section-bar span { color: #666; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.update-list { max-width: 820px; margin: 40px auto 0; }
.update { border-bottom: 1px solid #d8d8d8; }
.update:first-child { border-top: 1px solid #d8d8d8; }
.update details { min-width: 0; }
.update summary { display: block; position: relative; padding: 31px 32px 32px 0; cursor: pointer; list-style: none; }
.update summary::-webkit-details-marker { display: none; }
.update summary::after { content: "+"; position: absolute; top: 27px; right: 0; font-size: 25px; line-height: 1; font-weight: 300; }
.update details[open] summary::after { content: "−"; }
.update summary:hover .update-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.update summary:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.update-meta { display: flex; flex-wrap: wrap; gap: 9px 26px; margin-bottom: 17px; color: #6a6a6a; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.update-title { display: block; margin-bottom: 11px; font-size: clamp(25px, 3vw, 34px); font-weight: 800; line-height: 1.35; letter-spacing: -.025em; }
.update-summary { display: block; max-width: 690px; color: #555; font-size: 15px; line-height: 1.75; }
.update-action { display: inline-block; margin-top: 17px; padding-bottom: 4px; border-bottom: 1px solid #111; font-size: 12px; font-weight: 700; }
.update-action span { margin-left: 17px; }
.update details[open] .update-action { display: none; }
.post-body { padding: 10px 0 65px; }
.post-body p { margin-bottom: 21px; color: #383838; font-size: 16px; line-height: 2; }
.post-body .post-lead { margin-bottom: 50px; padding-left: 20px; border-left: 2px solid #111; color: #555; font-size: 19px; line-height: 1.85; }
.post-body h3 { margin: 52px 0 17px; font-size: 22px; letter-spacing: -.015em; }
.post-body .gallery-hint { margin: 34px 0 12px; color: #777; font-size: 12px; letter-spacing: .06em; }
.gallery { display: flex; gap: 18px; margin: 0; padding: 0 0 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #888 #eee; overscroll-behavior-inline: contain; }
.gallery figure { flex: 0 0 min(45%, 340px); min-width: 0; margin: 0; scroll-snap-align: start; }
.screenshot-frame { display: grid; place-items: center; min-height: 480px; padding: 18px; border: 1px solid #cfcfcf; background: #f7f7f7; }
.screenshot-frame img { display: block; width: 100%; max-height: 530px; height: auto; object-fit: contain; border: 1px solid #ddd; box-shadow: 0 10px 22px #00000012; }
figcaption { display: flex; gap: 12px; padding-top: 15px; font-size: 13px; }
figcaption span { color: #777; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.post-body .image-note { margin: 9px 0 0; color: #777; font-size: 12px; line-height: 1.65; }

.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 32px 0 55px; border-top: 1px solid #111; font-size: 13px; }
.site-footer > div:first-child { display: flex; flex-direction: column; gap: 9px; }
.site-footer strong { font-size: 15px; }.site-footer span { color: #666; }
.footer-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 13px 25px; }

@media (max-width: 700px) {
  .site-wrap { padding: 0 22px; }
  .site-header { min-height: 74px; }.wordmark { font-size: 16px; }.wordmark-suffix { display: none; }
  .site-header nav { gap: 18px; }
  .intro { grid-template-columns: 1fr; gap: 48px; padding: 81px 0 84px; }
  h1 { font-size: clamp(44px, 11vw, 66px); }
  .intro-text { font-size: 16px; }
  .hero-code { justify-self: center; max-width: 320px; }
  .articles { padding-top: 26px; padding-bottom: 80px; }
  .update-list { margin-top: 24px; }
  .update-title { font-size: 26px; }
  .post-body .post-lead { font-size: 17px; margin-bottom: 48px; }
  .gallery figure { flex-basis: min(60%, 280px); }
  .screenshot-frame { min-height: 370px; padding: 12px; }
}
@media (max-width: 540px) {
  .gallery figure { flex-basis: min(83%, 295px); }
  .screenshot-frame { min-height: 480px; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
