@import url('https://font.elice.io/css?family=Elice+DX+Neolli');

@font-face {
  font-family: 'MangoBoardByeolbyeol';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2405-3@1.1/MangoByeolbyeol.woff2') format('woff2');
  font-weight: normal;
  font-display: swap
}

/* 화려함은 장식 구역으로: 화면 전체 파스텔 색 덩어리(무작위 위치) 헤더 제목·별, 월 구분선. 가운데 정보 영역(카드·달력·팝업)은 흰 면 + 핑크 중심으로 차분하게 */
:root {
  /* 글꼴은 언어별로: 한국어 글꼴(Elice·망고보드)에는 가나가 없고 한자도 한국식이라 일본어·중국어에서 글자가 섞여 보임 */
  --f-body: "Elice DX Neolli", "Gowun Dodum", "Noto Sans KR", system-ui, sans-serif;
  --f-head: "Elice DX Neolli", Jua, "Noto Sans KR", sans-serif;
  --f-ui: MangoBoardByeolbyeol, Jua, sans-serif;
  /* 스티커 옅은 그림자(흰 테두리는 스티커 그림에 이미 있음. 카드 스티커·구분선 리본·여백 스티커·빈 화면 고양이 공용) */
  --sticker: drop-shadow(0 2px 3px rgb(117 10 73 / .16))
  /* 일본어·중국어 화면에서도 한국어로 된 행사 제목(데이터)은 뒤쪽 한국어 글꼴로 */
}

:root:lang(ja) {
  --f-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Elice DX Neolli", sans-serif;
  --f-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Elice DX Neolli", sans-serif;
  --f-ui: "M PLUS Rounded 1c", "Zen Maru Gothic", MangoBoardByeolbyeol, sans-serif /* 700만 불러서 버튼·칩은 늘 굵게(망고보드 느낌) */
}

:root:lang(zh-Hant) {
  --f-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Elice DX Neolli", sans-serif;
  --f-head: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Elice DX Neolli", sans-serif;
  --f-ui: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Elice DX Neolli", sans-serif
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --card: #ffffff;
  --ink: #191919;
  --body: #5f5f66;
  --mute: #8a8a93;
  --line: #f6cde4;
  --soft: #fff7fb;
  --mag: #e938cd;
  --pink-50: #fde8f4;
  --pink-200: #f9b9de;
  --pink: #ef43a7;
  --pink-600: #bc1074;
  --pink-800: #750a49;
  --sky-50: #e6f6fe;
  --sky-200: #b4e5fd;
  --sky: #38b9fa;
  --sky-600: #0586c7;
  --sky-800: #03547c;
  --lav-50: #eee8fc;
  --lav-200: #cdbbf7;
  --lav: #7949e9;
  --lav-600: #4616b6;
  --lav-800: #2c0e71;
  --prism: linear-gradient(105deg, #e938cd 10%, #1badfe 90%)
}

* {
  box-sizing: border-box;
  min-width: 0
}

[hidden] {
  display: none !important
}

/* 노트 느낌 '+' 격자: 30px 간격, 가운데(정보 영역 뒤)는 흐리게 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2; /* 여백 스티커(.side-deco, -1)보다 아래 */
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M15 11.5v7M11.5 15h7' stroke='%23a78bdb' stroke-opacity='.45' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0/30px 30px;
  -webkit-mask: radial-gradient(ellipse 55% 60% at 50% 45%, transparent 35%, #000 100%);
  mask: radial-gradient(ellipse 55% 60% at 50% 45%, transparent 35%, #000 100%)
}

html,
body {
  margin: 0
}

body {
  color: var(--ink);
  font: 16px/1.6 var(--f-body);
  letter-spacing: -.03em;
  overflow-x: clip;
  --mesh: radial-gradient(60vw 60vh at 8% 12%, #ffc9e6, transparent 70%), radial-gradient(55vw 55vh at 35% 80%, #ccf3e2, transparent 70%), radial-gradient(55vw 60vh at 58% 20%, #e6d2ff, transparent 70%), radial-gradient(60vw 60vh at 85% 70%, #c9e2ff, transparent 70%), radial-gradient(50vw 50vh at 100% 5%, #ffe1c4, transparent 70%);
  background: var(--mesh), linear-gradient(135deg, #fff0f7, #f3f0ff 50%, #eef8ff);
  background-attachment: fixed
}

h1,
h2,
h3,
.disp {
  font-family: var(--f-head);
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 0
}

button {
  font: inherit;
  font-family: var(--f-ui);
  font-size: 16px;
  letter-spacing: -.03em;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s
}

button:hover {
  border-color: var(--pink)
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--sky-600);
  outline-offset: 2px
}

.primary {
  background: var(--pink-50); /* 단색. 핑크→보라→하늘 그라디언트는 끝이 탁해 보여서 뺌 */
  border-color: transparent; /* 테두리 없이 바탕색만(2026-11-25) */
  color: var(--pink-600)
}

.primary:hover {
  background: color-mix(in srgb, var(--pink-200) 50%, var(--pink-50))
}

input,
select,
textarea {
  font: inherit;
  font-size: 16px;
  width: 100%;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid #f0dbe7;
  background: #fff;
  color: var(--ink)
}

textarea {
  min-height: 84px;
  resize: vertical
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  font-size: 15px
}

.chip.on {
  background: var(--pink-50);
  border-color: var(--pink-600);
  color: var(--pink-800)
}

.chip.ghost {
  border-style: dashed;
  color: var(--mute)
}

.chip[aria-pressed=true] {
  background: var(--pink-600);
  color: #fff;
  border-color: var(--pink-600)
}

.chip[data-org=fan][aria-pressed=true] {
  background: var(--sky-600);
  border-color: var(--sky-600)
}

.note {
  font-size: 13px;
  color: var(--mute)
}

.empty {
  text-align: center;
  padding: 40px 16px;
  border-radius: 24px;
  color: var(--mute);
  background: #fff
}

/* 빈 화면엔 졸린 고양이, 불러오기 실패엔 놀란 고양이(장식 구역) */
.empty::before {
  content: "";
  display: block;
  width: 92px;
  height: 80px;
  margin: 0 auto 12px;
  background: url(../img/stickers/cat-sleepy.webp) center / contain no-repeat;
  filter: var(--sticker)
}

.empty.fail::before {
  background-image: url(../img/stickers/cat-surprised.webp)
}

.empty .disp {
  font-size: 24px;
  color: var(--pink);
  margin-bottom: 6px
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(120px);
  background: var(--pink-600);
  color: #fff;
  font-family: var(--f-ui);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 16px;
  transition: transform .3s;
  z-index: 9;
  box-shadow: 0 4px 12px #0002
}

.toast.on {
  transform: translateX(-50%) translateY(0)
}

@media(prefers-reduced-motion:reduce) {
  .toast {
    transition: none
  }

  button {
    transition: none
  }
}
