/* ChatDock site · "clay peach"
   layout: centred and friendly; a clay monitor carries the live demo; clay bits float around it and can be dragged */
:root {
  --bg: #fbe9d7; --surface: #fffaf3; --ink: #3a2a22; --soft: #7b665a; --line: #f0e2d3;
  --tomato: #ff6b4a; --tomato-d: #c94a30; --mint: #7ed3b2; --butter: #ffd166; --sky: #8ecae6; --pink: #f4a6c6; --lilac: #c9b6f2;
  --stand: #ff8f70; --shadow: rgba(122, 74, 48, .32);
  /* surface highlight, the hard edge under raised buttons, the frosted header, accent text, the dark final card */
  --hi: rgba(255,255,255,.55); --edge: #e2cfbe; --hdr: rgba(251, 233, 215, .88); --link: #c94a30; --chip-ink: #3a2a22;
  --final-bg: #3a2a22; --final-ink: #fffaf3; --final-soft: #d8c8bb;
  --head: "Mali", "IBM Plex Sans Thai Looped", "Noto Sans SC", "Noto Sans JP", cursive;
  --body: "IBM Plex Sans Thai Looped", "Noto Sans SC", "Noto Sans JP", system-ui, sans-serif;
  /* a spring with a light overshoot; browsers without linear() get the cubic fallback below */
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --soft-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
/* dark: the same clay, baked cocoa; the pastel bits stay as they are */
:root[data-theme="dark"] {
  --bg: #1d1512; --surface: #2b201b; --ink: #f7e9dd; --soft: #bfa999; --line: #3b2d26;
  --stand: #e9785a; --shadow: rgba(0, 0, 0, .6);
  --hi: rgba(255,255,255,.07); --edge: #120c0a; --hdr: rgba(29, 21, 18, .86); --link: #ff8a6e;
  --final-bg: #120c0a; --final-ink: #f7e9dd; --final-soft: #bfa999;
  color-scheme: dark;
}
/* switching theme glides the colours instead of snapping */
.theming, .theming *, .theming *::before, .theming *::after { transition: background-color .45s ease, color .45s ease, box-shadow .45s ease, fill .45s ease !important; }
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.4%, 1.067, 1.099 24.3%, 1.108 26%, 1.1, 1.077 30.3%, .996 37.3%, .982 40%, .978 43.1%, .992 52.6%, 1.002 60.5%, 1); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.75 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html:lang(zh) body, html:lang(ja) body { line-height: 1.85; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--surface); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---- clay kit ---- */
.puff { background: var(--surface); border-radius: 28px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.07), inset 0 4px 8px var(--hi), 0 12px 22px -12px var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--tomato); color: #fff; text-decoration: none; font: 700 19px var(--head);
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer; position: relative;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.35), 0 7px 0 var(--tomato-d), 0 16px 20px -10px var(--shadow);
  transition: translate .35s var(--spring), box-shadow .35s var(--spring); }
.btn svg { width: 20px; height: 20px; }
@media (hover: hover) { .btn:hover { translate: 0 2px; box-shadow: inset 0 3px 0 rgba(255,255,255,.35), 0 5px 0 var(--tomato-d), 0 12px 16px -10px var(--shadow); } }
.btn:active { translate: 0 7px; box-shadow: inset 0 3px 0 rgba(255,255,255,.35), 0 0 0 var(--tomato-d), 0 4px 8px -6px var(--shadow); transition-duration: .08s; }
.btn.dark { background: var(--surface); color: var(--ink); box-shadow: inset 0 3px 0 var(--hi), 0 7px 0 var(--edge), 0 16px 20px -10px rgba(0,0,0,.4); }

