/* =========================
   PRETTY FUNNY — LAYOUT LOCK (NO GAPS + NO MODAL EXPLOSIONS)
   ========================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: hidden; }

:root{
  --bg: #fff3fb;
  --card: rgba(255,255,255,0.88);
  --border: rgba(255, 175, 220, 0.70);
  --shadow: 0 18px 42px rgba(90, 40, 110, 0.14);
  --text: #3a2c46;
  --muted: rgba(58,44,70,0.72);
  --radius: 18px;

  --titlebar: linear-gradient(
    90deg,
    rgba(255,208,232,0.98),
    rgba(255,246,184,0.98),
    rgba(198,255,220,0.98),
    rgba(201,235,255,0.98),
    rgba(217,214,255,0.98)
  );

  --chip: rgba(255, 235, 248, 0.95);
  --max: 1080px;

  --font-title: "Special Elite", ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-body: "Nunito", "Quicksand", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* thicker handwritten font for intro only */
  --font-journal: "Itim", "Yomogi", "Caveat", cursive;

  --col-height: 520px;
  --stack-gap: 12px;
  --midbar-h: 18px;
  --right-stack-total: calc((var(--col-height) * 2) + var(--midbar-h) + (var(--stack-gap) * 2));
}

/* PAGE BACKGROUND */
body{
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%,  rgba(255, 170, 220, 0.55), transparent 22%),
    radial-gradient(circle at 22% 14%, rgba(255, 245, 170, 0.45), transparent 20%),
    radial-gradient(circle at 34% 10%, rgba(170, 255, 215, 0.40), transparent 22%),
    radial-gradient(circle at 46% 16%, rgba(170, 235, 255, 0.45), transparent 20%),
    radial-gradient(circle at 58% 10%, rgba(210, 190, 255, 0.45), transparent 22%),
    radial-gradient(circle at 70% 16%, rgba(255, 170, 220, 0.40), transparent 20%),
    radial-gradient(circle at 82% 12%, rgba(255, 245, 170, 0.36), transparent 22%),
    radial-gradient(circle at 14% 52%, rgba(170, 235, 255, 0.35), transparent 24%),
    radial-gradient(circle at 38% 58%, rgba(210, 190, 255, 0.34), transparent 24%),
    radial-gradient(circle at 62% 54%, rgba(255, 170, 220, 0.32), transparent 24%),
    radial-gradient(circle at 86% 58%, rgba(170, 255, 215, 0.30), transparent 24%),
    radial-gradient(circle at 18% 88%, rgba(255, 245, 170, 0.38), transparent 26%),
    radial-gradient(circle at 44% 84%, rgba(170, 255, 215, 0.32), transparent 26%),
    radial-gradient(circle at 68% 88%, rgba(170, 235, 255, 0.34), transparent 26%),
    radial-gradient(circle at 86% 82%, rgba(210, 190, 255, 0.34), transparent 26%),
    var(--bg);
}

/* Atmosphere */
.bg-rainbowwash{
  position: fixed;
  inset: -40px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  filter: saturate(1.15);
}
.bg-sparklegrid{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.35) 0 1px, transparent 2px);
  background-size: 24px 24px, 36px 36px;
  background-position: 0 0, 12px 18px;
  mix-blend-mode: soft-light;
}

/* WRAPPER */
.site-wrapper{
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 14px 22px;
}

