body.pfspace{
  background-color:#000;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%20viewBox%3D%220%200%20180%20180%22%3E%0A%20%20%3Crect%20width%3D%22180%22%20height%3D%22180%22%20fill%3D%22%23000000%22/%3E%0A%20%20%3C%21--%20tiny%20sparkles%20--%3E%0A%20%20%3Cg%20opacity%3D%220.35%22%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%2222%22%20r%3D%221%22%20fill%3D%22%23ffffff%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2260%22%20cy%3D%2214%22%20r%3D%221%22%20fill%3D%22%23ffb7de%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2296%22%20cy%3D%2234%22%20r%3D%221%22%20fill%3D%22%23ffffff%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22140%22%20cy%3D%2224%22%20r%3D%221%22%20fill%3D%22%23ffb7de%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22164%22%20cy%3D%2254%22%20r%3D%221%22%20fill%3D%22%23ffffff%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2226%22%20cy%3D%2278%22%20r%3D%221%22%20fill%3D%22%23ffb7de%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2274%22%20cy%3D%2296%22%20r%3D%221%22%20fill%3D%22%23ffffff%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22120%22%20cy%3D%2284%22%20r%3D%221%22%20fill%3D%22%23ffb7de%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22156%22%20cy%3D%22118%22%20r%3D%221%22%20fill%3D%22%23ffffff%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2234%22%20cy%3D%22130%22%20r%3D%221%22%20fill%3D%22%23ffb7de%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2286%22%20cy%3D%22150%22%20r%3D%221%22%20fill%3D%22%23ffffff%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%22132%22%20cy%3D%22146%22%20r%3D%221%22%20fill%3D%22%23ffb7de%22/%3E%0A%20%20%3C/g%3E%0A%0A%20%20%3C%21--%20outlined%20stars%20--%3E%0A%20%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ff6fbf%22%20stroke-width%3D%222%22%20opacity%3D%220.95%22%3E%0A%20%20%20%20%3Cpolygon%20points%3D%2224%2C46%2029%2C58%2042%2C58%2031%2C66%2035%2C79%2024%2C71%2013%2C79%2017%2C66%206%2C58%2019%2C58%22/%3E%0A%20%20%20%20%3Cpolygon%20points%3D%22150%2C40%20154%2C50%20165%2C50%20156%2C57%20159%2C69%20150%2C62%20141%2C69%20144%2C57%20135%2C50%20146%2C50%22/%3E%0A%20%20%20%20%3Cpolygon%20points%3D%2292%2C18%2096%2C28%20107%2C28%2098%2C35%20101%2C47%2092%2C40%2083%2C47%2086%2C35%2077%2C28%2088%2C28%22/%3E%0A%20%20%20%20%3Cpolygon%20points%3D%2270%2C128%2074%2C138%2085%2C138%2076%2C145%2079%2C157%2070%2C150%2061%2C157%2064%2C145%2055%2C138%2066%2C138%22/%3E%0A%20%20%20%20%3Cpolygon%20points%3D%22156%2C142%20160%2C152%20171%2C152%20162%2C159%20165%2C171%20156%2C164%20147%2C171%20150%2C159%20141%2C152%20152%2C152%22/%3E%0A%20%20%3C/g%3E%0A%0A%20%20%3C%21--%20small%20solid%20stars%20--%3E%0A%20%20%3Cg%20fill%3D%22%23ff9ad1%22%20opacity%3D%220.7%22%3E%0A%20%20%20%20%3Cpolygon%20points%3D%2244%2C108%2046%2C114%2052%2C114%2047%2C117%2049%2C123%2044%2C119%2039%2C123%2041%2C117%2036%2C114%2042%2C114%22/%3E%0A%20%20%20%20%3Cpolygon%20points%3D%22118%2C60%20120%2C66%20126%2C66%20121%2C69%20123%2C75%20118%2C71%20113%2C75%20115%2C69%20110%2C66%20116%2C66%22/%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E");
  background-repeat: repeat;
  background-attachment: fixed;
  color: rgba(255,255,255,0.92);
}

/* =========================================================
   PMP-style layout behaviors:
   - hide Interests + Blog sections
   - leave Friends + Comments + Blurbs as the social core
   ========================================================= */

#msInterests,
#msBlog{
  display: none !important;
}

/* =========================================================
   SOUNDTRACK — Pink Stars (Pimp-My-Profile style)
   - tightened geometry to feel like real MySpace
   ========================================================= */

:root{
  --pink:#ff6fbf;
  --pink2:#ff5fb8;
  --pink3:#ff9ad1;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --border: rgba(255,111,191,0.85);
  --border2: rgba(255,111,191,0.55);
  --font: Tahoma, Verdana, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: var(--font); color: var(--text); }

