/* microblog page */

body {
  background: #fffcfe;
}

/* selection */

::selection {
  color: #ffc4d4;
}

/* page */

html {
  scroll-behavior: smooth;
}

.microblogpage {
  position: relative;

  width: 900px;
  margin: 70px auto 35px;

  font-family: "lovely";
  font-size: 10.5px;
  color: #8a7070;
}

/* window */

.microblogwindow {
  position: relative;

  display: flex;
  flex-direction: column;

  width: 100%;
  height: 750px;

  background: #fffafd;

  border: 8px solid;
  border-image: url("/img/laceborder.png") 8 fill round;

  box-sizing: border-box;
  overflow: hidden;

  box-shadow:
    0 8px 20px rgba(245, 213, 232, 0.22);
}

/* header */

.microblogheader {
  position: relative;
  flex: 0 0 auto;

  padding: 28px 30px 32px;

  text-align: center;

  background: linear-gradient(
    to bottom,
    #fffefe,
    #fffafd
  );

  border-bottom: 1px dashed #f0d3df;
}

/* lace trim */

.microblogheader::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -15px;

  height: 28px;

  background:
    url("/img/bar5.png")
    repeat-x center;

  background-size: auto 28px;

  filter: drop-shadow(0 1px #e7bfd0);

  pointer-events: none;
  z-index: 3;
}

.microblogtitle {
  font-family: "rainy hearts";
  font-size: 22px;
  font-weight: normal;

  color: #a48787;
}

.microblogsubtitle {
  margin-top: 13px;

  text-align: center;

  font-size: 9px;
  letter-spacing: 0.5px;

  color: #b8a4ac;
}

/* back */

