@charset "utf-8";
/* -----------------------------------------------
	* 메인 화면 — 아치 창 안쪽 (main.php)
--------------------------------------------------
	틀 · 위쪽 줄 · 토큰은 css/arch.css (먼저 읽는다).
	창 안: 로고 · 메뉴 넷 · 나침반 행성 허브(js/hub.js, −/＋ 확대) · 일정/개장 전 안내 카드(포스트잇 제목)
	장식 선(곡선 · 밑줄 · 점선 구분 · 티켓 홈)은 쓰지 않는다 — 면과 쪽지로만. 반짝이는 번짐 없이 크기만 바뀐다.
	이 파일은 main.php 에서만 읽는다. 이전 궤도 메인은 git 태그 ui-backup-20261119 에 있다.
--------------------------------------------------*/

/* 본문은 처음부터 보인다. (예전엔 window.onload 까지, 그다음엔 짧은 페이드로 투명하게 시작했는데
   느린 PC · 일부 브라우저에서 그 상태로 멈춰 '모눈만 보이는' 일이 있어 둘 다 뺐다) */
.rc-arch-win {
  padding-top: 30px;
  padding-bottom: 70px;   /* 바닥 메뉴 줄 자리 */
}

/* ---------------------------------------------- 창 안: 로고 · 메뉴 */
.rc-arch-logo {
  position: relative;
  z-index: 3;
  margin: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.rc-arch-logo img {
  width: clamp(180px, 19vw, 290px);
  height: auto;
}
.rc-arch-logo .is-light,
html[data-theme="light"] .rc-arch-logo .is-dark { display: none; }
html[data-theme="light"] .rc-arch-logo .is-light { display: block; }

.rc-arch-row {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 12px;
  margin-top: -40px;
}
.rc-arch-nav,
.rc-arch-cards {
  position: relative;
  z-index: 7;   /* 행성을 키워도 메뉴 · 카드가 위에 */
}

/* 곡선 메뉴 넷 — 위 둘은 이름이 왼쪽, 아래 둘은 오른쪽 */
.rc-arch-nav {
  position: relative;
  flex: 0 0 280px;
  height: 380px;
  margin-left: 26px;   /* 이름이 모두 마름모 왼쪽이라 SYSTEM 글자 자리만큼 안쪽으로 */
}
/* 메뉴를 잇는 궤도선: 끝으로 갈수록 흐려지는 금색 한 줄(그라데이션은 선에만, 번짐 없음) */
.rc-arch-orbit {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;   /* 오래된 브라우저용 */
  inset: 0;
  width: 280px;
  height: 380px;
  overflow: visible;
  pointer-events: none;
}
.rc-arch-orbit stop { stop-color: var(--a-gold); }
.rc-arch-orbit path {
  fill: none;
  stroke: url(#rc_orbit_fade);
  stroke-width: 1.5;
}
.rc-arch-nav-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
}
/* 마름모 가운데가 궤도 원(393,201 · r238) 위 -140° · -163° · 174° · 151° 에 오도록 */
/* 자리(높이 · 너비 = 마름모가 궤도선 위에 오는 값)는 위에서부터 1~4번 칸. 순서: 공지 · 세계관 · 시스템 · 멤버 */
.rc-arch-nav-item.is-notice { left: 0; top: 24px; width: 231px; }
.rc-arch-nav-item.is-world  { left: 0; top: 107px; width: 185px; }
.rc-arch-nav-item.is-system { left: 0; top: 202px; width: 176px; }
.rc-arch-nav-item.is-member { left: 0; top: 292px; width: 205px; }
.rc-arch-nav-item.is-label-left { justify-content: flex-end; }
.rc-arch-nav-item:not(.is-label-left) .rc-arch-dia { order: -1; }
.rc-arch-nav-text {
  display: grid;
  padding: 0 2px;
}
.is-label-left .rc-arch-nav-text {
  justify-items: end;
}
.rc-arch-nav-text b {
  font-family: "Cormorant Garamond", var(--rc-font-story) !important;
  font-weight: 600 !important;
  font-size: 27px;
  letter-spacing: .1em;
  line-height: 1;
}
.rc-arch-nav-text small {
  font-size: 11px;
  color: var(--a-sub);
}
.rc-arch-dia {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border: 1.5px solid var(--a-edge);
  background: var(--a-dia);
  color: var(--a-suit);
  transition: background-color .2s ease, color .2s ease, filter .35s ease;
}
.rc-arch-nav-text b { transition: text-shadow .35s ease; }
.rc-arch-dia .rc-ico {
  width: 20px;
  height: 20px;
  transform: rotate(-45deg);
}
.rc-arch-nav-item:hover .rc-arch-dia,
.rc-arch-nav-item:focus-visible .rc-arch-dia {
  background: var(--a-ink);
  color: var(--a-win);
  filter: drop-shadow(0 0 10px var(--a-glow)) drop-shadow(0 0 3px var(--a-glow));   /* 은은하게 빛난다 */
}
.rc-arch-nav-item:hover .rc-arch-nav-text b,
.rc-arch-nav-item:focus-visible .rc-arch-nav-text b {
  text-shadow: 0 0 14px var(--a-glow), 0 0 4px var(--a-glow);
}
/* 라이트: 먹 글씨 둘레로 금빛이 넓고 옅게 번진다(가까운 번짐은 글씨가 뭉개져 보여서 넓게만) */
html[data-theme="light"] .rc-arch-nav-item:hover .rc-arch-nav-text b,
html[data-theme="light"] .rc-arch-nav-item:focus-visible .rc-arch-nav-text b {
  text-shadow: 0 0 6px rgba(214, 160, 40, .85), 0 0 14px rgba(214, 160, 40, .7), 0 0 26px rgba(226, 184, 82, .5);
}
/* 행성에 마우스를 올리면 은은하게 빛난다(js/hub.js .is-planet-hot).
   행성 뒤에 깔린 빛 원판(.rc-hub-halo)의 투명도만 바꾼다 — 매 프레임 다시 그리는 필터보다 훨씬 가볍다 */
.rc-hub-halo {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 46%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--a-glow) 55%, transparent);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.rc-hub.is-planet-hot .rc-hub-halo { opacity: 1; }
.rc-hub.is-planet-hot { cursor: pointer; }