a{ color: var(--pink3); text-decoration: underline; }
a:hover{ color: #fff; }

/* Top strip */
.ms-topbar{
  background: linear-gradient(180deg, rgba(255,111,191,0.85), rgba(0,0,0,0.85));
  border-bottom: 2px solid var(--border);
  box-shadow: 0 8px 18px rgba(0,0,0,0.55);
}
.ms-topbar-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 6px 10px 8px;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 10px;
  align-items: center;
}
@media (max-width: 860px){
  .ms-topbar-inner{ grid-template-columns: 1fr; gap: 8px; }
}
.ms-logo{ display:flex; align-items:baseline; gap:6px; font-weight: 900; color:#fff; }
.ms-logo-brand{ text-shadow: 0 0 10px rgba(255,79,181,0.35); }

.ms-search{ justify-self:end; display:flex; align-items:center; gap:6px; font-size: 12px; color: rgba(255,255,255,0.92); }
.ms-search input{
  width: 190px; max-width: 70vw;
  padding: 5px 6px;
  border: 1px solid rgba(255,79,181,0.55);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12px;
  outline: none;
}
.ms-search input:focus{ box-shadow: 0 0 0 2px rgba(255,79,181,0.22); }
.ms-search button{
  padding: 5px 9px;
  border: 1px solid rgba(255,79,181,0.65);
  background: linear-gradient(180deg, rgba(255,111,191,0.90), rgba(30,0,18,0.72));
  color:#fff;
  font-weight: 900;
  cursor: pointer;
}
.ms-search button:hover{ filter: brightness(1.05); }

.ms-toplinks{
  max-width: 980px;
  margin: 0 auto;
  padding: 4px 10px 8px;
  font-size: 12px;
  color:#fff;
}
.ms-toplinks a{ color:#fff; text-decoration:none; }
.ms-toplinks a:hover{ text-decoration: underline; color: var(--pink3); }

.ms-page{
  max-width: 920px;
  margin: 12px auto 70px;
  padding: 0 10px;
}

/* Layout-applied frame */
.ms-frame{
  border: 2px solid var(--border);
  background: rgba(0,0,0,0.38);
  box-shadow: 0 14px 34px rgba(0,0,0,0.60);
  padding: 6px;
}

.ms-columns{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 8px;
  padding: 0;
}
@media (max-width: 860px){
  .ms-columns{ grid-template-columns: 1fr; gap: 8px; }
}

.ms-box{
  border: 2px solid var(--border);
  background:
    radial-gradient(circle, rgba(255,255,255,0.09) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,79,181,0.09) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(0,0,0,0.82), rgba(30,0,18,0.72));
  background-size: 18px 18px, 24px 24px, auto;
  background-position: 0 0, 10px 14px, 0 0;
  margin-bottom: 8px;
  border-radius: 0;
  box-shadow: 0 8px 14px rgba(0,0,0,0.45);
  position: relative;
}
.ms-box::after{
  content:"";
  position:absolute;
  inset: 3px;
  pointer-events:none;
  border: 1px solid rgba(255,111,191,0.18);
}

.ms-title{
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,111,191,0.92), rgba(30,0,18,0.85));
  border-bottom: 2px solid var(--border);
  text-shadow: 0 0 8px rgba(255,79,181,0.28);
}

.ms-body{
  padding: 7px;
  font-size: 11px;
  line-height: 1.32;
}

.ms-mini{ font-size: 10.5px; color: var(--muted); margin-top: 6px; }

.ms-note{
  font-size: 10.5px;
  border: 1px dashed rgba(255,79,181,0.70);
  padding: 6px;
  background: rgba(0,0,0,0.55);
  margin-bottom: 8px;
}

/* Profile grid */
.ms-profile-grid{ display:grid; grid-template-columns: 120px 1fr; gap: 10px; align-items:start; }
@media (max-width:860px){ .ms-profile-grid{ grid-template-columns: 1fr; } }

