/* START CSS */

      /* Variables */
      :root {
        --pink: #ffc3d8;
        --white: #ffffff;

        --polka-bg-image: radial-gradient(
            rgb(255, 241, 244) 28.4%,
            transparent 28.4%
          ),
          radial-gradient(rgb(255, 241, 244) 28.4%, transparent 28.4%);
        --polka-bg-color: #ffe1ed;

        --text-color: #ff91bd;
        --box-bg-color: #ffe6f0ff;
        --box-border-color: #ffc3d8;
        --box-shadow-color: #fff8fc;
      }

      /* Body */
      body {
        background-color: var(--polka-bg-color);
        background-image: var(--polka-bg-image);
        background-size: 64px 64px;
        background-position: 0 0, 32px 32px;

        font-family: "Fredoka", sans-serif;
        font-weight: 500;
        font-size: 21px;
        padding: 25px 10px;
        text-align: center;
        color: var(--text-color);
      }

      /* Shared pink box */
      .pink-box {
        display: inline-block;
        vertical-align: top;
        position: relative;

        background-color: var(--box-bg-color);
        border: 6px solid var(--box-border-color);
        border-radius: 57px;
        padding: 20px;
        box-sizing: border-box;

        box-shadow: 0 0 0 10px var(--box-shadow-color);
        color: var(--text-color);
        text-align: center;

        margin-right: 20px;
      }

      /* Top box container */
      .top-box-container {
        text-align: center;
        margin-bottom: 30px;
      }

      /* Top box */
      .pink-box.top-box {
        width: 890px;
        margin: 0 auto 30px auto;
      }

      /* Main box */
      .pink-box.main-box {
        width: 690px;
        margin-left: 5px;
        text-align: left;
        padding: 60px 50px 60px 50px; /* top | right | bottom | left */
        box-sizing: border-box;
      }

      /* Small box */
      .pink-box.small-box {
        width: 160px;
        text-align: left;
      }

      /* Bow sticker */
      .pink-box .bow-sticker {
        position: absolute;
        top: -49px;
        left: -40px;
        width: 116px;
        pointer-events: none;
        transform: rotate(-15deg);
      }

      /* Post image */
      .pink-box img.post-img {
        width: 100%;
        height: auto;
        border-radius: 26px;
        display: block;
        margin: 0 auto;
      }

      /* Left column (small box only) */
      .left-column {
        display: inline-block;
        vertical-align: top;
        width: 215px;
        margin-right: 20px;
        text-align: center;
      }

      /* Prevent double spacing inside column */
      .left-column .pink-box {
        margin-right: 0;
        margin-bottom: 40px; /* add spacing between stacked boxes */
      }

      /* Small box items with hearts */
      .pink-box.small-box p {
        display: flex; /* heart + text side by side */
        align-items: center; /* vertically center heart */
        gap: 10px; /* space between heart and text */
        margin: 12px 0; /* spacing between each item */
        font-size: 20px;
      }

      .small-heart {
        height: 20px; /* slightly larger */
        width: auto; /* keep aspect ratio */
        display: inline-block;
      }

      /* Dark mode button */
      .dark-mode-btn {
        display: inline-flex; /* inline with content, allows flex alignment */
        align-items: center; /* vertically center icon + text */
        justify-content: center;
        gap: 8px; /* space between icon and text */
        width: 160px; /* same width as small pink box */
        height: auto; /* do not force stretch */
        padding: 10px 20px; /* smaller padding, keeps it short */
        background-color: var(--box-bg-color);
        border: 6px solid var(--box-border-color);
        border-radius: 40px;
        box-shadow: 0 0 0 10px var(--box-shadow-color);
        color: var(--text-color);
        font-family: "Fredoka", sans-serif;
        font-size: 19px;
        cursor: pointer;
        text-align: center;
        margin-bottom: 15px; /* spacing to first small pink box */
      }

      /* Heart icon next to links */
      .heart-icon {
        width: 20px;
        height: 20px;
        vertical-align: middle;
        margin-right: 6px;
      }

      /* Dark mode palette */
      .dark-mode {
        --polka-bg-color: #1a1a1a;
        --polka-bg-image: radial-gradient(
            rgba(255, 255, 255, 0.05) 28.4%,
            transparent 28.4%
          ),
          radial-gradient(rgba(255, 255, 255, 0.05) 28.4%, transparent 28.4%);
        --box-bg-color: #2c2c2c;
        --box-border-color: #727272;
        --box-shadow-color: #444;
        --text-color: #ffc3d8;
        --pink: #ffb6c1; /* adjust for contrast */
      }

      /* Update icon color in dark mode if needed */
      .dark-mode-btn i {
        color: var(--text-color);
      }

      /* Dark mode button hover — match content buttons */
      .dark-mode-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 0 8px var(--box-shadow-color);
      }

      .dark-mode-btn {
        transition: all 0.2s ease;
      }

      .top-box img.top-img {
        width: 20%;
        height: auto;
        border-radius: 26px;
        display: block;
        margin: 0 auto;
      }
      /* TOP pink box — animated polkadot background ONLY */
      .pink-box.top-box {
        /* white background */
        background-color: #ffffff;

        /* pink polkadots */
        background-image: radial-gradient(
            var(--box-bg-color) 28.4%,
            transparent 28.4%
          ),
          radial-gradient(var(--box-bg-color) 28.4%, transparent 28.4%);

        background-size: 64px 64px;
        background-position: 0 0, 32px 32px;

        animation: top-polka-scroll 18s linear infinite,
          top-polka-bounce 3s ease-in-out infinite;
      }

      /* move dots to the left forever */
      @keyframes top-polka-scroll {
        from {
          background-position: 0 0, 32px 32px;
        }
        to {
          background-position: -256px 0, -224px 32px;
        }
      }

      /* gentle up & down motion */
      @keyframes top-polka-bounce {
        0%,
        100% {
          background-position-y: 0, 32px;
        }
        50% {
          background-position-y: -8px, 24px;
        }
      }

      .dark-mode .pink-box.top-box {
        background-color: #1f1f1f;
        background-image: radial-gradient(
            rgba(255, 195, 216, 0.18) 28.4%,
            transparent 28.4%
          ),
          radial-gradient(rgba(255, 195, 216, 0.18) 28.4%, transparent 28.4%);
      }

      .dark-mode .profile-main-container {
        background-color: #1f1f1f;
        background-image: radial-gradient(
            rgba(255, 195, 216, 0.18) 28.4%,
            transparent 28.4%
          ),
          radial-gradient(rgba(255, 195, 216, 0.18) 28.4%, transparent 28.4%);
      }

      .left-column .pink-box.small-box {
        background-color: #ffffff;
        background-image: radial-gradient(
            var(--box-bg-color) 28.4%,
            transparent 28.4%
          ),
          radial-gradient(var(--box-bg-color) 28.4%, transparent 28.4%);
        background-size: 64px 64px;
        background-position: 0 0, 32px 32px;
        animation: small-polka-scroll 18s linear infinite,
          small-polka-bounce 3s ease-in-out infinite;
      }

      .dark-mode .left-column .pink-box.small-box {
        background-color: #1f1f1f;
        background-image: radial-gradient(
            rgba(255, 195, 216, 0.18) 28.4%,
            transparent 28.4%
          ),
          radial-gradient(rgba(255, 195, 216, 0.18) 28.4%, transparent 28.4%);
      }

      @keyframes small-polka-scroll {
        from {
          background-position: 0 0, 32px 32px;
        }
        to {
          background-position: -256px 0, -224px 32px;
        }
      }

      @keyframes small-polka-bounce {
        0%,
        100% {
          background-position-y: 0, 32px;
        }
        50% {
          background-position-y: -8px, 24px;
        }
      }

      /* Content area */
      .content-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
      }

      /* Content image */
      .content-img {
        max-width: 60%;
        border-radius: 20px;
      }

      /* Content text */
      .content-text {
        border: 8px dashed var(--box-border-color); /* thick dashed border in text color */
        border-radius: 50px; /* rounded corners */
        padding: 30px; /* space between text and border */
        overflow-y: auto; /* scroll if text overflows */
        max-height: 250px; /* optional: limit height for scrolling */
        box-sizing: border-box; /* include padding in width */
        text-align: left;
        font-size: 20px;
        line-height: 1.4;
        max-width: 90%;
        color: var(--text-color);
        margin-top: -46px; /* Reduce space above */
        margin-bottom: 20px; /* Keep some space below */
      }

      /* Buttons container */
      .content-buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
      }

      /* Individual buttons */
      .content-buttons button {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 150px;
        height: 60px;
        padding: 5px 10px;
        font-family: "Fredoka", sans-serif;
        font-size: 16px;
        color: var(--text-color);
        background-color: var(--box-bg-color);
        border: 4px solid var(--box-border-color);
        border-radius: 30px;
        cursor: pointer;
        box-shadow: 0 0 0 6px var(--box-shadow-color);
        transition: all 0.2s ease;
      }

      /* Hover effect */
      .content-buttons button:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 0 8px var(--box-shadow-color);
      }

      /* Font Awesome icons inside buttons */
      .content-buttons button i {
        font-size: 18px;
      }

      .content-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
      }

      /* Make headers closer to content */
      .content-text,
      .content-section h2 {
        margin-top: 0px; /* or 0px if you want it very tight */
        margin-bottom: 10px; /* space before the list */
      }
      /* Headers inside content sections */
      .content-section h2 {
        font-size: 28px; /* bigger than normal text */
        font-weight: bold;
        margin-top: 0px;
        margin-bottom: 10px;
        text-align: center; /* optional */
      }

      /* Custom bullet style for all unordered lists inside content sections */
      .content-section ul {
        list-style: none; /* remove default bullets */
        padding-left: 50px; /* indent for bullets */
      }

      .content-section ul li::before {
        content: "●"; /* your custom bullet */
        color: var(--text-color); /* match text color */
        display: inline-block;
        width: 1em; /* space for bullet */
        margin-left: -1em; /* align bullet with text */
      }

      /* Move content in main pink box up a bit */
      .pink-box.main-box .content-area {
        margin-top: -20px; /* smaller than the current 30px */
      }

      /* Optional: also reduce gaps between sections inside */
      .pink-box.main-box .content-section {
        gap: 15px; /* smaller than default 20px */
      }

      a {
        color: #fc62a0;
        text-decoration: none;
        background-image: radial-gradient(
          currentColor 2.5px,
          transparent 2.6px
        );
        background-size: 10px 6px;
        background-repeat: repeat-x;
        background-position: 0 100%;
        padding-bottom: 6px;
      }

      a:hover {
        animation: dot-wiggle 0.2s ease-in-out infinite alternate;
      }

      @keyframes dot-wiggle {
        from {
          background-position-y: 100%;
        }
        to {
          background-position-y: 85%;
        }
      }

      .dark-mode a {
        color: #ff9fc9;
      }

      /* Reset ordered lists like unordered lists */
      ol {
        list-style: none; /* remove default numbering */
        padding-left: 10px; /* same indent as ul */
        counter-reset: ol-counter; /* start numbering */
      }

      ol li {
        counter-increment: ol-counter; /* increment number */
        position: relative; /* needed for ::before positioning */
      }

      /* Add custom numbers */
      ol li::before {
        content: counter(ol-counter) "."; /* show number + dot */
        color: var(--text-color);
        display: inline-block;
        width: 1.2em; /* space for the number */
        margin-left: -1.2em; /* align numbers like bullets */
      }

      /* ===== PROFILE TEMPLATE STYLES (SCALED DOWN 70%) ===== */
      .profile-container {
        font-family: "Fredoka", sans-serif;
        color: #ff91bd;
        letter-spacing: 1px;
        font-size: 16px;
      }

      .profile-main-container {
        background-color: #ffffff;
        background-image: radial-gradient(
            var(--box-bg-color) 28.4%,
            transparent 28.4%
          ),
          radial-gradient(var(--box-bg-color) 28.4%, transparent 28.4%);
        background-size: 48px 48px;
        background-position: 0 0, 24px 24px;
        animation: profile-polka-scroll 18s linear infinite,
          profile-polka-bounce 3s ease-in-out infinite;
        border: 6px solid #ffc3d8;
        border-radius: 40px;
        padding: 18px 11px;
      }

      @keyframes profile-polka-scroll {
        from {
          background-position: 0 0, 24px 24px;
        }
        to {
          background-position: -192px 0, -168px 24px;
        }
      }

      @keyframes profile-polka-bounce {
        0%,
        100% {
          background-position-y: 0, 24px;
        }
        50% {
          background-position-y: -6px, 18px;
        }
      }

      .profile-card {
        background: #ffe6f0ff;
        border-radius: 30px;
        padding: 6px;
        margin-bottom: 11px;
      }

      .profile-card-inner {
        background: #fff;
        border: dashed 2px #ff93b9;
        border-radius: 30px;
        padding: 11px;
      }

      .profile-quote-section {
        text-align: center;
        font-size: 14px;
        padding: 6px;
      }

      .profile-quote-icon {
        font-size: 21px;
        color: #ffc3d8;
        display: inline-block;
        padding: 0 6px;
      }

      .profile-quote-icon.left {
        transform: rotate(30deg);
      }

      .profile-quote-icon.right {
        transform: rotate(30deg);
      }

      .profile-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -6px;
      }

      .profile-col-12 {
        width: 100%;
        padding: 0 6px;
      }

      .profile-col-6 {
        width: 50%;
        padding: 0 6px;
      }

      .profile-heading-badge {
        display: inline-block;
        font-size: 16px;
        color: #fff;
        background: #ff91bd;
        border: solid 3px #ffc3d8;
        border-radius: 18px;
        padding: 3px 8px;
        z-index: 900;
      }

      .profile-image {
        width: 100%;
        height: 189px;
        background: url(https://file.garden/Z48EmHj5okOfzdFf/Doll%20%E2%99%A1%20site%20stuff/tumblr_30709486576b19569710752c5b3ed45e_534e2c66_2048.png);
        background-position: center;
        background-size: cover;
        border-radius: 12px;
        margin-top: -14px;
      }

      .profile-info-row {
        display: flex;
        justify-content: space-between;
        background: #fff;
        border-radius: 18px;
        padding: 6px 11px;
        margin: 6px 11px;
        align-items: center;
        font-size: 13px;
      }

      .profile-info-row .profile-text-light-pink {
        font-size: 13px;
      }

      .profile-text-light-pink {
        color: #ff8cb8;
      }

      .profile-tab-navigation {
        display: flex;
        justify-content: space-around;
        margin-top: -21px;
        margin-bottom: 14px;
        flex-wrap: wrap;
        gap: 6px;
      }

      .profile-tab-btn {
        color: #fff;
        background: #ff91bd;
        border: solid 3px #ffc3d8;
        border-radius: 13px;
        padding: 4px 7px;
        cursor: pointer;
        text-decoration: none;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        transition: opacity 0.3s;
        font-size: 13px;
        min-width: 42px;
        font-family: "Fredoka", sans-serif;
      }

      .profile-tab-btn i {
        font-size: 16px;
      }

      .profile-tab-btn:hover {
        opacity: 0.8;
      }

      .profile-tab-btn.active {
        opacity: 1;
        box-shadow: 0 0 7px rgba(255, 145, 189, 0.5);
      }

      .profile-tab-content {
        display: none;
        height: 210px;
        overflow-y: auto;
        padding-top: 11px;
      }

      .profile-tab-content.active {
        display: block;
      }

      .profile-content-box {
        background: #fff;
        border-radius: 20px;
        padding: 11px;
        margin: 6px 11px;
      }

      .profile-heart-icon {
        font-size: 35px;
        color: #ff8cb8;
        transform: rotate(-10deg);
        margin-bottom: -25px;
        display: block;
        padding-left: 8px;
      }

      .profile-content-box ul {
        margin: 0;
        padding-left: 14px;
      }

      .profile-content-box li {
        margin-bottom: 6px;
      }

      .profile-social-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        border-radius: 20px;
        padding: 8px 11px;
        margin: 6px 11px;
        text-decoration: none;
        color: #ff91bd;
        transition: transform 0.2s;
      }

      .profile-social-link:hover {
        transform: translateX(4px);
        background: #ffe6f0ff;
      }

      .profile-social-icon {
        font-size: 17px;
        margin-right: 8px;
      }

      .profile-warning-box {
        background: #fff;
        border-radius: 20px;
        padding: 11px;
        margin: 6px 11px;
        border-left: 3px solid #ffc3d8;
      }

      .profile-warning-box ul {
        margin-left: 13px;
        margin-top: 4px;
      }

      .profile-warning-box li {
        margin-bottom: 3px;
      }

      .profile-fandom-tag {
        display: inline-block;
        background: #fff;
        color: #ff91bd;
        padding: 4px 8px;
        margin: 3px;
        border-radius: 11px;
        border: 1px solid #ffc3d8;
      }

      .profile-credit-section {
        font-size: 10px;
        text-align: right;
        padding: 11px;
      }

      .profile-tab-content::-webkit-scrollbar {
        width: 6px;
      }

      .profile-tab-content::-webkit-scrollbar-track {
        background: #ffe6f0ff;
        border-radius: 7px;
      }

      .profile-tab-content::-webkit-scrollbar-thumb {
        background: #ffc3d8;
        border-radius: 7px;
      }

      .profile-tab-content::-webkit-scrollbar-thumb:hover {
        background: #ff91bd;
      }

      /* DARK MODE STYLES FOR PROFILE TEMPLATE */
      .dark-mode .profile-container {
        color: #ffc3d8;
      }

      .dark-mode .profile-main-container {
        border-color: #727272;
      }

      .dark-mode .profile-card {
        background: #1a1a1a;
      }

      .dark-mode .profile-card-inner {
        background: #1a1a1a !important;
        border-color: #727272 !important;
      }

      .dark-mode .profile-heading-badge {
        background: #ff91bd;
        border-color: #727272;
        color: #fff;
      }

      .dark-mode .profile-info-row {
        background: #3a3a3a;
      }

      .dark-mode .profile-tab-btn {
        background: #ff91bd;
        border-color: #727272;
        color: #fff;
      }

      .dark-mode .profile-tab-btn.active {
        box-shadow: 0 0 7px rgba(255, 195, 216, 0.5);
      }

      .dark-mode .profile-content-box {
        background: #3a3a3a;
      }

      .dark-mode .profile-heart-icon {
        color: #ffc3d8;
      }

      .dark-mode .profile-social-link {
        background: #3a3a3a;
        color: #ffc3d8;
      }

      .dark-mode .profile-social-link:hover {
        background: #4a4a4a;
      }

      .dark-mode .profile-warning-box {
        background: #3a3a3a;
        border-left-color: #727272;
      }

      .dark-mode .profile-fandom-tag {
        background: #3a3a3a;
        color: #ffc3d8;
        border-color: #727272;
      }

      .dark-mode .profile-credit-section a {
        color: #ffc3d8;
      }

      .dark-mode .profile-tab-content::-webkit-scrollbar-track {
        background: #2c2c2c;
      }

      .dark-mode .profile-tab-content::-webkit-scrollbar-thumb {
        background: #727272;
      }

      .dark-mode .profile-tab-content::-webkit-scrollbar-thumb:hover {
        background: #ffc3d8;
      }

      ul {
  list-style: none;
  padding-left: 10px;
}

