@charset "utf-8";

/* ===== 폰트 ===== */

@font-face {
  font-family: "Umdot12";
  src: url("https://tistory1.daumcdn.net/tistory/9051759/skin/images/Umdot12.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Ramche";
  src: url("https://tistory1.daumcdn.net/tistory/9051759/skin/images/Ramche.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --pink-050: #fff8fc;
  --pink-100: #ffeaf5;
  --pink-200: #ffd3e9;
  --pink-300: #ffb8da;
  --pink-400: #f28fc1;
  --pink-500: #dc5a9d;
  --pink-600: #bd3e83;
  --cream: #fffaf0;
  --ink: #8a4268;
  --line: #e58abb;
  --white: #fffefe;
}

* { box-sizing: border-box; }

html { background: #f8cfdf; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "MS PGothic", "MS Gothic", "Dotum", "Gulim", monospace;
  font-size: 13px;
}

a { color: inherit; }

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

.page-shell {
  background: transparent !important;
  width: min(1000px, calc(100% - 24px));
  max-width: calc(100% - 40px);
  margin: 0 auto;
}


.mini-nav-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  column-gap: 18px;
}

.mini-logo,
.mini-banner {
  display: block;
}

.mini-logo img,
.mini-banner img {
  width: auto;
  height: auto;
  max-width: none;
}


/* 이미지 네비게이션 */
.mini-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-nav.image-nav a {
  display: block;
  flex: none;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  box-shadow: none;
  line-height: 0;
  transform: none;
}

.mini-nav.image-nav img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.mini-nav.image-nav a:hover {
  background: none;
  box-shadow: none;
  transform: none;
}



/* 이미지 버튼 호버 효과 */
.mini-nav.image-nav a {
  position: relative;
  display: block;
  line-height: 0;
  transform: none !important;
}

/* 기존 호버 이미지 비활성화 */
.mini-nav.image-nav .nav-normal {
  display: block !important;
}

.mini-nav.image-nav .nav-hover {
  display: none !important;
}

/* 핑크 오버레이 + 화이트 스트로크 + 아우터 글로우 */
.mini-nav.image-nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  pointer-events: none;

  background: rgba(255, 170, 214, 0.2);
  border: 1px solid #ffffff;
  box-shadow: 0 0 10px rgba(255, 88, 174, 0.6);

  opacity: 0;
  transition: opacity 0.15s ease;
}

/* 호버 시 효과 표시 */
.mini-nav.image-nav a:hover::after {
  opacity: 1;
}

/* 버튼 위치 고정 */
.mini-nav.image-nav a:hover {
  transform: none !important;
  background: none;
}



  .mini-logo,
  .mini-banner {
    max-width: 220px;
    margin: 0 auto;
  }

  .mini-nav {
    gap: 10px;
  }

  .mini-nav a {
    min-width: 90px;
    height: 34px;
    font-size: 13px;
  }
}


.brand-mini {
  font-weight: 700;
  text-decoration: none;
  color: var(--pink-600);
}

.topnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topnav a {
  padding: 7px 15px;
  text-decoration: none;
  font-weight: 700;
  color: var(--pink-500);
}

.topnav a:hover,
.game-menu a:hover,
.archive-btn:hover {
  background: #fff;
  color: #b83379;
}

.top-date {
  text-align: right;
  font-size: 12px;
}

.window-card {
  position: relative;
  border: 2px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.96), rgba(255,250,253,.96));
  box-shadow:
    inset 0 0 0 1px #fff,
    inset 0 0 0 4px rgba(255, 198, 226, .42),
    3px 3px 0 rgba(176, 62, 123, .18);
}


.eyebrow { color: #cc558f; margin-bottom: 4px; }


.main-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 230px;
  gap: 10px;
  align-items: start;
}

.left-column,
.right-column,
.content-column {
  min-width: 0;
}

.panel { margin-bottom: 12px; }


