:root{
  --border-main: #e6e6e6;   /* soft light grey like the reference */
}

body {
  background-color: #ffeef6;
  color: #111;
  font-family: 'Nunito', Verdana, sans-serif;
  padding: 24px;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 28px 28px;
}


.welcome-panel {
  padding: 0;
  background: transparent;
  border: none;
}

.welcome-frame{
  border-radius: 35px;
  border: 38px solid transparent;
  border-image: url("/lace-bg.png") 30 round; 
  background: transparent !important;
  padding: 0px; 
}



.welcome-card {
  border-radius: 28px;
  padding: 18px 18px 14px;

  background: rgba(255, 255, 255, 0.72) !important;
  border: none !important;  
  position: relative;
}


.welcome-card::before {
  content: "";
  position: absolute;
  inset: 10px;             
  border-radius: 28px;

  border: 2px dashed rgba(255, 170, 210, 0.65);
  pointer-events: none;
  opacity: 0.95;
}


.welcome-title {
  margin: 0 0 12px;
  text-align: center;

  font-family: "Pixelify Sans", sans-serif;
  font-size: 38px;
  letter-spacing: 2px;

  color: #ffd1e4;
  text-shadow:
    -2px -2px 0 #ff9fc9,
     2px -2px 0 #ff9fc9,
    -2px  2px 0 #ff9fc9,
     2px  2px 0 #ff9fc9;
}



.welcome-chibi {
  width: 100px;         
  height: auto;

  image-rendering: pixelated;
  opacity: 0.95;
  flex-shrink: 0;

  margin-top: 4px;     
  filter: drop-shadow(0 2px 4px rgba(255, 160, 200, 0.25));
}

.welcome-chibi.inline {
  float: left;
  width: 100px;             
  height: auto;
  margin: -45px 12px 6px 0;
  image-rendering: pixelated;
  opacity: 0.95;
  filter: drop-shadow(0 2px 4px rgba(255, 160, 200, 0.25));
}


.welcome-text {
  position: relative;
}

.welcome-text p {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.6;
  color: #8a8a8a; 
}

.welcome-text b {
  color: #ff7bb8;
}

.welcome-warning {
  margin-top: 12px;
  text-align: center;
  color: #ff7bb8;
  font-family: 'VT323', monospace;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.page{
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 90vh;

  /* KEY CHANGE */
  padding: 0;           /* was 24px */
  overflow: visible;
  border-radius: 30px;
}

.page::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  border: 2px solid #e6e6e6;
  background: rgba(255, 255, 255, 0.75);
  z-index: 0;
}

.page > *{
  position: relative;
  z-index: 1;
}




.panel {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #e6e6e6;   /* grey */
  border-radius: 0;            /* straight corners */
  padding: 16px 18px;
  margin-bottom: 12px;
}



.panel.welcome-panel{
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 12px; /* keep spacing consistent */
}

.profile {
  text-align: center;
}

.profile-info{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  margin: 0;
  padding: 12px 12px 10px;

  border: 0;
  border-top: 1px solid #ededed;   /* clean line like reference */
  border-radius: 0;

  background: rgba(255, 200, 225, 0.22);   /* pink tint */
  box-shadow: none;

  text-align: center;
  font-family: 'VT323', monospace;
}


.stamps-strip {
  margin: 14px 0 18px;
  padding: 10px 12px;

  border-radius: 14px;
  border: 2px dashed #e6e6e6;
  background: rgba(255, 245, 250, 0.85);

  overflow: hidden;
}


.stamps-track {
  display: flex;
  gap: 12px;
  width: max-content;

  animation: stampsMove 22s linear infinite;
}

.stamps-track img {
  height: 31px;
  width: auto;

  image-rendering: pixelated;
  border-radius: 6px;
}

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

.handle{
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}

.handle-gif{
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
  display: inline-block;
  flex: 0 0 auto;
}

.status{
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.15;
  color: #fff;
  opacity: 0.95;
}

.updated{
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.15;
  color: #fff;
  opacity: 0.95;
}


.quote {
  color: #ff7bb8;
  font-size: 15px;
}

.pfp {
  display: block;
  width: 100%;
  max-width: none;             /* IMPORTANT */
  height: auto;

  margin: 0;                   /* flush */
  border: 0;                   /* remove old border */
  border-radius: 0;            /* square */

  border-bottom: 2px solid #e6e6e6;  /* clean line */
}

.panel.profile{
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;            /* keeps it clean */
}

/* the image wrapper becomes the "card" */
.profile-media{
  position: relative;
  width: 100%;
}

.profile-body {
  padding: 16px 18px;          /* text spacing returns */
}


.container {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 24px;
}

/* 3 straight segments like the reference */
.layout {
  display: flex;
  gap: 0;                     /* IMPORTANT: no gaps */
  align-items: flex-start;

  border-top: 1px solid #e6e6e6;  /* line under banner */
}


