@font-face {
  font-family: TurboDisplay;
  src: url('./assets/display.woff') format('woff');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0e0b15;
  --text: #f4f0fb;
  --muted: #b3a9c4;
  --accent: #b598ff;
  --line: #3a2e4c;
  --orange: #ff8056;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse at 86% 17%, #44226745, transparent 48%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 7px; }
button { font: inherit; }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--accent); color: var(--bg); }
.site-shell { width: min(1040px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 106px; border-bottom: 1px solid var(--line); }
.site-name { font-family: var(--mono); font-size: 1rem; letter-spacing: -.6px; padding-block: 10px; }
.site-name span { color: var(--accent); }
.header-note, .label, .edition { font-family: var(--mono); font-size: .75rem; letter-spacing: 1.6px; }
.header-note { color: var(--muted); }
.header-link { display: inline-flex; align-items: center; gap: 9px; font-size: .875rem; min-height: 44px; }
.header-link svg { width: 18px; height: 18px; color: var(--accent); }
.header-link:hover { color: var(--accent); }
.identity { padding: 49px 0 68px; }
.title-intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 15px; }
.title-intro .label { color: var(--muted); }
.edition { color: var(--accent); white-space: nowrap; }
h1 { display: flex; align-items: baseline; gap: .2em; font-family: TurboDisplay, 'Arial Black', Arial, sans-serif; font-weight: 900; font-size: clamp(3rem, 7.65vw, 6.5rem); line-height: 1.05; letter-spacing: -.063em; margin: 0 0 51px; }
.name-rocket { color: var(--accent); text-shadow: 3px 3px 0 #67356f; }
.title-dot { color: var(--orange); text-shadow: none; }
.name-turbo { position: relative; }
.name-turbo::after { content: ''; position: absolute; right: -.04em; top: 49%; width: .11em; height: .025em; background: var(--bg); box-shadow: 0 .05em 0 var(--bg); }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9.2%; align-items: center; }
.profile-figure { margin: 0; position: relative; min-width: 0; padding: 11px 8px 16px; }
.photo-frame { border: 1px solid #716085; padding: 10px; background: #21172e; transform: rotate(-3deg); box-shadow: 8px 9px 0 #372044, 19px 20px 0 #1c1323; }
.frame-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: .75rem; letter-spacing: 1.5px; line-height: 1.4; padding: 4px 3px 12px; color: #dbcde9; }
.frame-detail { color: var(--accent); }
.profile-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; border: 1px solid #796e76; }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 3px 2px; color: #d9cce7; font-size: .75rem; }
figcaption>span:last-child { font-size: 1.4rem; line-height: 1; color: var(--accent); }
.photo-sticker { position: absolute; right: -17px; bottom: -7px; transform: rotate(7deg); background: var(--accent); color: #201332; font-family: TurboDisplay, Arial, sans-serif; font-size: 1.0625rem; font-weight: 800; line-height: 1.2; letter-spacing: -.6px; padding: 11px 16px; box-shadow: 3px 3px 0 #0e0b15; }
.profile-copy { min-width: 0; padding: 8px 0 0; }
.intro-label { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 0 0 20px; }
.intro-label>span { color: var(--accent); font-size: 1.4rem; line-height: 1; }
h2 { font-size: clamp(2.2rem, 4.9vw, 3.8rem); line-height: 1.08; letter-spacing: -2px; font-weight: 700; margin: 0 0 24px; }
h2 span { color: var(--accent); }
.intro-text { color: var(--muted); max-width: 340px; font-size: 1rem; margin: 0 0 17px; line-height: 1.75; }
.avatar-note { color: #ddd4e9; font-size: 1rem; margin: 0 0 29px; line-height: 1.7; }
.profile-link { display: flex; align-items: center; gap: 16px; padding: 17px 18px; border: 1px solid #514065; border-radius: 4px; background: #21172e; transition: border-color .18s, background .18s, transform .18s; }
.profile-link:hover { background: #30223f; border-color: var(--accent); transform: translateY(-2px); }
.github-symbol { color: var(--accent); width: 28px; display: flex; justify-content: center; }
.github-symbol svg { width: 24px; height: 24px; }
.link-description { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.link-name { font-size: .9375rem; font-weight: 700; }
.link-handle { font-family: var(--mono); font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.link-arrow { width: 22px; height: 22px; margin-left: auto; color: var(--accent); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 27px; border-top: 1px solid var(--line); }
.footer-wordmark { font-family: TurboDisplay, Arial, sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: -.3px; }
.footer-note { font-size: .8125rem; color: var(--muted); }
.site-footer>a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 10px; font-size: .75rem; color: var(--muted); }
.site-footer>a span { color: var(--accent); font-size: 1rem; }
.site-footer>a:hover { color: var(--text); }
@media (min-width: 1500px) {
  .site-shell { margin-top: 25px; }
  .identity { padding-top: 59px; padding-bottom: 80px; }
}
@media (max-width: 1000px) {
  .site-shell { width: calc(100% - 64px); }
  .profile-layout { gap: 7%; }
  h1 { font-size: clamp(3rem, 8vw, 6.5rem); margin-bottom: 38px; }
  .photo-sticker { right: -12px; }
  .intro-label { font-size: .75rem; letter-spacing: 1px; }
  .avatar-note { margin-bottom: 23px; }
}
@media (max-width: 760px) {
  .site-shell { width: min(560px, calc(100% - 48px)); }
  .site-header { min-height: 86px; gap: 16px; }
  .header-note { display: none; }
  .identity { padding-top: 35px; padding-bottom: 42px; }
  .title-intro { margin-bottom: 18px; }
  .title-intro .label { font-size: .75rem; letter-spacing: .6px; }
  .edition { display: none; }
  h1 { flex-wrap: wrap; column-gap: .22em; row-gap: 0; font-size: clamp(3.6rem, 13.1vw, 5.2rem); margin-bottom: 34px; line-height: 1.04; letter-spacing: -.065em; }
  .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .profile-figure { width: min(90%, 370px); margin-inline: auto; padding-top: 8px; }
  .photo-frame { padding: 9px; box-shadow: 6px 7px 0 #372044, 13px 14px 0 #1c1323; }
  .frame-heading { font-size: .75rem; letter-spacing: 1px; }
  .photo-sticker { bottom: -1px; right: -12px; padding: 9px 13px; font-size: .9375rem; }
  .profile-copy { padding: 0; }
  .intro-label { margin-bottom: 16px; }
  h2 { font-size: clamp(2.6rem, 10vw, 3.5rem); letter-spacing: -1.4px; margin-bottom: 20px; }
  .intro-text { max-width: none; }
  .profile-link { margin-top: 24px; }
  .site-footer { flex-wrap: wrap; row-gap: 5px; padding-block: 22px; }
  .footer-note { order: 3; flex-basis: 100%; font-size: .75rem; }
}
@media (max-width: 380px) {
  .site-shell { width: calc(100% - 40px); }
  .site-name { font-size: .9375rem; }
  h1 { font-size: 16.5vw; }
  .profile-figure { width: 93%; }
  .title-intro .label { letter-spacing: 0; }
  .photo-sticker { right: -4px; }
  figcaption { align-items: flex-start; gap: 7px; }
  .profile-link { padding: 16px 14px; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .profile-link { transition: none; }
  .profile-link:hover { transform: none; }
}

/* Small optional extras. No stored preferences or external requests. */
.launch-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.launch-button:disabled { cursor: default; }
.launch-button:not(:disabled):hover .profile-photo { border-color: var(--accent); }
.tiny-rocket { position: absolute; left: 47%; top: 44%; font-size: 2.5rem; opacity: 0; pointer-events: none; }
.profile-figure.launching .launch-button { animation: lift-off .95s ease-in-out; }
.profile-figure.launching .tiny-rocket { animation: rocket-trip .95s ease-out; }
.side-project { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 3px 8px; }
.side-project>span:first-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.side-project strong { font-size: .9375rem; font-weight: 500; color: var(--text); }
.side-project>span>span { font-size: .8125rem; color: var(--muted); }
.side-project svg { width: 19px; height: 19px; color: var(--accent); }
.side-project:hover strong { color: var(--accent); }
.sidequest { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; padding: 26px; margin: 0 0 30px; border: 1px solid var(--line); background: #18121f; border-radius: 5px; }
.toy-heading h3 { margin: 0 0 3px; font-size: 1.125rem; letter-spacing: -.3px; }
.toy-heading p { margin: 0; color: var(--muted); font-size: .875rem; }
.toy-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toy-controls button { cursor: pointer; min-height: 44px; border-radius: 4px; font-size: .875rem; }
.useless-button { background: var(--accent); color: #201332; font-weight: 700; padding: 10px 16px; border: 1px solid var(--accent); }
.useless-button:active { transform: translateY(2px); }
#click-count { font-family: var(--mono); font-size: 1.125rem; color: var(--accent); min-width: 2ch; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.quiet-button { color: var(--muted); border: 0; background: transparent; padding: 8px; }
.quiet-button:hover { color: var(--text); }
.secret-button { color: var(--accent); border: 1px solid #514065; background: transparent; min-width: 44px; padding: 8px 10px; font-family: var(--mono); }
.secret-button[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
.toy-status { grid-column: 1 / -1; margin: 0; font-size: .875rem; color: #ddd4e9; }
.toy-note { grid-column: 1 / -1; margin: -6px 0 0; font-size: .75rem; color: var(--muted); }
.egg-status { color: var(--accent); font-family: var(--mono); font-size: .8125rem; margin: 0 0 22px; }
.egg-status:empty { display: none; }
.bonus-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; min-height: 44px; padding: 9px 13px; border: 1px dashed #75608f; border-radius: 4px; font-size: .875rem; line-height: 1.5; color: var(--accent); }
.bonus-link:hover { background: #30223f; border-color: var(--accent); }
.click-reward { grid-column: 1 / -1; }
.flight-reward { margin: -12px 0 22px; }
.turbo-reward { margin: -9px 0 25px; }
#photo-caption { min-width: 0; overflow-wrap: anywhere; }
body.turbo-mode { --accent: #d2b7ff; background-image: radial-gradient(ellipse at 15% 30%, #61359b60, transparent 65%), radial-gradient(ellipse at 86% 17%, #58327270, transparent 48%); }
.turbo-mode .photo-frame { border-color: var(--accent); box-shadow: 8px 9px 0 #593074, 0 0 45px #945af54d; }
.turbo-mode .name-rocket { text-shadow: 4px 3px 0 #d84c3859, -3px -1px 0 #8f54ff70; }
@keyframes lift-off { 0%,100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-23px) rotate(-3deg); } 65% { transform: translateY(-28px) rotate(2deg); } }
@keyframes rocket-trip { 0% { opacity: 0; transform: translate(0, 35px) scale(.7); } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(50px, -130px) scale(1.05); } }
@media (max-width: 760px) {
  .sidequest { grid-template-columns: minmax(0, 1fr); padding: 21px; gap: 17px; }
  .toy-controls { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-figure.launching .launch-button, .profile-figure.launching .tiny-rocket { animation: none; }
}
