
/* =================================
   2026 BAND NAH RECAP
   DESIGN: DARK CHECKLIST
================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #eeeeee;
  color: #ffffff;
  font-family: Arial, "Noto Sans KR", sans-serif;
  padding: 5px 10px;
}

.page {
  width: 100%;
  max-width: 460px;
  min-height: 625px;
  margin: 0 auto;
  padding: 14px 38px 20px;

  background: #3b3d4d;
  border: 2px solid #38d9f5;

  display: flex;
  flex-direction: column;
}

/* HEADER */

.header {
  order: 1;
  text-align: center;
  padding-bottom: 13px;
}

.brand,
.subtitle {
  display: none;
}

.header h1 {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0;
}

/* MONTHLY LIST */

.calendar {
  order: 2;
  width: 100%;
}

.month {
  width: 100%;
  min-height: 0;
  height: auto;
  border: 1px solid #ffffff;
  margin-bottom: 12px;
  background: transparent;
}

.month-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 23px;
  margin: 0;
  background: #ffffff;
}

.month-title::before,
.month-title::after {
  display: none;
}

.month-title h2 {
  font-size: 13px;
  font-weight: 700;
  color: #3b3d4d;
}

/* EVENT ROW */

.event {
   display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 25px;
  align-items: stretch;
  min-height: 24px;
  height: auto;
  padding: 0;
  gap: 0;
  border-bottom: 1px solid #ffffff;
}

.event:last-child {
  border-bottom: none;
}

.event-date {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 11px;
  border-right: 1px solid #ffffff;
  padding: 5px 3px;
}

.event-name {
  display: flex;
  align-items: center;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.5;
  padding: 5px;
  word-break: keep-all;
}

/* CHECKBOX */

.event-check {
  appearance: none;

  width: 16px;
  height: 16px;

  justify-self: center;
  align-self: center;

  border: 1.5px solid #ffffff;
  background: transparent;

  cursor: pointer;
  position: relative;
}

.event-check:checked {
  background: #ffffff;
  border-color: #ffffff;
}

.event-check:checked::after {
  content: "✓";
  color: #3b3d4d;

  position: absolute;
  top: -2px;
  left: 2px;

  font-size: 13px;
  font-weight: bold;
}

.empty-month {
  display: none;
}

/* TOTAL BOX */

.progress {
  order: 3;

  width: 104px;
  margin-top: auto;
  margin-bottom: 0;
  margin-left: auto;

  border: none;
  padding: 0;
}

.progress-info {
  display: block;
  margin: 0;
  color: #3b3d4d;
  letter-spacing: 0;
}

.progress-info span {
  display: block;
  text-align: center;
}

.progress-info span:first-child {
  background: #ffffff;
  color: #3b3d4d;

  padding: 4px;
  font-size: 15px;
  font-weight: bold;
}

.progress-info span:last-child {
  background: #3b3d4d;
  color: #ffffff;

  border: 1px solid #ffffff;
  padding: 5px;
  font-size: 15px;
}

.progress-track {
  display: none;
}

/* FOOTER */

.footer {
  order: 4;

  border: none;
  margin-top: auto;
  padding-top: 130px;

  text-align: center;
}

.footer p {
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0;
}

.footer span,
#reset-button {
  display: none;
}

/* MOBILE */

@media (max-width: 480px) {
  body {
    padding: 5px 10px;
  }

  .page {
    max-width: 100%;
    min-height: 625px;
    padding: 14px 38px 20px;
  }

  .header h1 {
    font-size: 20px;
  }

  .event-name {
    font-size: 10px;
  }

  .event-date {
    font-size: 10px;
  }
}

/* PAGE NAVIGATION */

.page-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 25px;
}

.page-navigation button {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 10px;
  cursor: pointer;
}

.page-navigation button:disabled {
  opacity: 0.3;
  cursor: default;
}

.page-navigation span {
  display: inline-block;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 1px;
}

/* CLOVER LOGO */

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.clover-logo {
  display: block;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  font-family: Georgia, serif;
}

/* =================================
   올해의 공연 TOP 5
================================= */

.top-performances {
  display: none;
  order: 3;

  width: 100%;
  margin-top: 45px;

  border: 1px solid #ffffff;
  background: transparent;
}

.top-performances-title {
  display: flex;
  justify-content: center;
  align-items: center;

  height: 23px;
  background: #ffffff;
}

.top-performances-title h2 {
  font-size: 13px;
  font-weight: 700;
  color: #3b3d4d;
}

.top-performance-row {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 25px;
  align-items: stretch;

  min-height: 24px;
  border-bottom: 1px solid #ffffff;
}

.top-performance-row:last-child {
  border-bottom: none;
}

.top-performance-date {
  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 11px;
  border-right: 1px solid #ffffff;
  padding: 5px 3px;
}

.top-performance-name {
  display: flex;
  align-items: center;

  color: #ffffff;
  font-size: 11px;
  line-height: 1.5;
  padding: 5px;
  word-break: keep-all;
}

.top-performance-heart {
  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 14px;
}

/* 하트 선택 상태 */
.event-check.is-favorite:checked::after {
  content: "♥";
  color: #e65372;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;

  font-size: 15px;
  line-height: 16px;
  font-weight: bold;
}

/* SAVE IMAGE BUTTON */

#save-image {
  display: block;
  margin: 0 auto 15px;

  border: none;
  background: transparent;
  color: #ffffff;

  padding: 7px 18px;
  font-size: 10px;
  font-weight: bold;

  cursor: pointer;
}

#save-image:hover {
  background: #ffffff;
  color: #3b3d4d;
}

/* IMAGE SAVE MODE */

.page.saving-image {
  width: 460px;
  max-width: none;
  min-height: 1200px;
  height: auto;

  /* 저장 이미지의 하늘색 테두리 제거 */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.page.saving-image #save-image,
.page.saving-image .page-navigation {
  display: none;
}

.page.saving-image .footer {
  padding-top: 20px;
}

/* 이미지 저장 시 체크 표시 테스트 */
.page.saving-image .event-check:checked::after {
  content: none;
}