:root{
  --bg:#1a1322;
  --accent:#c3a9e0;
}

html, body{
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(195,169,224,0.18), transparent 60%),
              var(--bg);
  color: rgba(255,255,255,0.88);
  font-family: 'D2Coding', monospace;
}

*, *::before, *::after{
  box-sizing: border-box;
}

/* ======================================================
   Crearium Capture Page (Page-only CSS)
   ====================================================== */

/* ---------- Root / Base ---------- */

.cc-wrap{
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 40px;
  text-align: center;
}

@media (max-width: 600px){
  .cc-wrap{ padding: 36px 16px 32px; }
}

/* ---------- Title Image ---------- */

.cc-title-image{
  display: block;
  margin: 0 auto 28px;
  max-width: 420px;
  width: 90%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
}

/* ---------- Hero / Slogan ---------- */

.cc-hero{ margin-bottom: 36px; }

.cc-title{
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffb6ef;
  text-shadow: 0 6px 18px rgba(0,0,0,0.55);
}

.cc-subtitle{
  margin: 6px 0 0;
  font-size: clamp(16px, 2.4vw, 22px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #c3a9e0;
}

.cc-tags{
  margin: 16px 0 0;
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 700;
  color: #ff00c8;
  word-break: keep-all;
}

/* ---------- Section ---------- */

.cc-section{ margin-top: 40px; }

.cc-section-title{
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffb6ef;
}

/* ---------- Download Buttons ---------- */

/* ✅ 공용 CSS 안 쓰는 전제라, 여기서 flex를 확실히 박아줌 */
.store-links,
.cc-store-links{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ✅ 다운로드 버튼 간격: 100px */
.cc-store-links{
  gap: 30px;
  margin-top: 8px;
}

/* ✅ 링크 기본 파란 포커스/하이라이트/밑줄 잔상 제거 */
.tip-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  border-radius: 12px;
}

.tip-wrap:focus,
.tip-wrap:focus-visible{
  outline: none;
}

.store-icon{
  max-width: 56px;
  /* ✅ 파란 잔상 원인 1순위가 '링크 포커스'였고,
     아이콘 그림자 자체는 검정 계열이라 유지해도 안전 */
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.55));
  display: block;
}

/* 툴팁 상자 기본 */
.tip-wrap .tip{
  background: rgba(0,0,0,0.78);
  border: 1px solid rgba(255, 91, 214, 0.25);
}

.cc-download-note{
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #ff00c8;

  /* ✅ 안내 문구 뒤쪽 파란 잔상 방지 */
  text-shadow: none !important;
  filter: none !important;
}

.cc-section-divider{
  height: 1px;
  width: 100%;
  max-width: 860px;
  margin: 18px auto 22px;
  /*background: rgba(195,169,224,0.25);*/
}

/* ---------- Manual (Accordion) ---------- */

/* 헤더: 타이틀 중앙 + 아이콘 아래 */
.cc-manual-header.cc-manual-header--stack{
  width: 100%;
  max-width: 860px;
  margin: 0 auto 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  gap: 12px;
}

.cc-manual-header.cc-manual-header--stack .cc-section-title{
  margin: 0;
}

.cc-fold-icon{
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.55));
}

/* 아코디언 박스 */
.cc-accordion{
  max-width: 860px;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 55px rgba(0,0,0,0.45);
  overflow: hidden;
}

/* 접힘/펼침 컨테이너 */
.cc-accordion-inner{
  height: 0;
  overflow: hidden;
  transition: height 0.28s ease;
}

/* 설명서 내부 */
.cc-manual{
  padding: 18px 18px 16px;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  font-size: 15px;
  text-align: left;
}

/* 기본 섹션 타이틀 */
.cc-manual h3{
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #ffd1f5;
  text-align: left !important;
}

/* 리스트 */
.cc-manual ul{
  margin: 6px 0 12px 18px;
  padding: 0;
  text-align: left !important;
}

.cc-manual li{
  margin: 4px 0;
  text-align: left !important;
  white-space: pre-line; /* \n 줄바꿈 */
}

/* ---------- Shortcut hierarchy (계층감) ---------- */

/* 상위: 이미지 미리보기 창 단축키 */
.cc-manual h3[data-key="CC_SHORTCUTS_TITLE"]{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);

  font-size: 18px;
  color: #ffb6ef;
}

/* 하위: 저장/삭제, 확대/축소, 복사/붙여넣기 */
.cc-manual h3[data-key="CC_SHORTCUTS_SAVE_TITLE"],
.cc-manual h3[data-key="CC_SHORTCUTS_ZOOM_TITLE"],
.cc-manual h3[data-key="CC_SHORTCUTS_COPY_TITLE"],
.cc-manual h3[data-key="CC_SHORTCUTS_DRAW_TITLE"]{
  margin-top: 12px;
  margin-left: 10px;

  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 209, 245, 0.92);
}

/* 하위 리스트는 한 단계 더 들여쓰기 */
.cc-manual h3[data-key="CC_SHORTCUTS_SAVE_TITLE"] + ul,
.cc-manual h3[data-key="CC_SHORTCUTS_ZOOM_TITLE"] + ul,
.cc-manual h3[data-key="CC_SHORTCUTS_COPY_TITLE"] + ul,
.cc-manual h3[data-key="CC_SHORTCUTS_DRAW_TITLE"] + ul{
  margin-left: 28px;
}

/* ---------- Footer ---------- */

.cc-footer{
  margin-top: 48px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

/* ---------- Tooltip hard-enable ---------- */

.tip{
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  white-space: nowrap;
}

/* ===============================
   Tooltip (force override)
================================ */

.tip{
  position: absolute !important;
  left: 50% !important;
  bottom: calc(100% + 10px) !important;
  transform: translateX(-50%) !important;

  padding: 6px 10px !important;
  border-radius: 8px !important;

  background: rgba(0,0,0,0.82) !important;
  color: #ffd1f5 !important;            /* ✅ 예쁜 연분홍 강제 */
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;

  opacity: 0;
  pointer-events: none;
  z-index: 9999;

  box-shadow: 0 8px 22px rgba(0,0,0,0.55) !important;
  border: 1px solid rgba(255, 182, 239, 0.35) !important;

  transition: opacity 0.15s ease;

  /* ✅ 툴팁 텍스트도 혹시 모를 잔상 제거 */
  text-shadow: none !important;
  filter: none !important;
}

/* PC */
.tip-wrap:hover .tip{
  opacity: 1;
}

/* Touch */
@media (hover: none){
  .tip-wrap:hover .tip{ opacity: 0; }
  .tip-wrap:active .tip{ opacity: 1; }
}