/* ---------------------------------------------- 나침반 행성 허브 */
.rc-hub {
  position: relative;
  flex: 1 1 480px;
  min-width: 0;
  max-width: min(780px, calc((100vh - 320px) * 1.6129));
  margin: 0 auto;
  aspect-ratio: 1000 / 620;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}
/* 오래된 브라우저(크롬 88 미만 — 구버전 웨일): aspect-ratio 가 없으면 허브 높이가 0 이 된다 → 위 여백으로 비율을 잡는다 */
@supports not (aspect-ratio: 1) {
  .rc-hub::before { content: ""; display: block; padding-top: 62%; }
  .rc-hub-halo { height: 0; padding-top: 46%; }
}
.rc-hub-stage {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;   /* 오래된 브라우저용 */
  inset: 0;
  transform: scale(var(--hz, 1));
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
/* 확대 · 축소: 행성 위 오른쪽, 각진 작은 단추 둘 */
.rc-hub-zoom {
  position: absolute;
  z-index: 8;
  top: 2%;
  right: 6%;
  display: flex;
  gap: 6px;
}
.rc-hub-zoom button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px dashed var(--a-gold);
  border-radius: 50%;
  background: var(--a-win);
  color: var(--a-ink);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.rc-hub-zoom button .rc-ico { width: 15px; height: 15px; stroke-width: 2; }
.rc-hub-zoom button:hover:not(:disabled),
.rc-hub-zoom button:focus-visible {
  border-style: solid;
  border-color: var(--a-ink);
  background: var(--a-ink);
  color: var(--a-win);
}
.rc-hub-zoom button:disabled { opacity: .35; cursor: default; }
.rc-hub-svg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;   /* 오래된 브라우저용 */
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.rc-hub-svg.h-back  { z-index: 1; }
.rc-hub-svg.h-mid   { z-index: 4; }
.rc-hub-svg.h-front { z-index: 5; }
.rc-hub-items {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;   /* 오래된 브라우저용 */
  inset: 0;
}
.rc-hub-item {
  position: absolute;
  z-index: 6;
  display: grid;
  justify-items: center;
  gap: 4px;
  transform: translate(-50%, -20px) scale(var(--s, 1));
  transform-origin: 50% 20px;
}
.rc-hub-item.is-dot {
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: 50% 50%;
}
.rc-hub-item.is-back { z-index: 2; }
.rc-hub-chip {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--h-chip-bg);
  color: var(--h-chip-fg);
  transition: background-color .2s ease, color .2s ease;
}
.rc-hub-chip .rc-ico { width: 20px; height: 20px; }
.rc-hub-label {
  font-size: 12px;
  font-weight: 500 !important;
  white-space: nowrap;
  color: var(--h-label);
}
a.rc-hub-item:hover .rc-hub-chip,
a.rc-hub-item:focus-visible .rc-hub-chip {
  background: var(--h-needle-a);
  color: #1d1c1b;
}
.rc-hub-dot {   /* 고리 ② 위 작은 공: 바로가기 단추와 같은 색(라이트 = 먹빛 검정, 다크 = 크림), 단추보다 훨씬 작게 */
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--h-chip-bg);
}
.rc-hub .h-orbit { fill: none; stroke: var(--h-orbit); stroke-width: 1.4; }
.rc-hub .h-dotline { stroke-width: 1; stroke-dasharray: 1 7; stroke-linecap: round; }
.rc-hub .h-orbit-dot { fill: none; stroke: var(--h-orbit-dot); stroke-width: 1.6; stroke-dasharray: .5 9; stroke-linecap: round; }
.rc-hub .h-antler { fill: var(--h-antler); }
.rc-hub .h-antler2 { fill: var(--h-antler2); }
/* 고리 ①: 실처럼 가는 띠(가운데만 살짝 도톰) + 아주 옅은 바깥 선 + 안쪽 점선. 띠 위로 빛 한 점이 흐른다.
   (빛 번짐 필터는 매 프레임 다시 계산돼 무거워서 뺐다 — 밝은 색 띠로 빛나 보이게) */
