/* ============================================================
   Project Coexist @ Pink Party — shared stylesheet
   ============================================================ */

* {
  box-sizing: border-box;
  cursor: url(https://cur.cursors-4u.net/nature/nat-10/nat988.cur), auto !important;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

body {
  background-color: #ffe0f0;
  font-family: "MS PGothic", "Trebuchet MS", sans-serif;
  padding: 20px;
  margin: 0;
  color: #cc6699;
}

a {
  color: #ff3399;
}

p {
  margin: 0 0 8px;
}

/* ── Site header ── */
.site-header {
  text-align: center;
  margin-bottom: 16px;
}

.site-header h1 {
  font-size: 2rem;
  color: #ff3399;
  text-shadow: 2px 2px 0 #ffcce6;
  margin: 0 0 4px;
  letter-spacing: 2px;
}


.site-header > a, .site-header > a:link, .site-header > a:visited, .site-header > a:hover, .site-header > a:active{
  text-decoration: none;
}

.site-header a {
  text-decoration: none;
  color: inherit;
}

.site-header .tagline {
  font-size: 12px;
  color: #cc6699;
}


/* ── Three-column page grid ── */
.wrapper {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 12px;
  align-items: start;
}

/* ── Window chrome ── */
.window {
  background: #ffffff;
  border: 2px solid #ff99cc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 3px 3px 0px #ffcce6;
  margin-bottom: 12px;
}

.window-header {
  background: linear-gradient(90deg, #ffb3d9, #ff80bf);
  color: white;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 13px;
  border-bottom: 2px solid #ff99cc;
}

.window-controls {
  font-family: monospace;
  letter-spacing: 3px;
  font-size: 12px;
}

.window-content {
  padding: 12px;
  color: #cc6699;
  line-height: 1.6;
  font-size: 13px;
}

/* ── Nav links (left sidebar) ── */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  border-bottom: 1px dashed #ffcce6;
  padding: 4px 0;
}

.nav-links li:last-child {
  border-bottom: none;
}

/* ── Updates log ── */
.update-entry {
  border-bottom: 1px dashed #ffcce6;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.update-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.update-date {
  font-weight: bold;
  color: #ff3399;
  font-size: 12px;
}

/* ── 88×31 buttons ── */
.buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.buttons-grid img {
  image-rendering: pixelated;
  border: 1px solid #ff99cc;
}

/* ── Episode cards (episodes.html) ── */
.episode-card {
  border-bottom: 1px dashed #ffcce6;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.episode-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.episode-number {
  font-size: 11px;
  font-weight: bold;
  color: #ff80bf;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.episode-title {
  font-size: 15px;
  font-weight: bold;
  color: #ff3399;
  margin: 2px 0;
}

.episode-title a {
  text-decoration: none;
}

.episode-title a:hover {
  text-decoration: underline;
}

.episode-meta {
  font-size: 11px;
  color: #cc99b3;
  margin-bottom: 4px;
}

.episode-blurb {
  font-size: 12px;
  line-height: 1.5;
}

.tag {
  display: inline-block;
  background: #ffcce6;
  color: #cc6699;
  border: 1px solid #ff99cc;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  margin: 2px 2px 0 0;
}

/* ── Art gallery (art.html) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.gallery-item {
  border: 2px solid #ff99cc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 2px 2px 0 #ffcce6;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.gallery-item .gallery-caption {
  font-size: 11px;
  color: #cc6699;
  padding: 4px;
  border-top: 1px solid #ffcce6;
}

.strikethrough{
  text-decoration: line-through;
}

/* ── Music player (index.html) ── */
.music-player {
  text-align: center;
}

.music-now-playing {
  font-size: 10px;
  color: #ff80bf;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.music-title {
  font-weight: bold;
  font-size: 14px;
  color: #ff3399;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-artist {
  font-size: 11px;
  color: #cc6699;
  margin-bottom: 2px;
}

.music-track-num {
  font-size: 10px;
  color: #ffb3d9;
  margin-bottom: 8px;
}

.music-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.play-btn {
  background: linear-gradient(180deg, #ffb3d9, #ff80bf);
  border: 2px solid #ff99cc;
  border-radius: 4px;
  color: white;
  font-family: "MS PGothic", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  box-shadow: 2px 2px 0 #ffcce6;
}

.play-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #ffcce6;
}

.nav-btn {
  background: linear-gradient(180deg, #ffcce6, #ffb3d9);
  border: 2px solid #ff99cc;
  border-radius: 4px;
  color: #ff3399;
  font-family: "MS PGothic", "Trebuchet MS", sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 7px;
  box-shadow: 2px 2px 0 #ffcce6;
}

.nav-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #ffcce6;
}

/* ── Responsive layout ── */

/* Tablet: 2-column (left sidebar + stacked content) */
@media (max-width: 860px) and (min-width: 701px) {
  .wrapper {
    grid-template-columns: 190px 1fr;
  }

  .left-col  { grid-column: 1; grid-row: 1; }
  .centre-col { grid-column: 2; grid-row: 1; }
  .right-col  { grid-column: 2; grid-row: 2; }
}

/* Mobile: single column */
@media (max-width: 700px) {
  body {
    padding: 10px;
  }

  .site-header h1 {
    font-size: 1.5rem;
  }

  .wrapper {
    grid-template-columns: 1fr;
  }

  /* Slightly roomier tap targets for nav */
  .nav-links li {
    padding: 7px 0;
  }

  /* Bigger tap targets for music player buttons */
  .play-btn,
  .nav-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Gallery grid adapts naturally — allow 2 columns on phone */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}