.microblogback {
  position: absolute;
  top: 42px;
  left: 20px;

  display: flex;
  align-items: center;
  gap: 5px;

  color: #b59ca4;
  text-decoration: none;

  opacity: 0.82;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.microblogback img {
  display: block;

  width: 18px;
  height: auto;
}

.microblogback span {
  font-size: 10px;
  letter-spacing: 0.3px;
  color: #b59ca4;

  transition: color 0.35s ease;
}

.microblogback:hover {
  opacity: 1;
  transform: translateX(-2px);
}

.microblogback:hover span {
  color: #d28ca6;
}

/* window controls */

.microblogcontrols {
  position: absolute;
  top: 12px;
  right: 14px;

  display: flex;
  align-items: center;
  gap: 8px;
}

.microblogcontrols button {
  width: 13px;
  height: 13px;

  padding: 0;

  border: 0;
  background: transparent;

  font-family: "MS Gothic", sans-serif;
  font-size: 10px;
  line-height: 13px;
  color: #bba4ad;

  cursor: url("/img/key2.png"), pointer;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.microblogcontrols button:hover {
  color: #d28ca6;
  transform: translateY(-1px);
}

/* feed */

.microblogfeed {
  flex: 1;
  min-height: 0;

  padding: 38px 34px 30px;

  overflow-y: auto;
  overflow-x: hidden;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.microblogfeed.microblog-loading {
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
}

.microblogfeed.microblog-ready {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* loading */

.microblog-loading-message {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;

  transform: translate(-50%, -50%);

  font-size: 9px;
  letter-spacing: 0.4px;
  color: #c7b2ba;

  opacity: 1;

  transition: opacity 0.35s ease;
}

.microblog-loading-message.hidden {
  opacity: 0;
  pointer-events: none;
}

.microblogstatus {
  padding: 20px 0;

  font-size: 9px;
  letter-spacing: 0.4px;
  text-align: center;
  color: #c7b2ba;
}

/* day groups */

.microblogday {
  margin-bottom: 38px;
}

.microblogday:last-child {
  margin-bottom: 0;
}

.dayheading {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 0 0 28px;

  font-family: "rainy hearts";
  font-size: 13px;
  font-weight: normal;
  text-align: center;
  color: #b59ca4;
}

.dayheading::before,
.dayheading::after {
  content: "";

  flex: 1;

  height: 12px;

  background:
    url("/img/creamdivider.gif")
    repeat-x center;

  background-size: auto 12px;

 filter: saturate(.45) brightness(1.05);

}

/* complete message row */

.microblogpost {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  width: 100%;
  margin-bottom: 22px;

  box-sizing: border-box;
}

.microblogpost.left {
  justify-content: flex-start;
}

.microblogpost.right {
  justify-content: flex-end;
}

.microblogpost:last-child {
  margin-bottom: 0;
}

/* profile pictures */

.microblogavatar {
  display: block;
  flex: 0 0 60px;

  width: 60px;
  height: 60px;

  object-fit: cover;

  border: 2px solid #ffffff;
  outline: 1px solid #efd5df;
  border-radius: 14px;

  box-sizing: border-box;

  filter: saturate(0.8);

  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}

.microblogavatar:hover {
  filter: saturate(1);
  transform: translateY(-1px);
}

/* message content column */

.microblogcontent {
  display: flex;
  flex-direction: column;

  min-width: 0;
  max-width: 70%;
}

.microblogpost.left .microblogcontent {
  align-items: flex-start;
}

.microblogpost.right .microblogcontent {
  align-items: flex-end;
}

/* name and mood row */

.microblogmeta {
  display: flex;
  align-items: center;
  gap: 6px;

  min-height: 20px;
  margin-bottom: 5px;
}

.microblogpost.right .microblogmeta {
  justify-content: flex-end;
}

.microblogname {
  font-size: 10px;
  letter-spacing: 0.3px;
  color: #a48787;
}

.microblogmood {
  display: block;

  width: 20px;
  height: 20px;

  object-fit: contain;
}

/* message bubble */

.microblogmessage {
  position: relative;
  display: inline-block;

  min-width: 55px;
  max-width: 100%;

  padding: 13px 17px;

  background: #fffafd;

  border: 7px solid;
  border-image:
    url("/img/pinkborder4.gif")
    7 fill round;

  box-sizing: border-box;

  font-family: "verdana", sans-serif;
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: #a9a0a3;

  overflow-wrap: anywhere;
}

/* text */

.microblogmessage p {
  margin: 0;
}

.microblogmessage > * {
  position: relative;
  z-index: 1;
}

/* timestamps */

.microblogtime {
  margin-top: 5px;

  font-size: 8px;
  letter-spacing: 0.3px;
  color: #c0afb5;
}

.microblogpost.left .microblogtime {
  align-self: flex-end;
  margin-right: 2px;
}

.microblogpost.right .microblogtime {
  align-self: flex-start;
  margin-left: 2px;
}

/* inline post emotes */

.postemote {
  display: inline-block;

  width: 18px;
  height: 18px;

  margin: 0 2px;

  object-fit: contain;
  vertical-align: middle;
}

/* right side photo messages */

.microblogphotomessage {
  padding: 7px;
}

.postphoto {
  display: block;

  width: 170px;
  height: 170px;

  padding: 0;

  border: 0;
  background: transparent;

  cursor: url("/img/key2.png"), pointer;

  box-sizing: border-box;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.postphoto img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 8px;

  filter: saturate(0.7);

  transition:
    filter 0.35s ease,
    opacity 0.35s ease;
}

.postphoto:hover {
  transform: translateY(-2px) scale(1.01);
  filter:
    drop-shadow(
      0 3px 6px rgba(245, 213, 232, 0.35)
    );
}

.postphoto:hover img {
  filter: saturate(1);
  opacity: 0.94;
}

/* decorative input bar */

.microbloginputbar {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  gap: 9px;

  min-height: 66px;
  padding: 11px 16px;

  background: linear-gradient(
    to bottom,
    #fffefe,
    #fffafd
  );

  border-top: 1px dashed #f0d3df;

  box-sizing: border-box;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95);
}

/* message field */

.microblogfakeinput {
  position: relative;

  flex: 1;
  min-width: 0;
  min-height: 38px;

  display: flex;
  align-items: center;

  padding: 9px 14px;

  background: #ffffff;

  border: 1px solid #efd7e1;
  border-radius: 13px;

  box-sizing: border-box;

  font-size: 9px;
  letter-spacing: 0.4px;
  color: #c4b1b8;

  box-shadow:
    inset 0 1px 2px rgba(245,213,232,.10),
    0 1px 0 rgba(255,255,255,.95);

  overflow: hidden;

  transition:
    border-color .35s ease,
    box-shadow .35s ease;
}

/* back to top */

.microblogtotop {
  position: absolute;

  left: 16px;
  right: auto;
  bottom: 76px;

  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: linear-gradient(
    to bottom,
    #fffefe,
    #fff8fb
  );

  border: 1px solid #efd7e1;
  border-radius: 11px;

  box-sizing: border-box;

  cursor: url("/img/key2.png"), pointer;

  box-shadow:
    0 2px 6px rgba(245,213,232,.14);

  opacity: 0;
  visibility: hidden;

  transform:
    translateY(8px)
    scale(.9);

  transition:
    opacity .35s ease,
    transform .35s ease,
    box-shadow .35s ease;

  z-index: 5;
}

.microblogtotop img {
  width: 18px;
  height: 18px;

  display: block;

  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.microblogtotop.show {
  opacity: 1;
  visibility: visible;

  transform:
    translateY(0)
    scale(1);
}

.microblogtotop:hover {
  transform:
    translateY(-2px)
    scale(1.06);

  box-shadow:
    0 5px 10px rgba(245,213,232,.20);
}

.microblogtotop:active {
  transform:
    translateY(0)
    scale(.95);
}

/* icon buttons */

.microbloginputicon {
  flex: 0 0 30px;

  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  padding: 0;

  background: #ffffff;

  border: 1px solid #efd7e1;
  border-radius: 10px;

  box-sizing: border-box;

  font-family: "MS Gothic", sans-serif;
  font-size: 15px;
  line-height: 1;
  color: #b59ca4;

  cursor: url("/img/key2.png"), pointer;

  box-shadow:
    0 2px 5px rgba(245,213,232,.10);

  transition:
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    transform .35s ease,
    box-shadow .35s ease;
}

.microbloginputicon:hover {
  background: #fffefe;

  color: #d28ca6;

  border-color: #f4d7e3;

  transform:
    translateY(-1px)
    scale(1.03);

  box-shadow:
    0 4px 10px rgba(245,213,232,.16);
}

.microbloginputicon img {
  width: 18px;
  height: 18px;

  display: block;

  image-rendering: auto;

  pointer-events: none;
}

/* send button */

.microblogsend {
  flex: 0 0 auto;

  min-width: 48px;
  height: 31px;

  padding: 0 11px;

  background: linear-gradient(
    to bottom,
    #ffffff,
    #fffcfd
  );

  border: 1px solid #efd7e1;
  border-radius: 10px;

  box-sizing: border-box;

  font-family: "lovely";
  font-size: 9px;
  letter-spacing: .4px;
  color: #b7a2aa;

  cursor: url("/img/key2.png"), pointer;

  box-shadow:
    0 2px 5px rgba(245,213,232,.10);

  transition:
    background .35s ease,
    color .35s ease,
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.microblogsend:hover {
  background: #fffefe;

  color: #cf8aa3;

  border-color: #f4d7e3;

  transform:
    translateY(-1px)
    scale(1.02);

  box-shadow:
    0 4px 10px rgba(245,213,232,.16);
}

.microblogsend:active,
.microbloginputicon:active {
  transform: translateY(0) scale(.97);
}

/* microblog photo popup */

.microblogpopup {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 35px;

  background: rgba(255, 250, 253, 0.88);

  box-sizing: border-box;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.microblogpopup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.microblogpopupframe {
  max-width: 82vw;
  max-height: 82vh;

  padding: 10px;

  background: #ffffff;

  border: 10px solid;
  border-image:
    url("/img/laceborder.png")
    8 fill round;

  box-sizing: border-box;

  opacity: 0;
  transform: scale(0.96);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.microblogpopup.open .microblogpopupframe {
  opacity: 1;
  transform: scale(1);
}

.microblogpopupframe img {
  display: block;

  width: auto;
  height: auto;

  max-width: calc(82vw - 40px);
  max-height: calc(82vh - 40px);
}

/* angel cat */

.microblogangel {
  position: absolute;
  right: -220px;
  bottom: -40px;
  width: 500px;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  z-index: 2;
animation: angelSway 8s ease-in-out infinite;
  transform-origin: 65% 100%;
}

@keyframes angelSway {
  0%, 100% {
    transform: rotate(-0.8deg);
  }

  50% {
    transform: rotate(0.8deg);
  }
}

/* desktop heart shortcuts */

.desktopheart {
  position: absolute;
  top: 135px;
  left: calc(50% - 900px);

  width: 350px;
  height: 430px;

  z-index: 3;
}

.desktopicon {
  position: absolute;

  width: 78px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  color: #a98e97;
  text-align: center;
  text-decoration: none;

  transition:
    transform .45s ease,
    filter .45s ease,
    opacity .45s ease;
}

.desktopiconpicture {
  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.desktopiconpicture img {
  display: block;

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;

  filter: saturate(.72);

  transition:
    filter .45s ease,
    transform .45s ease;
}

.desktopiconname {
  max-width: 78px;

  font-family: "lovely";
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: .3px;

  color: #a98e97;

  text-shadow:
    1px 0 #fff,
    -1px 0 #fff,
    0 1px #fff,
    0 -1px #fff,
    1px 1px #fff,
    -1px -1px #fff;
}

.desktopicon:hover {
  transform:
    translateY(-2px)
    scale(1.035);
}

.desktopicon:hover .desktopiconpicture img {
  filter: saturate(.95);
  transform: scale(1.025);
}

/* individual image sizing */

.icon-kitty img {
  max-width: 52px;
  max-height: 58px;
}

.icon-miffy img {
  max-width: 58px;
  max-height: 58px;
}

.icon-cushion img {
  max-width: 58px;
  max-height: 58px;
}

.icon-bowl img {
  max-width: 62px;
  max-height: 52px;
}

.icon-jug img {
  max-width: 48px;
  max-height: 60px;
}

.icon-teapot img {
  max-width: 62px;
  max-height: 48px;
}

.icon-taiyaki img {
  max-width: 56px;
  max-height: 56px;

  transform: rotate(-8deg);
}

.icon-macaron img {
  max-width: 58px;
  max-height: 44px;

  transform: rotate(-6deg);
}

/* heart arrangement */

.desktopicon-1 {
  top: 0;
  left: 48px;
}

.desktopicon-2 {
  top: 0;
  right: 48px;
}

.desktopicon-3 {
  top: 80px;
  left: 0;
}

.desktopicon-4 {
  top: 80px;
  right: 0;
}

.desktopicon-5 {
  top: 168px;
  left: 48px;
}

.desktopicon-6 {
  top: 168px;
  right: 48px;
}

.desktopicon-7 {
  top: 22px;
  left: 140px;
}

.desktopicon-8 {
  top: 270px;
  left: 136px;
}

/* desktop photo popup */

.desktoppopup {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 35px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 20000;

  transition:
    opacity .4s ease,
    visibility .4s ease;
}

.desktoppopup:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.desktoppopupbackground {
  position: absolute;
  inset: 0;

  background: rgba(255,250,253,.88);
}

.desktoppopupwindow {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  max-width: 720px;
  max-height: 82vh;

  padding: 14px;

  background: #fffafd;

  border: 9px solid;
  border-image:
    url("/img/laceborder.png")
    8 fill round;

  box-sizing: border-box;

  opacity: 0;
  transform: scale(.97);

  transition:
    opacity .4s ease,
    transform .4s ease;
}

.desktoppopup:target .desktoppopupwindow {
  opacity: 1;
  transform: scale(1);
}

.desktoppopupimage {
  display: block;

  width: auto;
  height: auto;

  max-width: min(680px, 78vw);
  max-height: calc(82vh - 28px);

  margin: 0 auto;
}

/* desktop windows layer */

.desktopwidgets {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.desktopwidgets > * {
  pointer-events: auto;
}

.draggablewindow {
  position: absolute;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}

.draggablewindow,
.draggablewindow.dragging,
.draghandle,
.draghandle:active,
.miniwindowbar,
.miniwindowbar:active,
.stickynotebar,
.stickynotebar:active {
  cursor: url("/img/key2.png"), pointer;
}

/* shared mini windows */

.miniwindow {
  width: 245px;
  background: #fffafd;
  border: 6px solid;
  border-image: url("/img/laceborder.png") 8 fill round;
  box-shadow: 0 7px 18px rgba(245,213,232,.18);
  overflow: hidden;
}

.miniwindowbar {
  min-height: 31px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    #fffefe,
    #fffafd
  );
  border-bottom: 1px dashed #f0d3df;
  box-sizing: border-box;
  font-family: "rainy hearts";
  font-size: 12px;
  color: #a48787;
  user-select: none;
  -webkit-user-select: none;
}

.miniwindowcontrols {
  display: flex;
  align-items: center;
  gap: 6px;
}

.miniwindowcontrols button {
  width: 18px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;

  border: 0;
  background: transparent;

  font-family: "MS Gothic", sans-serif;
  font-size: 9px;
  line-height: 1;

  color: #b9a2aa;

  cursor: url("/img/key2.png"), pointer;

  transition:
    color .3s ease,
    transform .3s ease;
}

.miniwindowcontrols button:hover {
  color: #d18da6;
  transform: translateY(-1px);
}

/* photo viewer */

.photoviewer {
  top: 565px;
  left: calc(50% - 790px);
  width: 255px;
}

.photoviewerbody {
  padding: 11px;
  background: #ffffff;
  box-sizing: border-box;
}

.photoviewerframe {
  width: 100%;
  height: 185px;
  padding: 5px;
  background: #fffafd;
  border: 1px solid #efd7e1;
  border-radius: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.photoviewerframe img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  filter: saturate(.75);
  transition: opacity .25s ease, filter .35s ease;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.photoviewerframe img.changing {
  opacity: 0;
}

.photoviewerframe:hover img {
  filter: saturate(1);
}

.photoviewercaption {
  min-height: 16px;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: .3px;
  text-align: center;
  color: #b49fa7;
}

.photoviewercontrols {
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.photoviewercontrols button {
  width: 24px;
  height: 22px;
  padding: 0;
  border: 1px solid #efd7e1;
  border-radius: 8px;
  background: linear-gradient(to bottom, #ffffff, #fffbfd);
  font-family: "MS Gothic", sans-serif;
  font-size: 15px;
  line-height: 18px;
  color: #b59ca4;
  cursor: url("/img/key2.png"), pointer;
  box-shadow: 0 2px 5px rgba(245,213,232,.1);
  transition: color .3s ease, transform .35s ease, box-shadow .35s ease;
}

.photoviewercontrols button:hover {
  color: #d18da6;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 8px rgba(245,213,232,.16);
}

.viewerposition {
  min-width: 34px;
  font-size: 8px;
  letter-spacing: .4px;
  text-align: center;
  color: #bcaab1;
}

/* music player window */

.musicplayerwindow {
  top: 115px;
  right: calc(50% - 790px);
  width: 235px;
}

.musicplayer {
  padding: 14px;
  background: #ffffff;
  box-sizing: border-box;
  text-align: center;
}

.musicplayercover {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  object-fit: cover;
  border: 2px solid #ffffff;
  outline: 1px solid #efd7e1;
  border-radius: 13px;
  box-sizing: border-box;
  filter: saturate(.75);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: filter .4s ease, opacity .25s ease;
}

.musicplayercover:hover {
  filter: saturate(1);
}

.musicplayercover.changing {
  opacity: 0;
}

.musicplayerinfo {
  min-height: 31px;
  margin-top: 10px;
}

.musicplayertitle {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .3px;
  color: #a48787;
}

.musicplayerartist {
  margin-top: 2px;
  font-size: 8px;
  letter-spacing: .3px;
  color: #bfaeb4;
}

.musicplayerprogressrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
}

.musictime {
  flex: 0 0 27px;
  font-size: 7px;
  text-align: center;
  color: #bfaeb4;
}

.musicprogress,
.musicvolume {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: #f5e1e9;
  border: 1px solid #efd4df;
  border-radius: 999px;
  box-sizing: border-box;
  cursor: url("/img/key2.png"), pointer;
}

.musicprogress {
  flex: 1;
  min-width: 0;
}

.musicprogress::-webkit-slider-thumb,
.musicvolume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 1px solid #e9c8d6;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(245,213,232,.25);
}

.musicprogress::-moz-range-thumb,
.musicvolume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 1px solid #e9c8d6;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(245,213,232,.25);
}

.musicplayercontrols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 11px;
}

.musiccontrol {
  width: 28px;
  height: 27px;
  padding: 0;
  background: linear-gradient(to bottom, #ffffff, #fffbfd);
  border: 1px solid #efd7e1;
  border-radius: 9px;
  box-sizing: border-box;
  font-family: "MS Gothic", sans-serif;
  font-size: 8px;
  color: #b59ca4;
  cursor: url("/img/key2.png"), pointer;
  box-shadow: 0 2px 5px rgba(245,213,232,.1);
  transition: color .3s ease, border-color .3s ease, transform .35s ease, box-shadow .35s ease;
}

.musiccontrol:hover {
  color: #d18da6;
  border-color: #f2cfdd;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 8px rgba(245,213,232,.16);
}

.musiccontrol:active {
  transform: translateY(0) scale(.97);
}

.musicplay {
  width: 34px;
  height: 31px;
  font-size: 10px;
}

.musicplayervolume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 11px;
  color: #b8a2aa;
  font-size: 10px;
}

.musicvolume {
  width: 88px;
}

/* sticky note */

.stickynote {
  top: 420px;
  right: calc(50% - 835px);

  width: 220px;
  min-height: 185px;

  padding: 0;

  background: #fffafd;

  border: 6px solid;
  border-image:
    url("/img/laceborder.png")
    8 fill round;

  box-sizing: border-box;

  box-shadow:
    0 7px 18px rgba(245,213,232,.18);

  overflow: hidden;
}

.stickynotebar {
  min-height: 31px;
  padding: 0 9px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(
    to bottom,
    #fffefe,
    #fffafd
  );

  border-bottom: 1px dashed #f0d3df;

  box-sizing: border-box;

  font-family: "rainy hearts";
  font-size: 12px;
  color: #a48787;

  cursor: url("/img/key2.png"), move;
}

.stickynotebar button {
  width: 12px;
  height: 12px;

  padding: 0;

  border: 0;
  background: transparent;

  font-family: "MS Gothic", sans-serif;
  font-size: 10px;
  line-height: 12px;

  color: #b9a2aa;

  cursor: url("/img/key2.png"), pointer;

  transition:
    color .3s ease,
    transform .3s ease;
}

.stickynotebar button:hover {
  color: #d18da6;
  transform: translateY(-1px);
}

.stickynotetext {
  min-height: 145px;
  padding: 18px 16px;

  background: #ffffff;

  box-sizing: border-box;

  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .4px;
  color: #aa929a;
}

/* wishlist popup */

.wishlistwindow {
  position: relative;
  z-index: 1;

  width: 295px;

  padding: 22px 24px;

  background: #fffafd;

  border: 8px solid;
  border-image:
    url("/img/laceborder.png")
    8 fill round;

  box-sizing: border-box;

  opacity: 0;
  transform: scale(.97);

  transition:
    opacity .35s ease,
    transform .35s ease;
}

.desktoppopup:target .wishlistwindow {
  opacity: 1;
  transform: scale(1);
}

.wishlisttitle {
  margin-bottom: 16px;

  text-align: center;

  font-family: "rainy hearts";
  font-size: 18px;
  font-weight: normal;
  color: #a48787;
}

.wishlistdate {
  position: absolute;

  top: 20px;
  right: 22px;

  text-align: right;

  font-size: 7px;
  line-height: 1.5;
  letter-spacing: .4px;
  color: #c9b9bf;

  user-select: none;
}

.wishlistlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wishlistitem {
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .4px;
  color: #a48787;
}

/* cat pet window */

.petwindow {
  top: 390px;
  left: 260px;
  right: auto;
  width: 230px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform:
    translateY(7px)
    scale(.96);

  transition:
    opacity .4s ease,
    visibility .4s ease,
    transform .4s ease;
}

.petwindow.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform:
    translateY(0)
    scale(1);
}

.petwindowbody {
  padding: 14px;
  background: #ffffff;
  box-sizing: border-box;
}

.petdisplay {
  padding: 13px 10px;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #fffdfE
  );
  border: 1px solid #f0dce4;
  border-radius: 13px;
  box-sizing: border-box;
  text-align: center;
  box-shadow:
    inset 0 1px 3px rgba(245,213,232,.08);
}

.petimage {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  filter: saturate(.7);
  transition:
    transform .4s ease,
    filter .4s ease;
}

.petimage.petreact {
  transform:
    translateY(-3px)
    scale(1.06);
  filter: saturate(.9);
}

.petname {
  margin-top: 7px;
  font-family: "rainy hearts";
  font-size: 14px;
  color: #a48787;
}

.petmessage {
  min-height: 14px;
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: .3px;
  color: #bba8af;
  transition: opacity .25s ease;
}

.petstats {
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.petstatlabel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 8px;
  letter-spacing: .3px;
  color: #b6a4aa;
}

.petstatbar {
  width: 100%;
  height: 7px;
  padding: 1px;
  background: #fffefe;
  border: 1px solid #f2dfe7;
  border-radius: 999px;
  box-sizing: border-box;
  overflow: hidden;
}

.petstatfill {
  width: 70%;
  height: 100%;
  background: #f8eaf0;
  border-radius: 999px;
  transition: width .5s ease;
}

.petbuttons {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.petbuttons button {
  min-width: 52px;
  height: 29px;
  padding: 0 9px;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #fffdfE
  );
  border: 1px solid #efdce4;
  border-radius: 9px;
  box-sizing: border-box;
  font-family: "lovely";
  font-size: 9px;
  color: #ad9ca2;
  cursor: url("/img/key2.png"), pointer;
  box-shadow:
    0 2px 5px rgba(245,213,232,.08);
  transition:
    color .3s ease,
    border-color .3s ease,
    background .3s ease,
    transform .35s ease,
    box-shadow .35s ease;
}

.petbuttons button:hover {
  color: #c88fa3;
  background: #fffefe;
  border-color: #efd3de;
  transform:
    translateY(-1px)
    scale(1.025);
  box-shadow:
    0 4px 8px rgba(245,213,232,.14);
}

.petbuttons button:active {
  transform:
    translateY(0)
    scale(.97);
}

/* little reminders window */

.reminderwindow {
  top: 220px;
  left: 250px;
  right: auto;

  width: 245px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform:
    translateY(7px)
    scale(.96);

  transition:
    opacity .4s ease,
    visibility .4s ease,
    transform .4s ease;
}

.reminderwindow.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform:
    translateY(0)
    scale(1);
}

.reminderwindowbody {
  padding: 16px;

  background: #ffffff;

  box-sizing: border-box;

  text-align: center;
}

.reminderdisplay {
  min-height: 105px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px 18px;

  background: #ffffff;

  border: 8px solid;

  border-image:
    url("/img/pinkborder4.gif")
    8 fill round;

  box-sizing: border-box;
}

.remindertext {
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: .35px;

  color: #a48787;

  opacity: 1;

  transition:
    opacity .5s ease;
}

.remindertext.changing {
  opacity: 0;
}

.reminderbutton {
  display: block;

  width: 24px;
  height: 24px;

  margin: 10px auto 0;
  padding: 0;

  background: transparent;
  border: 0;

  font-family: "rainy hearts";
  font-size: 18px;
  line-height: 24px;

  color: #b9a2aa;

  cursor:
    url("/img/key2.png"),
    pointer;

  transition:
    color .35s ease,
    opacity .35s ease;
}

.reminderbutton:hover {
  color: #c4adb4;
  opacity: .75;
}

.reminderbutton:active {
  opacity: .45;
}

/* kaomojis window */

#kaomojiwindow {
    position: absolute;
    top: 90px;
    left: 210px;

    width: 480px;
    height: 480px;

    display: flex;
    flex-direction: column;

    overflow: hidden;
    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(8px) scale(0.985);

    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0s linear 0.22s;
}

#kaomojiwindow.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);

    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0s linear 0s;
}

#kaomojiwindow .miniwindowbar {
    flex: 0 0 auto;
}

.kaomojiwindowbody {
    flex: 1;
    min-height: 0;

    overflow: hidden;
    box-sizing: border-box;

    background: #ffffff;
}

#kaomoji-app {
    width: 100%;
    height: 100%;

    overflow-x: hidden;
    overflow-y: auto;

    box-sizing: border-box;
    padding: 0 18px 22px;

    background: #ffffff;

    scroll-behavior: smooth;
}

