/* =========================
   COLORS + FONTS
========================= */

:root {
  --text: darkslategrey;
  --border: #d9a7bc;
  --accent: #c76f95;
  --pink: #f2b8cf;
  --pinkLight: #fff0f6;
  --cream: #fff8eb;
  --gradientTop: white;
  --gradientBottom: rgb(240, 248, 255, 0.8);

  --font-body: "Nunito", "Trebuchet MS", Verdana, Arial, sans-serif;
  --font-cute: "Quicksand", "Nunito", "Trebuchet MS", Verdana, Arial, sans-serif;
}


/* =========================
   BASE PAGE STYLES
========================= */

* {
  box-sizing: border-box;
}

body {
  padding: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);

  background:
    linear-gradient(
      120deg,
      #f7c6d8 0%,
      #fff4df 36%,
      #efcfc2 68%,
      #c9a08b 100%
    );

  background-attachment: fixed;
}

.container {
  max-width: 55rem;
  margin: 5vw auto 12px auto;
  border: 6px ridge var(--border);
  outline: 3px solid var(--gradientTop);
  outline-offset: 4px;
  border-radius: 10px;

  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 240, 246, 0.9),
      rgba(255, 248, 235, 0.9)
    );
}


/* =========================
   LAYOUT WIDTHS
========================= */

.small {
  flex: 1 1 9%;
}

.large {
  flex: 1 1 82%;
}

.full {
  flex: 1 1 100%;
}

.half {
  flex: 1 1 49%;
}


/* =========================
   HEADER
========================= */

.main-header {
  flex: 0 0 100%;
  width: 100%;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(to right, var(--pinkLight), var(--gradientBottom));
  overflow: hidden;
}

.main-header img,
.header-logo-gif {
  width: 90%;
  max-width: 620px;
  height: auto;
  display: block;
}


/* =========================
   NAVIGATION
========================= */

nav {
  border: 2px ridge var(--border);
  border-radius: 5px;
  padding: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
  font-family: var(--font-cute);
}

nav div {
  text-align: center;
  font-size: 1.25rem;
  margin: 5px 5px 10px 5px;
}

nav a {
  display: block;
  margin: 5px;
  padding: 2px 7px;
  border-radius: 5px;

  background: linear-gradient(to right, var(--pinkLight), var(--gradientBottom));
  color: var(--text);
  text-decoration: none;
}

nav a:link,
nav a:visited {
  color: var(--text);
}

nav a:hover,
nav a:focus {
  font-style: italic;
  background: linear-gradient(to right, var(--pinkLight), var(--gradientBottom), var(--pink));
}


/* sidebar image under navigation */

div.small > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 5px auto;
  border: 2px ridge var(--border);
  border-radius: 5px;
}


/* =========================
   SECTIONS + TEXT
========================= */

section {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
  padding: 5px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 5px;
  line-height: 1.25;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-cute);
}

h1 {
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-weight: normal;
  text-align: center;
  border-bottom: 2px ridge var(--pink);
  padding-bottom: 5px;
}

h2 {
  font-size: 1.25rem;
  font-weight: normal;
  text-align: center;
}

h3 {
  font-size: 1.1rem;
}

h4 {
  font-size: 1rem;
  color: var(--accent);
  padding-left: 12px;
}

img {
  max-width: 100%;
}

pre {
  overflow-x: auto;
}

a:hover,
a:focus {
  font-style: italic;
}

a:visited {
  color: var(--accent);
}


/* =========================
   FOOTER
========================= */

footer {
  text-align: center;
  margin-bottom: 5vw;
  font-size: 0.8rem;
}

footer a {
  text-decoration: none;
}


/* =========================
   BUTTONS
========================= */

.back-button {
  text-align: center;
  margin: 10px;
}

.back-button a {
  display: inline-block;
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(var(--pinkLight), var(--gradientBottom));
  padding: 5px 14px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-cute);
}


/* =========================
   HOMEPAGE
========================= */

.homepage-main {
  padding: 12px;
}