/* Header */
.site-header{
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
}
.header-image{
  width: min(100%, 980px);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.header-glow{
  position: absolute;
  width: min(100%, 980px);
  height: 72px;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.85;
  z-index: -1;
}

/* Nav */
.main-nav{
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: space-between;
  padding: 4px 10px;
  overflow: hidden;
}
.navbtn{
  text-decoration: none;
  color: var(--text);
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 999px;
  padding: 10px 10px;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(120,70,140,.12), 0 0 0 4px rgba(255, 240, 250, .20);
}
.navbtn:nth-child(1){ background: rgba(255, 214, 239, 0.90); border-color: rgba(255, 160, 210, 0.65); }
.navbtn:nth-child(2){ background: rgba(255, 247, 191, 0.92); border-color: rgba(255, 220, 120, 0.55); }
.navbtn:nth-child(3){ background: rgba(200, 255, 226, 0.90); border-color: rgba(140, 255, 205, 0.50); }
.navbtn:nth-child(4){ background: rgba(205, 240, 255, 0.92); border-color: rgba(120, 220, 255, 0.55); }
.navbtn:nth-child(5){ background: rgba(226, 220, 255, 0.92); border-color: rgba(190, 170, 255, 0.55); }
.navbtn:nth-child(6){ background: rgba(255, 214, 239, 0.90); border-color: rgba(255, 160, 210, 0.65); }
.navbtn:nth-child(7){ background: rgba(255, 247, 191, 0.92); border-color: rgba(255, 220, 120, 0.55); }
.navbtn:nth-child(8){ background: rgba(200, 255, 226, 0.90); border-color: rgba(140, 255, 205, 0.50); }

@media (max-width: 860px){
  .main-nav{ flex-wrap: wrap; justify-content: center; overflow: visible; }
  .navbtn{ flex: 1 1 140px; }
}

/* Divider + Loading */
.nav-rainbowlace{
  width: 100%;
  height: 16px;
  margin: 0 auto;
  border-radius: 999px;
  opacity: 0.95;
  background: linear-gradient(90deg,
    rgba(255, 170, 220, 0.75),
    rgba(255, 245, 170, 0.75),
    rgba(170, 255, 215, 0.70),
    rgba(170, 235, 255, 0.75),
    rgba(210, 190, 255, 0.75)
  );
  box-shadow: 0 10px 24px rgba(120,70,140,.10), 0 0 0 5px rgba(255,255,255,.18);
}

.loading-strip{
  width: min(100%, 980px);
  margin: 2px auto 0;
  height: 155px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-strip-img{
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* GRID + WINDOWS */
.home-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
  grid-auto-rows: minmax(0, auto);
  align-items: stretch;
}
.pf-span-2{ grid-column: 1 / -1; }
@media (max-width: 860px){
  .home-grid{ grid-template-columns: 1fr; gap: 12px; }
}

.pf-window{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
  position: relative;
}
.pf-window::after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), inset 0 0 0 6px rgba(255, 215, 245, 0.14);
  opacity: 0.95;
}
.pf-window-glam{
  border-color: rgba(255, 175, 220, 0.72);
  box-shadow: 0 18px 42px rgba(90, 40, 110, 0.14), 0 0 0 6px rgba(255, 240, 250, 0.25);
}

/* Titlebar */
.pf-titlebar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--titlebar);
  border-bottom: 1px solid rgba(255,255,255,0.75);
}
.pf-title{
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-title);
}
.pf-icon{ filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12)); }
.pf-controls{ display: flex; gap: 7px; align-items: center; }
.pf-dot{ width: 10px; height: 10px; border-radius: 50%; opacity: 0.92; border: 1px solid rgba(0,0,0,0.07); }
.pf-min{ background: rgba(255, 213, 110, 0.98); }
.pf-max{ background: rgba(155, 255, 190, 0.98); }
.pf-close{ background: rgba(255, 140, 160, 0.98); }

/* Body + scroll utility */
.pf-body{
  padding: 12px 14px 14px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
}
.pf-muted{ color: var(--muted); }
.pf-divider{ text-align: center; margin: 12px 0; color: rgba(140, 90, 160, 0.65); }

/* Scroll utility */
.pf-scroll{ overflow: auto; scrollbar-width: thin; }

/* Rainbow scrollbars */
.pf-scroll{ scrollbar-color: rgba(255, 95, 168, 0.95) rgba(255,255,255,0.35); }
.pf-scroll::-webkit-scrollbar{ width: 10px; height: 10px; }
.pf-scroll::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.38);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 180, 220, 0.35);
}
.pf-scroll::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background-image: linear-gradient(180deg,
    rgba(255, 95, 168, 0.95),
    rgba(109, 40, 217, 0.92),
    rgba(53, 201, 138, 0.90),
    rgba(37, 183, 214, 0.92),
    rgba(155, 124, 255, 0.92)
  );
  border: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 8px 16px rgba(120,70,140,.12);
}
.pf-scroll::-webkit-scrollbar-thumb:hover{ box-shadow: 0 10px 20px rgba(120,70,140,.18); }