.kaomoji-nav {
    position: sticky;
    top: 0;
    z-index: 5;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin: 0 -18px 22px;
    padding: 14px 18px;

    background: #ffffff;
    border-bottom: 1px dashed #f0d3df;
}

.kaomoji-nav a {
    display: inline-block;

    padding: 3px 5px;

    color: #a48787;

    font-family: inherit;
    font-size: 11px;
    line-height: 1.2;
    text-decoration: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.kaomoji-nav a:hover {
    color: #b1959c;
    opacity: 1;
    text-decoration: none;
    transform: translateY(-1px);
}

.kaomoji-section {
    margin: 0 0 26px;
    scroll-margin-top: 62px;
}

.kaomoji-section:last-child {
    margin-bottom: 4px;
}

.kaomoji-title {
    margin: 0 0 12px;

    color: #a48787;

    font-family: inherit;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.2;
}

.kaomoji-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;

    width: 100%;
}

.kaomoji-card {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 44px;

    padding: 8px 6px;
    box-sizing: border-box;

    color: #8a7070;
    background: #ffffff;

    border: 1px solid #eddfe6;
    border-radius: 12px;

    font-family: inherit;
    font-size: 10.5px;
    line-height: 1.2;
    text-align: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.kaomoji-card:hover {
    color: #a48787;
    background: #fffcfe;
    border-color: #e8d7df;
    transform: translateY(-1px);
}

.kaomoji-card.copied {
    color: #a48787;
    background: #fffafd;
    border-color: #e4d2db;
}

@media (max-width: 600px) {
    #kaomojiwindow {
        width: 420px;
        height: 450px;
        left: 20px;
    }

    .kaomoji-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* dessert quiz window */

.dessertquizwindow {
  top: 180px;
  left: 510px;
  right: auto;

  width: 310px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform:
    translateY(7px)
    scale(.96);

  transition:
    opacity .4s ease,
    visibility .4s ease,
    transform .4s ease;
}

.dessertquizwindow.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform:
    translateY(0)
    scale(1);
}