/* 중앙 카테고리 제목바 */
.content-column .category-title {
  height: 28px;
  min-height: 28px;
  margin: 0 -18px 16px;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-left: 14px;

  background: url("./images/category_title.png")
    center / 100% 100% no-repeat;

  border: none;
  box-shadow: none;

  color: #ffffff;
  font-size: 14px;
}


.profile-wrap {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  padding: 12px;
}

.avatar-frame {
  width: 78px;
  height: 78px;
  padding: 4px;
  overflow: hidden;
  border: 2px solid #e989b6;
  background: #fff;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-wrap p {
  margin: 7px 0 0;
  line-height: 1.65;
  font-size: 12px;
}

.game-menu {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.game-menu a {
  display: block;
  padding: 11px 13px;
  text-decoration: none;
  border: 1px solid #ed9bc4;
  background: linear-gradient(#fffafd, #ffd5e9);
  box-shadow: inset 0 0 0 1px #fff;
  color: #c94e8c;
  font-weight: 700;
  transition: .12s ease;
}

.game-menu a:hover {
  padding-left: 18px;
}

.game-menu .secret-link {
  border-color: #9d6f8a;
  color: #87546d;
  background: linear-gradient(#f6eaf0, #dec9d4);
}

.visitor {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.visitor strong {
  padding: 5px 10px;
  border: 2px inset #ef9dc5;
  background: #fff;
  letter-spacing: 4px;
  color: #d75197;
}

.heart { font-size: 26px; color: #e95d9e; }

.diary-card {
  margin-bottom: 14px;
  padding: 0 18px 16px;
}

.post-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0 12px;
  border-bottom: 1px solid #f3b6d4;
}

.post-head h2 {
  margin: 3px 0 0;
  font-size: 20px;
  color: #cf4a8d;
}

.post-head h2 a { text-decoration: none; }

.post-kicker,
.post-head time {
  font-size: 11px;
  color: #d47aa7;
}

.article-body {
  padding: 0;
  line-height: 1.9;
  color: #715064;
  overflow-wrap: anywhere;
  
}

.article-body img {
  outline: 1px solid #f2accd;
  box-shadow: 3px 4px 0 rgba(224,127,176,.18);
  pointer-events: none !important;
  cursor: default !important;
}

.post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 12px;
  border-top: 1px dashed #eaa4c5;
  font-size: 11px;
  color: #c36b98;
}

.post-footer a { text-decoration: none; }

.mood-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.mood-face {
  width: 78px;
  padding: 16px 4px;
  text-align: center;
  border: 1px solid #ef9dc4;
  background: #fff5fa;
}

.hearts { margin-top: 7px; color: #e6579c; }

.status-list {
  padding: 12px 13px;
}

.status-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dotted #ecc0d4;
}

.status-list b {
  color: #db609c;
  font-size: 11px;
}

.hidden-feeling b { color: #765364; }

.recent-list {
  list-style: none;
  margin: 0;
  padding: 8px 12px 12px;
}

.recent-list li {
  border-bottom: 1px dotted #eac0d4;
}

.recent-list a {
  display: block;
  padding: 8px 3px;
  text-decoration: none;
  font-size: 11px;
  line-height: 1.5;
}

.recent-list a:hover { color: #b83277; }

.fake-calendar {
  padding: 12px;
  text-align: center;
}

.calendar-month {
  margin-bottom: 8px;
  font-weight: 700;
  color: #c14f88;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-grid span,
.calendar-grid i {
  display: grid;
  place-items: center;
  min-height: 25px;
  font-style: normal;
  font-size: 11px;
}

.calendar-grid span {
  color: #c36292;
  font-weight: 700;
}

.calendar-grid .today {
  border-radius: 50%;
  color: white;
  background: #df67a3;
}

.archive-btn {
  display: block;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #ed9bc4;
  background: #fff2f8;
  text-decoration: none;
}

.secret-gate {
  margin-bottom: 14px;
  overflow: hidden;
  border-color: #b88ba2;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(135deg, #3c2d37, #161116 70%);
  color: #e7dbe1;
}

.dark-title {
  border-color: #7e5e70;
  background: linear-gradient(#58414f, #2b2028);
  color: #f2d6e4;
}

.secret-inner {
  padding: 34px 28px;
  text-align: center;
}

.lock-icon {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 12px;
  border: 1px solid #a07b8f;
  background: #211920;
  font-size: 22px;
}

.secret-label {
  margin: 0 0 7px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 25px;
  color: #e9bdcf;
}

.secret-inner h2 {
  margin: 6px 0 10px;
  color: #fff;
  font-size: 19px;
}

.secret-copy {
  color: #cdbdc5;
  line-height: 1.8;
}

.password-row {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  gap: 7px;
  align-items: center;
  max-width: 560px;
  margin: 22px auto 0;
}

.password-row label {
  text-align: right;
  color: #dab5c7;
}

.password-row input,
.password-row button {
  min-height: 40px;
  border: 1px solid #9e7289;
  font: inherit;
}

.password-row input {
  padding: 0 12px;
  color: #3e2e36;
  background: #f7edf2;
}

.password-row button {
  cursor: pointer;
  color: #f5e5ed;
  background: #745367;
}

.hint-box {
  width: min(420px, 100%);
  margin: 18px auto 0;
  padding: 11px;
  border: 1px dashed #866477;
  background: rgba(255,255,255,.04);
  color: #cdb6c2;
  font-size: 11px;
}

.taskbar {
  grid-template-columns: auto auto auto 1fr;
  gap: 8px;
  margin-top: 12px;
  padding: 5px 8px;
  font-size: 11px;
}

.taskbar > * {
  padding: 6px 10px;
  border: 1px solid #e493ba;
  background: rgba(255,255,255,.5);
}

.taskbar a { text-decoration: none; font-weight: 700; }

.taskbar-right { text-align: right; }

@media (max-width: 1050px) {
  .main-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .right-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
  }
  .right-column .panel { margin: 0; }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 12px, 680px);
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px;
    text-align: center;
  }

  .topnav { order: 3; }
  .top-date { text-align: center; }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 20px 52px;
  }

  .hero-doll {
    margin-top: 20px;
    min-width: 170px;
  }

 .site-grid {
  display: grid;
  grid-template-columns:    230px
    minmax(0, 1fr)
    300px;
  gap: 12px;
  align-items: start;
}

  .left-column {
    display: grid;
    grid-template-columns: 1fr;
  }

  .right-column {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .post-head {
    display: block;
  }

  .post-head time {
    display: block;
    margin-top: 8px;
  }

  .password-row {
    grid-template-columns: 1fr;
  }

  .password-row label {
    text-align: left;
  }

  .taskbar {
    grid-template-columns: 1fr 1fr;
  }

  .taskbar-right {
    grid-column: 1 / -1;
    text-align: center;
  }
}


html,
body,
body *,
button,
input,
textarea,
select {
  font-family: "Umdot12", sans-serif !important;
}

html,
body {
  background-image: url("./images/bg_tile_03.png") !important;
  background-repeat: repeat !important;
  background-position: top left;
  background-color: #ffd9eb;
  background-size: 100px auto;
}


.category-list {
  padding: 14px;
}

.category-post {
  border-bottom: 1px dashed #eaa4c5;
  padding: 16px 0;
}

.category-post:last-child {
  border-bottom: 0;
}

.category-post h2 {
  margin: 5px 0 8px;
  font-size: 17px;
  color: #cf4a8d;
}

.category-post h2 a {
  text-decoration: none;
}

.post-number,
.category-post-category {
  font-size: 11px;
  color: #d47aa7;
}

.category-post p {
  line-height: 1.8;
  color: #715064;
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 11px;
  border: 1px solid #ed9bc4;
  background: #fff2f8;
  text-decoration: none;
}

.empty-message {
  padding: 30px 10px;
  text-align: center;
}

html,
body {
  cursor: url("./images/cursor.png") 0 0, auto;
}

.custom-header {
  margin: 0 0 10px;
  padding: 0;
}

.custom-header a {
  display: block;
}

.custom-header img {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  border: 2px solid #f3a6ca;
  box-shadow: 4px 4px 0 rgba(196, 106, 151, 0.25);
}

.guest-owner-write {
  padding: 12px;
}

.guest-owner-write input,
.guest-owner-write textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
  padding: 8px;

  border: 1px solid #e5a0c2;
  background: #fff9fc;

  font-family: inherit;
}

.guest-owner-write button {
  padding: 8px 14px;

  border: 1px solid #df8eb5;
  background: #ffd6e8;

  font-family: inherit;
  color: #a84e7c;
  cursor: pointer;
}

.guest-list {
  padding: 10px;
}

.guest-entry {
  margin-bottom: 8px;
  padding: 10px;

  border: 1px solid #e7aac7;
  background: #fff9fc;
}

.guest-entry-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;

  font-size: 10px;
  color: #b66e92;
}

.guest-entry-body {
  line-height: 1.7;
}

.guest-entry-controls {
  margin-top: 8px;
  text-align: right;
}

.guest-entry-controls button {
  padding: 3px 8px;

  border: 1px solid #e1a0bf;
  background: #fff0f7;

  font-family: inherit;
  font-size: 9px;
  color: #b65e89;

  cursor: pointer;
}

.guest-entry-controls button:hover {
  background: #ffd9ea;
}

.album-thumbnail {
  display: block;
  width: 100%;
  margin-bottom: 8px;
}

.album-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  border: 2px solid #f2a8c8;
  padding: 4px;
  background: #fff;

  box-sizing: border-box;
}


.hanayo-banner {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
}

.hanayo-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hanayo-border {
  width: 100%;
  max-width: 1000px;
  margin: 20px 0 0 0;
}


/* Tistory NEW icon 숨기기 */
img[src*="new_ico"] {
  display: none;
}



/* 사이트 전체 호버 커서 */
a:hover, a:hover *,
button:hover, button:hover *,
input:hover,
select:hover,
textarea:hover,
label:hover, label:hover *,
summary:hover, summary:hover *,
[onclick]:hover, [onclick]:hover *,
[role="button"]:hover,
[role="button"]:hover * {
  cursor: url("./images/cursor_hover.png") 0 0, pointer !important;
}



/* HOME 전용 게시물: 기본적으로 숨김 */
.hanayo-home-post {
  display: none;
}

/* HOME에서는 고정 게시물만 표시 */
html.hanayo-home .hanayo-home-post {
  display: block;
}

/* HOME에서 기존 게시물 목록 숨기기 */
html.hanayo-home .content-column > :not(.hanayo-home-post) {
  display: none !important;
}



/* HOME 중앙 이미지 */
.hanayo-home-image {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  border: 1px solid #F3A6CA;
  background: transparent;
  box-shadow: 4px 4px 0 rgba(220, 90, 157, 0.25);
}

.hanayo-home-image img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
  box-shadow: none;
}