.rc-hub .h-ring1 { fill: var(--h-ring1); }
.rc-hub .h-ring1b { fill: none; stroke: var(--h-ring1b); stroke-width: .8; opacity: .55; }
.rc-hub .h-ring1c { fill: none; stroke: var(--h-ring1b); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: .1 8; opacity: .8; }
.rc-hub .h-ring1s {
  fill: none;
  stroke: var(--h-shimmer);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 46 560;
}
.rc-hub.is-lite .h-ring1s { display: none; }
html.fx-off-motion .rc-hub .h-ring1s { opacity: 0; }

/* 궤도 반짝이: 꼬리 점 다섯 + 네 갈래 별(살짝 빛남) */
.rc-hub .h-comet { transition: opacity .3s ease; }
.rc-hub .h-comet circle { fill: var(--h-comet-tail); }
.rc-hub .h-comet path { fill: var(--h-spark); }
.rc-hub .h-planet { fill: var(--h-planet); }
.rc-hub .h-planet-shade { fill: var(--h-shade); }
.rc-hub .h-planet-edge { fill: none; stroke: var(--h-edge); stroke-width: 2; }
.rc-hub .h-rose-line { fill: none; stroke: var(--h-rose); stroke-width: 1.2; }
.rc-hub .h-thin { stroke-width: .8; }
.rc-hub .h-rose { fill: var(--h-rose); }
.rc-hub .h-rose-light { fill: var(--h-rose-light); }
.rc-hub .h-rose-dark { fill: var(--h-rose-dark); }
.rc-hub .h-letter text {
  fill: var(--h-letter);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 17px;
  text-anchor: middle;
  dominant-baseline: central;
}
.rc-hub .h-needle-a { fill: var(--h-needle-a); }
.rc-hub .h-needle-b { fill: var(--h-needle-b); }
.rc-hub .h-needle-c { fill: var(--h-planet); stroke: var(--h-needle-b); stroke-width: 2; }
/* 반짝임(별 · 별가루 · 궤도 반짝이)은 CSS 애니메이션 대신 js/hub.js 가 한 루프(초당 30번)에서 투명도만 바꾼다.
   SVG 안 요소마다 애니메이션을 따로 돌리면 그림 전체를 매번 다시 그려 느린 PC 에서 무겁다 */
.rc-hub .h-sparks path { fill: var(--h-spark); }
.rc-hub .h-sparks path:nth-child(3n) { fill: var(--h-label); }
/* 별가루 */
.rc-hub .h-dust .d1 { fill: var(--h-dust1); }
.rc-hub .h-dust .d2 { fill: var(--h-dust2); }
.rc-hub .h-dust .d3 { fill: var(--h-spark); }


/* ---------------------------------------------- 오른쪽 카드 — 평평한 종이 + 포스트잇 제목(예전 키치 홈의 쪽지)
   넓은 화면: 창 오른쪽 위(아치 어깨 위까지)에 식단표 · 일정 · 개장 전 안내를 겹겹이 붙인다(행 흐름 밖).
   좁은 화면: 행성 아래로 흘러 내려온다 */