.ms-pic{ width: 120px; }
.ms-pic-img{
  width: 120px;
  height: 120px;
  display: block;
  object-fit: cover;
  background: rgba(0,0,0,0.75);
  border: 2px solid rgba(255,111,191,0.85);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.55),
    inset 0 0 0 3px rgba(255,255,255,0.10),
    0 0 0 2px rgba(0,0,0,0.65),
    0 10px 16px rgba(0,0,0,0.45);
}
@media (max-width: 860px){
  .ms-pic{ width: 100%; }
  .ms-pic-img{
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
.ms-pic img{ max-width: 120px !important; height: auto !important; }

.ms-network{
  margin-top: 8px;
  border: 2px solid var(--border2);
  padding: 6px;
  background: rgba(0,0,0,0.55);
  font-weight: 900;
  color:#fff;
}

/* URL box */
.ms-urlbox{
  margin-top: 8px;
  border: 2px solid var(--border2);
  background: rgba(0,0,0,0.55);
  padding: 6px;
}
.ms-url-label{ font-weight: 900; color: rgba(255,255,255,0.90); }
.ms-url-inline{
  font-family: "Courier New", Courier, monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.92);
  word-break: break-all;
}

/* Contact icons */
.ms-contact{ display:grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ms-contact a{display:block;}
.ms-ic{
  display:block;
  padding: 5px 6px;
  border: 2px solid var(--border2);
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 10.5px;
}
.ms-ic:hover{
  border-color: var(--border);
  box-shadow: 0 0 0 2px rgba(255,79,181,0.18);
}

/* Tables */
.ms-table{ width:100%; border-collapse: collapse; font-size: 11px; table-layout: fixed; }
.ms-table td{ border: 2px solid var(--border2); padding: 5px 6px; vertical-align: top; color:#fff; }
.ms-table .lab{
  width: 92px;
  background: rgba(0,0,0,0.72);
  font-weight: 900;
  text-transform: lowercase;
  color: rgba(255,255,255,0.92);
}
.ms-table td{ word-wrap: break-word; overflow-wrap: anywhere; }

/* Albums */
.ms-albums{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.alb{
  aspect-ratio: 1 / 1;
  border: 2px solid var(--border2);
  background: rgba(0,0,0,0.55);
  display:grid;
  place-items:center;
  font-weight: 900;
  font-size: 10.5px;
  color:#fff;
}

/* Friends (Top 8) — locked */
.ms-friends{
  display: grid;
  grid-template-columns: repeat(4, 92px);
  justify-content: space-between;
  gap: 10px 8px;
}
@media (max-width: 860px){
  .ms-friends{ grid-template-columns: repeat(3, 92px); justify-content: start; }
}
@media (max-width: 520px){
  .ms-friends{ grid-template-columns: repeat(2, 92px); }
}
.ms-friends .friend{
  width: 92px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}
.ms-friends .friend .fp{
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border: 2px solid var(--border2);
  background: rgba(0,0,0,0.55);
}
.ms-friends .friend .fp img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ms-friends .friend .fn{
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.1;
  text-align: center;
  color:#fff;
}

.ms-friends-head{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
@media (max-width: 520px){
  .ms-friends-head{ flex-direction: column; align-items:flex-start; }
}
.ms-friends-viewall a{ color:#fff; text-decoration: underline; }
.ms-friends-count{ color: var(--pink3); }

/* Lightbox */
.pf-noscroll{ overflow: hidden; }
.pf-img-btn{ background: transparent; border: 0; padding: 0; cursor: zoom-in; }
.pf-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(4px);
}
.pf-lightbox.is-open{ display: flex; }
.pf-lightbox-img{
  max-width: min(960px, 92vw);
  max-height: 86vh;
  border: 2px solid var(--border2);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  background: rgba(0,0,0,0.45);
}
.pf-lightbox-x{
  position: absolute;
  top: 10px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid var(--border2);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.pf-lightbox-x:hover{ border-color: var(--border); }
html.pf-noscroll, html.pf-noscroll body{ overflow: hidden; }
.pf-lightbox-caption{
  margin-top: 10px;
  max-width: min(960px, 92vw);
  border: 2px solid var(--border2);
  background: rgba(0,0,0,0.55);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text);
  display: none;
}

/* Blinkies */
.pf-blinkie-wrap{ text-align: center; margin: 10px 0 14px; }
.pf-blinkie{
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.2px;
  margin: 4px 0;
  animation: pf-blink 1.9s steps(1, end) infinite;
}
.pf-blinkie-emo{
  color: #ffd6ea;
  text-shadow:
    0 0 6px rgba(255,111,191,0.85),
    0 0 10px rgba(255,111,191,0.45);
}
.pf-blinkie-music{
  color: #ff6fbf;
  background: #000;
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(255,111,191,0.55);
  animation-delay: 0.35s;
}
@keyframes pf-blink{
  0%   { opacity: 1; }
  49%  { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Cursor trail seat (optional) */
#trail{ position: fixed; inset: 0; pointer-events:none; z-index: 9999; }

/* COMMENTS — SINGLE SOURCE OF TRUTH (iframe) */
.ms-comments{
  width: 100%;
  min-height: 520px;
  border: 2px solid var(--border2);
  background: rgba(0,0,0,0.55);
  padding: 6px;
  overflow: auto;
}
.ms-comments-iframe{
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}

/* =========================================================
   PF — Blurbs scroll gallery (vertical only, no layout changes)
   ========================================================= */

#msBlurbs .pf-scrollbox{
  width: 100%;
  height: 640px;           /* doubled height */
  margin-top: 10px;

  border: 2px solid var(--border2);
  background: rgba(0,0,0,0.35);

  overflow-y: auto;        /* vertical scroll only */
  overflow-x: hidden;      /* no left-right scroll */

  /* Prevent content from forcing horizontal overflow */
  scrollbar-gutter: stable;
}

#msBlurbs .pf-scrollbox img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Scrollbar styling (Firefox) */
#msBlurbs .pf-scrollbox{
  scrollbar-width: thin;
  scrollbar-color: var(--pink3) rgba(0,0,0,0.35);
}

/* Scrollbar styling (WebKit: Chrome/Safari/Edge) */
#msBlurbs .pf-scrollbox::-webkit-scrollbar{
  width: 12px;
}
#msBlurbs .pf-scrollbox::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.35);
  border-left: 1px solid rgba(255,111,191,0.25);
}
#msBlurbs .pf-scrollbox::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, var(--pink3), var(--pink));
  border: 2px solid rgba(0,0,0,0.35);
  border-radius: 999px;
}
#msBlurbs .pf-scrollbox::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, #ffffff, var(--pink3));
}

/* =========================================================
   PF — Top Albums: click-to-expand (uses existing PF_LIGHTBOX)
   Only affects album tiles + lightbox caption formatting.
   ========================================================= */

.ms-albums .alb{
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.ms-albums .alb img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Better readability for album descriptions + track lists */
.pf-lightbox-caption{
  white-space: pre-line;
  max-height: 45vh;
  overflow: auto;
}

/* =========================================================
   PF — Blurbs: “This feels like home” blingee (safe + centered)
   ========================================================= */

#msBlurbs .blingee-home{
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 8px 0 6px;
}

#msBlurbs .blingee-home img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;

  /* Safety cap: prevents tall assets from stretching Blurbs / adding weird scrollbars */
  max-height: 220px;
  object-fit: contain;
}

