/* =========================================================
   style.css — 사이트의 "인테리어" (색, 글씨 크기, 배치 담당)
   - :root 안의 --cream, --ink, --orange 등이 사이트 대표 색입니다.
   - @media (max-width: 620px) 아래는 휴대폰 화면 전용 설정입니다.
   ========================================================= */

:root {
  --cream: #f7f5ed;
  --ink: #263e30;
  --orange: #d65b38;
  --line: #d7dace;
  --muted: #6c746a;
  --green: #e8eddf;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans KR", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: -0.04em;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #d65b38;
  outline-offset: 5px;
}
.notice {
  min-height: 34px;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.01em;
}
.notice > span:first-child {
  color: #f2ba51;
}
.demo-label {
  border: 1px solid #8f9b8a;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 9px;
}
header {
  height: 92px;
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.logo {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -2px;
  white-space: nowrap;
}
.logo-flower {
  display: inline-block;
  margin: 0 2px;
  color: var(--orange);
  font-size: 39px;
}
.logo-dot {
  color: var(--orange);
}
nav {
  display: flex;
  gap: 37px;
  font-size: 13px;
  font-weight: 600;
}
nav a:hover {
  color: var(--orange);
}
.mine {
  background: none;
  border: 1px solid #acb5a6;
  padding: 11px 19px;
  border-radius: 30px;
  font-size: 12px;
}
.mine span {
  padding: 0 8px;
  color: var(--orange);
}
.hero {
  max-width: 1440px;
  margin: auto;
  min-height: 625px;
  padding: 57px 5.5% 45px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  overflow: hidden;
}
.eyebrow {
  font:
    600 10px Arial,
    sans-serif;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}
h1 {
  font-size: clamp(56px, 5.9vw, 85px);
  line-height: 1.23;
  letter-spacing: -0.08em;
  margin: 0 0 24px;
  font-weight: 800;
}
.sai-word {
  position: relative;
  color: var(--orange);
}
.sai-word svg {
  position: absolute;
  width: 110%;
  left: -5%;
  bottom: -14px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 3;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.9;
  color: #626e5e;
  margin: 32px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 0;
  padding: 17px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #3d5c43;
}
.hero-foot {
  font-size: 10px;
  margin-top: 20px;
  color: var(--muted);
}
.hero-art {
  position: relative;
  max-width: 650px;
  transform: rotate(-1deg);
}
.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.art-caption {
  position: absolute;
  left: 24%;
  bottom: 1%;
  font-size: 11px;
  transform: rotate(-5deg);
  letter-spacing: 0.08em;
}
.ticker {
  background: var(--green);
  border-top: 1px solid #c4cdbb;
  border-bottom: 1px solid #c4cdbb;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  padding: 20px 28px;
  overflow: hidden;
  white-space: nowrap;
  color: var(--orange);
  font-size: 23px;
}
.ticker span {
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: var(--ink);
}
.section {
  padding: 88px 5.5%;
  max-width: 1440px;
  margin: auto;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 35px;
}
h2 {
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: -0.065em;
  margin: 0 0 15px;
  font-weight: 700;
}
.section-top .eyebrow {
  margin-bottom: 14px;
}
.section-top p,
.calendar-intro > p,
.faq-section > div > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}
.section-note {
  font-size: 12px;
  padding-bottom: 12px;
}
.section-note span {
  font-size: 26px;
  padding-left: 15px;
}
.browse-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 27px;
  gap: 15px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 30px;
  padding: 9px 21px;
  font-size: 12px;
}
.filters button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
select {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 11px;
  padding: 8px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 24px;
}
.card {
  min-width: 0;
}
.poster {
  width: 100%;
  aspect-ratio: 1.16;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 0;
  display: block;
  padding: 0;
  transition: transform 0.25s;
}
.poster:hover {
  transform: translateY(-4px);
}
.poster svg {
  display: block;
  width: 100%;
  height: 100%;
}
.card-image {
  position: relative;
}
.heart {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: #ffffffcc;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  font-size: 23px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.heart.saved {
  background: var(--ink);
  color: #fff;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  margin: 17px 0 9px;
  color: var(--muted);
}
.badge {
  color: var(--ink);
  background: var(--green);
  padding: 4px 7px;
  border-radius: 2px;
}
.card-title {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  font-size: 19px;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-align: left;
}
.card-title:hover {
  color: var(--orange);
}
.card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 7px 0 15px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.card-price {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.sample-note {
  font-size: 10px;
  color: var(--muted);
  margin: 24px 0 0;
}
.about {
  background: var(--green);
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 72px 11%;
  gap: 8%;
}
.about-symbol {
  text-align: center;
  font-size: 210px;
  line-height: 0.9;
  color: var(--orange);
  transform: rotate(-8deg);
}
.about-symbol span {
  display: block;
  font-size: 18px;
  line-height: 1.7;
  margin-top: 30px;
  color: var(--ink);
  font-weight: 500;
}
.about h2 {
  font-size: 33px;
}
.about p {
  font-size: 13px;
  color: #5e6d58;
  line-height: 2.1;
  margin: 20px 0;
}
.text-link {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 6px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
}
.calendar-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9%;
}
.calendar-intro .eyebrow {
  margin-bottom: 20px;
}
.month-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  margin: 28px 0 0;
}
.month-control button {
  border: 1px solid var(--line);
  background: none;
  border-radius: 50%;
  width: 31px;
  height: 31px;
}
.month-control strong {
  font-size: 21px;
  font-family: Arial, sans-serif;
  letter-spacing: 0;
}
.calendar-intro #resetMonth {
  font-size: 10px;
  border-color: #b4bcad;
  font-weight: 400;
}
.calendar-wrap {
  padding: 22px 25px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  align-self: start;
}
.weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.weekdays {
  text-align: center;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 1px;
  color: var(--muted);
  padding-bottom: 16px;
}
.calendar-grid button {
  border: 0;
  background: none;
  min-height: 64px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding-top: 12px;
  font:
    13px Arial,
    sans-serif;
  gap: 6px;
}
.calendar-grid button:disabled {
  cursor: default;
}
.calendar-grid button:not(:disabled):hover,
.calendar-grid button.selected {
  background: var(--green);
}
.calendar-grid button.event-day {
  font-weight: 700;
}
.calendar-grid i,
.calendar-key i {
  display: inline-block;
  background: var(--orange);
  height: 5px;
  width: 5px;
  border-radius: 50%;
}
.calendar-grid small {
  font:
    8px "Noto Sans KR",
    sans-serif;
  color: var(--orange);
  max-width: 100%;
  white-space: nowrap;
}
.calendar-key {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 9px;
  color: var(--muted);
  text-align: right;
}
.calendar-key i {
  margin-right: 4px;
}
#dayEvents {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 25px;
  color: var(--muted);
}
#dayEvents button {
  background: none;
  border: 0;
  padding: 5px 0;
  display: block;
  text-align: left;
  color: var(--ink);
  text-decoration: underline;
}
.first-time {
  border-top: 1px solid var(--line);
  padding-top: 62px;
  padding-bottom: 70px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.steps article {
  border-top: 1px solid #a9b6a1;
  padding-top: 22px;
}
.steps article > span {
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 1.5px;
  color: var(--orange);
}
h3 {
  font-size: 18px;
  margin: 18px 0 12px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.steps p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9%;
  padding-top: 55px;
  padding-bottom: 90px;
}
.faqs {
  border-top: 1px solid #9faa97;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 0;
  font-size: 13px;
  font-weight: 500;
  gap: 15px;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font:
    23px Arial,
    sans-serif;
  font-weight: 300;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 25px 22px 0;
}
.closing {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 5.5%;
  position: relative;
  overflow: hidden;
}
.closing > span {
  display: block;
  font-size: 11px;
  color: #c9d1c0;
  margin-bottom: 12px;
}
.closing > a {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.06em;
}
.closing > a > span {
  margin-left: 45px;
}
.closing > i {
  position: absolute;
  right: 8%;
  top: -20px;
  font-size: 175px;
  font-style: normal;
  color: #abc096;
}
.closing > a,
.closing > span {
  position: relative;
  z-index: 1;
}
footer {
  padding: 47px 5.5%;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
}
footer .logo {
  font-size: 29px;
}
footer p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.footer-info {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
  margin-left: auto;
}
.footer-info small {
  display: block;
  font-size: 9px;
  margin-top: 10px;
}
.back-top {
  font-size: 10px;
  margin-left: 45px;
}
dialog {
  border: 0;
  background: var(--cream);
  color: var(--ink);
  border-radius: 8px;
  max-width: 650px;
  width: calc(100% - 32px);
  max-height: 88vh;
  padding: 0;
  box-shadow: 0 20px 90px #0003;
}
dialog::backdrop {
  background: #15241bb3;
  backdrop-filter: blur(3px);
}
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  background: #fff;
  z-index: 5;
  font-size: 25px;
  line-height: 1;
}
.dialog-poster {
  height: 235px;
  overflow: hidden;
}
.dialog-poster svg {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.dialog-body {
  padding: 30px;
}
.dialog-body .eyebrow {
  margin-bottom: 14px;
}
.dialog-body h2 {
  font-size: 27px;
}
.dialog-body > p,
.dialog-body li {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.detail-info {
  display: grid;
  grid-template-columns: 65px 1fr;
  font-size: 12px;
  gap: 11px;
  margin: 23px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-info dt {
  color: var(--muted);
}
.detail-info dd {
  margin: 0;
}
.dialog-body .button {
  width: 100%;
  margin-top: 15px;
}
.demo-disclaimer {
  padding: 12px 15px;
  background: var(--green);
  font-size: 11px !important;
  line-height: 1.8 !important;
  border-radius: 3px;
}
.muted {
  color: var(--muted);
}
.tiny-label {
  font-size: 10px;
  font-weight: 400;
  background: var(--green);
  padding: 3px 6px;
  margin-left: 5px;
}
.mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.mini-card .open-event {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}
.mini-card small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: var(--muted);
}
.mini-card .remove {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: none;
  padding: 6px 10px;
  font-size: 10px;
  white-space: nowrap;
}
.empty {
  padding: 20px 0;
  font-size: 12px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  z-index: 100;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90%;
  width: max-content;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1500px) {
  header,
  footer,
  .closing {
    padding-left: calc((100% - 1282px) / 2);
    padding-right: calc((100% - 1282px) / 2);
  }
}
@media (max-width: 900px) {
  nav {
    gap: 20px;
    font-size: 11px;
  }
  .hero {
    min-height: 540px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-art {
    margin-right: -40px;
    margin-left: -10px;
  }
  .cards {
    gap: 32px 16px;
  }
  .card-title {
    font-size: 16px;
  }
  .card-meta {
    font-size: 9px;
    gap: 5px;
  }
  .card-bottom {
    font-size: 9px;
  }
  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .about {
    padding-left: 7%;
    padding-right: 7%;
    gap: 4%;
  }
  .about h2 {
    font-size: 26px;
  }
  .calendar-section,
  .faq-section {
    gap: 5%;
  }
  .calendar-wrap {
    padding: 18px 12px;
  }
  .calendar-grid button {
    min-height: 57px;
  }
  .calendar-grid small {
    display: none;
  }
  h2 {
    font-size: 28px;
  }
}
@media (max-width: 620px) {
  .notice {
    font-size: 9px;
    gap: 10px;
    min-height: 31px;
  }
  header {
    height: 75px;
    padding: 0 6%;
  }
  .logo {
    font-size: 29px;
  }
  .logo-flower {
    font-size: 31px;
  }
  nav {
    display: none;
  }
  .mine {
    font-size: 11px;
    padding: 8px 13px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 42px 6% 20px;
  }
  .hero h1 {
    font-size: 59px;
  }
  .hero .eyebrow {
    font-size: 8px;
    margin-bottom: 22px;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 1.9;
    margin: 27px 0 22px;
  }
  .hero-copy > p br:nth-of-type(1) {
    display: none;
  }
  .hero-copy > p br:nth-of-type(2) {
    display: none;
  }
  .hero-foot {
    margin-top: 14px;
    font-size: 9px;
  }
  .hero-art {
    width: 100%;
    max-width: 430px;
    margin: 10px auto 15px;
  }
  .art-caption {
    font-size: 9px;
  }
  .hero-art svg {
    max-height: 380px;
  }
  .ticker {
    justify-content: flex-start;
    padding: 15px 22px;
    gap: 24px;
  }
  .ticker span {
    font-size: 10px;
  }
  .section {
    padding: 50px 6%;
  }
  .section-top {
    margin-bottom: 25px;
  }
  h2 {
    font-size: 27px;
  }
  .section-top p {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .section-note {
    display: none;
  }
  .browse-bar {
    align-items: flex-start;
    margin-bottom: 20px;
    flex-direction: column;
    gap: 10px;
  }
  .filters {
    gap: 5px;
    flex-wrap: wrap; /* 수정: nowrap → wrap (버튼이 넘치면 다음 줄로) */
    width: 100%;
  }
  .filters button {
    font-size: 11px;
    padding: 8px 14px;
    white-space: nowrap;
  }
  .sort-label {
    align-self: flex-end;
  }
  select {
    padding: 0;
    font-size: 10px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 13px;
  }
  .card-title {
    font-size: 15px;
    line-height: 1.5;
  }
  .card-desc {
    font-size: 10px;
    margin: 5px 0 12px;
  }
  .card-meta {
    margin-top: 12px;
    font-size: 8px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .badge {
    font-size: 8px;
    padding: 3px 5px;
  }
  .heart {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
    font-size: 20px;
  }
  .card-bottom {
    align-items: center;
    gap: 8px;
    font-size: 8px;
  }
  .card-price {
    font-size: 11px;
    white-space: nowrap;
  }
  .sample-note {
    font-size: 9px;
    line-height: 1.7;
  }
  .about {
    grid-template-columns: 1fr;
    padding: 45px 8%;
    gap: 37px;
  }
  .about-symbol {
    font-size: 130px;
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
  }
  .about-symbol span {
    font-size: 14px;
    margin: 0;
    text-align: left;
  }
  .about h2 {
    font-size: 28px;
  }
  .about p {
    font-size: 12px;
  }
  .calendar-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .calendar-intro h2 br {
    display: none;
  }
  .calendar-intro > p br {
    display: none;
  }
  .calendar-intro .eyebrow {
    margin-bottom: 15px;
  }
  .month-control {
    margin-top: 22px;
  }
  .calendar-grid button {
    min-height: 57px;
  }
  .calendar-grid small {
    display: none;
  }
  .calendar-wrap {
    padding: 18px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps article {
    padding-top: 18px;
  }
  .steps h3 {
    margin: 10px 0;
    font-size: 17px;
  }
  .steps p {
    font-size: 12px;
  }
  .steps p br {
    display: none;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  summary {
    font-size: 12px;
  }
  .closing {
    padding: 35px 6%;
  }
  .closing > a {
    font-size: 24px;
  }
  .closing > a > span {
    margin-left: 12px;
  }
  .closing > i {
    font-size: 120px;
    right: -25px;
    top: 0;
    opacity: 0.3;
  }
  .closing > span {
    font-size: 10px;
  }
  footer {
    padding: 32px 6%;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-info {
    margin: 0;
    order: 3;
    width: 100%;
  }
  .back-top {
    margin-left: auto;
  }
  .dialog-body {
    padding: 25px 22px;
  }
  .dialog-poster {
    height: 200px;
  }
  .dialog-body h2 {
    font-size: 24px;
  }
  .dialog-body > p {
    font-size: 12px;
  }
  #toast {
    font-size: 11px;
    padding: 13px 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 65px);
  word-break: keep-all;
}
#dayEvents {
  grid-column: 1/-1;
  margin-top: 0;
  padding: 16px 20px;
  background: #fffaf0;
  border: 1px solid #ded7c9;
  border-radius: 12px;
  font-size: 14px;
}
#dayEvents button {
  font-size: inherit;
}
#hosts .steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#membership .steps,
#hosts .steps {
  margin-top: 24px;
}
#membership .tiny-label {
  white-space: nowrap;
}
@media (max-width: 620px) {
  header {
    height: auto;
    min-height: 75px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  header nav {
    display: flex;
    order: 3;
    flex: 0 0 100%;
    gap: 8px 14px;
    flex-wrap: wrap;
    padding-top: 12px;
  }
  #hosts .steps {
    grid-template-columns: 1fr;
  }
}

/* ===== 추가 (2026-11-07): 지난 모임 표시 ===== */
.card.is-past .poster {
  opacity: 0.45;
}
.badge.past {
  background: #e2e0d8;
  color: var(--muted);
}
.calendar-grid button.past-day {
  color: #a7ab9f;
}
.calendar-grid button.past-day i {
  background: #b9bcb2;
}
.button:disabled {
  background: #b9bcb2;
  cursor: not-allowed;
}

/* =========================================================
   추가 (2026-11-07 v5): 시도플레이스식 캘린더 · 모임 카드 · 상세 화면
   ========================================================= */

/* 달력 칸: 날짜 숫자 + 모임 이름표(chip) */
.calendar-grid .blank {
  border-top: 1px solid var(--line);
  min-height: 84px;
}
.calendar-grid button {
  min-height: 84px;
  padding: 8px 3px;
  gap: 4px;
  border-left: 1px solid transparent;
}
.calendar-grid button .num {
  font-size: 13px;
}
.calendar-grid button.today .num {
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
}
.chip {
  display: block;
  width: 100%;
  padding: 4px 3px;
  border-radius: 6px;
  background: var(--green);
  color: var(--ink);
  font:
    500 11px/1.3 "Noto Sans KR",
    sans-serif;
  letter-spacing: -0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.calendar-grid button.selected {
  background: #f1efe4;
}
.calendar-grid button.selected .chip {
  background: var(--ink);
  color: var(--cream);
}
.chip-past {
  opacity: 0.5;
}
.chip-closed {
  text-decoration: line-through;
}

/* 달력 아래 영역 */
#dayEvents {
  padding: 0;
  background: none;
  border: 0;
  display: grid;
  gap: 18px;
}
.day-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.day-empty {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* 모임 카드 (사진 · 날짜 · 이름 · 소개 · 상태 · 장소 · 참여하기) */
.event-card {
  background: #f1efe4;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.ec-image {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1.5;
}
.ec-image svg,
.ec-image img,
.poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ec-date {
  margin: 0 0 6px;
  font:
    700 12px Arial,
    "Noto Sans KR",
    sans-serif;
  letter-spacing: 1px;
  color: var(--muted);
}
.ec-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.ec-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.ec-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: 14px;
}
.ec-go {
  width: 100%;
  justify-content: center;
  gap: 10px;
}
.event-card.is-past {
  opacity: 0.6;
}

/* 상태 표시 */
.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  background: #e2e0d8;
  color: var(--muted);
  white-space: nowrap;
}
.status-open {
  background: var(--orange);
  color: #fff;
}
.status-closed {
  background: var(--ink);
  color: var(--cream);
}

/* 예시 일정 안내 */
#demoBar {
  margin-top: 18px;
}
.demo-note {
  margin: 0 0 4px;
  font-size: 11px;
  color: var(--muted);
}

/* 목록 카드: 사진 링크 */
.poster {
  display: block;
}
.card-title {
  display: block;
}

/* 상세 화면 */
.ev {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 5.5% 80px;
}
.ev-back {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.ev-title {
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -0.06em;
  margin: 0 0 10px;
}
.ev-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}
.ev-top {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-bottom: 28px;
}
.apply {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 20px;
  border-radius: 60px;
  background: var(--ink);
  color: #f2ba51;
  font-size: 20px;
  font-weight: 700;
}
.apply:hover {
  background: #3d5c43;
}
.apply-off,
.apply-off:hover {
  background: #d9d8cf;
  color: var(--muted);
  font-size: 16px;
  cursor: not-allowed;
}
.ev-pictures img,
.ev-cover {
  display: block;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}
.ev-cover svg {
  display: block;
  width: 100%;
  height: auto;
}
.ev-info {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.9;
}
.ev-info h3 {
  font-size: 16px;
}
.ev-info ol {
  padding-left: 20px;
  color: var(--muted);
}
.ev-notice {
  padding: 12px 15px;
  background: var(--green);
  border-radius: 6px;
  font-size: 13px;
}
.ev-info .apply {
  margin-top: 24px;
}

/* 카카오톡 문의 버튼 (오른쪽 아래 동그라미) */
.ask {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 6px 20px #0003;
  z-index: 50;
}
.ask[hidden],
#eventView[hidden],
main[hidden] {
  display: none;
}

/* 휴대폰 화면 */
@media (max-width: 620px) {
  /* 첫 화면에서 캘린더가 빨리 보이도록 큰 그림·흐르는 띠를 숨김 */
  .hero-art,
  .ticker {
    display: none;
  }
  .hero {
    min-height: 0;
    padding-bottom: 10px;
  }
  .calendar-wrap {
    padding: 12px 6px;
  }
  .calendar-grid button,
  .calendar-grid .blank {
    min-height: 74px;
  }
  .chip {
    font-size: 9.5px;
    padding: 3px 1px;
    border-radius: 4px;
  }
  .event-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ec-title {
    font-size: 20px;
  }
  .ev {
    padding-top: 28px;
  }
  .ev-title {
    font-size: 27px;
  }
  .apply {
    font-size: 18px;
    padding: 17px;
  }
}

/* v5 보정 */
.ec-image {
  aspect-ratio: 1.16;
}
.ec-title,
.day-title {
  color: var(--ink);
}
.event-card {
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
}
@media (max-width: 620px) {
  .event-card {
    grid-template-columns: 1fr;
  }
}
.status-example {
  background: #fff3c4;
  color: #7a5b00;
}

/* =========================================================
   추가 (2026-11-12 v6): 스케치 반영
   - 캘린더: 왼쪽 달력 + 오른쪽 모임 안내
   - 월별 대원 활동(1~12월 칸) · 대원 합류하기 · 함께하는 대원들 · 공지사항
   ========================================================= */

/* 캘린더: 제목 줄 위, 아래에 [달력 | 모임 안내] */
.calendar-section {
  display: block;
}
.calendar-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.month-box {
  display: grid;
  justify-items: end;
}
.month-box .month-control {
  margin: 0;
}
.calendar-body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}
#dayEvents {
  position: sticky;
  top: 20px;
  grid-column: auto;
  gap: 14px;
}
#dayEvents .event-card {
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
#dayEvents .ec-image {
  aspect-ratio: 1.6;
}
.day-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
#dayEvents .day-tabs button {
  border: 1px solid var(--line);
  background: none;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
}
#dayEvents .day-tabs button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.ec-meta {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 10px;
}
.ec-host {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
  font-size: 12px;
  line-height: 1.5;
}
.ec-host strong {
  display: block;
  font-size: 13px;
}
.ec-host span {
  color: var(--muted);
}
.avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-blank {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}
.ec-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ec-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 0 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.ec-info dt {
  color: var(--muted);
}
.ec-info dd {
  margin: 0;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  background: var(--green);
  color: var(--ink);
  white-space: nowrap;
}
.badge-host {
  background: var(--ink);
  color: var(--cream);
}