.rc-arch-cards {
  flex: 0 1 260px;
  align-self: flex-end;
  display: grid;
  gap: 26px;
  margin-bottom: 6px;
}
@media (min-width: 1181px) {
  .rc-arch-win { overflow: visible; }   /* 카드가 아치 어깨 위로 걸친다 */
  .rc-arch-row { padding-right: 280px; }
  /* 세 카드를 창 위(포스트잇이 위쪽 줄 아래로 숨지 않게)부터 바닥 메뉴 줄 위까지 고르게 벌려 놓는다.
     화면이 낮으면 간격이 줄되 최소 34px(포스트잇 자리)은 둔다 */
  .rc-arch-cards {
    position: absolute;
    top: 26px;
    bottom: 96px;
    right: 26px;
    width: 250px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 18px;
  }
}
/* 식단표: 점심 한 끼 — 작은 카드 */
.rc-meal { padding-bottom: 8px; }
.rc-meal-line {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 2px 0 0;
}
.rc-meal-line b {
  font-size: 11.5px;
  font-weight: 700 !important;
  color: var(--a-paper-sub) !important;
}
.rc-meal-line span {   /* 메뉴 이름: 프리텐다드 · 갈색 금빛(카드는 두 모드 모두 크림 종이라 색 한 벌) */
  font-family: "Pretendard", var(--rc-font-sans) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: #7d5a2c !important;
}
.rc-meal-note {
  position: absolute;
  top: 16px;
  right: 15px;
  margin: 0;
  font-size: 11px;
  color: var(--a-paper-sub) !important;
}
.rc-ticket {
  position: relative;
  padding: 13px 15px 6px;
  background: var(--a-paper);
  color: var(--a-paper-ink);
  /* 카키 한 줄 테두리 + 위 가장자리에 반투명 마스킹테이프 한 조각(포스트잇과 같은 테이프). 카드마다 반대로 기운다 */
  border: 1px solid var(--a-frame);
}
.rc-ticket::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 52px;
  height: 15px;
  background: rgba(242, 239, 230, .62);
  transform: translateX(-50%) rotate(-3deg);
  pointer-events: none;
}
.rc-ticket + .rc-ticket::before { transform: translateX(-50%) rotate(2.4deg); }
html[data-theme="light"] .rc-ticket::before {
  background: rgba(255, 253, 247, .78);
  outline: 1px solid rgba(176, 156, 110, .45);
}
.rc-ticket h2 {
  margin: 0;
  font-size: 15px;
}
/* 카드 제목: 박스 안 첫 줄, 본문과 같은 산세리프 굵은 글씨로 담백하게(꾸밈 기호 · 영문 · 밑줄 없음) */
.rc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  margin: 0 0 6px !important;
  padding: 0;
}
.rc-card-title {
  color: var(--a-paper-ink) !important;
  font-family: var(--rc-font-sans) !important;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none !important;
}
/* 카드 제목 = 카키 라벨(뒤에 색 박스) — 포스트잇 결로 아주 살짝, 이웃 카드끼리 반대로 기운다 */
.rc-card-title {
  display: inline-block;
  padding: 3px 9px 2px;
  background: var(--a-frame);
  color: #1d1c1b !important;
  transform: rotate(-1.5deg);
}
.rc-ticket + .rc-ticket .rc-card-title { transform: rotate(1.3deg); }
.rc-ticket + .rc-ticket + .rc-ticket .rc-card-title { transform: rotate(-1deg); }
a.rc-card-title { transition: background-color .18s ease; }
a.rc-card-title:hover,
a.rc-card-title:focus-visible { background: var(--a-gold); outline: none; }
html[data-theme="light"] a.rc-card-title:hover,
html[data-theme="light"] a.rc-card-title:focus-visible { background: #dccaa0; }
.rc-card-go {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: -4px;
  color: var(--a-paper-ink) !important;
}
.rc-card-go .rc-ico { width: 17px; height: 17px; }
/* → 화살표: 마우스를 대면 금빛으로 바뀌며 오른쪽으로 살짝 밀린다(카드 → · 안내 목록 → · 폰 '마이홈으로 →') */
.rc-arrow .rc-ico,
.rc-arrow > span[aria-hidden],
.rc-arch-home i {
  display: inline-block;
  transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), color .2s ease;
}
.rc-arrow:hover .rc-ico,
.rc-arrow:focus-visible .rc-ico,
.rc-arrow:hover > span[aria-hidden],
.rc-arrow:focus-visible > span[aria-hidden] {
  transform: translateX(4px);
  color: var(--a-gold);
}
html[data-theme="light"] .rc-arrow:hover .rc-ico,
html[data-theme="light"] .rc-arrow:hover > span[aria-hidden],
html[data-theme="light"] .rc-arrow:focus-visible .rc-ico,
html[data-theme="light"] .rc-arrow:focus-visible > span[aria-hidden] { color: #9a7d45; }
.rc-ticket ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rc-ticket li a,
.rc-ticket li .is-soon {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--a-paper-line);
  font-size: 13.5px;
}
.rc-ticket li:last-child a,
.rc-ticket li:last-child .is-soon { border-bottom: 0; }
.rc-ticket li a:hover,
.rc-ticket li a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.rc-ticket .is-soon { color: var(--a-paper-sub); }
.rc-ticket .is-soon small { font-size: 12px; }

/* 일정: 한 달 달력(extend/rc_calendar.lib.php) — 숫자 아래 점(게시판 표시색상), 오늘은 동그라미, 고른 날은 카키 칸.
   아래 줄에 고른 날의 일정. 카드는 다크 모드에서도 크림 종이라 색은 한 벌 */