/* ---- header ---- */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; transition: background .3s, box-shadow .3s; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
header.top.solid { background: var(--hdr); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 24px -18px var(--shadow); }
header.top .wrap { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 22px var(--head); text-decoration: none; }
.brand img { width: 36px; height: 36px; rotate: -6deg; transition: rotate .6s var(--spring), scale .6s var(--spring); }
.brand.spin img { rotate: 354deg; scale: 1.1; }
header nav { margin-left: auto; display: flex; gap: 2px; }
header nav a { text-decoration: none; padding: 7px 14px; border-radius: 999px; font-weight: 500; transition: background .2s, translate .35s var(--spring); }
@media (hover: hover) { header nav a:hover { background: var(--surface); translate: 0 -2px; } }
.gh-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); margin-left: auto; flex: 0 0 auto;
  transition: rotate .5s var(--spring), scale .5s var(--spring); }
header nav + .gh-link { margin-left: 0; }
.theme-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; flex: 0 0 auto; transition: scale .4s var(--spring); }
.theme-btn svg { grid-area: 1 / 1; width: 21px; height: 21px; transition: rotate .6s var(--spring), scale .5s var(--spring), opacity .25s; }
.theme-btn .sun, [data-theme="dark"] .theme-btn .moon { rotate: -100deg; scale: 0; opacity: 0; }
[data-theme="dark"] .theme-btn .sun { rotate: 0deg; scale: 1; opacity: 1; color: var(--butter); }
@media (hover: hover) { .theme-btn:hover { scale: 1.1; } .theme-btn:hover svg { rotate: -18deg; } [data-theme="dark"] .theme-btn:hover .sun { rotate: 45deg; } }
.theme-btn:active { scale: .9; }
.gh-link svg { width: 22px; height: 22px; }
@media (hover: hover) { .gh-link:hover { rotate: -12deg; scale: 1.1; } }
.gh-link:active { scale: .92; }
.lang { position: relative; }
.lang > button { display: flex; align-items: center; gap: 8px; font: 600 14px var(--body); color: var(--ink); border: 0; padding: 8px 14px; cursor: pointer; }
.lang > button svg { width: 18px; height: 18px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); list-style: none; margin: 0; padding: 6px; min-width: 160px; z-index: 30;
  transform-origin: 90% 0; scale: .85; opacity: 0; visibility: hidden; transition: scale .35s var(--spring), opacity .2s, visibility 0s .35s; }
.lang.open ul { scale: 1; opacity: 1; visibility: visible; transition: scale .35s var(--spring), opacity .15s, visibility 0s; }
.lang li button { width: 100%; text-align: left; font: 500 15px var(--body); color: var(--ink); background: none; border: 0; padding: 8px 12px; border-radius: 12px; cursor: pointer; }
.lang li button:hover, .lang li button:focus-visible { background: var(--line); }
.lang li button[aria-current="true"] { background: var(--ink); color: var(--surface); }

/* ---- hero ---- */
.hero { position: relative; text-align: center; padding-block: 22px 10px; }
.pill { display: inline-block; padding: 6px 16px; font-size: 14px; font-weight: 500; border-radius: 999px; }
.pill b { color: var(--tomato); }
h1 { font: 700 clamp(40px, 6.4vw, 86px)/1.14 var(--head); margin: 22px auto 16px; max-width: 920px; text-wrap: balance; letter-spacing: -.005em; }
html:lang(zh) h1, html:lang(ja) h1 { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.3; }
html:lang(de) h1 { font-size: clamp(36px, 5.6vw, 76px); }
h1 .ln { display: inline-block; }
.lede { max-width: 650px; margin: 0 auto 30px; color: var(--soft); font-size: 18px; text-wrap: pretty; }
.meta { font-size: 14px; color: var(--soft); margin-top: 20px; }

.bits { position: absolute; inset: 0; pointer-events: none; }
.bit { position: absolute; pointer-events: auto; cursor: grab; touch-action: none; will-change: transform; }
.bit.held { cursor: grabbing; z-index: 5; }
.bit i { display: block; width: 100%; height: 100%; border-radius: inherit; background: inherit;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.08), inset 0 4px 6px rgba(255,255,255,.6), 0 8px 12px -6px var(--shadow);
  animation: bob 6s ease-in-out infinite; transition: scale .3s var(--spring); }