/* 오른쪽 이미지 배너 */
.right-image {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.right-image img {
  display: block;
  width: 100%;
  height: auto;
}


/* TODAY'S MOOD 이미지 전환 */
.mood-image-swap {
  position: relative;
  width: 100%;
}

.mood-image-swap img {
  display: block;
  width: 100%;
  height: auto;
}

/* 호버 이미지를 기본 이미지 위에 겹치기 */
.mood-image-swap .mood-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* 호버 시 다크 버전 표시 */
.mood-image-swap:hover .mood-hover {
  opacity: 1;
}


/* 왼쪽 이미지 메뉴 */
.left-image-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
}

.left-image-menu a {
  display: block;
  width: 100%;
  flex-shrink: 0;
  line-height: 0;
  filter: drop-shadow(0 0 2px rgba(255, 139, 199, 0.6));
}


/* 왼쪽 메뉴 버튼 모서리 2px */
.left-image-menu a,
.left-image-menu img {
  border-radius: 4px;
}


/* VISITOR 이미지 + 실시간 숫자 */
.visitor-image {
  position: relative;
  width: 100%;
}

.visitor-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}


.visitor-count {
  position: absolute;
  left: 60%;
  top: 55%;
  transform: translate(-50%, -50%);

  /* 기존 숫자 박스 복구 */
  padding: 5px 10px;
  border: 2px inset #ef9dc5;
  background: #fff;

  /* 숫자 스타일 */
  font-family: "Umdot12", sans-serif;
  font-size: 16px;
  color: #d75197;
  letter-spacing: 4px;
  white-space: nowrap;
}




