/* ═══════════════════════════════════════
   SELF-HOSTED FONTS
═══════════════════════════════════════ */
@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('cdn/fonts/fredoka-one-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('cdn/fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('cdn/fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('cdn/fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('cdn/fonts/special-elite-400.woff2') format('woff2');
}

/* ═══════════════════════════════════════
   BASE & RESET
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red-deep:   #9e1414;
  --red-mid:    #cc2222;
  --pink-dark:  #e8728a;
  --pink-light: #fce8f0;
  --pink-bg:    #fff5f8;
  --gold:       #d4a017;
  --gold-light: #f5dfa0;
  --teal:       #39c5bb;
  --orange:     #cf6a32;
  --shadow:     3px 4px 0 #9e1414;
  --shadow-sm:  2px 3px 0 #9e1414;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--pink-bg);
  background-image: radial-gradient(circle, #e8728a44 1px, transparent 1px);
  background-size: 22px 22px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: #3a1a1a;
  min-height: 100vh;
  position: relative;
}

h1, h2, h3 { font-family: 'Fredoka One', cursive; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

/* ═══════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════ */
.page-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 28px 16px 48px;
  position: relative;
  overflow-x: clip; /* prevent any child (rotated polaroids, wide nav) from causing page scroll */
}

/* ═══════════════════════════════════════
   SITE NAVIGATION
═══════════════════════════════════════ */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

/* ── hare! wordmark ── */
.site-logo {
  font-family: 'Special Elite', monospace;
  font-size: 1rem;
  color: var(--red-deep);
  background: rgba(255, 245, 248, 0.75);
  border: 1.5px solid rgba(158, 20, 20, 0.18);
  border-radius: 8px;
  padding: 5px 12px;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.6s ease;
}

a.site-logo:hover {
  background: rgba(255, 245, 248, 1);
}

.logo-status {
  font-size: 0.78em;
  opacity: 0.75;
  margin-left: 2px;
}

.nav-link {
  font-family: 'Fredoka One', cursive;
  font-size: 0.95rem;
  color: var(--red-deep);
  background: #fff;
  border: 2.5px solid var(--red-mid);
  border-radius: 20px;
  padding: 6px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 5px 0 var(--red-deep);
}

/* Short vs long steam status text — JS writes both spans, CSS picks one */
.status-short { display: none; }

/* Compact nav on small phones — shrinks padding so 3 links still fit inline */
@media (max-width: 520px) {
  .nav-links { gap: 5px; }
  .nav-link  { padding: 5px 10px; font-size: 0.82rem; }

  /* Switch to the short status label */
  .status-long  { display: none; }
  .status-short { display: inline; }

  /* When steam status is visible the logo takes more width, so drop nav arrows */
  .has-steam-status .nav-arrow { display: none; }

  /* Allow nav to wrap to a second row instead of overflowing the page */
  .site-nav { flex-wrap: wrap; row-gap: 6px; }

  /* Listening cards: restack as [text | play-btn stacked above art]
     This widens the info column from ~18px → ~94px so text wraps naturally */
  .ls-main {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 6px;
    align-items: start;
  }
  .ls-info        { grid-column: 1; grid-row: 1 / span 2; }
  .ls-preview-btn { grid-column: 2; grid-row: 1; }
  .ls-art         { grid-column: 2; grid-row: 2; width: 44px; height: 44px; }
}

/* ═══════════════════════════════════════
   CORNER STAR
═══════════════════════════════════════ */
.corner-star {
  position: fixed;
  top: 14px;
  right: 18px;
  font-size: 2.4rem;
  color: var(--gold);
  animation: spinPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 50;
  filter: drop-shadow(1px 2px 0 var(--red-deep));
}

@keyframes spinPulse {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.25); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ═══════════════════════════════════════
   CARDS (shared base)
