:root {
  --bg: #0b0b0c;
  --raised: #111113;
  --hover: #161619;
  --line: #1d1d21;
  --line-2: #2a2a30;
  --fg: #e7e7ea;
  --fg-2: #9b9ba4;
  --fg-3: #5f5f68;
  --accent: #3ddcec;
  --ok: #4ade80;

  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --col: 760px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* a soft wash of light behind the top of every page */
body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgba(61, 220, 236, 0.06), transparent 70%);
}

main {
  flex: 1;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #041214;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border: 3px solid var(--bg);
  border-radius: 99px;
}

.col {
  width: 100%;
  max-width: calc(var(--col) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 6px 12px;
  background: var(--accent);
  color: #041214;
  border-radius: 6px;
}

.skip:focus {
  top: 12px;
}

.faint {
  color: var(--fg-3);
}

.caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: -0.17em;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* monochrome logo, tinted with currentColor or --c */
.ico {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

/* ---------- header ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px;
}

.brand {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand span:first-child {
  color: var(--fg-3);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--fg-2);
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--fg);
}

.nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(36px, 8vh, 88px);
}

.intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.intro img {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px -10px rgba(61, 220, 236, 0.35);
}

.intro h1,
.page-title {
  font-size: clamp(1.55rem, 4.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.intro p {
  margin-top: 4px;
  color: var(--fg-2);
}

.bio {
  min-height: calc(9 * 1.7em + 12px);
  margin-top: 32px;
  padding-block: 6px;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
  overflow-y: hidden;
}

.bio .g {
  color: var(--fg-3);
}

/* stretch the box-drawing glyphs so the frame connects across lines */
.bio .b {
  display: inline-block;
  color: var(--fg-3);
  transform: scaleY(1.45);
}

.bio .h {
  font-weight: 600;
}

.bio .s {
  color: var(--fg-2);
}

.bio .a {
  color: var(--accent);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- sections ---------- */

.block {
  margin-top: clamp(56px, 9vw, 92px);
}

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--fg-3);
  text-transform: lowercase;
}

.label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-3);
}

/* ---------- languages ---------- */

.langs {
  margin-top: 14px;
}

.lang {
  border-bottom: 1px solid var(--line);
}

.lang__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 14px;
  column-gap: 16px;
  align-items: center;
  width: 100%;
  padding: 16px 0;
}

.lang__logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent);
  color: var(--c);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}

.lang__logo .ico {
  width: 18px;
  height: 18px;
}

.lang__name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.lang__use {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
}

.lang__count {
  font-size: 12px;
  color: var(--fg-3);
  white-space: nowrap;
}

.lang__icon {
  position: relative;
  width: 11px;
  height: 11px;
  justify-self: end;
  color: var(--fg-3);
  transition: transform 0.35s var(--ease), color 0.2s;
}