/* 메이드 누끼 */
.maid-cutout {
  position: fixed;
  top: 52%;
  transform: translateY(-50%);

  width: 280px;
  max-width: none;
  height: auto;

  z-index: 0;
  pointer-events: none;
}


.maid-cutout {
  filter:
    drop-shadow(3px 5px 4px rgba(220, 90, 157, 0.4))
    drop-shadow(0 0 12px rgba(255, 170, 214, 0.8));
}


/* 왼쪽 메이드 */
.maid-left {
  left: calc(50% - 750px);
}

/* 오른쪽 메이드 */
.maid-right {
  right: calc(50% - 750px);
}

/* 홈페이지 전체를 메이드보다 앞으로 */
.page-shell {
  position: relative;
  z-index: 2;
}

/* 좁은 화면에서는 메이드 숨기기 */
@media (max-width: 1200px) {
  .maid-cutout {
    display: none;
  }
}


/* HANAYO FOOTER */

.hanayo-footer {
  width: 100vw;
  margin: 12px 0 0;
  margin-left: calc(50% - 50vw);
  padding: 16px 10px;
  box-sizing: border-box;

  background: #f7b6d6;

  /* 테두리와 그림자 제거 */
  border: none;
  outline: none;
  box-shadow: none;

  text-align: center;
  color: #a44b7d;
  line-height: 1.8;
}


