/* body */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

body {
  background-image: url(/media/backgrounds/pinkcheck.png) ! important;
  background-size: 40px ! important;
  font-family: pc-9800;
}

*,
html {
  scroll-behavior: smooth !important;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    display: block;
}

#loader-wrapper.active {
    opacity: 1;
    pointer-events: auto;
}

#loader-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: fade-out 0.50s ease-in-out forwards;
}

::view-transition-new(root) {
  animation: fade-in 0.50s ease-in-out forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

::selection {
  text-shadow: 0 0 2px #edaecb;
  color: #edaecb
}

::-moz-selection {
  text-shadow: 0 0 2px #edaecb;
  color: #edaecb
}

@font-face {
  src: url(/fonts/pc-9800.ttf);
  font-family: 'pc-9800';
}

* {
  cursor: url(https://cur.cursors-4u.net/cursors/cur-8/cur762.cur), auto !important;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
  -webkit-border-radius: 0ex;
}

/* fonts */

@font-face {
  src: url(/fonts/Spirit.woff2);
  font-family: 'spirits';
}

@font-face {
  src: url(/fonts/pc-9800.woff2);
  font-family: 'pc-9800';
}

@font-face {
  src: url(/fonts/dingbats.woff2);
  font-family: 'puf';
}

@font-face {
  src: url(/fonts/JF-Dot.woff2);
  font-family: 'jdot';
}

@font-face {
  src: url(/fonts/BonusHearts.woff2);
  font-family: 'heart';
  font-display: swap;
}

/* links */

a:link {
  color: white;
  background-color: transparent;
  text-decoration: none;
  transition: .1s
}

a:visited {
  color: white;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: white;
  background-color: transparent;
  text-decoration: dotted underline;
  font-style: italic;
}

a:active {
  color: white;
  background-color: transparent;
  text-decoration: none;
}

/* zoom effect */

.zoom {
  transition: transform .2s;
}

.zoom:hover {
  -ms-transform: scale(1.15);
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

.tiny-dash {
  text-decoration: none;
  background-image: repeating-linear-gradient(to right,
      #cbb,
      #cbb 2px,
      transparent 2px,
      transparent 4px);
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: repeat-x;
  padding-bottom: 2px;
}

/* tooltip */

#s-m-t-tooltip {
  max-width: 280px;
  border-radius: 0px;
  margin: 10px;
  background-color: white;
  border: 7px solid;
  border-image: url(/media/borders/pink.png) 5 fill round;
  border-image-outset: 2px;
  outline: 1px dashed #e1b3c7;
  outline-offset: -6px;
  border-radius: 4px;
  font-family: tahoma;
  font-size: 7px;
  letter-spacing: 2px;
  color: #848484;
  position: relative;
  z-index: 100000 !important;
  pointer-events: none;
  padding: 5px;
  text-align: center;
}

/* context menu */

* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

#context_menu {
  background: #FEF8FC;
  border: 1px dotted #AAAAAA;
  letter-spacing: 1px;
  width: 70px;
  font-family: Verdana;
  font-size: 8px;
  position: absolute;
  display: none;
  z-index: 100000;
}

#context_menu ul li {
  padding: 4px;
  cursor: url('/media/cursor/hand.png'), pointer;
  z-index: 100000;

}

#context_menu ul li:hover {
  background: #FEF8FC;
  color: #848484;
  z-index: 100000;

}

/* my emojis */

.emoji {
  margin-top: 5px;
  height: 12px;
  width: auto;
  overflow-clip-margin: content-box;
  overflow: clip;
}

/* pngs */

.flower {
  height: 135px;
  width: auto;
  position: absolute;
  top: 255px;
  right: 300px;
  z-index: 1000;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 0.5px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
  transform: rotate(-5deg);
}

.chiikawa {
  height: 68px;
  width: auto;
  position: absolute;
  top: 365px;
  left: 520px;
  z-index: 1000;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 0.5px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
}

.chii {
  height: 75px;
  width: auto;
  position: absolute;
  top: 60px;
  right: 60px;
  z-index: 1000;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 0.5px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
  transform: rotate(5deg);
}

.pin {
  height: 35px;
  width: auto;
  position: absolute;
  top: 15px;
  left: 284px;
  z-index: 1000;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 0.5px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
}

.melo-wrap {
  position: absolute;
  top: 435px;
  left: -100px;
  width: 170px;
  height: auto;
  z-index: 10;
}

.melo-wrap::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: radial-gradient(ellipse,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.18) 40%,
      rgba(0, 0, 0, 0) 80%);
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}