.dessertquizbody {
  padding: 18px;

  background: #ffffff;

  box-sizing: border-box;
}

.dessertquizcontent {
  display: flex;
  flex-direction: column;
  align-items: center;

  opacity: 1;

  transition:
    opacity .4s ease;
}

.dessertquizcontent.fading {
  opacity: 0;
}

/* strawberry progress */

.dessertprogress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  margin: 2px 0 17px;
}

.dessertprogress img {
  display: block;

  width: 14px;
  height: 14px;

  object-fit: contain;

  opacity: .18;

  pointer-events: none;

  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;

  transition:
    opacity .45s ease,
    filter .45s ease;
}

.dessertprogress img.active {
  opacity: .85;
  filter: saturate(.8);
}

/* question */

.dessertquestion {
  width: 100%;

  margin-bottom: 14px;

  text-align: center;

  font-family: "rainy hearts";
  font-size: 16px;
  font-weight: normal;
  line-height: 1.45;

  color: #a48787;
}

/* answers */

.dessertanswers {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 5px;
}

.dessertanswer {
  position: relative;

  width: auto;
  max-width: 100%;

  padding: 6px 13px;

  background: transparent;
  border: 0;

  box-sizing: border-box;

  font-family: "lovely";
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .3px;

  color: #ad9ca2;

  cursor:
    url("/img/key2.png"),
    pointer;

  transition:
    color .3s ease,
    opacity .3s ease;
}

