body {
  margin: 0;
  background-color: #ffd6ea;
  background-image: url("images/bg.png");
  background-repeat: repeat;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.container {
  display: flex;
  width: 900px;
  margin: 40px auto;
  background-color: white;
  border: 3px solid #ff88cc;
}

/* ========================= */
/* 왼쪽 사이드바 */
/* ========================= */

.left {
  width: 190px;
  background-color: #ffe6f2;
  background-image:
    linear-gradient(45deg, rgba(255, 102, 170, 0.13) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 102, 170, 0.13) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 102, 170, 0.13) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 102, 170, 0.13) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0px;
  border-right: 3px solid #ff88cc;
}

.left iframe {
  width: 100%;
  height: 1350px;
  border: none;
  display: block;
}

.menu-body {
  margin: 0;
  background-color: #ffe6f2;
  background-image:
    linear-gradient(45deg, rgba(255, 102, 170, 0.13) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 102, 170, 0.13) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 102, 170, 0.13) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 102, 170, 0.13) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0px;
  font-family: "MS PGothic", "MS Gothic", Arial, sans-serif;
  font-size: 13px;
  color: #663344;
  text-align: center;
}

/* 사이트 이름 */
.side-site-title {
  font-size: 16px;
  font-weight: bold;
  color: #cc3366;
  margin-top: 8px;
  margin-bottom: 2px;
  letter-spacing: 2px;
}

/* - MENU - / - CONTENTS - */
.side-menu-title {
  font-size: 16px;
  font-weight: bold;
  color: #cc3366;
  margin: 4px 8px 8px 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed #ff88cc;
}

/* 프로필 박스 */
.side-profile-simple {
  margin: 8px 12px;
  padding: 6px;
  border: 2px solid #ff66aa;
  background-color: rgba(255, 250, 253, 0.85);
}

.side-profile-img {
  width: 135px;
  height: auto;
  border: 1px solid #ff99cc;
  background-color: white;
  display: block;
  margin: 0 auto 5px auto;
}

.side-name {
  color: #ff3399;
  font-weight: bold;
  margin: 4px 0;
}

.small-text {
  font-size: 11px;
  color: #885566;
  margin: 3px 0;
}

/* 메뉴 리스트 */
.side-menu-list {
  margin: 8px 0;
  text-align: left;
}

.side-menu-item {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 12px;
  font-size: 14px;
  line-height: 1.2;
}

.diamond {
  color: #ff99cc;
  font-size: 15px;
  flex-shrink: 0;
}

.side-menu-item a {
  color: #0044cc;
  font-weight: bold;
  text-decoration: underline;
}

.side-menu-item a:visited {
  color: #7744aa;
}

.side-menu-item a:hover {
  color: #ff0066;
  background-color: #fff0f8;
}

/* 소개문 박스 */
.side-text-box {
  margin: 14px 12px;
  padding: 8px;
  background-color: rgba(255, 250, 253, 0.88);
  border-top: 1px solid #ff99cc;
  border-bottom: 1px solid #ff99cc;
  text-align: left;
  font-size: 12px;
  line-height: 1.5;
  color: #663344;
}

.side-text-box p {
  margin: 4px 0;
}