/* 월별 대원 활동 */
.year-control {
  width: 160px;
  margin: 0 0 12px;
}
.activity-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.month-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.month-tiles button {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  text-align: left;
}
.month-tiles strong {
  font-size: 20px;
}
.month-tiles span {
  font-size: 11px;
  color: var(--muted);
}
.month-tiles button.has {
  background: var(--green);
}
.month-tiles button.has span {
  color: var(--orange);
  font-weight: 600;
}
.month-tiles button.past {
  opacity: 0.5;
}
.month-tiles button:hover,
.month-tiles button.active {
  border-color: var(--ink);
}
.month-tiles button.active {
  background: var(--ink);
  color: var(--cream);
}
.month-tiles button.active span {
  color: #f2ba51;
}
.month-activities {
  background: #f1efe4;
  border-radius: 16px;
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
}
.act-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.act-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.act-list li .status {
  margin-left: 6px;
}
.act-list h3 {
  margin: 8px 0 4px;
  font-size: 16px;
}
.act-list h3 a:hover {
  color: var(--orange);
}
.act-list p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.act-join {
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

/* 대원 합류하기 */
.join-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 8px;
}
.join-lead {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}
#joinAction .apply {
  width: auto;
  padding: 16px 30px;
  font-size: 16px;
  white-space: nowrap;
}