.bit.held i { scale: 1.15 .88; }
@keyframes bob { 50% { translate: 0 -12px; rotate: 8deg; } }
.b1 { width: 54px; height: 54px; border-radius: 50%; background: var(--butter); left: 6%; top: 90px; }
.b2 { width: 34px; height: 34px; border-radius: 50%; background: var(--mint); right: 9%; top: 60px; } .b2 i { animation-delay: -1.5s; }
.b3 { width: 90px; height: 36px; border-radius: 999px; background: var(--pink); right: 4%; top: 300px; } .b3 i { animation-delay: -3s; }
.b4 { width: 26px; height: 26px; border-radius: 50%; background: var(--sky); left: 12%; top: 330px; } .b4 i { animation-delay: -2s; }
.b5 { width: 40px; height: 40px; border-radius: 12px; background: var(--lilac); left: 3%; top: 520px; } .b5 i { animation-delay: -4s; }
.bits-hint { position: absolute; left: 4%; top: 152px; font: 600 14px var(--head); color: var(--soft); rotate: -6deg; pointer-events: none; transition: opacity .5s; }
.bits-hint.gone { opacity: 0; }

.stage { position: relative; max-width: 900px; margin: 54px auto 0; }
.monitor { position: relative; background: var(--surface); border-radius: 34px; padding: 16px 16px 20px;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.09), inset 0 6px 10px var(--hi), 0 30px 40px -18px var(--shadow); transform-origin: 50% 100%; }
.monitor .glass { border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 3px rgba(0,0,0,.06); background: #9fd8ff; }
.monitor .led { position: absolute; left: 50%; bottom: 7px; width: 26px; height: 6px; margin-left: -13px; border-radius: 3px; background: var(--mint); }
.neck { width: 18%; min-width: 60px; height: 44px; margin: 0 auto; background: var(--stand); border-radius: 0 0 16px 16px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.12), inset 0 10px 8px -6px rgba(0,0,0,.18); }
.foot { width: 38%; min-width: 140px; height: 22px; margin: -2px auto 0; background: var(--stand); border-radius: 999px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.13), inset 0 4px 6px rgba(255,255,255,.35), 0 16px 22px -12px var(--shadow); }
.sticker { position: absolute; right: -10px; top: -26px; z-index: 2; background: var(--butter); color: var(--chip-ink); font: 700 18px var(--head); padding: 10px 18px; border-radius: 18px; rotate: 7deg; max-width: 70%;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.08), 0 6px 12px -6px var(--shadow); animation: wob 3s ease-in-out infinite; transition: background .4s; }
.sticker.done { background: var(--mint); }
@keyframes wob { 50% { translate: 0 -6px; rotate: 3deg; } }
.tip { text-align: center; font-size: 14px; color: var(--soft); margin: 22px 0 0; }
.crumb { position: fixed; z-index: 50; width: 14px; height: 14px; border-radius: 50%; pointer-events: none; will-change: transform, opacity;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), inset 0 2px 3px rgba(255,255,255,.6); }

/* the opening: nothing hides, it only drops in and settles */
@keyframes drop { from { translate: 0 -28px; scale: .94 1.06; } }
@keyframes rise { from { translate: 0 80px; scale: 1 .88; } }
@keyframes plop { from { scale: .2; } }
.intro .pill, .intro h1 .ln, .intro .lede, .intro .hero .btn, .intro .meta { animation: drop .9s var(--spring) both; }
.intro .pill { animation-delay: .04s; } .intro .lede { animation-delay: .36s; } .intro .hero .btn { animation-delay: .44s; } .intro .meta { animation-delay: .5s; }
.intro .stage { animation: rise 1.1s var(--spring) .26s both; }
.intro .bit { animation: plop .8s var(--spring) both; }
.intro .b2 { animation-delay: .1s; } .intro .b3 { animation-delay: .18s; } .intro .b4 { animation-delay: .26s; } .intro .b5 { animation-delay: .34s; }

