@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700&family=Comic+Neue:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
  background:
    url('https://file.garden/aeJQnJpyajBfOnje/1dfeeab7a1a2973c474d98a6860931da.gif') repeat,
    repeating-linear-gradient(45deg, #ffe3f3, #ffe3f3 20px, #ffd6ec 20px, #ffd6ec 40px);
  color: #5b3a52;
}

a {
  color: #b3488f;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

::selection {
  background: #ff69b4;
  color: #fff;
}

h2, h3 {
  font-family: 'Baloo 2', 'Comic Neue', cursive, sans-serif;
  color: #c2418f;
  margin: 0 0 10px;
}

/* ---------- placeholders ---------- */
.placeholder-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed #d98cbf;
  background: #fff3fa;
  color: #b3488f;
  font-size: 12px;
  border-radius: 12px;
  min-height: 80px;
  padding: 8px;
}
.placeholder-box.small {
  min-height: 50px;
}
.placeholder-box.wide {
  min-height: 60px;
  height: auto;
  width: 100%;
}
.placeholder-box.wide img {
  height: auto;
  object-fit: contain;
}
.placeholder-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #d98cbf;
  background: #fff3fa;
  color: #b3488f;
  font-size: 10px;
  border-radius: 8px;
  width: 32px;
  height: 32px;
}

.placeholder-box img,
.placeholder-inline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.placeholder-box:has(img),
.placeholder-inline:has(img) {
  border-style: solid;
  background: none;
  padding: 0;
  overflow: hidden;
}

/* blinkies and deco icons: no dashed placeholder box around them */
.blinkie-row .placeholder-inline,
.webamp-deco-row .placeholder-inline,
.welcome-deco-row .placeholder-inline {
  border: none;
  background: none;
  overflow: visible;
}
/* blinkies are already sized as 88x31 graphics - show the whole thing
   instead of cover-cropping (which was chopping off text at the edges) */
.blinkie-row .placeholder-inline img {
  object-fit: contain;
}

/* ---------- layout ---------- */
.site-header {
  padding: 16px;
}
.header-banner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  height: 140px;
  border-radius: 18px;
  font-size: 20px;
}
.header-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ff8fc7;
  mix-blend-mode: soft-light;
  opacity: 0.9;
  pointer-events: none;
}

.page-grid {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.panel {
  background: #fff8fc;
  border: 3px solid #f3b6dd;
  border-radius: 18px;
  box-shadow: 5px 5px 0 #e0a8da;
  padding: 14px;
}

/* ---------- nav panel ---------- */
.nav-panel .placeholder-box.small {
  position: relative;
  height: 200px;
}
.nav-panel .placeholder-box.small::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ff8fc7;
  mix-blend-mode: soft-light;
  opacity: 0.9;
  pointer-events: none;
}
.nav-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffe8fb;
  border-radius: 25px;
  padding: 6px 14px;
  box-shadow: 3px 3px 0 #e0a8da;
}
.nav-list li a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---------- blinkies row ---------- */
.blinkie-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 10px;
}
.blinkie {
  width: 176px;
  height: 62px;
  font-size: 9px;
}

/* ---------- now playing ---------- */
.now-playing {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.album-art {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
}
.track-info p {
  margin: 0;
  font-size: 13px;
}
.track-name {
  font-weight: 700;
}
.track-artist {
  color: #9b6b8c;
}

/* ---------- welcome panel ---------- */
.welcome-panel {
  background: linear-gradient(#ffffff, #ffe3f2);
  text-align: center;
}
.welcome-deco-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.welcome-title {
  font-family: 'Baloo 2', cursive;
  font-size: 26px;
  color: #c2418f;
}
.welcome-panel p {
  line-height: 1.6;
  font-size: 16px;
  margin: 0 auto 14px;
  max-width: 60ch;
}
.ascii-art {
  font-family: monospace;
  line-height: 1;
  letter-spacing: 0;
  white-space: pre;
  text-align: center;
  color: #c2418f;
  margin: 0 auto 14px;
}
.emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}
.emoji-row .placeholder-inline {
  width: 26px;
  height: 26px;
}
.placeholder-box.under-construction {
  height: auto;
  max-width: 260px;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  background: none;
  padding: 0;
}
.under-construction img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ---------- marquee ---------- */
.marquee-panel {
  overflow: hidden;
  padding: 10px 0;
}
.marquee-track {
  width: 100%;
  overflow: hidden;
}
.marquee-content {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scroll-left 18s linear infinite;
}
.marquee-content .placeholder-inline {
  width: 100px;
  height: 60px;
  font-size: 10px;
  flex-shrink: 0;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- webamp panel ---------- */
.webamp-panel {
  text-align: center;
  background: linear-gradient(180deg, #ffe9f7, #ffd0ec);
}
.webamp-deco-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 16px;
}
.webamp-frame-outer {
  width: 204px;
  height: 260px;
  margin: 4px auto 0;
  overflow: hidden;
  border-radius: 14px;
}
.webamp-frame {
  position: relative;
  width: 275px;
  height: 340px;
  transform: scale(0.74);
  transform-origin: top left;
  filter: drop-shadow(0 2px 3px rgba(197, 55, 145, 0.4));
}
.webamp-signature {
  display: block;
  margin-top: 8px;
}
.webamp-signature img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

/* ---------- blog panel ---------- */
.blog-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 280px;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 4px;
}
.blog-post {
  border: 2px dashed #d98cbf;
  border-radius: 14px;
  background: #fff3fa;
  padding: 12px;
}
.blog-post-meta {
  margin-bottom: 6px;
}
.blog-post-date {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #b3488f;
  background: #ffe3f3;
  border-radius: 12px;
  padding: 2px 10px;
}
.blog-post-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.blog-post-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}
.blog-post-media {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
}
.blog-post-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