ul li::before {
  content: "✿";
  color: var(--text-color);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* ===============================
   MOBILE / RESPONSIVE SCALING
   Instead of reflowing the layout on small
   screens, the entire desktop layout is kept
   fully intact and simply "zoomed out" to fit
   the viewport — same spacing, same everything,
   just smaller. Pure CSS, no JS required.
   =============================== */

#site-scale-wrapper {
  width: 1000px; /* fixed "desktop" design width, never reflows */
  margin: 0 auto;
  zoom: min(1, calc(100vw / 1000px));
}

.profile-tab-content .dashed-divider {
  border-top: 3px dashed var(--box-border-color);
  width: 100%;
  margin: 12px 0;
  box-sizing: border-box;
}

/* ===============================
   GALLERIES PAGE STYLES
   =============================== */

/* Search box */
.pink-box.search-box {
  width: 690px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
  text-align: center;
  padding: 30px 50px;
  box-sizing: border-box;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.search-input {
  flex: 1;
  padding: 14px 24px;
  border-radius: 50px;
  border: none;
  background-color: var(--white);
  font-family: "Fredoka", sans-serif;
  font-size: 19px;
  color: var(--text-color);
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease;
}

.search-input::placeholder {
  color: #ffb3d1;
}

.search-input:focus {
  box-shadow: 0 0 0 4px rgba(255, 195, 216, 0.3);
}

.search-btn,
.back-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background-color: var(--box-bg-color);
  border: 4px solid var(--box-border-color);
  color: var(--text-color);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-btn:hover,
.back-btn:hover {
  transform: scale(1.1);
}

.dark-mode .search-input {
  color: #680032;
  background-color: var(--white);
}

.dark-mode .search-input::placeholder {
  color: #888888;
}

/* Main content area wrapper (search box + main box) */
.main-content-area {
  display: inline-block;
  vertical-align: top;
  width: 690px;
}

/* Gallery grid/cards */
.gallery-container {
  width: 100%;
}

.gallery-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 30px;
}