/* ---- sections ---- */
section { padding-block: 96px; scroll-margin-top: 80px; }
h2 { font: 700 clamp(32px, 4vw, 50px)/1.22 var(--head); margin: 0 0 38px; text-align: center; text-wrap: balance; }
/* sections settle as they arrive; they are readable before and during it */
.settle { transition: translate .9s var(--soft-out); }
.settle.below { translate: 0 28px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { padding: 26px; transition: translate .5s var(--spring), rotate .5s var(--spring), scale .5s var(--spring); }
.card:nth-child(odd) { rotate: -1deg; } .card:nth-child(even) { rotate: 1deg; }
@media (hover: hover) { .card:hover { translate: 0 -8px; rotate: 0deg; scale: 1.02; } }
.ico { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 14px; transition: rotate .5s var(--spring), scale .5s var(--spring);
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.1), inset 0 4px 6px rgba(255,255,255,.5); }
.ico svg { width: 34px; height: 34px; overflow: visible; }
@media (hover: hover) { .card:hover .ico { rotate: -10deg; scale: 1.12; } }
.card:nth-child(1) .ico { background: var(--tomato); } .card:nth-child(2) .ico { background: var(--mint); } .card:nth-child(3) .ico { background: var(--butter); }
.card:nth-child(4) .ico { background: var(--sky); } .card:nth-child(5) .ico { background: var(--pink); } .card:nth-child(6) .ico { background: var(--lilac); }
.ico .mv { transition: translate .5s var(--spring), rotate .5s var(--spring), scale .5s var(--spring); transform-box: fill-box; transform-origin: center; }
@media (hover: hover) {
  .card:hover .i-tab .mv { translate: -5px 0; }
  .card:hover .i-game .mv { translate: 0 -3px; rotate: 12deg; }
  .card:hover .i-mouse .mv { animation: blink .5s steps(2) 3; }
  .card:hover .i-reply .mv { translate: 3px -3px; }
  .card:hover .i-star .mv { rotate: 72deg; scale: 1.15; }
  .card:hover .i-vol .mv { animation: wave .6s ease-in-out 2; }
}
@keyframes blink { 50% { opacity: .2; } }
@keyframes wave { 50% { scale: 1.25; } }
.card h3 { font: 700 21px/1.35 var(--head); margin: 0 0 6px; }
.card p { margin: 0; color: var(--soft); font-size: 16px; }

.apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.apps button { display: flex; align-items: center; gap: 10px; padding: 10px 20px 10px 12px; font: 600 17px var(--body); color: var(--ink); border: 0; border-radius: 999px; cursor: pointer;
  transition: translate .45s var(--spring), rotate .45s var(--spring), scale .2s var(--spring); }
@media (hover: hover) { .apps button:hover { translate: 0 -4px; rotate: -2deg; } .apps button:hover i { rotate: -14deg; scale: 1.15; } }
.apps button:active { scale: .95 .9; transition-duration: .08s; }
.apps i { width: 30px; height: 30px; transition: rotate .5s var(--spring), scale .5s var(--spring); }
.apps i svg { width: 100%; height: 100%; color: var(--ink); }
.hint { text-align: center; font: 600 15px var(--head); color: var(--tomato); margin: 18px 0 0; }
.note { text-align: center; color: var(--soft); max-width: 660px; margin: 14px auto 0; }

