:root {
  --bg: #050505;
  --surface: rgba(16, 16, 16, 0.68);
  --surface-hover: rgba(24, 24, 24, 0.78);
  --text: #ededed;
  --muted: #8e8e8e;
  --dim: #5c5c5c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --acc: #e5e5e5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background:
    radial-gradient(ellipse 85% 65% at 50% 0%, #161616 0%, #0b0b0b 48%, #040404 100%)
    fixed;
  color: var(--text);
  font: 13px/1.6 "Poppins", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}
.snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.snow-floor {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 85px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  filter: drop-shadow(0 -6px 18px rgba(255, 255, 255, 0.14));
}

body.christmas .snow-floor {
  display: block;
}

.snow-floor svg {
  display: block;
  width: 100%;
  height: 100%;
}

.snow-floor .drift-back {
  display: none;
}

.snow-floor .drift-front {
  fill: #ffffff;
}

.snow-family {
  display: none;
  position: fixed;
  left: 16px;
  bottom: 12px;
  align-items: flex-end;
  pointer-events: none;
  z-index: 0;
}

body.christmas .snow-family {
  display: flex;
}

.snow-family svg {
  display: block;
}

.snow-family .sm-dad {
  width: 88px;
  height: 102px;
}

.snow-family .sm-kid {
  width: 56px;
  height: 68px;
  margin-left: -24px;
  position: relative;
  z-index: 1;
}

.snow-family .sm-mom {
  width: 82px;
  height: 96px;
  margin-left: -24px;
}
.shell {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(96px, 22vh, 210px) 28px 115px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  align-content: start;
  animation: shellReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes shellReveal {
  0% {
    opacity: 0;
    filter: blur(16px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
.rail {
  position: sticky;
  top: clamp(96px, 22vh, 210px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.word {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 24px;
  font: 600 22px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.03em;
}

.word::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 20px;
  background: var(--acc);
  margin-left: 2px;
  animation: caretBlink 0.9s steps(1) infinite;
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

.domain-tag {
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rail-nav button {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font: 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.rail-nav button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.rail-nav button.on {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rail-foot {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clock-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.clock-line b {
  color: var(--text);
  font-weight: 500;
}

.views-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.views-line svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.term-trigger {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.term-trigger:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.term-trigger kbd {
  font: 10px/1 ui-monospace, monospace;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.main {
  min-width: 0;
}

.page {
  display: none;
  animation: fadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.page.on {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

.sec-head {
  margin-bottom: 18px;
}

.sec-head h2 {
  font: 600 18px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.02em;
}

.sec-head p {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 4px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 36px rgba(0, 0, 0, 0.42);
}

.card-hero {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-discord {
  grid-column: span 12;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
}

.card-discord:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.dc-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
}

.pfp-lg {
  width: 46px;
  height: 46px;
}

.dc-status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid #101010;
  background: #80848e;
}

.dc-status.online {
  background: #23a55a;
}

.dc-status.idle {
  background: #101010;
  box-shadow: inset -4px -3px 0 0 #f0b232;
}

.dc-status.dnd {
  background: #f23f43;
}

.dc-status.dnd::after {
  content: "";
  position: absolute;
  left: 2.5px;
  right: 2.5px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: #101010;
  border-radius: 1px;
}

.dc-status.offline {
  background: #101010;
  box-shadow: inset 0 0 0 2.5px #80848e;
}

.dc-user {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dc-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dc-name-row b {
  font-size: 16px;
  font-weight: 600;
}

.dc-name-row .social-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.dc-name-row .social-badge img {
  width: 12px;
  height: 12px;
}

.dc-handle {
  font: 11.5px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.dc-handle,
.social-id span {
  transition: color 0.15s;
}

.dc-handle:hover,
.social-id span:hover {
  color: var(--text);
}

.dc-state {
  font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--dim);
  text-transform: lowercase;
}

.dc-activities {
  display: none;
  flex: 1;
  min-width: 200px;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.dc-activities.on {
  display: flex;
}

.dc-act-box {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  min-width: 190px;
  max-width: 265px;
  flex: 1;
  transition: border-color 0.2s, background 0.2s;
}

.dc-act-box.on {
  display: flex;
}

.dc-sp-box:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.dc-act-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #141414;
  border: 1px solid var(--line);
  flex: none;
}

#dcGameImg {
  background: transparent;
  border: 0;
}

.dc-act-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dc-act-kicker {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  line-height: 1.2;
  color: var(--muted);
}

.dc-act-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-act-sub {
  font-size: 11px;
  line-height: 1.25;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-act-sub.time-green {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5ec27a;
  font-weight: 500;
  font-size: 11px;
}

.dc-act-sub.time-green svg {
  width: 12px;
  height: 12px;
  flex: none;
}

.sp-prog {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.sp-bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.sp-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 999px;
  transition: width 0.4s linear;
}

.sp-time {
  font: 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
  flex: none;
}

.card-social {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  padding: 16px;
}

.card-social:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.social-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-id {
  min-width: 0;
  flex: 1;
}

.social-id b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-id span {
  display: block;
  font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.social-badge {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.social-badge img {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.social-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.social-foot.ig-foot {
  border-top: 0;
  padding-top: 0;
  justify-content: flex-end;
}

.social-status {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eq {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
  flex: none;
}

.eq.on {
  display: inline-flex;
}

.eq i {
  width: 2px;
  height: 3px;
  background: var(--acc);
  border-radius: 1px;
  animation: eq 0.75s ease-in-out infinite alternate;
}

.eq i:nth-child(2) {
  animation-delay: -0.25s;
}

.eq i:nth-child(3) {
  animation-delay: -0.5s;
}

@keyframes eq {
  to {
    height: 10px;
  }
}

.hero-kicker {
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.hero-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-top: 6px;
}

.hero-bio {
  color: var(--muted);
  font-size: 13px;
  max-width: 56ch;
  margin-top: 6px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  padding: 5px 10px;
  border-radius: 999px;
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.pfp {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
}

.pfp img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: #141414;
}

.dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #101010;
  background: #525252;
}

.dot.online {
  background: #ffffff;
}
.dot.idle {
  background: #a3a3a3;
}
.dot.dnd {
  background: #6b6b6b;
}

.social-meta {
  min-width: 0;
  flex: 1;
}

.social-meta b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.social-meta small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-meta small img {
  width: 12px;
  height: 12px;
  opacity: 0.78;
}

.chev {
  color: var(--dim);
  font: 14px/1 ui-monospace, monospace;
  transition: transform 0.2s, color 0.2s;
}

.card-social:hover .chev {
  transform: translateX(2px);
  color: var(--text);
}
.lang-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.lang-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  gap: 2px;
  background: #141414;
}

.lang-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 2px;
  background: color-mix(in srgb, var(--acc) var(--s), #1a1a1a);
  transform-origin: left;
  animation: grow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

.lang-key {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.lang-key span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-key i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--acc) var(--s), #1a1a1a);
}

.lang-key b {
  color: var(--text);
  font-weight: 500;
}

.stack-label {
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
  margin: 18px 0 8px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 12.5px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tile:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.tile img {
  width: 19px;
  height: 19px;
  flex: none;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tile:hover img {
  transform: scale(1.12);
}

.tile img.inv {
  filter: invert(0.86);
}
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.proj {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.proj:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.proj-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.proj-top b {
  font-size: 14px;
  font-weight: 600;
}

.proj-tag {
  font: 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.proj p {
  font-size: 12px;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.c-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.c-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.c-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-ico {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
}

.c-ico .c-av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: #141414;
}

.c-ico .c-plat {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  padding: 3px;
  background: #121212;
  border: 1px solid var(--line-strong);
}

.c-title {
  font-size: 14px;
  font-weight: 600;
}

.c-handle {
  font: 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.c-actions {
  display: flex;
  gap: 8px;
}

.btn {
  all: unset;
  cursor: pointer;
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 9px;
  font: 11.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.btn.pri {
  background: #ededed;
  color: #0a0a0a;
  border-color: #ededed;
  font-weight: 600;
}

.btn.pri:hover {
  background: #ffffff;
}
.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-wrap.on {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(360px, 100%);
  background: #0d0d0d;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 20px;
  position: relative;
}

.modal-x {
  all: unset;
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
}

.modal-x:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.modal-prof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.modal-prof img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  object-fit: cover;
}

.modal-prof h3 {
  font-size: 16px;
  font-weight: 600;
}

.modal-prof p {
  font: 12px/1.3 ui-monospace, monospace;
  color: var(--muted);
}

.modal-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.modal-info div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.modal-info span {
  color: var(--muted);
}

.qr-head {
  text-align: center;
}

.qr-head h3 {
  font-size: 15px;
  font-weight: 600;
}

.qr-head p {
  font: 12px monospace;
  color: var(--muted);
  margin-top: 2px;
}

.qr-box {
  width: 210px;
  height: 210px;
  margin: 10px auto 14px;
  border-radius: 14px;
  background: #ffffff;
  padding: 10px;
  display: grid;
  place-items: center;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px dashed #ccc;
  border-radius: 10px;
  color: #444;
  font: 11px ui-monospace, monospace;
  text-align: center;
  padding: 12px;
}
.term {
  width: min(560px, 100%);
  background: #070707;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #0e0e0e;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.term-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333333;
}

.term-bar span {
  margin-left: 6px;
}

.term-out {
  height: 240px;
  overflow-y: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.term-out .c {
  color: var(--muted);
}

.term-out .g {
  color: var(--acc);
}

.term-in {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.term-in em {
  font-style: normal;
  color: var(--acc);
}

.term-in input {
  all: unset;
  flex: 1;
  color: var(--text);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 10px);
  z-index: 80;
  padding: 8px 14px;
  border-radius: 999px;
  background: #141414;
  border: 1px solid var(--line-strong);
  font: 11.5px/1 ui-monospace, monospace;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 820px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 14px 88px;
  }
  .rail {
    position: static;
    gap: 12px;
    padding: 14px 16px;
  }
  .rail-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .rail-nav button {
    padding: 7px 11px;
  }
  .card:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 36px rgba(0, 0, 0, 0.42);
}

.card-hero {
    padding: 16px;
  }
  .hero-title {
    font-size: 21px;
  }
  .card-discord {
    padding: 14px;
    gap: 12px;
  }
  .dc-activities {
    width: 100%;
    min-width: 0;
  }
  .dc-act-box {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
  .card-hero,
  .card-social {
    grid-column: span 12;
  }
  .stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .snow-floor {
    height: 52px;
  }
  .snow-family {
    left: 8px;
    bottom: 6px;
    transform: scale(0.62);
    transform-origin: bottom left;
  }
}

@media (max-width: 520px) {
  .snow-floor {
    height: 40px;
  }
  .snow-family {
    left: 6px;
    bottom: 4px;
    transform: scale(0.5);
  }
}
