/* User-approved existing artwork; fonts and bitmaps are served locally. */
@font-face {
  font-family: Cheflat;
  src: url('../fonts/Cheflat.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Wizard Fancy';
  src: url('../fonts/WizardFancy.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body {
  background-image: url('../art/fool-lovers/grid-lavender.gif');
  background-size: 27px 27px;
  image-rendering: auto;
}
html[data-theme=night] body { background-blend-mode: multiply; }
.avatar-wrap {
  background-image: url('../art/fool-lovers/grid-lavender.gif');
  background-size: 18px 18px;
}
.window, #project-dialog {
  border: 2px solid transparent;
  border-image: url('../art/seeone/Windows_Med_Inactive.png') 16 2 2 / 0 2px 2px stretch;
}
.window > .titlebar, #project-dialog > .titlebar {
  min-height: 36px;
  border-bottom: 0;
  background-color: var(--lavender);
  background-image: url('../art/seeone/TitleBar_Middle_Active.png');
  background-size: 32px 48px;
  background-repeat: repeat-x;
  background-blend-mode: soft-light;
  padding: 4px 9px 7px;
}
.window-dots { display: flex; gap: 2px; align-items: center; }
.window-dots img { display: block; width: 16px; height: 16px; image-rendering: pixelated; }
.web-badge, .web-badge:nth-child(3) {
  width: 176px;
  height: 62px;
  min-height: 62px;
  padding: 11px 5px;
  border: 0;
  box-shadow: none;
  color: #32323b;
  background: url('../art/manonamora/retro-88x31-empty.png') center/100% 100% no-repeat;
  font-size: 11px;
  line-height: 1.7;
  transform: none;
  image-rendering: pixelated;
}
.web-badge:nth-child(2) {
  transform: none;
  background-image: url('../art/manonamora/retro-inset-88x31-empty.png');
}
.web-badge:nth-child(3) { background-image: url('../art/manonamora/retro-left-frame-88x31-empty.png'); }
.project-art {
  background: var(--lavender);
  padding: 14px;
  container-type: inline-size;
}
.project-art .project-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.project-art-toontown-offline { background: #d5eee4; }
.project-art-wizard404 { background: #303036; }
.project-art-pandaworks { background: #303036; }
.pandaworks-identity {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
}
.pandaworks-wordmark {
  font: 400 clamp(16px, 12cqw, 33px)/1 Cheflat, sans-serif;
  color: #fff;
  white-space: nowrap;
}
.panda-symbol {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  background: url('../art/projects/panda3d.png') -3px 0 / auto 39px no-repeat;
}
.wizard404-identity { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.wizard404-identity img { width: clamp(24px, 20cqw, 48px); height: auto; object-fit: contain; }
.wizard404-identity > span { font: 400 clamp(14px, 12cqw, 30px)/1 'Wizard Fancy', sans-serif; color: #fff; white-space: nowrap; }
.site-button {
  display: inline-flex;
  width: 176px;
  height: 62px;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('../art/manonamora/retro-88x31-empty.png') center/100% 100% no-repeat;
  color: #32323b;
  font: 10px/1.6 var(--pixel);
  text-decoration: none;
  image-rendering: pixelated;
}
@media (max-width: 600px) {
  .sticker-stack { gap: 8px; }
  .web-badge, .web-badge:nth-child(3) { width: 132px; height: 46.5px; min-height: 46.5px; padding: 7px 3px; font-size: 8px; }
  .project-art { padding: 12px; }
  .pandaworks-wordmark { font-size: clamp(16px, 12cqw, 33px); }
  .panda-symbol { flex-basis: 27px; width: 27px; height: 27px; background-size: auto 27px; background-position: -2px 0; }
  .pandaworks-identity, .wizard404-identity { gap: 4px; }
  .wizard404-identity > span { font-size: clamp(14px, 12cqw, 30px); }
}
.city-banner { margin-bottom: 22px; }
.hero-copy h1 { margin: 0; }
.hero-copy { max-width: 510px; }
.hero-copy .hero-heart { bottom: 9px; }
.midi-window h2 { margin-top: 0; }
.status-content h2 { margin-top: 0; }
.site-button img { display: block; max-width: 100%; }
@media (max-width: 480px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-art, .all-projects .project-art { height: 145px; }
}
@media (max-width: 850px) {
  .right-column { grid-template-columns: 1fr 1fr; }
  .guestbook-invite { grid-column: 1/-1; }
}