.lang__icon::before,
.lang__icon::after {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.lang__icon::after {
  transform: rotate(90deg);
}

button.lang__head:hover .lang__logo,
.lang.is-open .lang__logo {
  background: color-mix(in srgb, var(--c) 18%, transparent);
  transform: rotate(-6deg);
}

button.lang__head:hover .lang__icon {
  color: var(--fg);
}

.lang.is-open .lang__icon {
  transform: rotate(135deg);
  color: var(--fg);
}

.lang--empty .lang__head {
  grid-template-columns: 40px minmax(0, 1fr);
}

.lang__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.lang.is-open .lang__body {
  grid-template-rows: 1fr;
}

.lang__body > div {
  overflow: hidden;
}

.tree {
  padding: 0 0 16px 46px;
}

.proj {
  display: grid;
  grid-template-columns: 26px 150px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: baseline;
  padding: 7px 10px 7px 0;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.proj:hover,
.proj:focus-visible {
  background: var(--hover);
}

.proj__branch {
  padding-left: 4px;
  color: var(--fg-3);
}

.proj__title {
  font-weight: 500;
  transition: color 0.2s;
}

.proj:hover .proj__title {
  color: var(--accent);
}

.proj__sum {
  font-size: 13px;
  color: var(--fg-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proj__go {
  font-size: 12px;
  color: var(--fg-3);
  transition: color 0.2s, transform 0.3s var(--ease);
}

.proj:hover .proj__go {
  color: var(--accent);
  transform: translateX(3px);
}

.lang.is-open .tree li {
  animation: rise 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 50ms + 60ms);
}

/* roblox games */

.games {
  padding: 2px 0 22px 56px;
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.game {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.game__thumb,
.grow__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(90deg, var(--raised), var(--hover), var(--raised));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.game__thumb {
  margin-bottom: 9px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.game__thumb img,
.grow__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s, transform 0.6s var(--ease);
}

.game__thumb img.is-loaded,
.grow__thumb img.is-loaded {
  opacity: 1;
}

.game:hover .game__thumb img {
  transform: scale(1.05);
}

.game__live {
  position: absolute;
  left: 8px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 1px 8px;
  border-radius: 99px;
  background: rgba(5, 5, 6, 0.72);
  font-size: 11px;
  color: #fff;
}

.game__live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

.game__live[hidden] {
  display: none;
}

.game__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.game:hover .game__name {
  color: var(--accent);
}

.game__meta {
  font-size: 12px;
  color: var(--fg-3);
}

.games__sub {
  margin: 24px 0 6px;
  font-size: 12px;
  color: var(--fg-3);
}

.grow {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 6px 10px 6px 0;
  border-radius: 7px;
  transition: background-color 0.2s;
}

.grow:hover,
.grow:focus-visible {
  background: var(--hover);
}

.grow__thumb {
  border-radius: 5px;
}

.grow__name {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.grow:hover .grow__name {
  color: var(--accent);
}

.grow__meta {
  font-size: 12px;
  color: var(--fg-3);
  white-space: nowrap;
}

.games__profile {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-2);
  transition: color 0.2s;
}

.games__profile:hover {
  color: var(--accent);
}

.lang.is-open .game,
.lang.is-open .games__list li {
  animation: rise 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms + 60ms);
}

/* floating screenshot preview */

.peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: 300px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  background: var(--raised);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
  transition: opacity 0.25s;
}

.peek.is-on {
  opacity: 1;
}

.peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- discord card (inline) ---------- */

.dcard {
  --dc-bg: var(--raised);
  margin-top: 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--dc-bg);
  overflow: hidden;
}

.dcard__banner {
  height: 92px;
  background: var(--banner, linear-gradient(120deg, #13262a, #1b2125)) center / cover no-repeat;
}

.dcard__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 16px;
  padding: 0 18px 18px;
}

.dcard__avatar {
  position: relative;
  width: 86px;
  height: 86px;
  margin-top: -42px;
  border: 5px solid var(--dc-bg);
  border-radius: 50%;
  background: var(--dc-bg);
}

.dcard__avatar > img:first-child,
.dc__avatar > img:first-child {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.dcard__id {
  min-width: 0;
  padding-bottom: 2px;
}

.dcard__name {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dcard__user {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-2);
}

.dcard__badges,
.dc__badges {
  display: flex;
  gap: 3px;
}

.dcard__badges:empty,
.dc__badges:empty {
  display: none;
}

.dcard__badges img {
  width: 18px;
  height: 18px;
}

.dcard__actions {
  display: flex;
  gap: 8px;
  padding-bottom: 2px;
}

/* ---------- link rows ---------- */

.dcard + .links {
  margin-top: 8px;
}

.links li {
  border-bottom: 1px solid var(--line);
}

.link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 15px 0;
}

.link__k {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--fg-3);
}

.link__v {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.link__act {
  font-size: 12.5px;
  color: var(--fg-3);
  transition: color 0.2s, transform 0.3s var(--ease);
}

.link:hover .link__v {
  color: var(--accent);
}

.link:hover .link__act {
  color: var(--fg-2);
  transform: translateX(3px);
}

/* ---------- about / contact ---------- */

.page {
  padding-top: clamp(36px, 8vh, 88px);
}

.prose {
  margin-top: 28px;
}

.prose p {
  color: var(--fg-2);
}

.prose p + p {
  margin-top: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-2);
}

.status__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.status__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--ok);
  border-radius: 50%;
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}