/* 작은 배너 */
.side-banner-mini {
  margin: 12px 10px;
  padding: 4px;
  background: linear-gradient(to right, #ffccdd, #ffffff, #ffccdd);
  border: 2px solid #ff88cc;
  color: #ff3399;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 1px 1px 0 #cc6699;
}

/* 하단 */
.side-footer {
  margin: 14px 10px;
  padding: 8px 4px;
  border-top: 1px dashed #ff88cc;
  color: #663344;
  font-size: 12px;
}

.side-footer p {
  margin: 4px 0;
}

/* 언어 변경 영역 제거 */
.side-lang {
  display: none;
}

/* ========================= */
/* 오른쪽 본문 */
/* ========================= */

.right {
  width: 710px;
  min-height: 1060px;
  padding: 20px;
}

.title-box {
  text-align: center;
  background: #fff0f8;
  border: 2px solid #ff99cc;
  margin-bottom: 15px;
  padding: 10px;
}

.title-box h1 {
  color: #ff3399;
  margin: 5px;
  letter-spacing: 2px;
}

.title-box p {
  font-size: 12px;
  color: #777;
  margin: 0;
}

.notice {
  background-color: #000;
  color: yellow;
  border: 2px solid #ff99cc;
  padding: 5px;
  margin-bottom: 15px;
  font-weight: bold;
}

.content-box {
  background-color: #fffafd;
  border: 1px dashed #ff99cc;
  padding: 12px;
  margin-bottom: 15px;
}

.content-box h2 {
  color: #ff3399;
  border-bottom: 1px dotted #ff99cc;
  margin-top: 0;
  font-family: "MS PGothic", "MS Gothic", Arial, sans-serif;
}

a {
  color: #0044cc;
}

a:hover {
  color: red;
}

/* ========================= */
/* 메인 페이지 장식 */
/* ========================= */

.welcome-box {
  background-color: #fff0f8;
  border: 2px dashed #ff66aa;
}

.owner-comment {
  background-color: white;
  border: 1px dotted #ff99cc;
  padding: 10px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.info-table th {
  width: 120px;
  background-color: #ffe6f2;
  color: #ff3399;
  border: 1px solid #ff99cc;
  padding: 6px;
  text-align: left;
}

.info-table td {
  border: 1px solid #ff99cc;
  padding: 6px;
}

/* ========================= */
/* 메인 이미지 */
/* ========================= */

.main-visual-box {
  background-color: #fffafd;
  border: 1px dashed #ff99cc;
  padding: 12px;
  margin-bottom: 15px;
  text-align: center;
}

.main-visual-img {
  max-width: 100%;
  height: auto;
  border: 2px solid #ff99cc;
  background-color: white;
  padding: 4px;
}

.main-visual-caption {
  margin-top: 8px;
  font-size: 12px;
  color: #885566;
}

/* ========================= */
/* 방문자 카운터 - 빨간 LED풍 */
/* ========================= */

.visitor-box {
  margin: 10px 0 16px 0;
  padding: 8px;
  text-align: center;
  background-color: #fffafd;
  border: 1px dashed #ff99cc;
}

.visitor-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.visitor-text {
  font-size: 16px;
  color: #222222;
  font-weight: bold;
}

.fake-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px 4px;
  background-color: #050505;
  border: 2px inset #777777;
  box-shadow:
    inset 0 0 8px rgba(255, 0, 0, 0.35),
    1px 1px 0 #999999;
}

.fake-counter span {
  display: inline-block;
  min-width: 14px;
  height: 23px;
  line-height: 23px;
  text-align: center;
  background-color: #120000;
  color: #ff1010;
  border: 1px solid #330000;
  font-family: "Courier New", monospace;
  font-size: 23px;
  font-weight: bold;
  letter-spacing: -1px;
  text-shadow:
    0 0 2px #ff0000,
    0 0 5px #ff0000,
    0 0 8px #660000;
  box-shadow:
    inset 0 0 4px rgba(255, 0, 0, 0.55),
    1px 0 0 #000000;
}

.visitor-subtext {
  margin: 5px 0 0 0;
  font-size: 12px;
  color: #885566;
}

/* ========================= */
/* 방명록 */
/* ========================= */

.guest-input {
  width: 90%;
  padding: 5px;
  border: 1px solid #ff99cc;
  background-color: #fffafd;
}

.guest-textarea {
  width: 90%;
  height: 80px;
  padding: 5px;
  border: 1px solid #ff99cc;
  background-color: #fffafd;
}

.guest-button {
  background-color: #ff99cc;
  color: white;
  border: 1px solid #ff3399;
  padding: 5px 15px;
  font-weight: bold;
  cursor: pointer;
}

.guest-button:hover {
  background-color: #ff3399;
}

.guest-post {
  background-color: white;
  border: 1px dotted #ff99cc;
  padding: 8px;
  margin-bottom: 10px;
}

/* 방명록 페이지 추가 장식 */
.guest-form-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.guest-form-table th {
  width: 100px;
  background-color: #ffe6f2;
  color: #ff3399;
  border: 1px solid #ff99cc;
  padding: 6px;
  text-align: left;
}

.guest-form-table td {
  border: 1px solid #ff99cc;
  padding: 6px;
}

.guest-button-area {
  text-align: center;
  margin-top: 12px;
}

.guest-reset-button {
  background-color: #cccccc;
  border: 1px solid #888888;
}

.guest-post-title {
  margin-top: 0;
  color: #ff3399;
}

.guest-date {
  float: right;
  color: #777777;
  font-size: 12px;
  font-weight: normal;
}

/* ========================= */
/* 앨범 */
/* ========================= */

.album-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.album-item {
  width: 150px;
  background-color: white;
  border: 1px solid #ff99cc;
  padding: 6px;
  text-align: center;
}

.album-item img {
  width: 100%;
  height: auto;
}

/* ========================= */
/* 배너 */
/* ========================= */

.my-banner {
  width: 200px;
  height: 40px;
  background-color: #ff99cc;
  border: 2px solid #ff3399;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  margin: 10px 0;
}

/* ========================= */
/* 음악 코너 기본 */
/* ========================= */

.retro-player {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.album-area {
  width: 220px;
  text-align: center;
}

.album-cover {
  width: 200px;
  height: 200px;
  object-fit: cover;
  background-color: white;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #999999;
  border-bottom: 3px solid #999999;
  padding: 6px;
}

.player-area {
  flex: 1;
  min-width: 260px;
  background-color: #dcdcdc;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #888888;
  border-bottom: 3px solid #888888;
  padding: 12px;
}

.player-screen {
  background-color: #111111;
  color: #66ff99;
  border: 2px inset #999999;
  padding: 12px;
  margin-bottom: 12px;
  font-family: "Courier New", monospace;
}

.track-label {
  margin: 0 0 6px 0;
  font-size: 12px;
  letter-spacing: 2px;
}

.track-title {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #ffff66;
}

.track-artist {
  margin: 6px 0;
  font-size: 14px;
}

.track-status {
  margin: 8px 0 0 0;
  font-size: 13px;
  color: #ff99cc;
}

.player-buttons {
  margin-bottom: 12px;
}

.retro-btn {
  background-color: #e8e8e8;
  color: #333333;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #777777;
  border-bottom: 2px solid #777777;
  padding: 6px 14px;
  margin-right: 8px;
  font-weight: bold;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.retro-btn:active {
  border-top: 2px solid #777777;
  border-left: 2px solid #777777;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.player-time-box {
  display: inline-block;
  background-color: #fff8cc;
  border: 1px solid #999999;
  padding: 5px 10px;
  font-family: "Courier New", monospace;
  margin-bottom: 12px;
}

.player-note {
  font-size: 12px;
  color: #555555;
  margin-top: 10px;
}

.player-note p {
  margin: 4px 0;
}

/* ========================= */
/* 음악 페이지 - 복고 MP3 플레이어풍 */
/* ========================= */

.music-list-item {
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #d8d8d8;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #777777;
  border-bottom: 3px solid #777777;
  padding: 12px;
  box-shadow: 2px 2px 0 #aaaaaa;
}

/* 앨범 이미지 영역 */
.music-list-item .album-area {
  width: 180px;
  background-color: #eeeeee;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #888888;
  border-bottom: 2px solid #888888;
  padding: 8px;
  box-sizing: border-box;
}

.music-list-item .album-cover {
  width: 145px;
  height: 145px;
  object-fit: cover;
  border: 1px solid #555555;
  background-color: white;
  padding: 3px;
}

/* 플레이어 본체 */
.music-list-item .player-area {
  background-color: #cfcfcf;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #666666;
  border-bottom: 3px solid #666666;
  padding: 10px;
  min-height: 150px;
}

/* 검은 LCD 화면 */
.music-list-item .player-screen {
  position: relative;
  background-color: #050505;
  color: #66ff99;
  border: 2px inset #888888;
  padding: 10px;
  margin-bottom: 10px;
  font-family: "Courier New", monospace;
  box-shadow: inset 0 0 8px #222222;
  overflow: hidden;
}

/* 옛날 모니터 줄무늬 느낌 */
.music-list-item .player-screen::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

/* TRACK 글씨 */
.music-list-item .track-label {
  color: #66ff99;
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 5px;
}

/* 곡 제목 */
.music-list-item .track-title {
  color: #ffff66;
  font-size: 18px;
  line-height: 1.25;
  font-weight: bold;
  text-shadow: 1px 1px 0 #333300;
}

/* 아티스트 */
.music-list-item .track-artist {
  color: #66ff99;
  font-size: 13px;
}

/* 상태 */
.music-list-item .track-status {
  color: #ff99cc;
  font-size: 12px;
}

/* 버튼 줄 */
.music-list-item .player-buttons {
  margin: 8px 0;
}

/* 버튼을 윈도우 98/XP 느낌으로 */
.music-list-item .retro-btn {
  min-width: 60px;
  background-color: #e6e6e6;
  color: #111111;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #777777;
  border-bottom: 2px solid #777777;
  padding: 4px 12px;
  font-family: "MS PGothic", "MS Gothic", Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
}

.music-list-item .retro-btn:hover {
  background-color: #ffffcc;
  color: #cc0066;
}

.music-list-item .retro-btn:active {
  border-top: 2px solid #777777;
  border-left: 2px solid #777777;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

/* POP-UP PLAYER 표시 */
.music-list-item .player-time-box {
  background-color: #fff8cc;
  border: 1px solid #999999;
  color: #222222;
  font-family: "Courier New", monospace;
  font-size: 12px;
  padding: 4px 10px;
  box-shadow: inset 1px 1px 0 #ffffff;
}

/* 메모 */
.music-list-item .player-note {
  margin-top: 10px;
  padding: 6px;
  background-color: #eeeeee;
  border: 1px dotted #999999;
  color: #555555;
  font-size: 12px;
}

.music-list-item .player-note p {
  margin: 0;
}

.music-list-item .player-note p::before {
  content: "COMMENT : ";
  color: #cc3366;
  font-weight: bold;
}

/* ========================= */
/* 프로필 페이지 */
/* ========================= */

.profile-card {
  background-color: white;
  border: 1px dotted #ff99cc;
  padding: 10px;
}

.profile-card p {
  margin: 6px 0;
}

/* ========================= */
/* 학교 페이지 */
/* ========================= */

.school-log {
  background-color: white;
  border: 1px dotted #ff99cc;
  padding: 8px;
  margin-bottom: 10px;
}

.school-date {
  color: #ff3399;
  font-weight: bold;
  margin: 0 0 5px 0;
}

/* ========================= */
/* NEW 깜빡임 표시 */
/* ========================= */

.new-badge {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  font-weight: bold;
  color: #ff0000;
  animation: blinkNew 1.2s steps(1, end) infinite;
}

@keyframes blinkNew {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ========================= */
/* 100문 100답 페이지 */
/* ========================= */

.qa-box {
  background-color: #fffafd;
}

.qa-list {
  background-color: white;
  border: 1px dotted #ff99cc;
  padding: 10px;
}

.qa-list p {
  margin: 0;
  line-height: 1.5;
}

/* 질문 줄 */
.qa-list p:nth-child(odd) {
  background-color: #fff0f8;
  border-left: 4px solid #ff99cc;
  padding: 6px 8px;
  color: #ff3399;
  font-weight: bold;
  margin-top: 8px;
}

/* 답변 줄 */
.qa-list p:nth-child(even) {
  padding: 7px 8px 9px 14px;
  border-bottom: 1px dotted #ffd0e6;
  color: #222222;
  margin-bottom: 4px;
}

/* ========================= */
/* 일기장 페이지 */
/* ========================= */

.diary-entry {
  background-color: #fffafd;
}

.diary-meta {
  background-color: #fff0f8;
  border: 1px dotted #ff99cc;
  padding: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #885566;
}

.diary-meta span {
  display: inline-block;
  margin-right: 12px;
}

.diary-body {
  background-color: white;
  border: 1px dotted #ff99cc;
  padding: 10px;
  line-height: 1.6;
}

.diary-body p {
  margin: 8px 0;
}

.diary-footer {
  text-align: right;
  font-size: 11px;
  color: #888888;
  margin-bottom: 0;
}

/* ========================= */
/* 상호링크 박스 */
/* ========================= */

.side-recruit-link {
  text-decoration: none;
  display: block;
}

.side-recruit-box {
  margin: 14px 12px;
  padding: 16px 8px;
  background-color: #9bdc63;
  border: 2px solid #ffffff;
  outline: 1px solid #ff99cc;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  color: #ffffff;
  box-sizing: border-box;
}

.side-recruit-box:hover {
  background-color: #8ed055;
}

/* ========================= */
/* 모바일 대응 */
/* ========================= */

@media screen and (max-width: 700px) {
  .container {
    display: block;
    width: 94%;
    margin: 15px auto;
  }

  .left {
    width: 100%;
    border-right: none;
    border-bottom: 2px dotted #ff88cc;
  }

  .left iframe {
    height: 900px;
  }

  .right {
    width: auto;
    min-height: auto;
    padding: 12px;
  }

  .title-box h1 {
    font-size: 24px;
  }

  .side-profile-img {
    width: 120px;
  }

  .retro-player {
    display: block;
  }

  .album-area {
    width: 100%;
    margin-bottom: 15px;
  }

  .album-cover {
    width: 180px;
    height: 180px;
  }

  .visitor-text {
    font-size: 14px;
  }

  .fake-counter span {
    min-width: 12px;
    height: 21px;
    line-height: 21px;
    font-size: 21px;
  }
}
#total-visit-count {
  color: #ff3399;
  font-weight: bold;
  font-family: "Courier New", monospace;
}

#total-visit-count {
  color: #ff3399;
  font-weight: bold;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}
#total-visit-count {
  color: #ff3399;
  font-weight: bold;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}