/* 함께하는 낭만 대원들 */
.member-nav {
  display: flex;
  gap: 8px;
}
.member-nav button {
  border: 1px solid var(--line);
  background: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.member-nav button:hover {
  border-color: var(--ink);
}
.member-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.member-viewport::-webkit-scrollbar {
  display: none;
}
.member-track {
  display: flex;
  gap: 20px;
}
.member-card {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  background: #f1efe4;
  border-radius: 16px;
  padding: 16px 16px 20px;
}
.member-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  font-size: 46px;
}
.member-meta {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.member-card h3 {
  margin: 10px 0 6px;
}
.member-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* 공지사항 */
.notice-section {
  padding-bottom: 30px;
}
.notice-title small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 4px;
}
.footer-links {
  display: grid;
  gap: 10px;
  justify-items: end;
  font-size: 12px;
}

@media (max-width: 900px) {
  .calendar-body,
  .activity-body {
    grid-template-columns: minmax(0, 1fr);
  }
  #dayEvents {
    position: static;
  }
  .member-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}
@media (max-width: 620px) {
  .calendar-intro,
  .join-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .month-box {
    justify-items: start;
  }
  .month-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
  .month-tiles strong {
    font-size: 17px;
  }
  .member-card {
    flex-basis: 78%;
  }
  #joinAction .apply {
    width: 100%;
  }
  .section-top {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-links {
    justify-items: start;
  }
}