.rc-sched { padding-bottom: 8px; }
.rc-cal { --cal-c1: #232323; --cal-c2: #a08b5c; --cal-c3: #b4664f; --cal-c4: #6f8a6a; }
.rc-cal.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s ease; }
.rc-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px -4px 4px;
}
.rc-cal-month {
  margin: 0;
  font-family: var(--rc-font-sans) !important;
  font-size: 13px;
  font-weight: 700;
  color: var(--a-paper-ink) !important;
}
.rc-cal-month b { font-size: 17px; font-weight: 700 !important; margin-right: 1px; }
.rc-cal-month small {
  margin-left: 4px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--a-paper-sub);
}
.rc-cal-nav {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--a-paper-sub);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.rc-cal-nav .rc-ico { width: 16px; height: 16px; }
.rc-cal-nav .rc-ico { transition: transform .28s cubic-bezier(.34, 1.56, .64, 1); }
.rc-cal-nav:hover,
.rc-cal-nav:focus-visible { color: #9a7d45; outline: none; }
.rc-cal-nav:first-child:hover .rc-ico,
.rc-cal-nav:first-child:focus-visible .rc-ico { transform: translateX(-3px); }
.rc-cal-nav:last-child:hover .rc-ico,
.rc-cal-nav:last-child:focus-visible .rc-ico { transform: translateX(3px); }
.rc-cal-grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.rc-cal-grid th {
  padding: 3px 0 5px;
  border-bottom: 1px solid var(--a-paper-line);
  font-family: var(--rc-font-sans) !important;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--a-paper-sub) !important;
  text-align: center;
}
.rc-cal-grid td { padding: 2px 0 0; text-align: center; }
.rc-cal-grid tbody tr:first-child td { padding-top: 5px; }
.rc-cal-grid .is-sun,
.rc-cal-grid .is-sun .rc-cal-d { color: #a5523d !important; }
.rc-cal-grid .is-sat,
.rc-cal-grid .is-sat .rc-cal-d { color: #4d6380 !important; }
.rc-cal-d {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 40px;
  height: 32px;
  padding: 2px 0 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--a-paper-ink);
  font-family: inherit;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color .15s ease;
}
.rc-cal-d span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  line-height: 1;
}
.rc-cal-d span { transition: background-color .15s ease; }
.rc-cal-d:hover span { background: color-mix(in srgb, var(--a-frame) 40%, transparent); }
.rc-cal-d:focus-visible { outline: none; }
.rc-cal-d:focus-visible span { outline: 1.5px solid var(--a-paper-ink); outline-offset: 1px; }
.rc-cal-d.is-today span { box-shadow: inset 0 0 0 1.5px var(--a-paper-ink); font-weight: 700; }
/* 고른 날: 숫자 뒤 카키 동그라미(칸 전체를 칠하던 네모는 줄 리듬을 깨서 바꿨다) */
.rc-cal-d.is-sel span,
.rc-cal-d.is-sel:hover span { background: var(--a-frame); font-weight: 700; }
.rc-cal-dots {
  display: flex;
  gap: 2px;
  height: 4px;
  margin-top: 1px;
}
.rc-cal-dots i,
.rc-cal-pick li i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cal-c1);
}
.rc-cal .c2 { background: var(--cal-c2) !important; }
.rc-cal .c3 { background: var(--cal-c3) !important; }
.rc-cal .c4 { background: var(--cal-c4) !important; }
.rc-cal-list {
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid var(--a-paper-line);
}
.rc-cal-when {
  margin: 0 0 2px;
  font-family: var(--rc-font-sans) !important;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--a-paper-ink) !important;
  font-variant-numeric: tabular-nums;
}
.rc-cal-when span { margin-left: 2px; color: var(--a-paper-sub); font-weight: 400; }
.rc-cal-when em {
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--a-paper-ink);
  color: var(--a-paper);
  font-family: inherit;
  font-size: 10.5px;
  font-style: normal;
  line-height: 16px;
  vertical-align: 1px;
}
.rc-ticket .rc-cal-pick li a {
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  border-bottom: 0;
  font-size: 13px;
}
.rc-cal-pick li i { flex: none; width: 6px; height: 6px; }
.rc-cal-pick li span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rc-ticket .rc-cal-pick li a.rc-cal-more { padding-left: 13px; font-size: 12px; color: var(--a-paper-sub); }
.rc-cal-none { margin: 2px 0 0; font-size: 12.5px; color: var(--a-paper-sub) !important; }

/* 넓은 화면: 세 카드(식단표 · 일정 · 개장 전 안내)가 스크롤 없이 한 화면에 — 글씨 · 칸 · 여백을 조금씩 줄였다(2026-11-19).
   달력 점은 숫자 바로 아래에 겹쳐 얹고(칸 높이를 안 늘린다), 일정 없는 날은 날짜 옆 한 줄 */