/* ---------- blog feed scrollbar ---------- */
.blog-feed::-webkit-scrollbar {
  width: 14px;
}
.blog-feed::-webkit-scrollbar:horizontal {
  height: 14px;
}
.blog-feed::-webkit-scrollbar-corner {
  background: #eee;
}
.blog-feed::-webkit-scrollbar-track:vertical {
  background: linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
  border-radius: 5px;
}
.blog-feed::-webkit-scrollbar-track:horizontal {
  background: linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
  border-radius: 5px;
}
.blog-feed::-webkit-scrollbar-thumb {
  border: 1.5px solid #888;
  border-radius: 5px;
  box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
}
.blog-feed::-webkit-scrollbar-thumb:vertical {
  background: linear-gradient(90deg, #eee 45%, #ddd 0, #bbb);
}
.blog-feed::-webkit-scrollbar-thumb:horizontal {
  background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
}
.blog-feed::-webkit-scrollbar-button:horizontal:end:increment,
.blog-feed::-webkit-scrollbar-button:horizontal:start:decrement,
.blog-feed::-webkit-scrollbar-button:vertical:end:increment,
.blog-feed::-webkit-scrollbar-button:vertical:start:decrement {
  display: block;
}
.blog-feed::-webkit-scrollbar-button:vertical {
  height: 15px;
}
.blog-feed::-webkit-scrollbar-button:vertical:start:decrement {
  background: url("https://dl.dropbox.com/s/n9ji42h9hdgdtpc/scroll3.png"), #eee;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto, cover;
  border: 1.5px solid #888;
  border-radius: 5px;
}
.blog-feed::-webkit-scrollbar-button:vertical:start:increment {
  display: none;
}
.blog-feed::-webkit-scrollbar-button:vertical:end:decrement {
  display: none;
}
.blog-feed::-webkit-scrollbar-button:vertical:end:increment {
  background: url("https://dl.dropbox.com/s/cdcco6pih7n1lae/scroll4.png"), #eee;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto, cover;
  border: 1.5px solid #888;
  border-radius: 5px;
}
.blog-feed::-webkit-scrollbar-button:horizontal {
  width: 14px;
}
.blog-feed::-webkit-scrollbar-button:horizontal:start:increment {
  display: none;
}
.blog-feed::-webkit-scrollbar-button:horizontal:end:decrement {
  display: none;
}
.blog-feed::-webkit-scrollbar-button:horizontal:start:decrement {
  background: url("https://dl.dropbox.com/s/xcm618ghd823271/scroll5.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto, cover;
  border-radius: 5px;
  border: 1.5px solid #888;
}
.blog-feed::-webkit-scrollbar-button:horizontal:end:increment {
  background: url("https://dl.dropbox.com/s/byeyi7am889ii9m/scroll6.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto, cover;
  border-radius: 5px;
  border: 1.5px solid #888;
}

/* ---------- updates feed ---------- */
.updates-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
  font-size: 13px;
}
.updates-feed li {
  padding: 6px 0;
  border-bottom: 1px dashed #f0bfe0;
}
.update-date {
  display: block;
  font-size: 11px;
  color: #b3488f;
  font-weight: 700;
}

/* ---------- guestbook ---------- */
.guestbook-embed {
  height: auto;
  display: block;
}
.guestbook-embed .updates-feed {
  max-height: none;
  overflow-y: visible;
}

/* ---------- webring ---------- */
.webring-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.webring-buttons .placeholder-inline {
  width: 88px;
  height: 31px;
  font-size: 9px;
}

/* ---------- cool stuff box ---------- */
.cool-stuff-box {
  position: relative;
  width: 100%;
  max-width: 160px;
  margin: 8px auto 0;
  border: 2px solid #d98cbf;
  border-radius: 12px;
  overflow: hidden;
  background: url('https://file.garden/aeJQnJpyajBfOnje/bd71af0ad22df1cf5873e9a6f88aa5c0.jpg') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.cool-stuff-box img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

/* ---------- scrollbar theming ---------- */
.updates-feed::-webkit-scrollbar {
  width: 8px;
}
.updates-feed::-webkit-scrollbar-thumb {
  background: #f0a8d8;
  border-radius: 8px;
}
.updates-feed::-webkit-scrollbar-track {
  background: #fff3fa;
}


@media (max-width: 900px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- mouse ---------- */
html {
  cursor: url('https://file.garden/aeJQnJpyajBfOnje/200926.png'), auto;