/* =========================================================
   PF — Blurbs: Spotify + “My Manifesto” header (safe)
   ========================================================= */

#msBlurbs .pf-manifesto-wrap{
  width: 100%;
  margin-top: 10px;
}

#msBlurbs .pf-manifesto-title{
  text-align: center;
  margin: 6px 0 8px;
  font-family: "Special Elite", "Playfair Display", serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--pink3);
  text-shadow:
    0 1px 0 rgba(0,0,0,0.35),
    0 0 10px rgba(255,111,191,0.35);
}

#msBlurbs .pf-spotify-embed{
  width: 100%;
  overflow: hidden; /* prevents any odd iframe overflow */
}

#msBlurbs .pf-spotify-embed iframe{
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

/* =========================================================
   PF — Blurbs: Featuring (NEW) — locked to column width
   ========================================================= */

#msBlurbs .pf-featuring{
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
  overflow: hidden; /* hard safety net */
}

/* Featuring header: matches blinkies, but sized like a header */
#msBlurbs .pf-featuring-title{
  text-align: center;
  margin: 10px 0 10px;

  /* match blinky font family + behavior */
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0.2px;

  /* header sizing */
  font-size: 18px;

  /* match your pink blinkie glow */
  color: #ff6fbf;
  text-shadow:
    0 0 6px rgba(255,111,191,0.85),
    0 0 10px rgba(255,111,191,0.45);

  /* same blink animation used throughout the page */
  animation: pf-blink 1.9s steps(1, end) infinite;
}

@keyframes pfNoVacancy{
  0%, 18%   { opacity: 1;    filter: saturate(1.2) brightness(1.12); }
  19%, 28%  { opacity: 0.35; filter: saturate(0.9) brightness(0.92); }
  29%, 62%  { opacity: 1;    filter: saturate(1.25) brightness(1.18); }
  63%, 72%  { opacity: 0.25; filter: saturate(0.85) brightness(0.88); }
  73%, 100% { opacity: 1;    filter: saturate(1.2) brightness(1.10); }
}

#msBlurbs .pf-featuring-grid{
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#msBlurbs .pf-featuring-grid img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  min-width: 0;
}

@media (max-width: 520px){
  #msBlurbs .pf-featuring-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}