@media (min-width: 1181px) {
  .rc-arch-cards { gap: 14px; }
  .rc-ticket { padding: 10px 14px 4px; }
  .rc-card-head { min-height: 22px; margin: 0 0 4px !important; }
  .rc-card-title { padding: 2px 8px 1px; font-size: 13.5px; }
  .rc-card-go { width: 22px; height: 22px; }
  .rc-card-go .rc-ico { width: 16px; height: 16px; }
  .rc-meal { padding-bottom: 7px; }
  .rc-meal-note { top: 13px; }
  .rc-meal-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; padding: 0; }   /* '오늘의 점심  메뉴' 한 줄 */
  .rc-meal-line span { font-size: 14px; line-height: 1.4; }
  .rc-sched { padding-bottom: 6px; }
  .rc-cal-head { margin: 0 -4px 1px; }
  .rc-cal-nav { width: 22px; height: 22px; }
  .rc-cal-nav .rc-ico { width: 15px; height: 15px; }
  .rc-cal-month b { font-size: 15.5px; }
  .rc-cal-grid th { padding: 1px 0 3px; font-size: 11px; }
  .rc-cal-grid td { padding: 1px 0 0; }
  .rc-cal-grid tbody tr:first-child td { padding-top: 3px; }
  .rc-cal-d { height: 25px; padding: 1px 0 0; font-size: 12px; }
  .rc-cal-d span { width: 20px; height: 20px; }
  .rc-cal-dots { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 3px; margin: 0; }
  .rc-cal-dots i { width: 3px; height: 3px; }
  .rc-cal-list { margin-top: 4px; padding-top: 5px; }
  .rc-cal-pick:has(> .rc-cal-none) { display: flex; align-items: baseline; gap: 8px; }
  .rc-cal-pick[hidden] { display: none !important; }
  .rc-cal-when { margin: 0; font-size: 12px; }
  .rc-cal-none { margin: 0; font-size: 12px; }
  .rc-ticket .rc-cal-pick li a { padding: 2px 0; font-size: 12.5px; }
  .rc-ticket .rc-cal-pick li a.rc-cal-more { font-size: 11.5px; }
  .rc-ticket li a,
  .rc-ticket li .is-soon { padding: 5px 0; font-size: 13px; }
}
/* 낮은 화면(노트북 등): 달력 칸 · 안내 줄을 한 번 더 */
@media (min-width: 1181px) and (max-height: 780px) {
  .rc-arch-cards { gap: 12px; }
  .rc-cal-d { height: 23px; }
  .rc-cal-d span { width: 19px; height: 19px; }
  .rc-ticket li a,
  .rc-ticket li .is-soon { padding: 4px 0; }
}