.welcome-box,
.currently-box {
  border: 1px solid var(--border);
  border-radius: 5px;
  background: linear-gradient(to right, var(--pinkLight), #f7fbff);
  padding: 8px;
  margin: 8px;
}

.currently-box {
  padding-top: 6px;
}

.currently-box h2 {
  margin-top: 0;
}

.site-updates {
  padding: 10px;
  max-height: 315px;
  overflow: hidden;
}

.updates-scroll {
  max-height: 245px;
  overflow-y: auto;
  padding-right: 4px;
}

.update {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: none;
  padding: 6px 2px;
  margin: 0 5px;
}

.update:last-child {
  border-bottom: none;
}

.update span {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
}

.update p {
  margin: 2px 0 0 0;
}

.quick-links,
.featured-grid {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 5px;
}

.quick-links a,
.featured-grid a {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(var(--pinkLight), var(--gradientBottom));
  padding: 5px 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-cute);
}


/* =========================
   LAST.FM NOW PLAYING
========================= */

#lastfm-now-playing {
  max-width: 100%;
  overflow: hidden;
  margin: 0;
}

.lastfm-track {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}

.lastfm-track img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
}

.lastfm-track div {
  min-width: 0;
}

.lastfm-track p {
  margin: 2px 0;
  overflow-wrap: anywhere;
}

.lastfm-track p:first-child {
  margin-top: 0;
}

.lastfm-status {
  color: var(--accent);
  font-style: italic;
  font-size: 0.85rem;
}

.lastfm-track a {
  color: var(--text);
  text-decoration: none;
}

.lastfm-track a:hover {
  color: var(--accent);
}


/* =========================
   BUTTON WALL
========================= */

.button-wall {
  flex: 0 0 100%;
  width: 100%;
  overflow: hidden;
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
  padding: 6px;
}

.button-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(to right, #fff0f6, #f7fbff);
}

.button-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  width: max-content;
  white-space: nowrap;
  animation: button-scroll 20s linear infinite;
}

.button-track:hover {
  animation-play-state: paused;
}

.button-track img {
  width: 88px;
  height: 31px;
  min-width: 88px;
  max-width: 88px;
  min-height: 31px;
  max-height: 31px;
  object-fit: cover;
  image-rendering: pixelated;
  flex: 0 0 auto;
  display: block;
}

@keyframes button-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* =========================
   STAMP WALL
========================= */

.stamp-wall {
  flex: 0 0 100%;
  width: 100%;
  overflow: hidden;
  padding: 10px;
}

.stamp-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.stamp-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: max-content;
  white-space: nowrap;
  animation: stamp-scroll 24s linear infinite;
}

.stamp-track:hover {
  animation-play-state: paused;
}

.stamp-track img {
  width: 99px;
  height: 56px;
  min-width: 99px;
  max-width: 99px;
  min-height: 56px;
  max-height: 56px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
  image-rendering: pixelated;
}

@keyframes stamp-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* =========================
   COUNTDOWNS
========================= */

.countdown-box {
  text-align: center;
  padding: 12px;
}

.concert-countdown {
  border: 1px solid var(--border);
  border-radius: 5px;
  background: linear-gradient(to right, var(--pinkLight), var(--gradientBottom));
  padding: 7px;
  margin: 7px;
}

.concert-name {
  color: var(--accent);
  font-style: italic;
  margin-bottom: 3px;
  font-family: var(--font-cute);
}

.concert-countdown div {
  font-size: 0.95rem;
  letter-spacing: 1px;
}


/* =========================
   CBOX / SHOUTBOX
========================= */

.shoutbox-section {
  text-align: center;
  padding: 12px;
  min-height: 0;
}

.shoutbox-section h2 {
  margin-bottom: 4px;
}

.shoutbox-section p {
  color: var(--accent);
  font-family: var(--font-cute);
  font-style: italic;
  margin-bottom: 8px;
}

.cbox-frame {
  display: block;
  width: 94%;
  height: 250px;
  margin: 8px auto;
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: rgba(255, 240, 246, 0.55);
}


/* =========================
   ABOUT PAGE
========================= */

.about-container {
  max-width: 760px;
  margin: 5vw auto 12px auto;
  padding: 12px;
}

.about-photo {
  padding: 8px;
  text-align: center;
}

.about-photo.small {
  flex: 0 0 230px;
}

.about-photo img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: 0;
}