.status--busy .status__dot {
  background: #f59e0b;
}

.status--busy .status__dot::after {
  display: none;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.page .status + .page-title {
  margin-top: 18px;
}

.lead {
  margin-top: 14px;
  color: var(--fg-2);
}

.rows {
  margin-top: 14px;
}

.rows li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.rows__n {
  font-size: 12.5px;
  color: var(--fg-3);
  line-height: 1.9;
}

.rows h3 {
  font-size: 15px;
  font-weight: 500;
}

.rows p {
  font-size: 13.5px;
  color: var(--fg-2);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.inline-list li {
  padding: 3px 10px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 13px;
  color: var(--fg-2);
}

/* code window (about, 404) */

.code {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  overflow: hidden;
}

.code__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-2);
}

.code__tab i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00a2ff;
}

.code pre {
  padding: 16px 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  overflow-x: auto;
  counter-reset: ln;
}

.code .ln {
  display: block;
  padding-right: 18px;
  white-space: pre;
}

.code .ln::before {
  counter-increment: ln;
  content: counter(ln);
  display: inline-block;
  width: 3em;
  padding-right: 1.3em;
  text-align: right;
  color: #34343b;
}

.tk-k {
  color: #ff7b9c;
}

.tk-s {
  color: #a5e075;
}

.tk-n {
  color: #f5b26b;
}

.tk-p {
  color: #7fd6ff;
}

.tk-c {
  color: var(--fg-3);
  font-style: italic;
}

.tk-e {
  color: #ff6b6b;
}

.text-link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.btn:hover {
  background: var(--hover);
  border-color: #3a3a42;
}

.btn:active {
  transform: translateY(1px);
}

.btn--solid {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
  font-weight: 500;
}

.btn--solid:hover {
  background: #fff;
  border-color: #fff;
}

.btn--discord:hover {
  color: #fff;
  background: #5865f2;
  border-color: #5865f2;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ---------- footer ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(64px, 10vw, 104px);
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-3);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.foot__links a,
.foot__links button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-2);
  transition: color 0.2s;
}

.foot__links a:hover,
.foot__links button:hover {
  color: var(--fg);
}

/* ---------- dialogs ---------- */

.modal,
.dc {
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-2);
  color: var(--fg);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9);
  overscroll-behavior: contain;
}

.modal::backdrop,
.dc::backdrop {
  background: rgba(5, 5, 6, 0.72);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal[open],
.dc[open] {
  animation: pop 0.35s var(--ease);
}

.modal[open]::backdrop,
.dc[open]::backdrop {
  animation: fade 0.3s ease;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.7);
  color: var(--fg-2);
  transition: color 0.2s, background-color 0.2s;
}

.close:hover {
  color: var(--fg);
  background: rgba(8, 8, 10, 0.9);
}

.close svg {
  width: 14px;
  height: 14px;
}

body.has-dialog {
  overflow: hidden;
}

/* project dialog */

.modal {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  border-radius: 12px;
  background: var(--raised);
  overflow: hidden auto;
}

.modal__media {
  aspect-ratio: 16 / 10;
  background: #060607;
  border-bottom: 1px solid var(--line);
}

.modal__media img,
.modal__media video,
.modal__media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.modal__body {
  padding: 24px;
}

.modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-right: 36px;
  font-size: 12.5px;
  color: var(--fg-3);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fg-2);
}

.tag .ico {
  width: 13px;
  height: 13px;
  color: var(--c);
}