/* ---------------------------------------------- 좁은 화면 */
@media (max-width: 1180px) {
  .rc-arch-cards {
    flex: 1 1 100%;
    align-self: center;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
  }
}
@media (max-width: 860px) {
  .rc-hub-chip { width: 30px; height: 30px; }
  .rc-hub-chip .rc-ico { width: 15px; height: 15px; }
  .rc-hub-item { transform: translate(-50%, -15px) scale(var(--s, 1)); transform-origin: 50% 15px; gap: 2px; }
  .rc-hub-label { font-size: 10px; }
  .rc-hub-dot { width: 10px; height: 10px; }
  .rc-arch-row { margin-top: 0; gap: 18px; }
  .rc-hub { order: 1; flex: 1 1 100%; max-width: none; }
  /* 폰: 고리 위 바로가기는 감춘다(바닥 메뉴 줄에 같은 곳이 있다) */
  .rc-hub-item.is-chip { display: none; }
  .rc-arch-nav {
    order: 2;
    flex: 1 1 100%;
    height: auto;
    margin-left: 0;   /* 넓은 화면의 안쪽 여백(26px)을 빼야 가운데에 온다 */
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .rc-arch-nav-item,
  .rc-arch-nav-item.is-label-left {
    position: static;
    width: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    padding-top: 6px;
  }
  .rc-arch-nav-item .rc-arch-dia { order: -1; width: 34px; height: 34px; }
  .rc-arch-nav-text,
  .is-label-left .rc-arch-nav-text {
    justify-items: center;
    padding: 0;
    border: 0;
    text-align: center;
  }
  .rc-arch-nav-text b { font-size: 15px; letter-spacing: .04em; }
  .rc-arch-cards { order: 3; grid-template-columns: minmax(0, 1fr); margin: 16px 0 0; }
  .rc-hub-zoom { top: 0; right: 0; }
  /* 폰: 고리 위 바로가기가 없으니 행성을 조금 키운다(바깥 궤도 양 끝은 창에 살짝 잘린다) */
  .rc-hub-stage { transform: scale(calc(var(--hz, 1) * 1.18)); }
  /* 폰: 식단표는 한 줄 띠 — 포스트잇 · 점심 메뉴 · 임시 표시 */
  .rc-meal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
  }
  .rc-meal .rc-card-head { flex: none; margin: 0 !important; padding: 0 4px 0 0; min-height: 0; }
  .rc-meal-line { flex: 1; min-width: 0; }
  .rc-meal-line span { font-size: 14px; }
  .rc-meal-note { position: static; flex: none; }
  .rc-hub-zoom button { width: 28px; height: 28px; }
  .rc-arch-orbit { display: none; }
  .rc-arch-win { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .rc-hub-halo { transition: none; }
}


/* ---------------------------------------------- 마이홈 문 (main.php .rc-door) — 예전 1일 퀘스트 자리, 화면 아래 왼쪽
   메인 창과 같은 아치 모양의 작은 크림 문. 마우스를 대면 왼쪽 경첩으로 살짝 열리고(3D), 뒤에서 따뜻한 빛과 반짝이가 샌다.
   카드처럼 다크 모드에서도 크림 종이. 느린 PC · 움직임 끔이면 열리지 않고 빛만 켠다 */
.rc-door {
  position: fixed;
  z-index: 50;
  left: 56px;
  bottom: 0;
  width: 124px;
  height: 78px;
  perspective: 480px;
  color: var(--a-paper-ink) !important;
  text-decoration: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rc-door.is-soon { cursor: default; }
.rc-door-light,
.rc-door-leaf {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 62px 62px 0 0 / 40px 40px 0 0;
}
/* 문 뒤: 방 안의 불빛 */
.rc-door-light {
  overflow: hidden;
  background: radial-gradient(70% 90% at 82% 72%, #fffaf0 0%, #f3e6c6 34%, #cbb88e 76%, #ad9b74 100%);
  opacity: .55;
  transition: opacity .45s ease;
}
.rc-door-spark {
  position: absolute;
  width: 12px;
  height: 12px;
  fill: #fffaf0;
  opacity: 0;
  transform: scale(.3) rotate(-20deg);
  transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.5, .5, 1);
}
.rc-door-spark.s1 { right: 10px; top: 18px; width: 10px; height: 10px; }
.rc-door-spark.s2 { right: 22px; top: 40px; width: 7px; height: 7px; transition-delay: .08s; }
.rc-door-spark.s3 { right: 8px; top: 56px; width: 5px; height: 5px; transition-delay: .16s; }
/* 문짝 */
.rc-door-leaf {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  box-sizing: border-box;
  background: var(--a-paper);
  box-shadow: 0 -6px 22px -12px rgba(0, 0, 0, .45);
  transform-origin: 0 50%;
  transition: transform .55s cubic-bezier(.2, .75, .2, 1), box-shadow .55s ease;
}
html[data-theme="light"] .rc-door-leaf { box-shadow: inset 0 0 0 1px var(--a-edge), 0 -6px 22px -14px rgba(0, 0, 0, .35); }
.rc-door-ico {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--a-paper-ink);
  color: var(--a-paper);
  transition: box-shadow .45s ease;
}
.rc-door-ico .rc-ico { width: 13px; height: 13px; }
.rc-door-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 5px;
  line-height: 1.15;
}
.rc-door-name b {
  font-family: var(--rc-font-sans) !important;
  font-size: 13.5px;
  letter-spacing: -.01em;
  font-weight: 700 !important;
}
.rc-door-soon {   /* '마이홈' 바로 아래 가운데 */
  margin-top: 3px;
  padding: 0 5px;
  border: 1px solid var(--a-paper-line);
  border-radius: 999px;
  font-size: 8px;
  line-height: 12px;
  letter-spacing: -.02em;
  color: var(--a-paper-sub);
}
.rc-door-knob {
  position: absolute;
  right: 10px;
  top: 42px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--a-frame);
  box-shadow: inset -1px -1px 0 rgba(0, 0, 0, .22);
}
/* 열기 */
.rc-door:hover .rc-door-light,
.rc-door:focus-visible .rc-door-light { opacity: 1; }
.rc-door:hover .rc-door-spark,
.rc-door:focus-visible .rc-door-spark { opacity: 1; transform: scale(1) rotate(0); }
.rc-door:hover .rc-door-leaf,
.rc-door:focus-visible .rc-door-leaf {
  transform: rotateY(38deg);   /* 방 안쪽으로 열린다 — 오른쪽 틈으로 빛이 보인다 */
  box-shadow: -8px -4px 22px -12px rgba(0, 0, 0, .45);
}
.rc-door:hover .rc-door-ico,
.rc-door:focus-visible .rc-door-ico { box-shadow: 0 0 0 4px color-mix(in srgb, var(--a-frame) 45%, transparent); }
.rc-door:focus-visible { outline: none; }
.rc-door:focus-visible .rc-door-leaf { outline: 2px solid var(--a-paper-ink); outline-offset: 2px; }
/* 느린 PC · 움직임 끔 · 움직임 줄이기: 문은 그대로, 빛만 */
html.rc-lite .rc-door-leaf,
html.fx-off-motion .rc-door-leaf,
html.rc-lite .rc-door-spark,
html.fx-off-motion .rc-door-spark { transition: none; }
html.rc-lite .rc-door:hover .rc-door-leaf,
html.fx-off-motion .rc-door:hover .rc-door-leaf { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rc-door-leaf, .rc-door-spark { transition: none; }
  .rc-door:hover .rc-door-leaf { transform: none; }
}
/* 화면 폭이 좁아 가운데 메뉴 줄과 겹치면 메뉴 줄을 오른쪽으로 비킨다(예전 퀘스트 탭과 같은 규칙) */
@media (min-width: 861px) and (max-width: 1010px) {
  body:has(.rc-door) .rc-dock { left: auto; right: 24px; transform: none; }
}
/* 손님용 마이홈(문 · 폰 '마이홈으로')은 단추 — 기본 단추 모양을 걷어 낸다. 누르면 '로그인이 필요합니다' 쪽지 */
button.rc-door,
button.rc-arch-home {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: inherit;
}
button.rc-door { position: fixed; }
.rc-need-login {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(20, 18, 15, .38);
  animation: rc-need-fade .2s ease both;
}
.rc-need-login[hidden] { display: none; }
.rc-need-login-card {
  position: relative;
  width: min(300px, 100%);
  padding: 24px 22px 18px;
  box-sizing: border-box;
  background: var(--a-paper);
  color: var(--a-paper-ink);
  border: 1px solid var(--a-frame);
  text-align: center;
  animation: rc-need-pop .26s cubic-bezier(.2, .8, .3, 1.1) both;
}
.rc-need-login-card::before {   /* 카드와 같은 마스킹테이프 한 조각 */
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 56px;
  height: 15px;
  background: rgba(242, 239, 230, .7);
  outline: 1px solid rgba(176, 156, 110, .35);
  transform: translateX(-50%) rotate(-3deg);
}
.rc-need-login-h {
  margin: 0;
  font-family: var(--rc-font-sans) !important;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--a-paper-ink) !important;
}
.rc-need-login-p {
  margin: 6px 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--a-paper-sub) !important;
}
.rc-need-login-btns { display: flex; justify-content: center; gap: 8px; }
.rc-need-login-btns button {
  min-width: 88px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--a-paper-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--a-paper-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.rc-need-login-btns .rc-need-login-go { background: var(--a-paper-ink); color: var(--a-paper); }
.rc-need-login-btns button:hover,
.rc-need-login-btns button:focus-visible { background: var(--a-frame); border-color: var(--a-frame); color: #1d1c1b; outline: none; }
@keyframes rc-need-fade { from { opacity: 0; } }
@keyframes rc-need-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
html.rc-lite .rc-need-login,
html.rc-lite .rc-need-login-card { animation: none; }

/* 폰(860px 이하): 문은 감추고, 메뉴 넷 아래 글씨 한 줄 '마이홈으로 →' (main.php .rc-arch-home) */
.rc-arch-home { display: none; }
@media (max-width: 860px) {
  .rc-door { display: none; }
  .rc-arch-home {
    order: 2;
    position: relative;
    z-index: 7;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: 0 auto;
    padding: 8px 6px 9px;
    color: var(--a-ink) !important;
    font-family: var(--rc-font-story) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  .rc-arch-row > .rc-arch-home { flex: 0 0 100%; justify-content: center; }
  /* 글씨 아래 양끝이 흐려지는 금빛 한 줄 */
  .rc-arch-home::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 128px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--a-gold), transparent);
    opacity: .8;
  }
  .rc-arch-home i {
    font-style: normal;
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    color: var(--a-gold);
    animation: rc-home-nudge 2.8s ease-in-out infinite;
  }
  .rc-arch-home:active i,
  .rc-arch-home:hover i { transform: translateX(5px); color: var(--a-ink); animation: none; }
  .rc-arch-home small {
    align-self: center;
    padding: 0 6px;
    border: 1px solid var(--a-line);
    border-radius: 999px;
    font-family: var(--rc-font-sans, sans-serif);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 16px;
    color: var(--a-sub);
  }
  html.rc-lite .rc-arch-home i,
  html.fx-off-motion .rc-arch-home i { animation: none; }
}
@keyframes rc-home-nudge {
  0%, 60%, 100% { transform: none; }
  30% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .rc-arch-home i { animation: none; } }