/* each segment gets padding, and vertical divider lines */
.sidebar {
  width: 230px;
  padding: 18px;
  border-right: 1px solid #e6e6e6; /* separator line */
}

.main {
  flex: 1;
  min-width: 0;
  padding: 18px;
  border-right: 1px solid #e6e6e6; /* separator line */
}

.rightbar {
  width: 200px;
  padding: 18px;
}


.sidebar{ border-right: 1px solid #ffd3e6; }
.main{ border-right: 1px solid #ffd3e6; }


.nowplaying {
  text-align: center;
}

.track-title {
  font-weight: 700;
  color: #c44b84;
  margin-top: 4px;
}

.track-artist {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.player {
  width: 100%;
  border-radius: 12px;
}

.profile h2 {
  text-align: center;
  margin-bottom: 10px;
}

.bio {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: #555;
}

.music-panel { text-align: center; }

.music-title {
  margin-top: 0;
}

.player-ui{
  background: rgba(255, 240, 248, 0.9);
  border: 1px dashed #ffb3d6;
  border-radius: 14px;
  padding: 14px;
}

.vol-row{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.vol-icon{
  font-size: 14px;
  color: #c44b84;
}

.vol{
  width: 65%;
  accent-color: #ff7bb8;
}

.vol-text{
  font-size: 12px;
  color: #888;
  min-width: 38px;
  text-align: right;
}

.np-line{
  margin-bottom: 10px;
}

.np-name{
  display:block;
  font-weight: 700;
  color: #c44b84;
}

.np-artist{
  display:block;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.controls{
  display:flex;
  justify-content:center;
  gap: 10px;
  margin: 10px 0;
}

.pbtn{
  width: 42px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #ffb3d6;
  background: linear-gradient(#fff, #ffe9f3);
  color: #c44b84;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(255, 180, 210, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.pbtn:hover{
  transform: translateY(-2px);
  background: linear-gradient(#ffd6e8, #ffbcd9);
  color: #fff;
}

.pbtn.play{
  width: 54px;
}

.seek{
  width: 100%;
  accent-color: #ff7bb8;
}

.time{
  display:flex;
  justify-content:space-between;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

.plist{
  margin-top: 12px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.track{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #ffd3e6;
  background: rgba(255,255,255,0.75);
  cursor:pointer;
}

.track:hover{
  background: rgba(255, 230, 241, 0.9);
}

.track.active{
  outline: 2px solid rgba(255, 123, 184, 0.35);
}

.track small{
  color:#888;
}

.play-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #ff7bb8;
}


.yt-audio {
  width: 100%;
  height: 60px;
  border-radius: 12px;
}


.link-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 14px;
  background: linear-gradient(#fff, #ffe9f3);
  border: 1px solid #ffb3d6;
  border-radius: 999px;

  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;

  color: #c44b84;
  text-decoration: none;

  box-shadow:
    inset 0 1px 0 #ffffff,
    0 2px 4px rgba(255, 180, 210, 0.35);

  transition: all 0.2s ease;
}

.link-buttons a::before {
  content: "";
  width: 14px;
  height: 14px;

  background-image: url("/bow.gif");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  flex-shrink: 0;
}

.link-buttons a:hover {
  background: linear-gradient(#ffd6e8, #ffbcd9);
  color: #ffffff;

  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 4px 8px rgba(255, 160, 200, 0.45);
}

.button-panel {
  background-image: url("/ipad.jpeg");
  background-repeat: repeat;
  background-size: 120px auto;

  padding: 18px;
}

.link-buttons {
  margin-top: 40px;
  margin-bottom: 40px;
}


.banner {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 190px;
  padding: 26px 28px;
  z-index: 1; /* lower than the image */

  margin: 0;                 /* important */
  border-radius: 30px 30px 0 0;  /* top rounded, bottom straight */
  border: 2px solid #e6e6e6;              /* remove its own border */
  border-bottom: 2px solid #e6e6e6; /* only bottom separator line */

background:
  linear-gradient(
    to left,
    rgba(255, 195, 225, 0.55) 0%,
    rgba(255, 195, 225, 0.35) 45%,
    rgba(255, 195, 225, 0.12) 75%,
    rgba(255, 255, 255, 0.0) 95%
  ),
  radial-gradient(#ffffff 1px, transparent 1px);

background-size: auto, 26px 26px;
background-color: rgba(255, 255, 255, 0.85);

}

.banner-text {
  padding-left: 90px;
  align-items: center;
  min-width: 0;
}

.banner-title {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px; /* space between text and bow */
  font-family: "Pixelify Sans", sans-serif;
  margin: 0;
  font-size: 52px;
  color: #ff7bb8;
  letter-spacing: 1px;
  animation: floaty 3s ease-in-out infinite;
}


/* little bow sticker attached to the title */
.banner-title::after {
  content: "";
  width: 42px;
  height: 42px;
  background-image: url("/swirl.gif");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* little bow sticker attached to the title */
.banner-title::before {
  content: "";
  width: 42px;
  height: 42px;
  background-image: url("/swirl.gif");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.title-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.title-text::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 60%;
  height: 180%;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );

  transform: translateX(-120%);
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  45% {
    transform: translateX(220%);
    opacity: 1;
  }
  55% {
    opacity: 0;
  }
  100% {
    transform: translateX(-120%);
    opacity: 0;
  }
}


.sparkles {
  margin-top: 15px;
  font-size: 20px;
  color: #ffb3d6;
  letter-spacing: 6px;
  opacity: 0.9;
  animation: floaty 3s ease-in-out infinite;
}


@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.banner-img {
  position: absolute;
  right: 14px;
  top: -42px;

  width: 220px;
  height: auto;

  z-index: 5; /* THIS is the key line */
  pointer-events: none;

  border-radius: 16px;
  opacity: 0.95;
  filter: drop-shadow(0 8px 14px rgba(255, 140, 190, 0.25));
}


.main {
  flex: 1;           /* main takes remaining space */
  min-width: 0;      /* prevents weird overflow */
}

img {
  max-width: 100%;
}
h1 {
  font-size: 32px;
  text-align: center;
  color: #ff8ac9;       /* soft pink for the main title */
  margin-top: 0;
  margin-bottom: 16px;
}

h2 {
  font-size: 20px;
  color: #ff7bb8;
  margin-top: 24px;
  margin-bottom: 8px;
}

p {
  line-height: 1.5;
  margin-bottom: 12px;
}

ol,
ul {
  margin-top: 0;
  padding-left: 24px;   /* indent the lists a bit */
}

.profile-info{
  position: absolute;
  left: 0;
  right: 0;

  /* lift it up so only a small strip shows */
  bottom: 2px;

  padding: 10px 12px 12px;

  background: rgba(255, 170, 215, 0.35);

  border-top: 1px solid rgba(255,255,255,0.45);

  color: #fff;
  font-family: 'VT323', monospace;
  text-shadow: 0 5px 0 rgba(0,0,0,0.25);
}

.pfp{
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.stamps-strip,
.player-ui,
.track{
  2px solid #e6e6e6;
  border-radius: 0 !important;
}

/* wrapper so we can overlay the status */
.pfp-wrap{
  position: relative;
}

.profile-info{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  margin: 0;
  padding: 12px 12px 14px;

  /* pink see-through bar (no blur) */
  background: rgba(255, 170, 210, 0.28);

  border-top: 1px solid rgba(255,255,255,0.35);

  text-align: left;
  color: #fff;
  font-family: 'VT323', monospace;
  letter-spacing: 0.2px;

  /* makes white text readable on busy pixels */
  text-shadow: 0 5px 0 rgba(0,0,0,0.25);
}

/* --- PROFILE IMAGE AREA WRAPPER (THIS IS THE KEY) --- */
.pfp-wrap{
  position: relative;
  width: 100%;
  border: 1px solid #d9d9d9;     /* light grey like reference */
  background: #fff;
  overflow: hidden;              /* keeps overlay edges clean */
}

/* image fills the box */
.pfp-wrap .pfp{
  display: block;
  width: 100%;
  height: auto;
  border: 0 !important;          /* kill old border */
  border-radius: 0 !important;   /* clean straight edges */
  margin: 0 !important;          /* kill old spacing */
}

/* --- THE GLASS OVERLAY --- */
.pfp-wrap .profile-info.glass{
  position: absolute;
  left: 0;
  right: 0;

  /* move it UP a little so more of the image shows */
  bottom: -1px;

  padding: 10px 12px 12px;

  /* pink glass (NO blur) */
  background: rgba(255, 233, 242, 0.8) !important;

  /* optional: makes it feel like “glass” without blur */


  color: #fff !important;
  font-family: 'VT323', monospace;
  text-shadow: 0 0 5px #808080;


  border-radius: 0 !important;
  margin: 0 !important;
}

/* make the text look like the reference */
.pfp-wrap .profile-info .handle{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 21px;
  font-weight: 700;
  color: #fff !important;
}

.pfp-wrap .profile-info .status{
  font-size: 19px;
  color: #fff !important;
  opacity: 0.95;
  margin-top: 2px;
}

.pfp-wrap .profile-info .updated{
  font-size: 15px;
  color: #fff !important;
  opacity: 0.85;
  margin-top: 6px;
}

/* tiny gif next to name */
.mini-gif{
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
  display: inline-block;
}



/* real glass blur when supported (your editor warning is okay) */
@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  .profile-info{
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}



@media (max-width: 900px){
  .layout{
    grid-template-columns: 1fr;
  }

  .sidebar,
  .main{
    border-right: 0;
    border-bottom: 2px solid #e6e6e6;
  }
}


@media (max-width: 700px) {
  .welcome-chibi.inline {
    float: none;
    display: block;
    margin: 0 auto 12px;
    width: 90px;
  }

  .welcome-text {
    text-align: center;
  }
}