.png {
  width: 170px;
  display: block;
  transition: .4s;
}

.png:hover {
  transform: rotate(-8deg);
}

/* book covers */

#cover {
  width: 55px;
  float: left;
  margin-right: 8px;
  margin-bottom: 0px;
}

/* bubble */

#bubble {
  width: 200px;
  height: 130px;
  background: url('/media/graphics/bubble.png') 0px 0px / cover no-repeat;
  background-size: 60%;
  position: absolute;
  top: 45px;
  left: -200px;
  background-position: center center;
  filter: drop-shadow(2px 2px #a3736790);
  align-content: center;
  justify-content: center;
  z-index: 1000;
  transition: .4s;
}

#bubble p {
  color: #8d7c76;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 0.5px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
  font-size: 15px;
  margin: auto;
  font-family: 'spirits';
  z-index: 1000;
}

#bubble:hover {
  transform: rotate(-8deg)
}

/* stars for reviews */

#star {
  font-size: 15px;
  font-family: puf;
  margin-bottom: 5px;
}

/* journal */

.pattern {
  background: url('/media/graphics/hearts.png') 0px 0px / 20px;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  mix-blend-mode: soft-light;
}

#lacey {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background-image: url(/media/borders/lacinho.png);
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 100%;
  z-index: 1;
  pointer-events: none;
}

#lacey p {
  color: #8d7c76;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 0.5px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
  font-size: 18px;
  margin: 5px;
  font-family: 'spirits';
  z-index: 1000;
}

#todolist {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  width: 275px;
  height: 155px;
  border-image: url(/media/borders/brown.png) 8 fill round;
  border-width: 10px;
  border-style: solid;
  border-radius: 15px;
  outline: 1px dashed brown;
  outline-offset: -10px;
  text-align: left;
  margin-bottom: 20px;
  padding-top: 20px;
  z-index: 3;
}

#todotitle {
  color: white;
  font-size: 18px;
  margin: auto;
  font-family: 'spirits';
  text-align: center;
  margin-bottom: 10px;
}

#todoscroll {
  position: absolute;
  left: 15px;
  right: 15px;
  top: 35px;
  height: 125px;
  overflow-y: auto;
}

#todoscroll p {
  border-bottom: 1px dashed #FFB0C9;
  padding-bottom: 3px;
  margin-top: 11px;
  margin-bottom: 5px;
  font-family: verdana, sans-serif;
  font-size: 10px;
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff, 0 0;
  color: #786760;
}

#todoscroll p:before {
  content: url(/media/graphics/pin-bows.png);
  margin-right: 8px;
}

#todoscroll span {
  filter: blur(3px);
  user-select: none;
  pointer-events: none;
}

