/* ===================== */
/* FONTS */
/* ===================== */

.monsieur-la-doulaise-regular {
  font-family: "Monsieur La Doulaise", cursive;
  font-weight: 400;
  font-style: normal;
}

.cormorant-garamond-regular {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.song-myung-regular {
  font-family: "Song Myung", serif;
  font-weight: 100;
  font-style: normal;
}

.KR {
  font-family: "Song Myung", serif;
}

* {
  word-break: keep-all;
}

/* ===================== */
/* TITLE */
/* ===================== */

.title {
  font-family: "Monsieur La Doulaise", cursive;
  font-size: clamp(1.5rem, 2.5rem, 3rem);
  line-height: 0.7;
  text-shadow: 0 0 5px ghostwhite;
  color: ghostwhite;
}

/* ===================== */
/* GLOBAL STYLES */
/* ===================== */

body {
  background-color: #F2E2E2;
  overflow: hidden;
  height: 99vh;
  width: 99vw;
  box-sizing: border-box;
  font-family: "Song Myung", serif;
  color: grey;
  font-size: clamp(1rem, 1.5rem, 2rem);
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  all: unset;
}

/* Hide scrollbar */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

/* ===================== */
/* LAYOUT */
/* ===================== */

.wrapper2 {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.left,
.right {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.left {
  width: 20%;
}

.right {
  width: 80%;
}

/* ===================== */
/* PANELS */
/* ===================== */

.left-top,
.right-top {
  height: 85%;
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  gap: 10px;

  border: 15px solid transparent;
  border-image: url('https://64.media.tumblr.com/deba5fae003777573f9deb11d30e9847/23e2ba21762a34c7-79/s640x960/15dd06ddd2f42a2aa7ad7f31a967972ce3b28284.pnj') 45 round;

  box-shadow: inset 0 0 40px 10px #FFFFFF;
}

.left-bottom,
.right-bottom {
  height: 15%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 5px;

  border: 15px solid transparent;
  border-image: url('https://64.media.tumblr.com/deba5fae003777573f9deb11d30e9847/23e2ba21762a34c7-79/s640x960/15dd06ddd2f42a2aa7ad7f31a967972ce3b28284.pnj') 45 round;
}

/* ===================== */
/* DECOR */
/* ===================== */

.decobox {
  height: 100%;
  width: 100%;
  margin: 1px;
  border: 1px solid darkslategrey;
  box-sizing: border-box;
}

.doll {
  width: 50%;
  height: 70%;
  position: absolute;
  bottom: 20%;
  right: 15%;
  background: transparent;
  z-index: 1;
  opacity: 0.5;
}

/* ===================== */
/* STATUS + CALENDAR */
/* ===================== */

.status {
  height: calc(40% - 10px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border: 10px solid transparent;
  border-image: url('https://64.media.tumblr.com/80a675a6c6e88a30becf5e65226f024d/23e2ba21762a34c7-de/s400x600/11c1a8d62ec74b0dc0dd70d76f674f4f702f0ae3.pnj') 55 round;

  overflow: hidden;
  gap: 5px;
}

.month {
  height: 15%;
  width: calc(100% - 5px);
  margin: 10px;
  margin-bottom: -7px;
  font-family: "Monsieur La Doulaise", cursive;
  font-size: clamp(1.2rem, 1.5rem, 2rem);
  color: white;
  line-height: 0.5;
  text-align: center;
  text-shadow: 0 0 5px ghostwhite;
}

.calendar {
  height: 80%;
  width: calc(100% - 5px);
  margin: 2px;
  font-size: clamp(1rem, 1.2rem, 1.5rem);
  color: darkslategrey;
  line-height: 0.7;
}

/* ===================== */
/* NAV */
/* ===================== */

nav {
  height: 60%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 10px solid transparent;
  border-image: url('https://64.media.tumblr.com/80a675a6c6e88a30becf5e65226f024d/23e2ba21762a34c7-de/s400x600/11c1a8d62ec74b0dc0dd70d76f674f4f702f0ae3.pnj') 55 round;
  overflow-y: scroll;
  gap: 10px;
  padding: 5px;
  box-sizing: border-box;
}

.tab-btn {
  width: 80%;
  height: 30px;
  background: white;
  border: 0;
  flex-shrink: 0;
  box-shadow: inset 0 0 10px 5px #F2E2E2;
  color: darkgrey;
  font-size: clamp(0.3rem, 1rem, 1rem);
  font-family: "Song Myung", serif;
  text-shadow: 2px 2px 4px lightgrey;
}

.tab-btn.active {
  box-shadow: inset 0 0 10px 5px #FFFFFF;
  background: #cfddf2;
  color: white;
}

.tab-btn:hover {
  transform: translateY(-4px);
  background: #F2E2E2;
  box-shadow: inset 0 0 10px 5px white;
  border-radius: 5px;
}

/* ===================== */
/* TABS */
/* ===================== */

.tab1 {
  display: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
}

.tab1.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  box-sizing: border-box;

  border: 10px solid transparent;
  border-image: url('https://64.media.tumblr.com/80a675a6c6e88a30becf5e65226f024d/23e2ba21762a34c7-de/s400x600/11c1a8d62ec74b0dc0dd70d76f674f4f702f0ae3.pnj') 55 round;
}

/* ===================== */
/* TIMELINE */
/* ===================== */

#tl {
  width: 100%;
  height: 95%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  font-family: "Song Myung", serif;
}

.timelineEntry {
  display: flex;
  align-items: stretch;
}

.titles{
  width: 350px;
  text-align: right;
  padding-right: 20px;
}

.line {
  width: 2px;
  background: black;
  margin: 0 20px;
}

.date {
  min-width: 100px;
}

/* ===================== */
/* SEARCH */
/* ===================== */

.search-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  gap: 10px;
}

.search-box,
.kw-box {
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row-box{
  width: 100%;
  height: 10%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-top: 20px;
  gap: 10px;
}

.title-searcher{
  width: calc(100% - 30px);
  height: 100%;
  box-sizing: border-box;
  border: 1px solid #b9b9b9;
  font-family: "Song Myung", serif;
  font-size: clamp(0.3rem, 0.5rem, 1rem);
  outline: none;
  background: white;
  box-shadow: inset 0 0 6px #f2e2e2;
  caret-color: #e3a6b1;
}

.matches-box {
  width: 100%;
  height: 90%;
  overflow-x: hidden;
  overflow-y: auto;
  border: 6px solid transparent;
  border-image: url('https://64.media.tumblr.com/80a675a6c6e88a30becf5e65226f024d/23e2ba21762a34c7-de/s400x600/11c1a8d62ec74b0dc0dd70d76f674f4f702f0ae3.pnj') 55 round;
}

.kw-selected {
  width: 100%;
  height: 20%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;

  border: 7px solid transparent;
  border-image: url('https://64.media.tumblr.com/80a675a6c6e88a30becf5e65226f024d/23e2ba21762a34c7-de/s400x600/11c1a8d62ec74b0dc0dd70d76f674f4f702f0ae3.pnj') 55 round;
}

.kw-box2 {
  width: 100%;
  height: 85%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===================== */
/* TAGS */
/* ===================== */

.category-box {
  border: 1px solid darkslategray;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: "Monsieur La Doulaise", cursive;
}

.arrow {
  transition: 0.25s;
}

.category-box.open .arrow {
  transform: rotate(90deg);
}

.tag-list {
  display: none;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
}

.category-box.open .tag-list {
  display: flex;
}

.tag {
  border: none;
  border-radius: 20px;
  padding: 7px 15px;
  background: white;
  box-shadow: inset 0 0 8px 3px #f2d2d2;
  max-height: 30px;
}
.tag.and {
  background: #a2b59f;
  box-shadow: inset 0 0 8px 3px white;
}
.tag.or {
  background: #e3e2b4;
  box-shadow: inset 0 0 8px 3px white;
}
.tag.not {
  background: #b57873;
  text-decoration: line-through;
  box-shadow: inset 0 0 8px 3px white;
}

.tag:hover{
  transform: translateY(-4px);
  color: lightgrey;
}

/*BOOK CHIPS*/
.book-chip {
  display: inline-flex;
  box-sizing: border-box;
  padding: 5px;
  border-radius: 20px;
  background: #f2e2e2;
  box-shadow: inset 0 0 6px 5px white;
  cursor: default;
  user-select: none;
  font-size: clamp(0.5rem, 1rem, 1.5rem);
  }
  
/*CALENDAR*/
.calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  color: white;
  line-height: 0.7;
  font-size:clamp(0.3rem, 1rem, 1.2rem);
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cal-th {
  border: 1px solid white;
  box-sizing: border-box;
  text-align: center;
  background: white;
  color: lightgrey;
  aspect-ratio: 1 / 1;
}

.cal-day {
  border: 1px solid white;
  box-sizing: border-box;
  vertical-align: center;
  aspect-ratio: 1 / 1;
}

.cal-empty {
  box-sizing: border-box;
  background: transparent;
  aspect-ratio: 1 / 1;
}

/*info filter*/
.howto{
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  color: ghostwhite;
}

.howto-popup{
  position: absolute;
  top: 100%;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  width: fit-content;
  padding: 4px;
  background: #cfddf2;
  font-size: clamp(0.2rem, 0.4rem, 0.7rem);
  color: darkslategrey;

}

.howto:hover .howto-popup{
  opacity: 0.8;
  visibility: visible;
}

/*---------------------
-----------------------
------CREATOR----------
-----------------------
---------------------*/
.row{
  box-sizing: border-box;
  width: calc(100% - 20px);
  height: 35%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 5px;
}

.row2{
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 5px;
}

.row3{
  box-sizing: border-box;
  width: calc(100% - 20px);
  height: 45%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 5px;
}

.row4{
  box-sizing: border-box;
  width: calc(100% - 20px);
  height: 20%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid whitesmoke;
  padding: 0;
  margin: 0;
}


.pfp{
  height: 100%;
  box-sizing: border-box;
  border: 10px solid transparent;
  border-image: url('https://64.media.tumblr.com/deba5fae003777573f9deb11d30e9847/23e2ba21762a34c7-79/s640x960/15dd06ddd2f42a2aa7ad7f31a967972ce3b28284.pnj') 40 round;
  background-image: url('https://64.media.tumblr.com/9c8ad4d56e2a42173008596bd700af08/23e2ba21762a34c7-ad/s540x810/ed3f052ba2b564f7bcc134a204dd03e83f8a568a.webp');
  background-position: 80%;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1 / 1;
}

.column{
  box-sizing: border-box;
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: hidden;
  justify-content: space-between;
  align-items: center;
}

.column2{
  box-sizing: border-box;
  width: 45%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.column3{
  box-sizing: border-box;
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
}

.column4{
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow:hidden;
  flex-wrap: wrap;
  text-align: left;
}

.chip{
  box-sizing: border-box;
  width: 100%;
  height: fit-content;
  text-align: center;
  font-size: clamp(0.5rem, 0.7rem, 1rem);
  background: white;
  border-radius: 20px;
}

.chip2{
  box-sizing: border-box;
  width: fit-content;
  height: fit-content;
  text-align: center;
  font-size: clamp(0.5rem, 0.7rem, 1rem);
  background-color: white;
  padding: 5px;
  border-radius: 20px;
}

.chip2:hover{
  color: #cfddf2;
  text-shadow: 0 0 5px darkgrey;
}

.chip3{
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: clamp(1rem, 1rem, 1.2rem);
  background-color: white;
  padding: 5px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.chip4{
  box-sizing: border-box;
  width: 65%;
  height: 100%;
  text-align: center;
  font-size: clamp(1rem, 1rem, 1.2rem);
  background-color: white;
  padding: 5px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
  

.frame{
  height: 100%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  border: 10px solid transparent;
  border-image: url('https://64.media.tumblr.com/deba5fae003777573f9deb11d30e9847/23e2ba21762a34c7-79/s640x960/15dd06ddd2f42a2aa7ad7f31a967972ce3b28284.pnj') 40 round;
  background-image: url('https://comicthumb-phinf.pstatic.net/20250923_104/pocket_1758607475930Xzw9p_JPEG/250902_%B1%AB%B0%B3%B9%DF%B9%DF_%C3%D6%BE%E0%C3%BC%C0%CE%B5%A5_%C8%B8%B1%CD%C7%D1_%B0%CD_%B0%B0%BD%C0%B4%CF%B4%D9_%C3%D6%C1%BE_%281%29.jpg');
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
}

.frame2{
  height: 100%;
  box-sizing: border-box;
  border: 10px solid transparent;
  border-image: url('https://64.media.tumblr.com/deba5fae003777573f9deb11d30e9847/23e2ba21762a34c7-79/s640x960/15dd06ddd2f42a2aa7ad7f31a967972ce3b28284.pnj') 40 round;
  background-image: url('https://comicthumb-phinf.pstatic.net/20250923_104/pocket_1758607475930Xzw9p_JPEG/250902_%B1%AB%B0%B3%B9%DF%B9%DF_%C3%D6%BE%E0%C3%BC%C0%CE%B5%A5_%C8%B8%B1%CD%C7%D1_%B0%CD_%B0%B0%BD%C0%B4%CF%B4%D9_%C3%D6%C1%BE_%281%29.jpg');
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1 / 1 ;
  display: flex;
}

.frame3{
  height: 100%;
  box-sizing: border-box;
  border: 10px solid transparent;
  border-image: url('https://64.media.tumblr.com/deba5fae003777573f9deb11d30e9847/23e2ba21762a34c7-79/s640x960/15dd06ddd2f42a2aa7ad7f31a967972ce3b28284.pnj') 40 round;
  background-image: url('https://comicthumb-phinf.pstatic.net/20231219_176/pocket_1702966178378GEFmU_JPEG/cover_f.jpg');
  background-position: 40%;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1 / 1 ;
  display: flex;
}

.chip3 > .title{
  color: darkslategray;
  text-shadow: 0 0 5px #f2e2e2;
  height: 15%;
  line-height: 0.6;
  font-size: clamp(1rem, 1.7rem, 2rem);
}

ul{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  font-size: clamp(0.5rem, 0.7rem, 1rem);
  gap: 0px;
}

#SOON-NOTE{
  CONTENT:"";
}

/*READING TRACKER*/
 #tracker{
  display:flex;
  flex-wrap:wrap;
  gap:0.2rem;
  width: 100%;
}

.day{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fafafa;
  box-sizing: border-box;
}

.read{
  background:white;
}

/*====================
=======================
===contribute==========
==================*/
#CONTRIBUTE{
  CONTENT:"";
}

.desc{
  width: 100%;
  height: 10%;
  box-sizing: border-box;
  padding: 5px;
  background: white;
  box-shadow: inset 0 0 10px 5px #f2e2e2;
  display: flex;
  font-family: "Song Myung", serif;
  font-size: clamp(1rem, 1.5rem, 2rem);
  color: slategrey;
}

.iframe-box{
  width: 100%;
  height: 80%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.desc > span > a:hover{
  color: #F2E2E2;
}