.modal__body h2 {
  margin-top: 12px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.modal__media--wide {
  aspect-ratio: 16 / 9;
}

.modal__desc {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--fg-2);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 14px;
}

.stats dt {
  font-size: 11.5px;
  color: var(--fg-3);
}

.stats dd {
  font-size: 15px;
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.chips li {
  padding: 2px 9px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  font-size: 12px;
  color: var(--fg-2);
}

.modal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

/* discord profile dialog */

.dc {
  --dc-bg: #111214;
  width: min(360px, calc(100% - 32px));
  border-radius: 14px;
  background: var(--dc-bg);
  overflow: hidden;
}

.dc__banner {
  height: 120px;
  background: var(--banner, linear-gradient(120deg, #13262a, #1b2125)) center / cover no-repeat;
}

.dc__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 16px;
}

.dc__avatar {
  position: relative;
  width: 92px;
  height: 92px;
  margin-top: -48px;
  border: 6px solid var(--dc-bg);
  border-radius: 50%;
  background: var(--dc-bg);
}

.dc__deco {
  position: absolute;
  inset: -10%;
  width: 120%;
  max-width: none;
  height: 120%;
  pointer-events: none;
}

.dc__status {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border: 5px solid var(--dc-bg);
  border-radius: 50%;
  background: #80848e;
}

.dc__status[data-status='online'] {
  background: #23a55a;
}

.dc__status[data-status='idle'] {
  background: #f0b232;
}

.dc__status[data-status='dnd'] {
  background: #f23f43;
}

.dc__badges {
  margin-bottom: 4px;
  padding: 3px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.dc__badges img {
  width: 20px;
  height: 20px;
}

.dc__body {
  padding: 10px 16px 16px;
}

.dc__name {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.dc__user {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 13px;
  color: var(--fg-2);
}

.dc__tag {
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fg);
}

.dc__card {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px;
}

.dc__card dt {
  color: var(--fg-3);
  font-size: 11.5px;
  text-transform: lowercase;
}

.dc__card dd + dt {
  margin-top: 8px;
}

.dc__card dd {
  color: var(--fg);
  overflow-wrap: anywhere;
}

.dc__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.is-loading [data-dc-name],
.is-loading [data-dc-username],
.dc.is-loading .dc__card dd {
  color: transparent;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.is-loading [data-dc-avatar] {
  opacity: 0;
}

[data-dc-avatar] {
  transition: opacity 0.3s;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: var(--raised);
  font-size: 12.5px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.35s var(--ease);
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- motion ---------- */

.rise {
  animation: rise 0.8s var(--ease) both;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- small screens ---------- */

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .top {
    padding-block: 22px;
  }

  .intro img {
    width: 54px;
    height: 54px;
  }

  .bio {
    font-size: 14px;
  }

  .lang__head {
    grid-template-columns: 36px minmax(0, 1fr) 14px;
    column-gap: 14px;
  }

  .lang__logo {
    width: 36px;
    height: 36px;
  }

  .lang__count {
    display: none;
  }

  .tree,
  .games {
    padding-left: 0;
  }

  .games__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* an odd count lets the first card run full width */
  .game:first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
  }

  .grow {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 12px;
  }

  .grow__thumb {
    grid-row: span 2;
  }

  .grow__meta {
    grid-column: 2;
  }

  .proj {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }

  .proj__sum {
    grid-column: 2 / -1;
    grid-row: 2;
    white-space: normal;
  }

  .dcard__main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dcard__actions {
    grid-column: 1 / -1;
  }

  .dcard__actions .btn {
    flex: 1;
  }

  .link {
    grid-template-columns: 80px minmax(0, 1fr) auto;
  }

  .code pre {
    font-size: 12px;
  }
}

@media (hover: none) {
  .peek {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.game__thumb:has(img.is-loaded),
.grow__thumb:has(img.is-loaded) {
  animation: none;
}

.game__name,
.grow__name {
  text-align: left;
}
