@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

@font-face {
  src: url(/fonts/Spirit.woff2);
  font-family: 'spirits';
  font-display: swap;
}

@font-face {
  src: url(/fonts/angel.woff2);
  font-family: 'angel';
  font-display: swap;
}

:root {
  --pink1: #ffd3d5;
  --yellow1: #ffecd3;
  --green1: #d9eeba;
  --blue1: #c3dfee;
  --pink2: #ffe1e2;
  --yellow2: #fff2e1;
  --green2: #dff1c4;
  --blue2: #cde4f1;
  --brown: #9c7e73;
  --offwhite: #fefdfb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  cursor: url(/media/cursor/cursorhover.png), progress;
}

* {
  cursor: url(/media/cursor/cursorhover.png), progress !important;
}

body {
  background-image: url(/media/backgrounds/bedding.jpg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  font-family: 'angel';
  font-size: 12px;
  color: #8d7c76;
  min-height: 100vh;
  margin: 0;
  display: block;
  position: relative;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html {
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
  color: #545454;
  transition: .1s
}

a:link {
  color: #8d7c76;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: #8d7c76;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #edaecb;
  background-color: transparent;
  text-decoration: dotted underline;
  font-style: italic;
}

a:active {
  color: #8d7c76;
  background-color: transparent;
  text-decoration: underline;
}

h3 {
  margin-bottom: 6px;
}

::selection {
  background-color: #feeef6;
  color: #616161;
}

:root {
  --mac-white: #ffffff;
  --mac-border: #dcdcdc;
}

mark {
  background-color: #ffe9f2;
  color: #8d7c76;
  padding: 0 4px;
  border-radius: 10px;
}

#lace {
  background-image: url(https://file.garden/aS-t0Aj4K3mdDujK/kkul/graphics/lacey.png);
  background-size: auto 100%;
  width: 100%;
  height: 20px;
  filter: drop-shadow(0px 1px #D1B9B3);
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
}

#lace-bottom {
  background-image: url(https://file.garden/aS-t0Aj4K3mdDujK/kkul/graphics/lacey.png);
  background-size: auto 100%;
  width: 100%;
  height: 20px;
  filter: drop-shadow(0px 1px #D1B9B3);
  position: fixed;
  bottom: 0px;
  left: 0px;
  transform: rotate(180deg);
  z-index: 9999;
}

.curtain-left,
.curtain-right {
  position: fixed;
  top: -10px;
  height: 100vh;
  width: auto;
  z-index: 99999;
  pointer-events: none;
  filter: drop-shadow(2px 0px 6px rgba(0, 0, 0, 0.15));
}

.curtain-left {
  left: 0;
  background-image: url(https://kkul.store/media/graphics/pngs/curtain.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: left top;
  width: 200px;
  transform-origin: top center;
  animation: curtain-sway-left 4s ease-in-out infinite alternate;
}

.curtain-right {
  right: -40px;
  background-image: url(https://kkul.store/media/graphics/pngs/curtain.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right top;
  width: 300px;
  transform-origin: top center;
  animation: curtain-sway-right 4s ease-in-out infinite alternate;
}

@keyframes curtain-sway-left {
  0% {
    transform: scaleX(-1) rotate(0deg);
  }
  100% {
    transform: scaleX(-1) rotate(-1.5deg);
  }
}

@keyframes curtain-sway-right {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(1.5deg);
  }
}

.frame-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65vw;
  max-width: 1000px;
  height: 800px;
  max-height: 700px;
  border: 30px solid;
  border-image: url('/media/borders/renda-bg.png') 20 repeat;
  border-image-outset: 0px;
  z-index: 1;
}

.frame-content-bg {
  width: 100%;
  height: 100%;
  background-image: url(/media/backgrounds/pinkcheck.png) !important;
  background-size: 40px !important;
  overflow: hidden;
  border: 2px solid white;
}

.frame-content-inner {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  gap: 15px;
  padding: 15px;
  box-sizing: border-box;
}

.frame-content-inner::-webkit-scrollbar {
  display: none;
}

.frame-box-left {
  flex: 1;
  background: white;
  border-radius: 15px;
  padding: 15px;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 7px solid;
  border-image: url(/media/borders/brown-clouds.png) 5 fill round;
  border-image-outset: 2px;
  border-radius: 8px;
  outline: 1px dashed #a38b84;
  outline-offset: -8px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.frame-box-left::-webkit-scrollbar {
  display: none;
}

.frame-box-right {
  flex: 5.2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: white;
  border: 7px solid;
  border-image: url(/media/borders/brown-clouds.png) 5 fill round;
  border-image-outset: 2px;
  border-radius: 8px;
  outline: 1px dashed #a38b84;
  outline-offset: -8px;
  position: relative;
}

.chat-bottom-lace {
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
    width: 99.5%;
    height: 20px;
    background-image: url(/media/borders/lacey.png);
    background-repeat: repeat-x;
    background-position: top center;
    background-size: auto 100%;
    filter: drop-shadow(0px 1px #D1B9B3);
    pointer-events: none;
    z-index: 1;
    transform: scaleY(-1);
}

.chat-header {
  flex-shrink: 0;
  text-align: center;
  font-family: 'angel';
  font-size: 12px;
  color: #8d7c76;
  padding: 10px;
  border-bottom: 1px solid #f2c6d8;
  background: #fff4f9;
  letter-spacing: 0.3px;
  box-shadow: inset 4px 4px 0px rgba(255, 255, 255, 0.8), inset -4px -4px 4px rgba(215, 127, 171, 0.15);
}

.chat-header-dot {
  margin: 0 5px;
  opacity: 0.6;
}

.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-messages::-webkit-scrollbar {
  display: none;
}

.chat-entry {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px;
}

.chat-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #f0b5cd;
}

.chat-group {
  display: flex;
  flex-direction: column;
  max-width: 75%;
  align-items: flex-start;
}

.chat-name {
  font-family: 'spirits';
  font-size: 13px;
  color: #8d7c76;
  margin-bottom: 2px;
  margin-left: 4px;
}

.chat-bubble {
  background: #fffcfd;
  border: 1px solid #f2c6d8;
  border-radius: 0 12px 12px 12px;
  padding: 8px;
  font-family: 'angel';
  font-size: 14px;
  color: #8d7c76;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), inset 4px 4px 0px rgba(255, 255, 255, 0.8), inset -4px -4px 4px rgba(215, 127, 171, 0.15);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 5px;
}

.chat-bubble .chat-image {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  object-fit: cover;
}

.updates-fallback {
  text-align: center;
  font-family: 'angel';
  font-size: 11px;
  color: #a8907a;
  padding: 20px;
}

.frame-box-right::-webkit-scrollbar {
  display: none;
}

.pfp {
  width: 130px;
  height: 130px;
  margin-bottom: 9px;
  filter: drop-shadow(rgba(0, 0, 0, 0.3) 1px 2px 2px);
}

.status {
  white-space: nowrap;
}

.status-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  gap: 8px;
  margin-top: 10px;
}

.status-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.status-title {
  display: flex;         
  align-items: center;   
  font-family: 'spirits';
  font-size: 14px;
  color: #8d7c76;
  line-height: 1.2;
}

.status-title::before {
  content: "";
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  margin-bottom: 3px;
  background: url(/media/graphics/bows2.png) center / contain no-repeat;
}

.status-divider {
  width: 100%;
  height: 6px;
  margin: 2px 0 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3' fill='none' stroke='%23f0b5cd' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 20px 6px;
}

.status-content {
  font-family: 'angel';
  font-size: 12px;
  color: #8d7c76;
  line-height: 1.3;
}

/* ===================== SISTEMA DE REPLIES ===================== */

.chat-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.chat-timestamp {
  font-family: 'angel';
  font-size: 11px;
  color: #b8a89d;
  margin-top: 5px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.reply-toggle-btn {
  background: none;
  border: none;
  font-family: 'angel';
  font-size: 11px;
  color: #b8a89d;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  text-decoration: underline dotted;
  transition: color .15s;
}

.reply-toggle-btn:hover {
  color: #edaecb;
}

.replies-container {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 2px dashed #f0c6d8;
}

.replies-container.open {
  display: flex;
}

.reply-entry {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.reply-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #f0b5cd;
  background: #ffe1e2;
}

.reply-group {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.reply-name {
  font-family: 'spirits';
  font-size: 11px;
  color: #a8907a;
  margin-left: 4px;
}

.reply-bubble {
  background: #fffcfd;
  border: 1px solid #f2d3e0;
  border-radius: 0 10px 10px 10px;
  padding: 6px 10px;
  font-family: 'angel';
  font-size: 12px;
  color: #8d7c76;
  line-height: 1.4;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 3px, rgba(255, 255, 255, 0.8) 4px 4px 0px inset, rgba(215, 127, 171, 0.15) -4px -4px 4px inset;
  margin: 5px;
}

.reply-delete-btn {
  background: none;
  border: none;
  font-family: 'angel';
  font-size: 10px;
  color: #d18ba0;
  padding: 0;
  margin-left: 6px;
  margin-bottom: 2px;
  text-decoration: underline dotted;
}

.reply-delete-btn:hover {
  color: #b85f7d;
}

.reply-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  margin-left: 4px;
}

.reply-timestamp {
  font-family: 'angel';
  font-size: 10px;
  color: #b8a89d;
}

.reply-form {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  align-items: flex-start;
}

.reply-form textarea {
  flex: 2;
  resize: none;
  border: 1px solid #f2c6d8;
  border-radius: 8px;
  padding: 6px;
  font-family: 'angel';
  font-size: 11px;
  color: #8d7c76;
  min-height: 30px;
  outline: none;
  background: #fffdfe;
}

.reply-form textarea:focus {
  border-color: #edaecb;
}

.reply-submit-btn,
.reply-login-btn {
  background: #fce0ec;
  border: 1px solid #f0b5cd;
  border-radius: 8px;
  padding: 6px 10px;
  font-family: 'angel';
  font-size: 10px;
  color: #8d5f6d;
  white-space: nowrap;
  transition: background .15s;
}

.reply-submit-btn:hover,
.reply-login-btn:hover {
  background: #f4c8db;
}

.reply-login-prompt {
  font-family: 'angel';
  font-size: 10px;
  color: #a8907a;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-badge {
  font-family: 'angel';
  font-size: 10px;
  background: #fce0ec;
  color: #8d7c76;
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: 4px;
}

.auth-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px 12px;
    box-shadow: rgba(255, 255, 255, 0.8) 4px 4px 0px inset, rgba(215, 127, 171, 0.15) -4px -4px 4px inset;
    border-top: 1px solid rgb(242, 198, 216);
    background: rgb(255, 244, 249);
  font-family: 'angel';
  font-size: 10px;
  color: #a8907a;
}

.auth-bar img {
  display: none;
}

.auth-bar button {
  background: #fce0ec;
  border: 1px solid #f0b5cd;
  border-radius: 6px;
  padding: 3px 5px;
  font-family: 'angel';
  font-size: 9px;
  color: #8d7c76;
  cursor: pointer;
}

.auth-bar button:hover {
  background: #f4c8db;
}