@charset "UTF-8";

body {
  font-size: 17px;
  font-family: ms pgothic, sans-serif;
  overflow-y: auto;
  color: #4e1818;
  word-break: break-word;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

#header1 {
  font-family: 'script';
  font-size: 25px;
  font-weight: 100;
  color: #514246;
  text-shadow: -1px 0 #ffffff, 0 1px #ffffff, 1px 0 #ffffff, 0 -1px #ffffff;
  animation: title-float 6s ease-in-out infinite;
  position: relative;
  margin-top: 10px;
  z-index: 9999;
}

@keyframes title-float {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-6px); }
}

.top-lace {
  width: 100%;
  height: 100%;
  background-image: url("https://reij.neocities.org/topcrosslace.png");
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 65px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  filter: grayscale(66%) sepia(6%) brightness(127%) saturate(88%) contrast(100%);
}

/* STAGE LAYOUT: Portrait Rectangle + Centered Character / Bubble */
.stage-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 25px;
  position: relative;
}

/* Portrait Rectangle with lace border */
.pink {
  min-height: 350px;
  box-sizing: border-box;
  background-color: #fff9fc;
  background-image: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.45) 0, rgba(255, 255, 255, 0.45) 2px, transparent 2px, transparent 6px);
  margin: 0;
  top: 0;
  width: fit-content;
  height: fit-content;
  border: 7px solid transparent;
  border-image: url("https://reij.neocities.org/navborderlocal.gif?v=1") 7 fill round;
  border-radius: 10px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(157, 113, 137, 0.12);
  display: flex;
  flex-direction: column;
}

/* Character & Bubble Wrapper */
.character-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.snug {
  background-image: url("https://file.garden/alaxz70QKxdgUlCE/snug.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  width: 320px;
  height: 360px;
  position: relative;
  left: 0;
  margin: 0 auto;
}

/* Speech Bubble */
.speech-bubble {
  pointer-events: auto;
  width: 175px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background-color: #fff2f9;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.45) 0, rgba(255, 255, 255, 0.45) 2px, transparent 2px, transparent 6px);
  border: 1.5px solid #dcaec7;
  border-radius: 40px;
  box-shadow:
    inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.9),
    inset -1.5px -1.5px 0 rgba(0, 0, 0, 0.04),
    0 4px 10px rgba(157, 113, 137, 0.16);
  position: relative;
  text-align: center;
  font-family: hannari, serif;
  font-size: 13px;
  color: #6a5761;
  top: 90px;
}

.speech-bubble p {
  margin: 3px 0;
}

.speech-bubble:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  filter: drop-shadow(1px 0px 0 #dcaec7) drop-shadow(0px 1px 0 #dcaec7);
  border: 12px solid transparent;
  border-top-color: #fff2f9;
  border-bottom: 0;
  margin-left: -12px;
  margin-bottom: -12px;
  transform: skew(30deg);
}

spirits {
  font-family: littlespirit, sans-serif;
  font-weight: 300;
  font-size: 20px;
}

.dashaddernobg {
  width: 100%;
  height: 350px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px;
  border: 1.3px dashed #6e5460;
  border-radius: 4px;
  background-color: transparent;
  font-size: 11px;
  text-align: center;
}

.grid-container-noflex {
  display: grid;
  grid-template-columns: auto auto auto auto;
}

.grid-container-noflex > div {
  margin: 10px;
  height: auto;
  overflow-x: hidden;
  overflow-wrap: break-word;
  position: relative;
}

a {
  text-decoration: none;
  font-family: mondwest, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #f8edf2;
  text-shadow: 1px 0 0 #5f5457, 0 -1px 0 #373131, 0 1px 0 #373131, -1px 0 0 #373131;
  position: relative;
}

a:hover {
  color: rgb(249, 215, 231);
}

button {
  margin: 0;
  padding: 0;
  border: none;
  font-family: ms pgothic, sans-serif;
  font-size: 17px;
  background: transparent;
  text-decoration: none;
}

.dropdown-btn {
  text-decoration: none;
  font-weight: bold;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
}

p {
  overflow-wrap: normal;
  word-break: break-word;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}
 
::-webkit-scrollbar-thumb {
  background: #f5d9de; 
}