.stack { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
ul.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.notes li { padding: 18px 24px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 -5px 0 rgba(0,0,0,.06); transition: translate .45s var(--spring); }
@media (hover: hover) { ul.notes li:hover { translate: 6px 0; } }
ul.notes b { display: block; font: 700 19px var(--head); }
ul.notes span { color: var(--soft); }
.more { text-align: center; margin-top: 22px; font-size: 15px; }
.more a { font-weight: 600; color: var(--link); }
.small { text-align: center; font-size: 13px; color: var(--soft); margin: 0 0 14px; }

details.puff { padding: 16px 22px; border-radius: 24px; }
summary { cursor: pointer; font: 700 19px var(--head); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 34px; width: 34px; min-width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 2px 4px rgba(0,0,0,.12); transition: rotate .45s var(--spring); }
details[open] summary::after { rotate: 135deg; }
details p { margin: 10px 0 0; color: var(--soft); }
details[open] p { animation: drop .6s var(--spring); }

.final { text-align: center; padding: 64px 26px; background: var(--final-bg); color: var(--final-ink); border-radius: 36px; box-shadow: inset 0 -8px 0 rgba(0,0,0,.25), 0 20px 30px -18px rgba(0,0,0,.5); }
.final h2 { color: var(--final-ink); margin-bottom: 10px; }
.final p { color: var(--final-soft); margin: 0 0 32px; }
.final .meta a { color: var(--final-soft); }
footer.end { padding-block: 26px 60px; color: var(--soft); font-size: 14px; text-align: center; }
footer.end a { margin-left: 6px; }
.foot-gh { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.foot-gh svg { width: 18px; height: 18px; }
.final-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 16px; }
.btn.dark svg { width: 22px; height: 22px; }

/* ---- update log: a clay timeline, the newest open ---- */
.log { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.log::before { content: ""; position: absolute; left: 21px; top: 18px; bottom: 18px; width: 8px; border-radius: 4px; background: var(--line); box-shadow: inset 0 2px 3px rgba(0,0,0,.06); }
.log > li { position: relative; padding-left: 64px; margin-bottom: 16px; }
.log .dot { position: absolute; left: 10px; top: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--butter);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.1), inset 0 3px 5px rgba(255,255,255,.6), 0 6px 10px -6px var(--shadow); transition: scale .45s var(--spring); }
.log > li:nth-child(6n+2) .dot { background: var(--mint); } .log > li:nth-child(6n+3) .dot { background: var(--sky); }
.log > li:nth-child(6n+4) .dot { background: var(--pink); } .log > li:nth-child(6n+5) .dot { background: var(--lilac); } .log > li:nth-child(6n) .dot { background: var(--tomato); }
.log > li:first-child .dot { background: var(--tomato); width: 34px; height: 34px; left: 8px; top: 20px; }
@media (hover: hover) { .log > li:hover .dot { scale: 1.2; } }
.log details { padding: 16px 22px; border-radius: 24px; transition: translate .45s var(--spring); }
@media (hover: hover) { .log details:hover { translate: 4px 0; } }
.log summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; font: inherit; align-items: center; }
.log summary::after { grid-column: 2; grid-row: 1 / span 2; }
.log .ver { font: 700 21px/1.3 var(--head); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.log .ver time { font: 400 14px var(--body); color: var(--soft); }
.log .ver .badge { font-size: 12px; }
.log .sum { color: var(--soft); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log details[open] .sum { white-space: normal; }
.log h4 { font: 700 16px var(--head); margin: 16px 0 4px; }
.log ul { margin: 0; padding-left: 20px; font-size: 15.5px; }
.log li li { margin-bottom: 6px; } .log li li b { display: block; font-weight: 600; }
.log .rp { color: var(--soft); font-size: 15px; margin: 12px 0 0; }
.log .dl-ver { display: inline-flex; margin-top: 14px; font: 700 15px var(--head); color: var(--link); text-decoration: none; }
.log .dl-ver:hover { text-decoration: underline; }
.log details[open] > :not(summary) { animation: drop .55s var(--spring); }

/* ---- team ---- */
.team-sub { text-align: center; color: var(--soft); margin: -22px auto 34px; max-width: 560px; font-size: 15px; }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.person { width: min(100%, 340px); padding: 30px 26px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: translate .5s var(--spring), rotate .5s var(--spring); }
.person:nth-child(odd) { rotate: -1.2deg; } .person:nth-child(even) { rotate: 1.2deg; }
@media (hover: hover) { .person:hover { translate: 0 -8px; rotate: 0deg; } .person:hover .face { rotate: -8deg; scale: 1.06; } }
.face { position: relative; width: 112px; height: 112px; border-radius: 50%; padding: 8px; margin-bottom: 12px; background: var(--butter);
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.1), inset 0 5px 8px rgba(255,255,255,.55), 0 12px 18px -10px var(--shadow); transition: rotate .6s var(--spring), scale .6s var(--spring); }
.person:nth-child(2) .face { background: var(--mint); } .person:nth-child(3) .face { background: var(--sky); } .person:nth-child(4) .face { background: var(--pink); }
.face img, .face span { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; object-fit: cover; background: var(--surface); font: 700 36px var(--head); color: var(--ink); }
.person h3 { font: 700 23px/1.3 var(--head); margin: 0; }
.person .login { font-size: 14px; color: var(--soft); }
.person .role { font-weight: 600; margin-top: 8px; }
.person .about { color: var(--soft); font-size: 15px; }
.person .grow { flex: 1; min-height: 12px; }
.person .commits { margin-top: 0; font: 600 13px var(--body); padding: 4px 12px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 2px 4px rgba(0,0,0,.08); }
.person .gh { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 15px var(--head); color: var(--ink);
  padding: 9px 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 -3px 0 rgba(0,0,0,.08), 0 5px 0 var(--edge); transition: translate .25s var(--spring), box-shadow .25s var(--spring); }
.person .gh svg { width: 18px; height: 18px; }
@media (hover: hover) { .person .gh:hover { translate: 0 2px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.08), 0 3px 0 var(--edge); } }
.person .gh:active { translate: 0 5px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.08), 0 0 0 var(--edge); }
.team .state { width: 100%; text-align: center; }