.dessertanswer::before {
  content: "♡";

  margin-right: 7px;

  color: #d5c5ca;
  opacity: .65;

  transition:
    color .3s ease,
    opacity .3s ease;
}

.dessertanswer:hover {
  color: #957c84;
}

.dessertanswer:hover::before {
  color: #bea7ae;
  opacity: 1;
}

.dessertanswer.selected {
  color: #957c84;
}

.dessertanswer.selected::before {
  content: "♥";

  color: #bea7ae;
  opacity: 1;
}

.dessertanswers.answering {
  pointer-events: none;
}

/* result */

.dessertresult {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.dessertresultimageframe {
  width: 205px;
  height: 145px;

  margin: 0 auto 13px;
  padding: 7px;

  border: 7px solid;

  border-image:
    url("/img/pinkborder4.gif")
    8 fill round;

  box-sizing: border-box;
}

.dessertresultimage {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  pointer-events: none;

  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;

  filter: saturate(.72);
}

.dessertresultname {
  margin-bottom: 5px;

  font-family: "rainy hearts";
  font-size: 19px;
  font-weight: normal;
  line-height: 1.3;

  color: #a48787;
}

.dessertresulttype {
  margin-bottom: 9px;

  font-size: 8px;
  letter-spacing: .7px;

  color: #c0adb3;
}

.dessertresultdescription {
  max-width: 225px;

  font-size: 9px;
  line-height: 1.8;
  letter-spacing: .25px;

  color: #aa969d;
}

.dessertrestart {
  margin-top: 11px;
  padding: 4px 8px;

  background: transparent;
  border: 0;

  font-family: "lovely";
  font-size: 9px;
  letter-spacing: .25px;

  color: #b9a2aa;

  cursor:
    url("/img/key2.png"),
    pointer;

  transition:
    color .35s ease,
    opacity .35s ease;
}

.dessertrestart:hover {
  color: #957f86;
  opacity: .75;
}

.dessertrestart:active {
  opacity: .45;
}

/* custom right-click menu */

#context_menu {
  position: absolute;
  display: none;
  z-index: 999;
  width: 70px;
  background: #fef8fc;
  border: 1px dotted #aaaaaa;
  font-size: 8px;
  letter-spacing: 1px;
}

#context_menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#context_menu li {
  padding: 4px;
  color: #787878;
  text-align: center;
  cursor: url("/img/key.png"), progress;
}

#context_menu li:hover {
  background: #fef8fc;
  color: #848484;
}

/* tooltip */

#s-m-t-tooltip {
  max-width: 105px;
  padding: 3px 5px;
  box-sizing: border-box;
  background: #fffafd;
  border-width: 6px;
  border-style: solid;
  border-image: url("/img/laceborder.png") 8 fill round;
  font-family: "basiic";
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  color: #9f7f87;
  pointer-events: none;
  z-index: 999999 !important;
  box-shadow: 0 0 8px rgba(245, 213, 232, 0.25);
}

#s-m-t-tooltip div {
  padding-left: 5px;
}