/* HEARTS ALWAYS VISIBLE */
.pf-endhearts{
  text-align: center;
  color: rgba(140, 90, 160, 0.65);
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 10px 0 12px;
  margin-top: auto;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.82));
  backdrop-filter: blur(2px);
}

/* Equal height windows */
.pf-equalcol{
  height: var(--col-height);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pf-equalcol .pf-body{ flex: 1; min-height: 0; }

@media (max-width: 860px){
  .pf-intro{ height: var(--col-height); }
}

/* Intro */
.pf-intro{
  height: var(--col-height);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pf-intro .pf-body{ flex: 1; min-height: 0; }

.pf-intro .pf-journal-intro{
  font-family: var(--font-journal);
  font-weight: 700;
}
.pf-intro .pf-journal-intro p:nth-of-type(1){ color: #ff5fa8; }
.pf-intro .pf-journal-intro p:nth-of-type(2){ color: #6d28d9; }
.pf-intro .pf-journal-intro p:nth-of-type(3){ color: #35c98a; }
.pf-intro .pf-journal-intro p:nth-of-type(4){ color: #25b7d6; }
.pf-intro .pf-journal-intro p:nth-of-type(5){ color: #9b7cff; }
.pf-intro .pf-journal-intro p:nth-of-type(6){ color: #ff5fa8; }
.pf-intro .pf-journal-intro p:nth-of-type(7){ color: #6d28d9; }

/* Quotes */
.pf-quotes{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pf-quote{ padding: 8px 10px; border-radius: 12px; line-height: 1.25; }
.pf-quote-text{ font: inherit; font-weight: 700; letter-spacing: 0.2px; }
.pf-quote-desc{ margin-top: 4px; font: inherit; font-size: 0.92em; opacity: 0.9; }
.pf-quote:nth-child(1) .pf-quote-text{ color: #ff4fb5; }
.pf-quote:nth-child(2) .pf-quote-text{ color: #22c7ff; }
.pf-quote:nth-child(3) .pf-quote-text{ color: #a78bfa; }
.pf-quote:nth-child(4) .pf-quote-text{ color: #34d399; }
.pf-quote:nth-child(5) .pf-quote-text{ color: #fb7185; }
.pf-quote:nth-child(6) .pf-quote-text{ color: #60a5fa; }
.pf-quote:nth-child(7) .pf-quote-text{ color: #f59e0b; }
.pf-quote:nth-child(8) .pf-quote-text{ color: #f472b6; }

/* Emoji accents */
.pf-quote-text::before{ display: inline-block; margin-right: 6px; font-size: 0.95em; opacity: 0.85; }
.pf-quote:nth-child(odd) .pf-quote-text::before{ content: "♡"; }
.pf-quote:nth-child(even) .pf-quote-text::before{ content: "🫧"; }

/* Intro rainbow bar */
.pf-quote-rainbow{
  height: 14px;
  margin: 6px 18px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(255, 170, 220, 0.85),
    rgba(255, 245, 170, 0.85),
    rgba(170, 255, 215, 0.80),
    rgba(170, 235, 255, 0.85),
    rgba(210, 190, 255, 0.85)
  );
  box-shadow: 0 10px 22px rgba(120,70,140,.12), 0 0 0 4px rgba(255,255,255,.20);
}

/* Locket */
.pf-bio-locket-btn{ appearance: none; background: transparent; border: 0; padding: 0; cursor: pointer; flex: 0 0 auto; }
.pf-bio-locket{
  width: clamp(244px, 19vw, 325px); /* CANONICAL */
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(120,70,140,.16));
  transition: transform 180ms ease, filter 180ms ease;
}
.pf-bio-locket:hover{
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.05) drop-shadow(0 18px 34px rgba(255,140,200,.18));
}

/* Favorites */
.pf-list{ margin: 0; padding-left: 18px; }
.pf-list li{ margin: 8px 0; }
.pf-inline-hearts{ display: inline-block; margin-left: 6px; opacity: 0.70; }
.pf-memes-under{ display: grid; gap: 12px; margin-top: 12px; }
.pf-meme-img{
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(90,40,110,0.18)) saturate(1.05);
  animation: memeFloat 4.2s ease-in-out infinite;
  cursor: zoom-in;
}
.pf-meme-2{ animation-delay: 0.35s; }
@keyframes memeFloat{
  0%,100% { transform: translateY(0) rotate(-0.4deg); }
  50%     { transform: translateY(-7px) rotate(0.4deg); }
}

/* Social/comments */
.pf-col-body{ flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.pf-social-feed{ flex: 1; min-height: 0; overflow: auto; padding-right: 6px; min-width: 0; }
.pf-comments-widget{
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), inset 0 0 0 6px rgba(255, 215, 245, 0.14);
}
.pf-comments-iframe{ width: 100%; height: 100%; min-height: 420px; border: 0; display: block; border-radius: 14px; }

/* Right stack */
.pf-right-stack{
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap);
  min-width: 0;
}

/* Desktop: right stack total height = quotes + bar + grass */
@media (min-width: 861px){
  .pf-right-stack{ height: var(--right-stack-total); }
}
.pf-right-box{
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pf-right-body{ flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; }

/* Mid rainbow bar (restored) */
.pf-mid-rainbowbar{
  height: var(--midbar-h);
  margin: 0;
  border-radius: 999px;
  opacity: 0.95;
  background: linear-gradient(90deg,
    rgba(255, 170, 220, 0.80),
    rgba(255, 245, 170, 0.80),
    rgba(170, 255, 215, 0.75),
    rgba(170, 235, 255, 0.80),
    rgba(210, 190, 255, 0.80)
  );
  box-shadow: 0 12px 28px rgba(120,70,140,.10), 0 0 0 5px rgba(255,255,255,.18);
  pointer-events: none;
}

/* Little Notes position */
.pf-little-notes{ grid-column: 1 / 2; }
@media (max-width: 860px){ .pf-little-notes{ grid-column: 1 / -1; } }

/* Magic position */
.pf-magic{ grid-column: 2 / 3; }
@media (max-width: 860px){ .pf-magic{ grid-column: 1 / -1; } }

/* Magic content */
.pf-magic-quote{
  text-align: center;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  color: #ff2fa0;
  text-shadow: 0 2px 8px rgba(140, 90, 160, 0.25);
  margin: 14px 0 16px;
}
.pf-magic .pf-bio-locket-btn{ display: block; margin: 6px auto 0; }
.pf-magic .pf-bio-locket{ display: block; margin: 0 auto; }

/* BIO COMPACT MODAL */
.pf-modal[aria-hidden="true"]{ display: none; }
.pf-modal{ position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; }
.pf-modal-backdrop{ position: absolute; inset: 0; background: rgba(20, 0, 30, 0.25); }
.pf-compact{
  position: relative;
  width: min(92vw, 860px);
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  max-height: 86vh;
  overflow: hidden;
}
.pf-compact-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--titlebar);
  position: sticky;
  top: 0;
  z-index: 2;
}
.pf-compact-title{ font-family: var(--font-title); font-weight: 400; }
.pf-compact-x{
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 10px;
  font-weight: 900;
}
.pf-compact-layout{
  display: grid;
  grid-template-columns: 375px 1fr;
  gap: 22px;
  padding: 14px 14px 10px;
  align-items: start;
}
.pf-compact-card{ background: transparent !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
.pf-character-card{ width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(120,70,140,.20)); }
.pf-compact-mirror{ border-radius: 18px; min-height: 130px; }
.pf-compact-bottom{ padding: 10px 14px; border-top: 1px solid rgba(255, 180, 220, 0.45); }
@media (max-width: 520px){
  .pf-compact{ max-height: 88vh; overflow: auto; }
  .pf-compact-layout{ grid-template-columns: 1fr; }
}
body.pf-compact-open{ overflow: hidden; touch-action: none; }

/* LIGHTBOX */
.pf-lightbox{ position: fixed; inset: 0; display: grid; place-items: center; z-index: 10000; }
.pf-lightbox[aria-hidden="true"]{ display:none; }
.pf-lightbox-backdrop{ position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.pf-lightbox-img{
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}
.pf-lightbox-x{
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,180,220,0.6);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 900;
}

/* Cursor trail */
#trail{ position: fixed; inset: 0; pointer-events: none; z-index: 10001; }
.dot{
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 6px 12px rgba(120,70,140,.22));
}

/* Sparkle burst */
.sparkle-burst{ position: fixed; pointer-events: none; z-index: 10002; transform: translate(-50%, -50%); }
.sparkle-burst span{ position: absolute; animation: pfBurstPop 0.65s ease-out forwards; }
@keyframes pfBurstPop{
  0%   { transform: translate(0,0) scale(0.65); opacity: 1; }
  100% { transform: translate(0,-18px) scale(1.35); opacity: 0; }
}

/* Stickers */
.sticker-layer{ position: fixed; inset: 0; pointer-events: none; z-index: 9997; overflow: hidden; }
.sticker{
  position: absolute;
  top: -120px;
  opacity: 0.75;
  filter: drop-shadow(0 16px 28px rgba(120,70,140,.22)) saturate(1.10);
  animation-name: pfFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
.sticker-img{ width: 90px; height: auto; display: block; }
.sticker.s5, .sticker.s6{ font-size: 30px; width: auto; }
.sticker.s1{ left: 8%;  animation-duration: 14s; animation-delay: 0s; }
.sticker.s2{ left: 28%; animation-duration: 16s; animation-delay: -6s; }
.sticker.s3{ left: 52%; animation-duration: 15s; animation-delay: -10s; }
.sticker.s4{ left: 78%; animation-duration: 17s; animation-delay: -3s; }
.sticker.s5{ left: 18%; animation-duration: 13s; animation-delay: -8s; }
.sticker.s6{ left: 66%; animation-duration: 18s; animation-delay: -12s; }
@keyframes pfFall{
  0%   { transform: translateY(-120px) translateX(0px) rotate(-6deg); }
  50%  { transform: translateY(55vh) translateX(18px) rotate(6deg); }
  100% { transform: translateY(120vh) translateX(-12px) rotate(-10deg); }
}

/* =========================
   PROOF I TOUCH GRASS — CHEETAH BACKING + SINGLE COLUMN + RAINBOW SEPARATORS
   ========================= */

.pf-grassbox.pf-scroll{
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

/* Cheeky Lisa Frank-ish cheetah backing behind the grid */
.pf-grassbox::before{
  content: "";
  position: absolute;
  inset: 10px 10px 12px;
  border-radius: 16px;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(58,44,70,0.18) 0 10px, transparent 11px),
    radial-gradient(circle at 42% 22%, rgba(58,44,70,0.16) 0 9px, transparent 10px),
    radial-gradient(circle at 70% 14%, rgba(58,44,70,0.18) 0 11px, transparent 12px),
    radial-gradient(circle at 22% 52%, rgba(58,44,70,0.16) 0 9px, transparent 10px),
    radial-gradient(circle at 58% 48%, rgba(58,44,70,0.18) 0 10px, transparent 11px),
    radial-gradient(circle at 84% 54%, rgba(58,44,70,0.16) 0 9px, transparent 10px),
    radial-gradient(circle at 30% 78%, rgba(58,44,70,0.18) 0 11px, transparent 12px),
    radial-gradient(circle at 66% 82%, rgba(58,44,70,0.16) 0 9px, transparent 10px),
    linear-gradient(135deg,
      rgba(255, 95, 168, 0.35),
      rgba(255, 245, 170, 0.33),
      rgba(53, 201, 138, 0.32),
      rgba(37, 183, 214, 0.34),
      rgba(155, 124, 255, 0.35)
    );
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.55),
    inset 0 0 0 6px rgba(255, 215, 245, 0.16),
    0 16px 30px rgba(90,40,110,0.10);
  filter: saturate(1.08);
  opacity: 0.85;
}
.pf-grassbox > *{ position: relative; z-index: 1; }

/* topper */
.pf-grass-topper{
  height: 12px;
  border-radius: 999px;
  margin: 2px 4px 10px;
  background: linear-gradient(90deg,
      rgba(255, 95, 168, 0.90),
      rgba(255, 245, 170, 0.90),
      rgba(53, 201, 138, 0.86),
      rgba(37, 183, 214, 0.88),
      rgba(155, 124, 255, 0.90)
    );
  box-shadow: 0 10px 22px rgba(120,70,140,.12), 0 0 0 4px rgba(255,255,255,.18);
  position: relative;
  overflow: hidden;
}
.pf-grass-topper::after{
  content:"";
  position:absolute;
  inset:-40% -20%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.85) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,0.55) 0 1px, transparent 2px);
  background-size: 18px 18px, 28px 28px;
  background-position: 0 0, 10px 14px;
  transform: rotate(10deg);
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

.pf-grass-caption{
  margin: 0 0 10px;
  text-align: center;
  font-family: "Caveat", "Itim", cursive;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  color: rgba(58,44,70,0.85);
  text-shadow: 0 2px 10px rgba(255, 140, 200, 0.25);
}

/* ONE COLUMN */
.pf-grass-grid{
  display: grid;
  grid-template-columns: 1fr; /* stacked */
  gap: 12px;
  width: 100%;
  padding: 2px 2px 8px;
}

/* Card */
.pf-grass-card{
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  background: rgba(255,255,255,0.55);
  box-shadow:
    0 14px 26px rgba(90,40,110,0.16),
    inset 0 0 0 2px rgba(255,255,255,0.55),
    inset 0 0 0 6px rgba(255, 215, 245, 0.14);
}

/* Thumb */
.pf-grass-thumb{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

/* Rainbow separator bar BELOW photo, with breathing room */
.pf-grass-sep{
  height: 7px;
  margin: 10px 12px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(255, 170, 220, 0.82),
    rgba(255, 245, 170, 0.82),
    rgba(170, 255, 215, 0.78),
    rgba(170, 235, 255, 0.82),
    rgba(210, 190, 255, 0.82)
  );
  box-shadow: 0 10px 20px rgba(120,70,140,.10), 0 0 0 4px rgba(255,255,255,.14);
  opacity: 0.9;
}

/* Hover */
.pf-grass-card:hover{
  transform: translateY(-2px) rotate(-0.25deg);
  box-shadow:
    0 18px 34px rgba(90,40,110,0.18),
    0 0 0 6px rgba(255, 240, 250, 0.20),
    inset 0 0 0 2px rgba(255,255,255,0.60),
    inset 0 0 0 6px rgba(255, 215, 245, 0.16);
}

/* =========================
   FINAL HEIGHT NORMALIZATION (LOCKED)
   ========================= */

/* Four equal boxes */
.pf-social-slot,
#pf-comments,
.pf-right-box{
  height: var(--col-height) !important;
}

/* Ensure their bodies scroll instead of stretching */
.pf-social-slot .pf-body,
#pf-comments .pf-body,
.pf-right-box .pf-body{
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* Favorites = height of two stacked right boxes + gap */
.pf-favorites{
  height: calc((var(--col-height) * 2) + 12px); /* 12px = grid gap */
  display: flex;
  flex-direction: column;
}
.pf-favorites .pf-body{
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* Mobile: keep everything uniform, no stacking math */
@media (max-width: 860px){
  .pf-favorites{
    height: var(--col-height);
  }
}

/* =========================
   LAYOUT SYMMETRY
   ========================= */
@media (min-width: 861px){
  .pf-favorites{
    height: var(--right-stack-total);
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .pf-favorites .pf-body{
    flex: 1;
    min-height: 0;
    overflow: auto;
  }
}

@media (max-width: 860px){
  .pf-favorites{
    height: var(--col-height);
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .pf-favorites .pf-body{
    flex: 1;
    min-height: 0;
    overflow: auto;
  }
}

/* =========================
   LITTLE NOTES + MAGIC
   ========================= */
.pf-little-notes{ display: flex; flex-direction: column; }
.pf-little-notes .pf-body{
  overflow: visible;     /* no scrollbar */
}
.pf-little-notes .little-notes-image img{
  width: 100%;
  height: auto;
  display: block;
}

.pf-magic{
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.pf-magic .pf-body{
  overflow: visible;     /* no scrollbar needed */
  flex: 1;
  min-height: 0;
}