.activity-body > *,
.calendar-body > * {
  min-width: 0;
}

/* ===== v7 (2026-11-12): 스케치 2차 반영 ===== */
.lead-q {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange) !important;
}
.month-tiles {
  grid-template-columns: repeat(3, 1fr);
}
.month-tiles button {
  aspect-ratio: 1.45;
}
.month-tiles strong {
  font-size: 17px;
  line-height: 1.3;
}
.join-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 22px;
  border-radius: 12px;
  background: var(--ink);
  color: #f2ba51;
  font-size: 19px;
  font-weight: 700;
}
.join-bar:hover {
  background: #3d5c43;
}
.member-pic {
  position: relative;
}
.member-role {
  position: absolute;
  top: 10px;
  left: 10px;
}
.member-card h3 {
  margin-top: 14px;
}
.join-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.join-benefits article {
  background: #f1efe4;
  border-radius: 12px;
  padding: 16px;
}
.join-benefits span {
  font: 10px Arial, sans-serif;
  letter-spacing: 1.5px;
  color: var(--orange);
}
.join-benefits h4 {
  margin: 8px 0 4px;
  font-size: 15px;
}
.join-benefits p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.join-page .ev-top .apply {
  width: 100%;
}
#joinView[hidden] {
  display: none;
}
@media (max-width: 620px) {
  .join-benefits {
    grid-template-columns: 1fr;
  }
  .month-tiles strong {
    font-size: 14px;
  }
  .join-bar {
    font-size: 16px;
  }
}

.month-tiles button {
  position: relative;
}
.month-tiles em {
  position: absolute;
  top: 10px;
  right: 12px;
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}
.month-tiles button.active em {
  color: #f2ba51;
}
.year-control {
  width: auto;
  gap: 14px;
}
.year-control strong {
  font-size: 15px;
}
