:root {
  --ink: #2b2118;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Comic Sans MS", "Marker Felt", cursive;
  color: var(--ink);
  overflow-x: hidden;
}

.desktop-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.desktop-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window {
  position: relative;
  width: min(2000px, 92vw);
  margin: 40px auto;
  transition: transform 0.3s, width 0.3s;
}

.window-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.window-frame img {
  width: 100%;
  display: block;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--footer-height, 2.5rem);
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.loading-img {
  width: min(300px, 60vw);
  animation: wobble 0.6s ease-in-out infinite alternate;
}

.me-corner {
  position: fixed;
  left: -4vw;
  bottom: calc(var(--footer-height, 2.5rem) - 1.5rem);
  display: flex;
  align-items: flex-end;
  gap: 1vw;
  pointer-events: none;
  z-index: 110;
}

.me-img {
  width: 22vw;
  max-width: 320px;
  min-width: 140px;
  height: auto;
  display: block;
  transform: rotate(15deg);
  transform-origin: bottom left;
}

.me-callout {
  position: relative;
  display: inline-block;
  width: 26vw;
  max-width: 360px;
  min-width: 180px;
  aspect-ratio: 220 / 140;
  margin-bottom: clamp(0px, 10vw - 2rem, 6vh);
  pointer-events: auto;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.me-callout:hover,
.me-callout:focus-visible {
  transform: scale(1.03);
}

.me-callout-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.me-callout-text {
  position: absolute;
  top: 0;
  left: 5%;
  right: 0;
  bottom: 32%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15%;
  text-align: center;
  color: white;
  font-family: inherit;
  font-size: clamp(10px, 1.2vw, 16px);
  line-height: 1.2;
  z-index: 1;
}

.me-callout-sticker {
  position: absolute;
  left: 52%;
  bottom: 12%;
  transform: translateX(-50%) rotate(15deg);
  width: 25%;
  height: auto;
  display: block;
  z-index: 2;
}
@keyframes wobble {
  from { transform: rotate(-2deg) scale(1); }
  to   { transform: rotate(2deg) scale(1.03); }
}

.disclaimer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: smaller;
  text-align: center;
  padding: 8px 20px;
  background: black;
  color: white;
  z-index: 1000;
}