/* ---- what's new page ---- */
.page-head { text-align: center; padding-block: 40px 10px; }
.page-head h1 { margin-bottom: 8px; }
.page-head p { color: var(--soft); margin: 0 auto; max-width: 600px; }
.releases { max-width: 820px; margin: 30px auto 0; display: grid; gap: 22px; }
.release { padding: 28px 30px; }
.release header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 8px; }
.release h2 { font-size: 30px; margin: 0; text-align: left; }
.release time { color: var(--soft); font-size: 14px; }
.badge { font: 700 13px var(--head); background: var(--mint); color: var(--chip-ink); padding: 3px 12px; border-radius: 999px; }
.release h3 { font: 700 18px var(--head); margin: 18px 0 6px; }
.release ul { margin: 0; padding-left: 20px; }
.release li { margin-bottom: 8px; }
.release li b { display: block; font-weight: 600; }
.release .rp { color: var(--soft); margin: 14px 0 0; }
.release .acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 20px; }
.release .acts .btn { font-size: 16px; padding: 11px 22px; }
.state { text-align: center; color: var(--soft); padding: 40px 0; }

@media (max-width: 860px) {
  header nav { display: none; }
  .lang { margin-left: 0; }
  header nav + .gh-link { margin-left: auto; }
  .log::before { left: 15px; } .log > li { padding-left: 48px; } .log .dot { left: 4px; } .log > li:first-child .dot { left: 2px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .sticker { right: 6px; top: -38px; font-size: 15px; }
  .b3, .b4, .b5, .bits-hint { display: none; }
  section { padding-block: 72px; }
  .release { padding: 22px; }
}
@media (max-width: 520px) {
  header.top .wrap { gap: 8px; }
  .b1 { width: 30px; height: 30px; left: 2%; top: 6px; }
  .b2 { width: 22px; height: 22px; right: 3%; top: 14px; }
  .btn { font-size: 17px; padding: 14px 24px; }
  .lede { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .settle.below { translate: none; }
}