.about-basic.large {
  flex: 1 1 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 8px;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px;
  background: linear-gradient(to right, var(--pinkLight), var(--gradientBottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.info-card div {
  min-width: 0;
}

.info-card span {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.info-card p {
  margin: 0;
}

.info-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: auto;
}

.id-badges {
  padding: 10px;
}

.badge-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 8px auto;
}

.badge-stack img {
  width: 190px;
  height: auto;
  image-rendering: pixelated;
  transition: transform 0.2s ease;
}

.badge-stack img:hover {
  transform: translateY(-2px);
}


/* =========================
   BLOG PAGE
========================= */

.blog-container {
  max-width: 750px;
  width: 90%;
  margin: 5vw auto 12px auto;
  padding: 12px;
}

.blog-container .full {
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
  padding: 12px;
}

.blog-post {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(to right, var(--pinkLight), #f7fbff);
  padding: 12px;
  margin: 10px auto;
  max-width: 620px;
}

.blog-post h3 {
  margin-bottom: 2px;
}

.blog-post small {
  color: var(--accent);
}


/* individual blog post page */

.blog-entry {
  max-width: 700px;
  margin: 5vw auto 12px auto;
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(to right, var(--pinkLight), #f7fbff);
  padding: 18px;
}

.blog-entry h1 {
  font-family: var(--font-cute);
  letter-spacing: normal;
  font-size: 1.4rem;
  font-weight: normal;
}

.blog-entry p {
  margin: 12px;
  line-height: 1.5;
}

.post-date {
  text-align: center;
  color: var(--accent);
  font-size: 0.9rem;
  border-bottom: 2px ridge var(--border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}


/* =========================
   MUSIC PAGE
========================= */

.music-container {
  max-width: 750px;
  margin: 5vw auto 12px auto;
  padding: 12px;
}

.music-intro {
  text-align: center;
  font-style: italic;
  color: var(--accent);
}


/* now playing music player */

.now-playing {
  text-align: center;
}

.now-player {
  text-align: center;
  max-width: 380px;
  margin: 0 auto;
}

.vinyl-gif {
  width: 180px;
  height: 180px;
  display: block;
  margin: 10px auto;
}

.song-title {
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-family: var(--font-cute);
}

.music-player-wrap {
  max-width: 330px;
  margin: 10px auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(to right, var(--pinkLight), var(--gradientBottom));
}

.music-player {
  display: block;
  width: 100%;
  height: 32px;
}

.player-label {
  color: var(--accent);
  font-size: 0.85rem;
  margin: 0 0 5px 0;
  text-align: center;
}


/* recent favorites */

.song-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 10px 5px;
}

.song-card {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(to right, var(--pinkLight), #f7fbff);
  padding: 10px;
  text-align: center;
}

.song-cover {
  width: 80px;
  height: 80px;
  border: 2px ridge var(--border);
  border-radius: 5px;
  margin: 5px auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--pinkLight);
  color: var(--accent);
}

.song-card .song-cover-img {
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  object-fit: cover;
  display: block;
  margin: 5px auto 8px auto;
  border: 2px ridge var(--border);
  border-radius: 5px;
}

.rating {
  color: var(--accent);
  letter-spacing: 2px;
}


/* mini reviews */

.mini-reviews-section {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  padding: 10px;
}

.review-scroll {
  width: 100%;
  height: 260px;
  max-height: 260px;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 8px;
}

.music-review,
.diary-entry {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(to right, var(--pinkLight), #f7fbff);
  padding: 12px;
  margin: 8px 5px;
}

.music-review small,
.diary-entry small {
  color: var(--accent);
}

.review-with-cover {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.review-cover {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 2px ridge var(--border);
  border-radius: 5px;
  flex: 0 0 120px;
}

.review-text {
  flex: 1;
  min-width: 0;
}


/* =========================
   SHRINES PAGE
========================= */

.shrines-container {
  max-width: 760px;
}

.shrine-intro {
  text-align: center;
  padding: 14px;
}

.shrine-zone {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.shrine-zone > h2 {
  display: block;
  width: 100%;
  max-width: none;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}

.floating-shrines {
  position: relative;
  min-height: 360px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 198, 216, 0.35), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255, 248, 235, 0.8), transparent 30%),
    linear-gradient(135deg, var(--pinkLight), #f7fbff);
}

.shrine-float,
.shrine-placeholder {
  position: absolute;
  text-align: center;
}

.shrine-float {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, filter 0.25s ease;
  animation: floaty 4s ease-in-out infinite;
}

.shrine-float img {
  width: 180px;
  max-width: 100%;
  display: block;
  image-rendering: auto;
  filter: drop-shadow(0 0 3px rgba(201, 111, 147, 0.4));
}

.shrine-float span {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--pinkLight);
  color: var(--accent);
}

.shrine-float:hover {
  transform: scale(1.08) rotate(-2deg);
  filter:
    drop-shadow(0 0 5px #fff)
    drop-shadow(0 0 10px var(--pink))
    brightness(1.12);
}

.shrine-float:hover,
.shrine-float:hover span,
.shrine-float:focus,
.shrine-float:focus span {
  font-style: normal;
}

.shrine-float:hover img {
  animation: sparkle-shine 0.7s ease infinite alternate;
}

.shrine-5sos {
  left: 45px;
  top: 55px;
}

.shrine-placeholder {
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: rgba(255, 240, 246, 0.65);
  color: var(--accent);
  padding: 18px;
  font-style: italic;
}

.shrine-soon-1 {
  right: 55px;
  top: 85px;
  transform: rotate(5deg);
}

.shrine-soon-2 {
  left: 280px;
  bottom: 65px;
  transform: rotate(-6deg);
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes sparkle-shine {
  from {
    filter: drop-shadow(0 0 3px var(--pink));
  }

  to {
    filter:
      drop-shadow(0 0 7px #fff)
      drop-shadow(0 0 13px var(--pink));
  }
}


/* =========================
   5SOS SHRINE
========================= */

.five-sos-container {
  max-width: 820px;
  position: relative;
  overflow: visible;
}

.five-sos-header {
  text-align: center;
  padding: 14px;
}

.five-sos-subtitle {
  color: var(--accent);
  font-style: italic;
  letter-spacing: 1px;
}

.five-sos-hero-photo {
  text-align: center;
  padding: 14px;
}

.five-sos-hero-photo img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center center;
  border: 2px ridge var(--border);
  border-radius: 6px;
  display: block;
  margin: 0 auto 8px auto;
}

.five-sos-hero-photo p {
  color: var(--accent);
  font-style: italic;
  letter-spacing: 1px;
}


/* scrapbook notes */

.scrapbook-note {
  position: relative;
  padding: 16px;
}

.scrapbook-note::before {
  content: "";
  position: absolute;
  height: 20px;
  top: -10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(217, 167, 188, 0.45);
  opacity: 0.85;
  pointer-events: none;
}

.scrapbook-note:nth-of-type(odd)::before {
  width: 76px;
  left: 28px;
  transform: rotate(-4deg);
}

.scrapbook-note:nth-of-type(even)::before {
  width: 88px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(244, 198, 216, 0.45);
}

.scrapbook-note:nth-of-type(3n)::before {
  width: 64px;
  left: auto;
  right: 35px;
  transform: rotate(5deg);
  background: rgba(255, 248, 235, 0.65);
}

.scrapbook-note h2 {
  color: var(--text);
}

.pink-note {
  background: linear-gradient(135deg, #fff0f6, #fff8eb);
}

.blue-note {
  background: linear-gradient(135deg, #eefaff, #fff8eb);
}

.yellow-note {
  background: linear-gradient(135deg, #fffbe3, #fff0f6);
}


/* fave song bubbles */

.song-scatter {
  position: relative;
  min-height: 375px;
  margin: 10px 5px;
}

.fave-songs-box {
  min-height: 410px;
  overflow: visible;
}

.song-bubble {
  position: absolute;
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--accent);
  padding: 6px 12px;
  font-weight: bold;
  cursor: help;
  box-shadow: 2px 3px 7px rgba(201, 111, 147, 0.18);
  transition: box-shadow 0.2s ease, scale 0.2s ease;
  animation: bubble-float 4s ease-in-out infinite;
  font-family: var(--font-cute);
}

.song-bubble:hover {
  animation-play-state: paused;
  scale: 1.08;
  z-index: 20;
  box-shadow:
    0 0 8px white,
    0 0 14px var(--pink);
}

.song-popup {
  display: none;
  position: absolute;
  left: 50%;
  top: 115%;
  transform: translateX(-50%);
  width: 190px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fffaf3;
  color: var(--text);
  padding: 8px;
  font-weight: normal;
  font-size: 0.85rem;
  text-align: left;
  box-shadow: 3px 4px 10px rgba(201, 111, 147, 0.22);
}

.song-bubble:hover .song-popup {
  display: block;
}

.song-one {
  left: 8%;
  top: 12%;
  transform: rotate(-5deg);
}

.song-two {
  right: 10%;
  top: 12%;
  transform: rotate(4deg);
}

.song-three {
  left: 24%;
  top: 46%;
  transform: rotate(2deg);
}

.song-four {
  right: 20%;
  bottom: 22%;
  transform: rotate(-4deg);
}

.song-five {
  left: 5%;
  bottom: 10%;
  transform: rotate(3deg);
}

.song-six {
  left: auto;
  right: 8%;
  bottom: 40%;
  transform: rotate(-1deg);
}

.song-seven {
  left: 50%;
  top: 26%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%) rotate(-1deg);
  padding: 5px 10px;
}

.song-eight {
  left: auto;
  right: 8%;
  bottom: 05%;
  transform: rotate(-1deg);
}

.song-nine {
  left: 8%;
  top: 62%;
  right: auto;
  bottom: auto;
  transform: rotate(-1deg);
}

.song-bubble:nth-child(2) {
  animation-delay: 0.6s;
}

.song-bubble:nth-child(3) {
  animation-delay: 0.9s;
}

.song-bubble:nth-child(4) {
  animation-delay: 1.2s;
}

.song-bubble:nth-child(5) {
  animation-delay: 1.5s;
}

.song-bubble:nth-child(6) {
  animation-delay: 1.8s;
}

.song-bubble:nth-child(7) {
  animation-delay: 1.8s;
}

.song-bubble:nth-child(8) {
  animation-delay: 2.0s;
}

.song-bubble:nth-child(9) {
  animation-delay: 2.2s;
}

@keyframes bubble-float {
  0% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }

  100% {
    translate: 0 0;
  }
}


/* photo carousel */

.scrapbook-gallery-section {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.photo-strip-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 12px auto;
  overflow: hidden;
  box-sizing: border-box;
}

.photo-window {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 100px);
  overflow: hidden;
  padding: 18px 4px;
}

.photo-track {
  display: flex;
  gap: 12px;
  width: max-content;
  transition: transform 0.35s ease;
}

.photo-track figure {
  flex: 0 0 180px;
  margin: 0;
  background: #fffaf3;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 7px 7px 26px 7px;
  position: relative;
  box-shadow: 2px 3px 8px rgba(201, 111, 147, 0.18);
}

.photo-track figure::before {
  content: "";
  position: absolute;
  width: 52px;
  height: 14px;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(244, 198, 216, 0.65);
  border: 1px solid rgba(217, 167, 188, 0.35);
}

.photo-track figure:nth-child(even) {
  transform: rotate(1.5deg);
}

.photo-track figure:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.photo-track img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}

.photo-track figcaption {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 5px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent);
  font-style: italic;
}

.gallery-btn {
  border: 2px ridge var(--border);
  border-radius: 999px;
  background: linear-gradient(var(--pinkLight), var(--gradientBottom));
  color: var(--accent);
  font-family: var(--font-cute);
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex: 0 0 42px;
}

.gallery-btn:hover {
  background: linear-gradient(var(--pinkLight), var(--pink));
  font-style: normal;
}


/* 5SOS notes grid */

.five-sos-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  padding: 0 35px;
  margin: 12px 0;
  box-sizing: border-box;
}

.five-sos-notes-grid p {
  margin: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;

  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 5px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.45);
}


/* member head links */

.member-shrines-section {
  text-align: center;
  padding: 14px;
  position: relative;
}

.member-heads {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
  margin: 12px auto;
}

.member-head {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
  width: 120px;
  transition: transform 0.25s ease;
}

.member-head img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 4px auto;
  filter: drop-shadow(0 0 4px rgba(201, 111, 147, 0.35));
}