.footer-title {
  font-size: 15px;
  color: #ffffff;
}

.footer-copy {
  font-size: 11px;
}

.footer-top {
  display: inline-block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 11px;
  text-decoration: none;
}

.footer-top:hover {
  text-decoration: underline;
}


/* 전체 컨테이너의 레이어 제한 해제 */
.page-shell {
  z-index: auto;
}

/* 메이드 누끼: 중간 레이어 */
.maid-cutout {
  z-index: 1;
}

/* 홈페이지 콘텐츠: 메이드보다 앞 */
.mini-nav-wrap,
.custom-header,
.main-grid,
.site-grid,
.hanayo-banner,
.taskbar {
  position: relative;
  z-index: 2;
}

/* 푸터: 메이드보다 뒤 */
.hanayo-footer {
  position: relative;
  z-index: 0;
}

/* 푸터 아래 여백 및 가로 스크롤 제거 */
html, body {
  margin: 0;
  padding-bottom: 0;
  overflow-x: clip;
}

.page-shell {
  padding-bottom: 0;
}

.hanayo-footer {
  margin-bottom: 0 !important;
}


/* 티스토리 기본 공감·공유·통계 버튼 숨기기 */
.container_postbtn {
  display: none !important;
}


/* DIARY 앨범 페이지 버튼 */
.diary-album-nav[hidden] {
  display: none !important;
}

.diary-album-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0 0 7px 0;
  border-top: none;
}


.diary-album-nav a {
  position: relative;
  display: block;
  width: 100px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  line-height: 0;
}

.diary-album-nav a img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
}

/* 상단 네비게이션과 동일한 호버 효과 */
.diary-album-nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-sizing: border-box;

  background: rgba(255, 170, 214, 0.2);
  border: 1px solid #ffffff;
  box-shadow: 0 0 10px rgba(255, 170, 214, 0.6);

  opacity: 0;
  transition: opacity 0.15s ease;
}

.diary-album-nav a:not(.is-disabled):hover::after {
  opacity: 1;
}

/* 비활성화 */
.diary-album-nav a.is-disabled {
  filter: grayscale(20%) brightness(0.9);
  opacity: 0.55;
  pointer-events: none;
}


.diary-album-nav .diary-number {
  color: #ce6b9d;
  font-size: 14px;
  white-space: nowrap;
}

.diary-album-nav a.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