.gallery-item {
  flex: 0 0 auto;
  width: 190px;
  background-color: var(--box-bg-color);
  border: 6px solid var(--box-border-color);
  border-radius: 30px;
  padding: 0;
  box-shadow: 0 0 0 8px var(--box-shadow-color);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.gallery-image-container {
  width: 130px;
  height: 130px;
  overflow: hidden;
  border-radius: 20px;
  margin: 15px auto 0 auto;
}

.gallery-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-divider {
  width: 100%;
  border: 0;
  border-top: 4px dashed var(--box-border-color);
  margin: 10px 0;
}

.gallery-item > .gallery-divider:last-child {
  margin-bottom: 15px;
}

.gallery-text {
  width: calc(100% - 30px);
  text-align: center;
  font-size: 19px;
  color: var(--text-color);
  padding: 5px 0;
  margin: 0 15px;
}

.gallery-item-hidden {
  display: none !important;
}

.no-results-message {
  text-align: center;
  padding: 40px 20px;
  font-size: 18px;
  color: var(--text-color);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 182, 213, 0.55);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.dark-mode #lightbox {
  background: rgba(20, 14, 18, 0.8);
}

#lightbox > div {
  position: relative;
  display: inline-block;
}

#lightbox-img {
  display: block;
  max-width: 85vw;
  max-height: 85vh;
  border-radius: 26px;
  border: 6px solid var(--box-border-color);
  box-shadow: 0 0 0 10px var(--box-shadow-color);
}

#lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 38px;
  height: 38px;
  background-color: var(--box-bg-color);
  border: 4px solid var(--box-border-color);
  border-radius: 50%;
  color: var(--text-color);
  font-weight: bold;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 0 6px var(--box-shadow-color);
  transition: all 0.2s ease;
}

#lightbox-close:hover {
  transform: scale(1.1);
}

/* Gallery folder grid (used inside profile-main-container on galleries page) */
.profile-folders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 5px;
  padding: 15px;
}

.profile-folders-grid a {
  background-image: none;
  padding-bottom: 0;
}

.profile-folders-grid a:hover {
  animation: none;
}

.profile-folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 25px 15px;
  border: 2px dashed #ff93b9;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 100px;
  background: transparent;
}

.profile-folder:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(255, 147, 185, 0.3);
  border-color: #ff91bd;
}

.profile-folder span {
  font-size: 14px;
  color: #ff91bd;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-folder img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
}

.dark-mode .profile-folder {
  border-color: #727272;
}

.dark-mode .profile-folder:hover {
  box-shadow: 0 4px 8px rgba(114, 114, 114, 0.3);
  border-color: #ffc3d8;
}

.dark-mode .profile-folder span,
.dark-mode .profile-folder span i {
  color: #ffc3d8;
}

/* Gallery link pills — styled like post page user-tags */
.gallery-link-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  justify-content: center;
}

.gallery-link-pills a {
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: dashed 2px #f07db3;
  background: rgba(255, 182, 213, 0.35);
  color: #f07db3;
  white-space: nowrap;
  text-decoration: none;
  background-image: none;
  padding-bottom: 4px;
}

.gallery-link-pills a:hover {
  animation: none;
  color: #f1026a;
}

.dark-mode .gallery-link-pills a {
  border: dashed 2px #ff9fc9;
  background: rgba(255, 170, 205, 0.18);
  color: #ff9fc9;
  border-color: rgba(255, 160, 200, 0.35);
  background-image: none;
}

.dark-mode .gallery-link-pills a:hover {
  color: #ffd6e8;
}