.member-head span {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--pinkLight);
  padding: 3px 10px;
  font-style: normal;
  font-family: var(--font-cute);
}

.member-head:hover {
  font-style: normal;
  transform: translateY(-6px) rotate(-2deg);
}

.member-head:hover span {
  font-style: normal;
}

.member-head:nth-child(1) img {
  transform: scale(1.05);
}

.member-head:nth-child(2) img {
  transform: scale(1.1);
}

.member-head:nth-child(3) img {
  transform: scale(1.25);
}

.member-head:nth-child(4) img {
  transform: scale(0.9);
}

/* member aura colors */

.member-heads .member-head:nth-child(1):hover {
  filter:
    drop-shadow(0 0 6px #f6f01e)
    drop-shadow(0 0 14px #f6f01e)
    drop-shadow(0 0 22px #f6f01e);
}

.member-heads .member-head:nth-child(1):hover span {
  border-color: #f6f01e;
  box-shadow: 0 0 10px #f6f01e;
}

.member-heads .member-head:nth-child(2):hover {
  filter:
    drop-shadow(0 0 6px #f05d27)
    drop-shadow(0 0 14px #f05d27)
    drop-shadow(0 0 22px #f05d27);
}

.member-heads .member-head:nth-child(2):hover span {
  border-color: #f05d27;
  box-shadow: 0 0 10px #f05d27;
}

.member-heads .member-head:nth-child(3):hover {
  filter:
    drop-shadow(0 0 6px #ed1e2b)
    drop-shadow(0 0 14px #ed1e2b)
    drop-shadow(0 0 22px #ed1e2b);
}

.member-heads .member-head:nth-child(3):hover span {
  border-color: #ed1e2b;
  box-shadow: 0 0 10px #ed1e2b;
}

.member-heads .member-head:nth-child(4):hover {
  filter:
    drop-shadow(0 0 6px #39c6f1)
    drop-shadow(0 0 14px #39c6f1)
    drop-shadow(0 0 22px #39c6f1);
}

.member-heads .member-head:nth-child(4):hover span {
  border-color: #39c6f1;
  box-shadow: 0 0 10px #39c6f1;
}


/* decorative stickers */

.page-sticker {
  position: absolute;
  width: 55px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(1px 2px 3px rgba(201, 111, 147, 0.25));
}

.sticker-star-1 {
  top: 40px;
  left: -25px;
  transform: rotate(-12deg);
}

.sticker-heart-1 {
  top: 230px;
  right: -24px;
  transform: rotate(10deg);
}

.sticker-bow-1 {
  bottom: 320px;
  left: -22px;
  transform: rotate(8deg);
}

.sticker-sparkle-1 {
  bottom: 120px;
  right: -20px;
  transform: rotate(-8deg);
}


/* =========================
   MEMBER MINI PAGES
========================= */

.member-mini-container {
  max-width: 680px;
}

.member-mini-header {
  text-align: center;
}

.member-mini-photo {
  text-align: center;
  padding: 12px;
}

.member-mini-photo img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border: 2px ridge var(--border);
  border-radius: 6px;
}


/* =========================
   DESKTOP HOMEPAGE HEIGHT FIX
========================= */

@media (min-width: 651px) {
  .homepage-main,
  .site-updates {
    min-height: 387px;
  }

  .updates-scroll {
    max-height: none;
    height: calc(100% - 45px);
    overflow-y: auto;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {
  body {
    padding: 6px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    margin: 12px auto;
    padding: 5px;
    gap: 6px;
  }

  .main-header {
    height: 90px;
  }

  .main-header img,
  .header-logo-gif {
    width: 95%;
    max-width: 360px;
  }

  .small,
  .half,
  .large,
  .full,
  .button-wall,
  .stamp-wall {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  nav a {
    text-align: center;
    padding: 6px;
  }

  .container > .small {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .container > .small > img {
    width: 100%;
    max-width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: 45% 55%;
    display: block;
    margin: 0;
    border: 2px ridge var(--border);
    border-radius: 5px;
  }

  .homepage-main {
    padding: 8px;
  }

  .welcome-box,
  .currently-box {
    margin: 8px 2px;
    padding: 8px;
  }

  .site-updates {
    text-align: center;
    padding: 8px;
  }

  .update {
    margin: 0 auto;
    max-width: 260px;
  }

  .button-wall {
    padding: 5px;
  }

  .button-track {
    animation-duration: 28s;
  }

  .song-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .review-with-cover {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .review-cover {
    width: 150px;
    height: 150px;
    flex-basis: 150px;
  }

  .about-photo.small {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    padding: 8px;
  }

  .about-photo.small img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    margin: 0 auto;
  }

  .about-basic.large {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .floating-shrines {
    min-height: 520px;
  }

  .shrine-float img {
    width: 150px;
  }

  .shrine-5sos {
    left: 50%;
    top: 45px;
    transform: translateX(-50%);
  }

  .shrine-soon-1 {
    right: 20px;
    top: 250px;
  }

  .shrine-soon-2 {
    left: 25px;
    bottom: 55px;
  }

  .five-sos-container {
    width: 94%;
    max-width: 94%;
  }

  .five-sos-hero-photo img {
    max-height: 260px;
  }

  .fave-songs-box {
    min-height: auto;
  }

  .song-scatter {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .song-bubble {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: rotate(0deg);
  }

  .song-popup {
    width: 170px;
  }

  .photo-strip-wrap {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .photo-window {
    width: 62%;
    max-width: 62%;
    margin: 0 auto;
    overflow: hidden;
    padding: 18px 0;
  }

  .photo-track {
    display: flex;
    gap: 0;
    width: 100%;
    transition: transform 0.35s ease;
  }

  .photo-track figure {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 7px 7px 30px 7px;
    transform: none;
  }

  .photo-track figure:nth-child(even),
  .photo-track figure:nth-child(odd) {
    transform: none;
  }

  .photo-track img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
  }

  .gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    z-index: 10;
  }

  .gallery-btn:first-child {
    left: 18px;
  }

  .gallery-btn:last-child {
    right: 18px;
  }

  .five-sos-notes-grid {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }

  .member-head {
    width: 85px;
  }

  .member-head img {
    width: 80px;
    height: 80px;
  }

  .page-sticker {
    width: 38px;
  }

  .sticker-star-1 {
    left: 4px;
  }

  .sticker-heart-1 {
    right: 4px;
  }

  .sticker-bow-1 {
    left: 4px;
  }

  .sticker-sparkle-1 {
    right: 4px;
  }

  .cbox-frame {
    width: 100%;
    height: 360px;
  }

  footer {
    font-size: 0.75rem;
    padding: 0 8px;
  }
}
.shrine-header-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px auto 2px auto;
}

.shrine-back-button {
  margin: 8px auto 4px auto;
}


.shrine-header-link:hover,
.shrine-music-button:hover {
  font-style: normal;
  background: linear-gradient(to right, var(--pinkLight), var(--pink));
  box-shadow:
    0 0 8px white,
    0 0 12px rgba(242, 184, 207, 0.65);
}
.shrine-back-button {
  margin: 8px auto 4px auto;
}

.shrine-music-button {
  display: block;
  margin: 6px auto 0 auto;
  border: 1px dashed var(--border);
  border-radius: 999px;
  background: rgba(255, 240, 246, 0.65);
  color: var(--accent);
  font-family: var(--font-cute);
  font-size: 0.9rem;
  padding: 4px 12px;
  cursor: pointer;
}

.shrine-music-button:hover {
  font-style: normal;
  background: linear-gradient(to right, var(--pinkLight), var(--pink));
  box-shadow:
    0 0 8px white,
    0 0 12px rgba(242, 184, 207, 0.65);
}
/* =========================
   5SOS NOTICED ME SECTION
========================= */

.noticed-me-section {
  text-align: center;
}

.noticed-intro {
  max-width: 620px;
  margin: 8px auto 12px auto;
}

.noticed-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 10px auto;
  max-width: 700px;
}

.noticed-gallery figure {
  margin: 0;
  background: #fffaf3;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 7px;
  position: relative;
  box-shadow: 2px 3px 8px rgba(201, 111, 147, 0.18);
}

.noticed-gallery figure::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 15px;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(244, 198, 216, 0.65);
  border: 1px solid rgba(217, 167, 188, 0.35);
}

.noticed-gallery figure:nth-child(2)::before {
  transform: translateX(-50%) rotate(4deg);
  background: rgba(255, 255, 255, 0.62);
}

.noticed-gallery img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  display: block;
  border-radius: 3px;
  background: white;
}

@media (max-width: 650px) {
  .noticed-gallery {
    grid-template-columns: 1fr;
  }

  .noticed-gallery img {
    height: auto;
    max-height: 220px;
  }
}
/* =========================
   MEMBER SOLO PAGES
========================= */

.member-writing-section,
.member-strip-section {
  padding: 14px;
}

.member-writing {
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: rgba(255, 240, 246, 0.45);
  padding: 12px;
}

.member-writing p {
  margin: 9px 5px;
  line-height: 1.4;
}

.member-strip-section {
  text-align: center;
}

.member-photo-strip {
  position: relative;
  width: 150px;
  margin: 12px auto;
  padding: 12px 10px 16px 10px;
  background: #fffaf3;
  border: 1px solid var(--border);
  box-shadow: 3px 4px 10px rgba(201, 111, 147, 0.18);
  transform: rotate(2deg);
}

.member-photo-strip::before {
  content: "";
  position: absolute;
  width: 64px;
  height: 16px;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(244, 198, 216, 0.65);
  border: 1px solid rgba(217, 167, 188, 0.35);
}

.member-photo-strip img {
  display: block;
  width: 100%;
  height: 95px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 3px;
  background: white;
}

.member-photo-strip img:last-child {
  margin-bottom: 0;
}

@media (max-width: 650px) {
  .member-writing-section,
  .member-strip-section {
    flex: 1 1 100%;
  }

  .member-photo-strip {
    width: 170px;
  }

  .member-photo-strip img {
    height: 105px;
  }
}
/* =========================
   MEMBER SOLO HORIZONTAL PHOTO STRIP
========================= */

.member-card-cute {
  display: block;
  padding: 18px;
}

.member-writing {
  position: relative;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: rgba(255, 240, 246, 0.55);
  padding: 14px;
  margin-bottom: 18px;
  box-shadow: 2px 3px 8px rgba(201, 111, 147, 0.12);
}

.member-writing::before {
  display: none;
}

.member-photo-strip-horizontal {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;

  width: fit-content;
  max-width: 100%;
  margin: 10px auto;
  padding: 10px 12px 14px 12px;

  background: #fffaf3;
  border: 1px solid var(--border);
  box-shadow: 3px 4px 12px rgba(201, 111, 147, 0.2);
  transform: rotate(-1deg);
}

.member-photo-strip-horizontal::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 16px;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(244, 198, 216, 0.65);
  border: 1px solid rgba(217, 167, 188, 0.35);
}

.member-photo-strip-horizontal img {
  width: 135px;
  height: 105px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  background: white;
}

@media (max-width: 650px) {
  .member-photo-strip-horizontal {
    gap: 6px;
    padding: 8px 8px 12px 8px;
  }

  .member-photo-strip-horizontal img {
    width: 92px;
    height: 82px;
  }

}
.member-photo-strip-horizontal img {
  object-fit: cover;
}

/* dog photo: show a little more upper/middle */
.strip-pos-1 {
  object-position: center 10%;
}

/* pink background photo: face is high, so pull crop upward */
.strip-pos-2 {
  object-position: center 60%;
}

/* orange photo: face is a little high/right, so pull crop up */
.strip-pos-3 {
  object-position: center 15%;
}
/* calum photo strip crop fixes */

.calum-pos-1 {
  object-position: 50% 20%;
}

.calum-pos-2 {
  object-position: 50% 25%;
}

.calum-pos-3 {
  object-position: 50% 35%;
}
/* ashton photo strip crop fixes */

.ashton-pos-1 {
  object-position: 50% 35%;
}

.ashton-pos-2 {
  object-position: 50% 42%;
}

.member-photo-strip-horizontal img.ashton-pos-3 {
  object-fit: cover !important;
  object-position: 45% 23% !important;
}