.bg-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.bg-image-wrap {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 85%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.bg-text {
  position: absolute;
  top: 13%;
  left: 55%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #8d7c76;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  z-index: 3;
  width: 120%;
  max-width: 500px;
  display: inline-block;
}

@keyframes jumpSoft {
  0% {
    transform: translate(-50%, 0);
  }

  20% {
    transform: translate(-50%, -6px);
  }

  40% {
    transform: translate(-50%, 0);
  }

  60% {
    transform: translate(-50%, -3px);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

.out-journal {
  width: 700px;
  margin: 0 auto;
  margin-top: 80px;
  position: relative;
}

.journal::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 20px;
  transform: translateX(-50%);
  background: linear-gradient(to right,
      #00000015 0%,
      #00000010 25%,
      #ffffff40 50%,
      #00000010 75%,
      #00000020 100%);
}

.journal {
  width: 700px;
  margin: 0 auto;
  background: url('/media/backgrounds/patterned.png');
  border-radius: 10px;
  padding: 41px 21px 21px 21px;
  box-shadow: -5px -5px 4px inset #00000033, 3px 3px 3px inset #ffffff55;
  position: relative;
}

.page-wrap,
.background,
.journal {
  position: relative;
}

#typed-text {
  white-space: pre-wrap;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.dialogue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* row holding bubble + avatar */

.dialogue-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-items: center;
}

/* speech bubble */

.dialogue-text {
  position: relative;
  flex: 1;
  color: black;
  padding: 10px 18px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.4;
  margin-right: 10px;
  border-radius: 10px;
  background: radial-gradient(white, #FFEEF5);
  border: 3px solid #FFF;
  box-shadow:
    0px 0px 3px inset #fff,
    0px 0px 3px inset #fff,
    0px 0px 3px inset #fff,
    0px 0px 3px inset #FFDAE8,
    0px 1px 3px #00000055,
    0 0 4px rgba(255, 255, 255, 0.6),
    0 0 8px rgba(255, 255, 255, 0.35);
  height: 35px;
}

/* tail shadow */

.dialogue-text::before {
  content: "";
  position: absolute;
  right: -16px;
  top: 16px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 16px solid #00000033;
}

/* tail front */

.dialogue-text::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 16px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid #ffffff;
}

/* avatar */

.dialogue-avatar {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 2px 3px #00000033;
  flex-shrink: 0;
  margin-left: 10px;
}

.dialogue-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* image below bubble */

.dialogue-image {
  width: 100%;
  display: block;
  margin-top: 8px;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 0.5px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
}

.bubble-image {
  width: 60%;
  display: block;
  margin-top: 8px;
  margin-bottom: 25px;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 0.5px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(0px 0px 1px #fbfaf8) drop-shadow(1px 1px 0px #0000002d);
}

/* for the charms */

.circle {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 10;
  pointer-events: none;
}

.circle2 {
  position: absolute;
  top: 0px;
  left: 3px;
  z-index: 10;
  pointer-events: none;
}

/* charms */

.pianochan {
  width: 164px;
  height: 299px;
  position: absolute;
  top: 20px;
  right: -90px;
  z-index: 30;
  transition: .4s;
}

.pianochan:hover {
  transform: rotate(1deg)
}

.keychain {
  width: 79;
  height: 315px;
  position: absolute;
  top: 20px;
  left: -55px;
  z-index: 30;
  transition: .4s;
  transform: rotate(4deg)
}

/* left tab */

.tab {
  height: 5px;
  width: 100px;
  background: url('/media/backgrounds/patterned.png');
  border-radius: 20% 20% 0px 0px;
  box-shadow: 5px 5px 4px inset #00000033, -3px 3px 3px inset #ffffff55;
  height: 90px;
  position: absolute;
  top: 345px;
  left: -48px;
  transform: rotate(-90deg);
  overflow: hidden;
  transition: .4s;
}

.tab:hover {
  top: 345px;
  left: -60px;
  transform: rotate(-90deg);
}

.tab p {
  font-family: spirit;
  font-size: 17px;
  padding: 10px;
  letter-spacing: 1px;
  text-shadow: -1px 0 #8d7c76, 0 1px #8d7c76, 1px 0 #8d7c76, 0 -1px #8d7c76, 0 0;
  color: white;
  font-weight: 600;
  top: 5px;
  left: 12px;
  transform: rotate(0deg);
  position: relative;
  z-index: 9999;
}

/* buttons */

.but {
  width: 65px;
  background: url('/media/backgrounds/patterned.png');
  border-radius: 40% 40% 0px 0px;
  box-shadow: 5px 5px 4px inset #00000033, -3px 3px 3px inset #ffffff55;
  height: 90px;
  position: absolute;
  top: 355px;
  right: -78px;
  transform: rotate(90deg);
  overflow: hidden;
  transition: .4s;
}

.but p {
  font-family: spirit;
  font-size: 17px;
  padding: 10px;
  letter-spacing: 1px;
  text-shadow: -1px 0 #8d7c76, 0 1px #8d7c76, 1px 0 #8d7c76, 0 -1px #8d7c76, 0 0;
  color: white;
  font-weight: 600;
  top: 33px;
  transform: rotate(-90deg);
  position: relative;
  z-index: 9999;
}

.but:hover {
  top: 340px;
  right: -92px;
  width: 65px;
  height: 120px;
}

.but2 {
  width: 65px;
  background: url('/media/backgrounds/patterned.png');
  border-radius: 40% 40% 0px 0px;
  box-shadow: 5px 5px 4px inset #00000033, -3px 3px 3px inset #ffffff55;
  height: 90px;
  position: absolute;
  top: 435px;
  right: -78px;
  transform: rotate(90deg);
  overflow: hidden;
  transition: .4s;
}

.but2:hover {
  top: 420px;
  right: -92px;
  width: 65px;
  height: 120px;
}

.but2 p {
  font-family: spirit;
  font-size: 17px;
  padding: 10px;
  letter-spacing: 1px;
  text-shadow: -1px 0 #8d7c76, 0 1px #8d7c76, 1px 0 #8d7c76, 0 -1px #8d7c76, 0 0;
  color: white;
  font-weight: 600;
  top: 33px;
  transform: rotate(-90deg);
  position: relative;
  z-index: 9999;
}


/* INSIDE the journal */

.text-area {
  position: absolute;
  top: 0px;
  left: 58px;
  z-index: 40;
}

.text-area h2 {
  font-family: 'spirits';
  display: inline;
  font-size: 45px;
  font-weight: 600;
  color: white;
  text-shadow: -1px 0 #8d7c76, 0 1px #8d7c76, 1px 0 #8d7c76, 0 -1px #8d7c76, 0 0;
}

.background {
  width: ;
  display: flex;
  margin: 0 auto;
  justify-content: center;
  position: relative;
}

.background>div {
  width: 48%;
  background: url('/media/backgrounds/paperplain.png');
  height: 500px;
  position: relative;
  border: 3px solid white;
  box-shadow: 0px 0px 4px inset #00000055, 0px 0px 2px #00000022;
  border-image-source: url('/media/borders/babado.png');
  border-image-outset: 5px;
  border-image-slice: 20;
  border-image-width: 6px;
  border-image-repeat: round;
  position: relative;
}

/* spirals in the middle */

.spirals {
  height: 480px;
  width: 24px;
  position: absolute;
  top: 10px;
  right: -19px;
  background: url('/media/graphics/spirals.png') 0px 0px / cover;
  image-rendering: pixelated;
  z-index: 1000;
}

.spirals-bg {
  height: 480px;
  width: 20px;
  position: absolute;
  top: 10px;
  right: -20px;
  background: url('/media/backgrounds/paperplain.png') 0px 0px / cover;
}

/* zhixi */

.bg {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bubble-title {
  position: absolute;
  top: 74.2%;
  left: 12%;
  font-family: spirits;
  font-size: 15px;
  color: black;
}

.bubble-text {
  position: absolute;
  top: 80%;
  left: 12%;
  width: 80%;
  font-family: pc-9800;
  font-size: 12px;
  color: black;
  line-height: 1.3;
}

.spirit {
  font-family: spirits;
  font-size: 12px;
}

.hearts {
  font-family: heart;
}

.credits {
  position: absolute;
  top: 2%;
  width: 80%;
  font-family: pc-9800;
  font-size: 10px;
  color: black;
  line-height: 1.3;
  z-index: 1000;
  left: 15px;
}

.credits a {
  font-family: pc-9800;
  font-size: 10px;
  color: black;
  line-height: 1.3;
  z-index: 10000;
}

.bg2 {
  width: 100%;
  height: 100%;
  background: url('/media/graphics/zhixis.png') no-repeat;
  position: absolute;
}

/* journal logs */

.log {
  width: 90%;
  height: 480px;
  margin: 0 auto;
  position: relative;
  margin-top: 15px;
  overflow-y: scroll;
}

.log::-webkit-scrollbar {
  display: none;
}

.log>div {
  width: auto;
  background: url('/media/graphics/dots.png') 0px 0px / 10px;
  margin: 10px;
  margin-bottom: 20px;
  padding: 5px;
  border-radius: 10px;
  background: radial-gradient(white, #FFEEF5);
  border: 3px solid #FFF;
  box-shadow: 0px 0px 3px inset #fff, 0px 0px 3px inset #fff, 0px 0px 3px inset #fff, 0px 0px 3px inset #FFDAE8, 0px 1px 3px #00000055;
  position: relative;
  overflow: hidden;
}

.pics {
  width: 90%;
  height: 480px;
  margin: 0 auto;
  position: relative;
  margin-top: 15px;
  overflow-y: scroll;
}

.pics::-webkit-scrollbar {
  display: none;
}

.pics>div {
  width: auto;
  background: none;
  margin: 10px;
  margin-bottom: 20px;
  padding: 5px;
  border-radius: 10px;
  position: relative;
  overflow: visible;
}

.pics>div.log-alt {
  background: none;
}

.log>div.log-alt {
  background: radial-gradient(white, #f0f9ef);
}


#collage .pics {
  width: 100%;
  height: 480px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

#tip {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 13px;
  border-color: transparent transparent transparent var(--tt);
  position: relative;
  margin-top: 9px;
  margin-left: -1px;
}

.date {
  background: none;
  border-bottom: 1px dashed #FFB0C9;
  padding: 4px;
  width: 95%;
}

.log-date {
  font-family: jdot;
  color: #6c5147;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  display: inline;
}

.mood {
  color: #6c5147;
  font-family: spirits;
  font-size: 14px;
}

.log-yaps {
  font-family: verdana, sans-serif;
  font-size: 10px;
  padding: 8px;
  color: #786760;
  line-height: 15px;
  margin-right: 5px;
}

.log-yaps p:first-child {
  margin-top: 5px;
}

.log-yaps p:before {
  content: url(/media/graphics/bows.png);
  margin-right: 8px;
}

.log-yaps a {
  font-family: spirits;
  color: hotpink;
}

/* side bows */

.bows {
  position: absolute;
  width: 11px;
  min-height: 9000px;
  background: url('/media/graphics/bows.png') 0px 0px / contain;
  top: 0px;
  right: 0px;
  mix-blend-mode: multiply;
  opacity: .4;
}

/* spinning heart */

.date img {
  margin-left: 5px;
  margin-right: 2px;
  height: 14px;
  margin-bottom: -1px;
}

/* footer */

.bottom-area,
.footer {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-family: arial;
  font-size: 12px;
  font-weight: 600;
  color: #8d7c76;
}

.bottom-area a,
.footer a {
  color: #FF91BD;
  text-shadow: none;
}

.footer {
  width: 700px;
  margin: 0 auto;
  text-align: center;
  font-family: arial;
  font-weight: 600;
  font-size: 13px;
  padding: 10px;
}

hr {
  width: 90%;
  border: none;
  border-bottom: 1px dashed #f791ba;
  margin: 15px;
}

.inline-image {
  float: left;
  margin-right: 10px;
  width: 40px;
  height: auto;
}

.blur-text {
  filter: blur(2px);
  transition: filter 0.2s ease;
  user-select: none;
}

.blur-text:hover {
  filter: blur(0);
  user-select: text;
}

/* =========================================================
   MASONRY GRID (BIGGER IMAGES + MORE SPACING)
   ========================================================= */

.masonry-grid {
  column-count: 2;
  column-gap: 14px;
}

@media (max-width: 1000px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* =========================================================
   MASONRY SCROLL CONTAINER
   ========================================================= */

.bg-mansory {
  width: 95%;
  margin: 15px auto 0;
  position: relative;
  padding-bottom: 40px;
}

#collage .bg-mansory {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 14px;
  overflow-y: auto;
  padding-bottom: 48px;
}

/* =========================================================
   STICKER IMAGE CONTAINERS
   ========================================================= */

.img-container {
  position: relative;
  overflow: visible;
  border-radius: 0;
  cursor: pointer;
}

.img-container img {
  width: 100%;
  display: block;
  border-radius: 0;
  transition: transform 0.25s ease;
  box-shadow:
    0 0 0 3px #ffffff,
    0 3px 6px rgba(0, 0, 0, 0.28);
}

.masonry-grid .img-container {
  margin-bottom: 16px;
  break-inside: avoid;
}

#collage .img-container {
  margin-bottom: 16px;
}

.img-container:hover img {
  transform: translateY(-3px) rotate(-0.4deg);
}

.img-container:hover .event-bubble {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  font-weight: 500;
}

.img-container {
  position: relative;
  overflow: visible;
}

.event-bubble {
  position: absolute;
  bottom: -4px;
  left: 4px;
  background: #f6dae8;
  color: #616161;
  padding: 4px 8px;
  border-radius: 8px;
  font-family: nunito;
  font-size: 10.5px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 20;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.22),
    0 0 0 1.5px #ffffff;
}

.img-container:hover .event-bubble {
  opacity: 1;
  transform: translateY(0);
}

.img-container img {
  position: relative;
  z-index: 1;
}

/* =========================================================
   IMAGE POPUP (LIGHTBOX)
   ========================================================= */

#image-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

#image-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 14px;
  width: min-content; 
  min-width: 200px;
  max-width: 90vw; 
  max-height: 85vh;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box; 
  overflow: visible !important;
}

#popup-img {
  width: auto;
  height: auto;
  max-width: 80vw;
  max-height: 60vh;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

#popup-caption {
  margin-top: 10px;
  font-family: nunito;
  font-size: 14px;
  color: #676767;
  text-align: center;
  width: 100%; 
  display: block;
  overflow-wrap: break-word; 
}

.popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial Rounded MT Bold', 'Helvetica', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  cursor: url('/media/cursor/hand.png'), pointer;
  color: #8d7c76;
  z-index: 100;
  transition: all 0.2s ease-in-out;
  user-select: none;
}

.popup-close:hover {
  transform: scale(1.1);
  color: #edaecb;
}

@keyframes journalFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
  animation: journalFadeIn 0.5s ease forwards;
}