═══════════════════════════════════════ */
.card {
  background: #fff;
  border: 2.5px solid var(--red-deep);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.bio-card {
  text-align: center;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.bio-line {
  font-size: 0.92rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.bio-sub {
  font-size: 0.82rem;
  color: var(--red-deep);
  font-weight: 700;
}

.card-title {
  font-size: 1.05rem;
  color: var(--red-deep);
  margin-bottom: 8px;
  border-bottom: 2px dashed var(--pink-dark);
  padding-bottom: 4px;
}

.pink-hr {
  border: none;
  border-top: 2px dashed var(--pink-dark);
  margin: 10px 0;
}

/* ═══════════════════════════════════════
   MAIN TWO-COLUMN GRID
   Row 1: left-top  | right (spans rows 1-3)
   Row 2: badge marquee (full width)
   Row 3: left-bot  | right (continued)
═══════════════════════════════════════ */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

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

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

.col-bottom {
  grid-column: 1 / -1;
  grid-row: 3;
}

.col-left, .col-right, .col-bottom {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* Bottom strip overrides — must come after the shared column rule */
.col-bottom {
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  overflow: visible;
}

.col-bottom .info-card { flex: 1; min-width: 0; }

/* ═══════════════════════════════════════
   RECENT ACTIVITY CARD
═══════════════════════════════════════ */
.recent-activity-card {
  flex: 0 0 290px;
  background: var(--pink-light);
  border: 2.5px solid var(--pink-dark);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.recent-activity-card:hover {
  transform: rotate(-1deg) scale(1.03);
  box-shadow: 5px 6px 0 var(--red-deep);
}
.recent-activity-card .card-title { margin-bottom: 0; }

.ra-now-playing {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(126, 200, 80, 0.15);
  border: 1.5px solid #7ec850;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2e5e10;
  overflow: hidden;
}
.ra-now-playing[hidden] { display: none; }
.ra-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ec850;
  box-shadow: 0 0 5px #7ec850;
  flex-shrink: 0;
  animation: ra-pulse 2s ease-in-out infinite;
}
@keyframes ra-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
.ra-now-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ra-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ra-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ra-capsule {
  width: 90px;
  height: 34px;
  object-fit: cover;
  border-radius: 4px;
  border: 1.5px solid var(--pink-dark);
  display: block;
  flex-shrink: 0;
}
.ra-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ra-name {
  font-family: 'Fredoka One', cursive;
  font-size: 0.82rem;
  color: var(--red-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ra-hrs {
  font-size: 0.7rem;
  color: #a08090;
}
.ra-loading, .ra-empty {
  font-size: 0.8rem;
  color: #c0a0b0;
  text-align: center;
  padding: 10px 0;
}

/* ═══════════════════════════════════════
   NAME CARD
═══════════════════════════════════════ */
.name-card {
  border-style: dashed;
  text-align: center;
  position: relative;
  padding-right: 135px; /* room for right Miku */
  overflow: hidden;     /* clips the peek-in Miku at rest */
}

/* Miku peeks in from the left of the name card on hover */
.name-card-peek {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 88%;
  width: auto;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.name-card:hover .name-card-peek {
  transform: translateX(-15%);
}

/* Konami code Miku flood */
.konami-miku {
  position: fixed;
  z-index: 9999;
  height: 130px;
  width: auto;
  pointer-events: none;
  animation: konamiPop 4s ease forwards;
}
@keyframes konamiPop {
  0%   { opacity: 0; transform: scale(0) rotate(-15deg); }
  15%  { opacity: 1; transform: scale(1.15) rotate(5deg); }
  80%  { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(0.8) translateY(40px); }
}

/* Per-letter wave on .name heading — 4s wave then 5s pause */
.wave-char {
  display: inline-block;
  animation: letterWave 9s ease-in-out infinite;
}
@keyframes letterWave {
  0%   { transform: translateY(0);    }
  22%  { transform: translateY(-6px); }
  44%  { transform: translateY(0);    }
  100% { transform: translateY(0);    }
}

.name-miku {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  max-height: calc(100% - 36px);
  max-width: 123px;
  object-fit: contain;
  display: block;
}

.name {
  font-size: 2.6rem;
  color: var(--red-deep);
  line-height: 1.1;
}

.subtitle {
  font-size: 0.85rem;
  color: #6b2a2a;
  margin-top: 4px;
}


/* ═══════════════════════════════════════
   HARE PHOTO
═══════════════════════════════════════ */
.photo-card {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.hare-photo {
  width: 100%;
  border-radius: 8px;
  border: 2.5px solid var(--pink-dark);
  box-shadow: 3px 4px 0 var(--pink-dark);
  transition: transform 0.25s ease;
}

.hare-photo:hover { transform: rotate(-2deg) scale(1.03); }

/* ═══════════════════════════════════════
   FANDOM BADGES — scrolling marquee
═══════════════════════════════════════ */
.badge-marquee {
  grid-column: 1 / -1;  /* spans both columns */
  grid-row: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.badge-marquee-inner {
  display: flex;
  gap: 7px;
  width: max-content;
  animation: badge-scroll 50s linear infinite;
}

.badge-marquee-reverse {
  animation: badge-scroll-reverse 55s linear infinite;
}

@keyframes badge-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes badge-scroll-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.badge {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid;
  box-shadow: 2px 2px 0;
  white-space: nowrap;
}

.badge-teal    { background: #d4f7f5; color: #1a6e6a; border-color: var(--teal);    box-shadow: 2px 2px 0 #1a6e6a; }
.badge-orange  { background: #fdecd8; color: #7a3a0e; border-color: var(--orange);  box-shadow: 2px 2px 0 #7a3a0e; }
.badge-red     { background: #fde8e8; color: var(--red-deep); border-color: var(--red-mid); box-shadow: 2px 2px 0 var(--red-deep); }
.badge-purple  { background: #ead4f7; color: #5c1e8a; border-color: #8650ac;        box-shadow: 2px 2px 0 #5c1e8a; }
.badge-green   { background: #d4f7d8; color: #1a6e2a; border-color: #3aab4a;        box-shadow: 2px 2px 0 #1a6e2a; }
.badge-pink    { background: #fce8f0; color: #9e1458; border-color: var(--pink-dark); box-shadow: 2px 2px 0 #9e1458; }
.badge-gold    { background: #f7f0d4; color: #7a5a0e; border-color: var(--gold);    box-shadow: 2px 2px 0 #7a5a0e; }
.badge-blue    { background: #d4e8f7; color: #1a3a7a; border-color: #3a6abf;        box-shadow: 2px 2px 0 #1a3a7a; }
.badge-dark    { background: #e8e8e8; color: #2a2a2a; border-color: #888;           box-shadow: 2px 2px 0 #444; }
.badge-crimson { background: #f7d4d4; color: #7a0a0a; border-color: #cc2222;        box-shadow: 2px 2px 0 #7a0a0a; }

/* ═══════════════════════════════════════
   DIVIDER
═══════════════════════════════════════ */
.hare-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: auto 0 14px;
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 600;
  color: var(--red-deep);
  opacity: 0.85;
}

.hare-clock-deco {
  font-style: normal;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════
   SOCIAL BUTTONS
═══════════════════════════════════════ */
.socials {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}

.social-split {
  display: flex;
  gap: 9px;
}

.social-split .social-btn {
  flex: 1;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-light);
  border: 2.5px solid var(--gold);
  box-shadow: 3px 3px 0 var(--red-deep);
  border-radius: 9px;
  padding: 9px 20px;
  min-height: 44px;
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: #5a2a00;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.social-btn i {
  font-size: 1.1rem;
  transition: color 0.2s ease, filter 0.2s ease;
}

.social-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--red-deep);
}

/* ── PLACEHOLDER label sits flush right ── */
.social-placeholder {
  margin-left: auto;
  font-family: 'Nunito', sans-serif;
  font-size: 0.62rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.38;
  flex-shrink: 0;
}

/* ── Brand-colour shimmer sweep on hover ── */

/* Per-platform shimmer colour (semi-transparent) */
.social-btn-twitter   { --shimmer: rgba(29, 155, 240, 0.45); }
.social-btn-tumblr    { --shimmer: rgba(53, 70, 92, 0.5); }
.social-btn-discord   { --shimmer: rgba(88, 101, 242, 0.45); }
.social-btn-steam     { --shimmer: rgba(102, 192, 244, 0.5); }
.social-btn-instagram { --shimmer: rgba(225, 48, 108, 0.4); }

/* Sweep pseudo-element — diagonal streak of brand colour */
.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 5%,
    var(--shimmer, rgba(255,255,255,0.25)) 50%,
    transparent 95%
  );
  transform: translateX(-160%) skewX(-10deg);
  transition: none; /* snap back instantly — no return glint */
  pointer-events: none;
}

.social-btn:hover::before {
  transform: translateX(260%) skewX(-10deg);
  transition: transform 0.95s ease; /* slow sweep forward only */
}

/* Instagram uses the same gold scheme as other buttons — brand colour only appears on hover glint */

/* ═══════════════════════════════════════
   MARQUEE BAR
═══════════════════════════════════════ */
.marquee-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 2.5px solid var(--red-mid);
  border-radius: 8px;
  background: var(--pink-light);
  box-shadow: var(--shadow-sm);
  padding: 6px 8px;
  overflow: hidden;
  max-width: 100%;     /* contained within column */
  min-width: 0;
}

.marquee-dot {
  color: var(--red-deep);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.marquee-inner {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner p {
  display: inline-block;
  animation: marqueeScroll 18s linear infinite;
  font-size: 0.82rem;
  color: var(--red-deep);
  font-weight: 700;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   HOBBY CARDS
═══════════════════════════════════════ */
.hobby-section {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hobby-card {
  flex: 1 1 180px;
  background: #fff;
  border: 2.5px solid var(--pink-dark);
  box-shadow: var(--shadow);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hobby-card:hover {
  transform: translateY(-4px) rotate(1deg);
  box-shadow: 5px 6px 0 var(--red-deep);
}

.hobby-body {
  padding: 14px;
  flex: 1;
}

.hobby-body h3 {
  font-size: 1rem;
  color: var(--red-deep);
  margin-bottom: 6px;
}

.hobby-body p { font-size: 0.83rem; line-height: 1.5; }

.hobby-stripe { height: 8px; }
.stripe-teal     { background: var(--teal); }
.stripe-orange   { background: var(--orange); }
.stripe-redgold  { background: linear-gradient(90deg, var(--red-deep), var(--gold)); }

/* ═══════════════════════════════════════
   SCRAPBOOK
═══════════════════════════════════════ */
.scrapbook-section { margin-bottom: 28px; overflow: hidden; } /* contain rotated polaroid bleed */

.section-header {
  font-size: 1.5rem;
  color: var(--red-deep);
  text-align: center;
  margin-bottom: 16px;
  text-shadow: 1px 2px 0 var(--pink-dark);
}

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}

.polaroid {
  background: #fff;
  border: 2.5px solid var(--pink-dark);
  box-shadow: var(--shadow);
  padding: 6px 6px 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 140px;
  flex-shrink: 0;
}

.polaroid-wide { width: 200px; }

.polaroid img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}

.caption {
  font-size: 0.72rem;
  text-align: center;
  margin-top: 6px;
  color: #6b2a2a;
  font-style: italic;
}

.caption-sm {
  font-size: 0.58rem;
}

.rot-1 { transform: rotate(-2.5deg); }
.rot-2 { transform: rotate(2deg); }
.rot-3 { transform: rotate(-0.5deg); }
.rot-4 { transform: rotate(1.8deg); }

.polaroid:hover {
  transform: rotate(0deg) scale(1.06) !important;
  box-shadow: 5px 6px 0 var(--red-deep);
  z-index: 2;
}

.polaroid img, .ls-art, .hare-photo, .dmc-avatar img, .steam-avatar, .misc-card-img img { cursor: pointer; }

/* ═══════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════ */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 20, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: background 0.4s ease;
  cursor: pointer;
}
.lb-overlay.lb-open {
  background: rgba(10, 0, 20, 0.9);
}

/* Spotlight cones — 20° narrow beams from top-left and top-right */
.lb-spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease 0.25s;
}
.lb-overlay.lb-open .lb-spot { opacity: 1; }

/* Left beam: originates top-left (0% 0%), aims SE at ~135deg, ±10deg */
.lb-spot-l {
  background:
    radial-gradient(ellipse 110% 110% at 0% 0%,
      rgba(255, 248, 200, 0.10) 0%, transparent 55%),
    conic-gradient(from 125deg at 0% 0%,
      transparent         0deg,
      rgba(255,248,200,.10) 3deg,
      rgba(255,248,200,.30) 8deg,
      rgba(255,248,200,.30) 12deg,
      rgba(255,248,200,.10) 17deg,
      transparent        20deg,
      transparent       360deg);
}

/* Right beam: originates top-right (100% 0%), aims SW at ~225deg, ±10deg */
.lb-spot-r {
  background:
    radial-gradient(ellipse 110% 110% at 100% 0%,
      rgba(255, 248, 200, 0.10) 0%, transparent 55%),
    conic-gradient(from 215deg at 100% 0%,
      transparent         0deg,
      rgba(255,248,200,.10) 3deg,
      rgba(255,248,200,.30) 8deg,
      rgba(255,248,200,.30) 12deg,
      rgba(255,248,200,.10) 17deg,
      transparent        20deg,
      transparent       360deg);
}

/* The expanded photo */
.lb-img {
  position: relative;
  z-index: 1;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border: 5px solid #fff;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  transform: scale(0.82);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
  cursor: default;
}
.lb-overlay.lb-open .lb-img {
  transform: scale(1);
  opacity: 1;
}
.lb-overlay.lb-closing .lb-img {
  transform: scale(0.88);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.lb-close {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 10001;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease 0.15s;
}
.lb-overlay.lb-open .lb-close {
  opacity: 1;
}

/* Mobile: no spotlights, keep photo comfortably sized */
@media (max-width: 600px) {
  .lb-spot { display: none; }
  .lb-img {
    max-width: 88vw;
    max-height: 65vh;
    border-width: 3px;
  }
}

/* ═══════════════════════════════════════
   LISTENING TO
═══════════════════════════════════════ */
.bands-section { margin-bottom: 28px; }

.listening-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.listening-slot {
  background: #fff;
  border: 2px solid var(--pink-dark);
  box-shadow: var(--shadow);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ls-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 14px;
}

.ls-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.ls-art {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1.5px solid var(--pink-dark);
}

.ls-stripe {
  height: 6px;
}

/* Genre-coded gradients */
.ls-stripe-1 { background: linear-gradient(90deg, var(--red-deep), var(--orange)); }
.ls-stripe-2 { background: linear-gradient(90deg, #39c5bb, #6b4fa0); }
.ls-stripe-3 { background: linear-gradient(90deg, #7a1a7a, var(--red-deep)); }
.ls-stripe-4 { background: linear-gradient(90deg, var(--orange), var(--gold)); }

.listening-artist {
  font-family: 'Fredoka One', cursive;
  font-size: 0.9rem;
  color: #5a3a7a;
}

.listening-track {
  font-size: 0.75rem;
  color: #7a4a4a;
  font-style: italic;
}

.ls-spotify-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: 4px;
  font-size: 0.8rem;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1.5px solid #1db954;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  background: #1db954;
  color: #fff;
  transition: background 0.15s ease;
}
.ls-spotify-btn:hover { background: #17a349; }

.ls-preview-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.ls-progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* arc starts from 12 o'clock */
}

.ls-ring-bg {
  fill: none;
  stroke: rgba(29, 185, 84, 0.18);
  stroke-width: 3;
}

.ls-ring-fill {
  fill: none;
  stroke: #1db954;
  stroke-width: 3;
  stroke-dasharray: 113.1;
  stroke-dashoffset: 113.1;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.25s linear;
}

.ls-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #1db954;
  pointer-events: none;
  line-height: 1;
}

.ls-preview-btn:hover .ls-ring-bg { stroke: rgba(29, 185, 84, 0.35); }
.ls-preview-btn:hover .ls-play-icon { color: #17a349; }

.bands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 155px;
  gap: 10px;
  grid-auto-flow: row dense;
}

.band-card {
  position: relative;
  overflow: hidden;
  border: 2.5px solid var(--pink-dark);
  box-shadow: var(--shadow);
  border-radius: 10px;
  background: #120608;
  transition: box-shadow 0.2s ease;
}

.band-card:hover { box-shadow: 5px 6px 0 var(--red-deep); }

.band-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.band-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(0.78) saturate(0.85);
}

.band-card:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

.band-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  padding: 30px 10px 9px;
}

.band-name {
  font-family: 'Fredoka One', cursive;
  color: #fff;
  font-size: 0.88rem;
  display: block;
  text-shadow: 1px 2px 5px rgba(0,0,0,1);
  letter-spacing: 0.02em;
}

.band-featured .band-name { font-size: 1.5rem; }

/* No-image cards: dark gradient bg, name centred */
.band-no-img {
  background: linear-gradient(145deg, #120306 0%, #2a0a0a 55%, #100205 100%);
}

.band-no-img .band-overlay {
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
}

.band-no-img .band-name {
  color: var(--gold-light);
  text-align: center;
  font-size: 1rem;
}

.band-featured.band-no-img .band-name { font-size: 1.7rem; }

@media (max-width: 600px) {
  .bands-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
  }
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  text-align: center;
  color: var(--red-deep);
  margin-top: 40px;
}

.footer-stickers {
  font-size: 1.5rem;
  animation: stickerBob 3s ease-in-out infinite;
  margin-bottom: 6px;
}

.site-footer p { font-size: 0.82rem; color: #6b2a2a; }

/* ═══════════════════════════════════════
   DANCE ROW — fixed bottom stage
═══════════════════════════════════════ */
.dance-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 0;
  pointer-events: none;
}

.dance-char {
  height: 72px;
  width: auto;
  display: block;
}

@media (max-width: 800px) {
  .dance-row { display: none; }
}

/* ═══════════════════════════════════════
   SCATTERED STICKERS
═══════════════════════════════════════ */
.stickers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sticker {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  /* filter here so drop-shadow falls outside the child's clip-path */
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.22));
  animation: stickerBob 4s ease-in-out infinite;
  /* smooth blur/fade transition as viewport narrows */
  transition: filter 0.5s ease, opacity 0.5s ease;
}

/* White "cut from paper" backing — clip-path creates the rough scissor edge */
.sticker-backing {
  background: #fff;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticker-backing img {
  width: 38px;
  height: 38px;
  display: block;
}

/* Tohru stickers — less padding, larger image so she fills the cutout */
.s6 .sticker-backing,
.s7 .sticker-backing { padding: 4px; }
.s6 .sticker-backing img,
.s7 .sticker-backing img { width: 54px; height: 54px; object-fit: contain; }

/* New Tohru humans (s23 normal, s26+s29 mirrored) */
.s23 .sticker-backing,
.s26 .sticker-backing,
.s29 .sticker-backing { padding: 4px; }
.s23 .sticker-backing img,
.s26 .sticker-backing img,
.s29 .sticker-backing img { width: 54px; height: 54px; object-fit: contain; }

/* Mirror flip for mirrored Tohru variants */
.sticker.mirror .sticker-backing {
  transform: scaleX(-1);
}

/* Unique scissor-cut shape per sticker — octagons, trapezoids, pentagons, parallelograms, etc. */
.s1  .sticker-backing { clip-path: polygon(15% 2%, 85% 0%, 100% 15%, 97% 85%, 83% 100%, 14% 98%, 0% 83%, 3% 13%); }  /* irregular octagon */
.s2  .sticker-backing { clip-path: polygon(2% 5%, 98% 0%, 92% 100%, 12% 100%); }                                       /* trapezoid wider-top */
.s3  .sticker-backing { clip-path: polygon(50% 0%, 100% 28%, 85% 100%, 15% 100%, 0% 30%); }                            /* pentagon */
.s4  .sticker-backing { clip-path: polygon(8% 0%, 100% 6%, 92% 100%, 0% 92%); }                                        /* parallelogram */
.s5  .sticker-backing { clip-path: polygon(25% 0%, 76% 3%, 100% 26%, 96% 75%, 72% 100%, 20% 97%, 0% 71%, 4% 24%); }   /* irregular hexagon */
.s6  .sticker-backing { clip-path: polygon(12% 0%, 88% 4%, 100% 100%, 0% 96%); }                                       /* trapezoid wider-bottom */
.s7  .sticker-backing { clip-path: polygon(20% 0%, 80% 3%, 100% 20%, 100% 80%, 78% 100%, 18% 98%, 0% 78%, 0% 20%); }  /* squat octagon */
.s8  .sticker-backing { clip-path: polygon(5% 8%, 96% 0%, 100% 94%, 6% 100%); }                                        /* skewed quad */
.s9  .sticker-backing { clip-path: polygon(10% 0%, 90% 5%, 100% 45%, 55% 100%, 0% 45%); }                              /* irregular pentagon */
.s10 .sticker-backing { clip-path: polygon(14% 0%, 86% 3%, 100% 16%, 97% 87%, 84% 100%, 12% 98%, 0% 85%, 3% 14%); }   /* wobbly octagon */
.s11 .sticker-backing { clip-path: polygon(0% 0%, 100% 6%, 96% 100%, 4% 94%); }                                        /* wide trapezoid */
.s12 .sticker-backing { clip-path: polygon(30% 0%, 70% 2%, 100% 35%, 95% 80%, 65% 100%, 28% 98%, 0% 78%, 5% 33%); }   /* lop-sided hexagon */
.s13 .sticker-backing { clip-path: polygon(3% 6%, 97% 0%, 94% 97%, 0% 100%); }                                         /* tilted rectangle */
.s14 .sticker-backing { clip-path: polygon(26% 0%, 74% 0%, 100% 48%, 74% 100%, 26% 100%, 0% 48%); }                    /* tall hexagon */
.s15 .sticker-backing { clip-path: polygon(0% 12%, 45% 0%, 100% 8%, 98% 100%, 5% 92%); }                               /* weird pentagon */
.s16 .sticker-backing { clip-path: polygon(6% 0%, 94% 4%, 100% 98%, 0% 96%); }                                         /* slight trapezoid */
.s17 .sticker-backing { clip-path: polygon(25% 5%, 75% 0%, 100% 25%, 98% 75%, 75% 100%, 22% 97%, 0% 73%, 3% 23%); }   /* pointed octagon */
.s18 .sticker-backing { clip-path: polygon(10% 0%, 100% 5%, 90% 100%, 0% 94%); }                                       /* slanted quad */
.s19 .sticker-backing { clip-path: polygon(22% 0%, 78% 4%, 100% 22%, 96% 78%, 76% 100%, 20% 97%, 0% 76%, 4% 20%); }   /* chunky octagon */
.s20 .sticker-backing { clip-path: polygon(50% 4%, 95% 22%, 90% 100%, 8% 98%, 4% 20%); }                               /* fat pentagon */
.s21 .sticker-backing { clip-path: polygon(15% 0%, 100% 8%, 86% 100%, 0% 90%); }                                       /* sloped trapezoid */
.s22 .sticker-backing { clip-path: polygon(8% 12%, 40% 0%, 92% 5%, 100% 55%, 85% 100%, 15% 98%, 0% 60%); }             /* irregular heptagon */
.s23 .sticker-backing { clip-path: polygon(0% 8%, 42% 0%, 100% 4%, 98% 100%, 5% 95%); }                                  /* wide flat pentagon */
.s25 .sticker-backing { clip-path: polygon(8% 0%, 92% 3%, 100% 20%, 97% 80%, 90% 100%, 10% 98%, 3% 80%, 0% 20%); }       /* reserved */
.s26 .sticker-backing { clip-path: polygon(30% 3%, 72% 0%, 100% 30%, 98% 72%, 68% 100%, 26% 96%, 0% 68%, 4% 28%); }      /* chunky octagon */
.s27 .sticker-backing { clip-path: polygon(5% 0%, 95% 6%, 100% 95%, 0% 100%); }                                           /* wide trapezoid */
.s28 .sticker-backing { clip-path: polygon(12% 5%, 88% 0%, 100% 88%, 80% 100%, 20% 98%, 0% 85%, 6% 10%); }               /* heptagon */
.s29 .sticker-backing { clip-path: polygon(0% 15%, 50% 0%, 100% 18%, 95% 82%, 50% 100%, 5% 80%); }                       /* squat hexagon */
.s30 .sticker-backing { clip-path: polygon(4% 0%, 96% 5%, 100% 14%, 96% 86%, 83% 100%, 15% 98%, 0% 84%, 4% 14%); }      /* octagon variation */
.s31 .sticker-backing { clip-path: polygon(22% 0%, 80% 4%, 100% 22%, 96% 80%, 74% 100%, 18% 96%, 0% 78%, 6% 22%); }     /* irregular octagon */
.s32 .sticker-backing { clip-path: polygon(6% 4%, 94% 0%, 98% 96%, 2% 100%); }                                            /* slight parallelogram */

/* Bob animation uses CSS custom property so rotation is preserved */
@keyframes stickerBob {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%       { transform: rotate(var(--rot, 0deg)) translateY(-9px); }
}

/* individual sticker placements, rotations & delays */
/* ── Left side, outer column (left: 1.5–5%) ── */
.s1  { top:  3%;  left: 2%;   --rot: -15deg; animation-delay: 0s;   }
.s7  { top:  9%;  left: 5%;   --rot:  12deg; animation-delay: 0.2s; }
.s3  { top: 16%;  left: 1.5%; --rot:   8deg; animation-delay: 0.9s; }
.s5  { top: 24%;  left: 4%;   --rot:   5deg; animation-delay: 0.6s; }
.s16 { top: 32%;  left: 2%;   --rot:  -7deg; animation-delay: 0.5s; }
.s11 { top: 40%;  left: 5%;   --rot:  22deg; animation-delay: 0.3s; }
.s10 { top: 48%;  left: 2%;   --rot:  -5deg; animation-delay: 1.5s; }
.s12 { top: 56%;  left: 4%;   --rot: -12deg; animation-delay: 1.1s; }
.s15 { top: 64%;  left: 1.5%; --rot:  15deg; animation-delay: 1.9s; }
.s18 { top: 72%;  left: 3%;   --rot: -14deg; animation-delay: 0.1s; }
.s20 { top: 80%;  left: 5%;   --rot:  -6deg; animation-delay: 1.4s; }
.s27 { top: 88%;  left: 2%;   --rot: -10deg; animation-delay: 0.7s; }
/* ── Left side, inner column (left: 9–12%) ── */
.s23 { top: 14%; left: 11%;   --rot: -20deg; animation-delay: 1.2s; }
.s25 { top: 44%; left: 9%;    --rot: -22deg; animation-delay: 1.7s; }
.s26 { top: 76%; left: 12%;   --rot:  18deg; animation-delay: 2.8s; }
/* ── Right side, outer column (right: 1.5–5%) ── */
.s14 { top:  4%;  right: 5%;   --rot: -18deg; animation-delay: 0.8s; }
.s2  { top: 12%;  right: 2%;   --rot:  10deg; animation-delay: 0.4s; }
.s22 { top: 20%;  right: 4%;   --rot: -22deg; animation-delay: 0.9s; }
.s21 { top: 28%;  right: 1.5%; --rot:  25deg; animation-delay: 2.7s; }
.s4  { top: 36%;  right: 3%;   --rot: -20deg; animation-delay: 1.3s; }
.s6  { top: 44%;  right: 5%;   --rot: -10deg; animation-delay: 1.8s; }
.s13 { top: 52%;  right: 2%;   --rot:   6deg; animation-delay: 2.4s; }
.s8  { top: 60%;  right: 4%;   --rot:  -8deg; animation-delay: 2.1s; }
.s19 { top: 68%;  right: 1.5%; --rot:   9deg; animation-delay: 2.2s; }
.s31 { top: 84%;  right: 4%;   --rot: -18deg; animation-delay: 1.0s; }
/* ── Right side, inner column (right: 9–10%) ── */
.s28 { top: 18%; right: 9%;   --rot:  16deg; animation-delay: 1.4s; }
.s29 { top: 76%; right: 10%;  --rot: -12deg; animation-delay: 3.0s; }
/* ── Reserved slots (CSS ready; HTML not yet present) ── */
.s30 { top: 36%; right: 11%;  --rot:  24deg; animation-delay: 2.5s; }
.s32 { top: 92%; right: 9%;   --rot:  11deg; animation-delay: 2.3s; }

/* ── Progressive sticker blur as viewport closes in on content area ── */

/* ═══════════════════════════════════════
   MOBILE BANNER
═══════════════════════════════════════ */
.mobile-banner {
  display: none; /* hidden on desktop */
  text-align: center;
  background: var(--pink-light);
  border-bottom: 2px dashed var(--pink-dark);
  color: var(--red-deep);
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  letter-spacing: 0.03em;
}

@media (max-width: 800px) {
  .mobile-banner { display: block; }
}

/* ═══════════════════════════════════════
   BLUR DEBUG INDICATOR
═══════════════════════════════════════ */
.blur-debug {
  display: none;
  position: fixed;
  top: 4px;
  right: 8px;
  font-family: monospace;
  font-size: 11px;
  color: #999;
  pointer-events: none;
  z-index: 9999;
}
@media (max-width: 950px) {
  .blur-debug { display: block; }
}
/* Never show blur-debug on actual mobile — it's a desktop dev tool */
@media (max-width: 800px) {
  .blur-debug { display: none; }
}

/* Stage 2 — right stickers clearly blurred, left start softening */
@media (max-width: 950px) {
  .s2, .s4, .s6, .s8, .s13, .s14, .s19, .s21, .s22,
  .s28, .s29, .s30, .s31, .s32 {
    filter: blur(3.5px) drop-shadow(1px 2px 2px rgba(0,0,0,0.06));
    opacity: 0.35;
  }
  .s1, .s3, .s5, .s7, .s10, .s11, .s12, .s15, .s16, .s18, .s20,
  .s23, .s24, .s25, .s26, .s27 {
    filter: blur(0.8px) drop-shadow(2px 3px 4px rgba(0,0,0,0.15));
    opacity: 0.65;
  }
}

/* Stage 3 — hide everything once they'd genuinely overlap the content */
@media (max-width: 800px) {
  .stickers { display: none; }
  .corner-star { display: none; }

  /* ── iOS safe-area / Dynamic Island (viewport-fit=cover) ──
     env(safe-area-inset-top)   ≈ 59px on iPhone 14 Pro (DI height + status bar)
     Pushes body content below the island; the pink bg fills full-bleed behind it. */
  body {
    padding-top: env(safe-area-inset-top, 0px);
  }

  /* Home indicator safe zone (option 4B) */
  .social-float {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  #back-to-top {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    /* Landscape: Dynamic Island creates a notch on the left side (option 1A) */
    left: calc(20px + env(safe-area-inset-left, 0px));
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — single column on mobile
═══════════════════════════════════════ */
@media (max-width: 600px) {
  .main-grid {
    grid-template-columns: 1fr;
  }

  /* stack all grid items in source order on mobile */
  .col-left   { grid-column: 1; grid-row: auto; }
  .col-right  { grid-column: 1; grid-row: auto; align-self: stretch; }
  .badge-marquee { grid-column: 1; grid-row: auto; }
  .col-bottom { grid-column: 1; grid-row: auto; flex-direction: column; }
  .recent-activity-card { flex: 1 1 100%; }

  .photo-grid { gap: 8px; }
  .polaroid { width: 120px; }
  .polaroid-wide { width: 180px; }
  .polaroid img { height: 90px; }

  .hobby-card { flex: 1 1 100%; }
}

/* ═══════════════════════════════════════
   LARGE SCREENS — 1440p+
   Scale factor ≈ 1.26× from 700px base
═══════════════════════════════════════ */
@media (min-width: 1440px) {
  body { font-size: 17px; }

  .page-wrap { max-width: 880px; }

  .main-grid  { gap: 18px; }
  .col-bottom { gap: 18px; }

  .card { padding: 18px 20px; }

  .recent-activity-card { flex: 0 0 350px; }

  .hobby-section { gap: 18px; }
  .hobby-card    { flex: 1 1 220px; }


  .section-header   { font-size: 1.75rem; }

  .bands-grid       { grid-auto-rows: 195px; }

  .dance-char       { height: 90px; }

  /* Socials fill remaining col-right height so Tumblr bottom = photo bottom.
     flex-grow on socials takes free space before margin-top:auto on .hare-clock
     can absorb it, eliminating the gap between DNI and the clock. */
  .socials {
    flex: 1;
    gap: 10px;
  }
  .socials > .social-btn,
  .socials > .social-split {
    flex: 1;
  }
}

/* ═══════════════════════════════════════
   LARGE SCREENS — 1920p+
   Scale factor ≈ 1.5× from 700px base
═══════════════════════════════════════ */
@media (min-width: 1920px) {
  body { font-size: 18.5px; }

  .page-wrap { max-width: 1050px; }

  .main-grid  { gap: 22px; }
  .col-bottom { gap: 22px; }

  .card { padding: 22px 24px; }

  .recent-activity-card { flex: 0 0 420px; }

  .hobby-section { gap: 22px; }
  .hobby-card    { flex: 1 1 260px; }


  .section-header   { font-size: 2rem; }

  .bands-grid       { grid-auto-rows: 230px; }

  .dance-char       { height: 110px; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .corner-star,
  .badge-marquee-inner,
  .sticker { animation-play-state: paused; }
}

/* ═══════════════════════════════════════
   BACK TO TOP BUTTON
═══════════════════════════════════════ */
#back-to-top {
  position: fixed;
  bottom: 24px;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2.5px solid var(--red-deep);
  background: var(--pink-light);
  color: var(--red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 3px 3px 0 var(--red-deep);
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.2s ease;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover {
  transform: translate(-2px, -3px);
  box-shadow: 5px 5px 0 var(--red-deep);
}

/* ═══════════════════════════════════════
   FLOATING SOCIAL BAR
═══════════════════════════════════════ */
.social-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 3px 3px 0;
}

.float-btn:hover {
  transform: translate(-2px, -3px);
  box-shadow: 5px 5px 0;
}

.float-discord {
  position: relative;
  background: #5865f2;
  color: #fff;
  border-color: #3a47c9;
  box-shadow: 3px 3px 0 #3a47c9;
}
.float-discord:hover { box-shadow: 5px 5px 0 #3a47c9; }

/* Discord "add hare!" tooltip */
.float-discord::after {
  content: 'add hare!';
  position: absolute;
  bottom: calc(100% + 9px);
  right: 0;
  background: #4752c4;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px 8px 2px 8px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 #3a47c9;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.float-discord:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.float-steam {
  background: #1b2838;
  color: #c7d5e0;
  border-color: #c7d5e0;
  box-shadow: 3px 3px 0 #4a6a8a;
}
.float-steam:hover { box-shadow: 5px 5px 0 #4a6a8a; }

.float-steam i {
  transition: filter 0.6s ease;
}

/* ── Steam hover tooltip ── */
.steam-tooltip {
  position: fixed;
  z-index: 9999;
  background: #1b2838;
  border: 1.5px solid #444;
  border-radius: 8px;
  padding: 5px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c7d5e0;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.steam-tooltip.tt-visible { opacity: 1; }

.steam-tooltip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.6s ease;
}

/* ── Steam refresh button (fades in when hovering "hare!") ── */
.steam-refresh-btn {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  padding: 0 0 0 5px;
  cursor: pointer;
  font-size: 0.65em;
  opacity: 0;
  transition: opacity 0.2s ease;
  user-select: none;
}

.site-logo:hover .steam-refresh-btn {
  opacity: 0.4;
}

.steam-refresh-btn:hover {
  opacity: 1 !important;
}

.steam-refresh-btn i {
  display: inline-block;
}

.steam-refresh-btn.spinning i {
  animation: refresh-spin 0.65s ease forwards;
}

@keyframes refresh-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
