/* 로그인 · 짝꿍 연결 · 계정 (js/cloud.js) — 색·크기는 css/tokens.css. 로그인 버튼만 각 회사 색 규칙을 따라요 */
.cl-box { margin-top: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--halo); display: flex; flex-direction: column; gap: 10px; }
.cl-box .t-cap a { color: inherit; text-decoration: underline; }
.cl-btns { display: flex; flex-direction: column; gap: 8px; }
/* 각 회사 로그인 버튼 색 규칙을 따라요(공식 로고는 디자이너가 각 회사 안내 자료로 넣어요) */
.cl-btn { height: 48px; border-radius: var(--r-sm); border: 0; padding: 0 16px; font: 600 var(--fs-base)/1 var(--f-ui, inherit); text-align: center; cursor: pointer; width: 100%; }
.cl-btn:disabled { opacity: .5; }
.cl-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cl-btn--apple { background: #000; color: #fff; }
.cl-btn--kakao { background: #FEE500; color: rgba(0, 0, 0, .85); }
.cl-btn--naver { background: #03C75A; color: #fff; }
.cl-btn--google { background: #fff; color: #1f1f1f; border: 1px solid #747775; }
/* 소셜 로그인: 모두 같은 높이·모서리, 로고는 왼쪽 같은 자리, 글자는 가운데(보통 앱들의 공통 모양) */
.cl-btns { gap: 10px; }
.cl-btn--sso { position: relative; display: flex; align-items: center; justify-content: center; height: 54px; padding: 0 52px; box-sizing: border-box;
  font: 600 16px/1 var(--f-ui, inherit); letter-spacing: -0.01em; -webkit-tap-highlight-color: transparent; transition: transform .12s ease, filter .12s ease; }
.cl-btn--sso:active:not(:disabled) { transform: scale(.985); filter: brightness(.94); }
.cl-btn__logo { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; display: flex; align-items: center; justify-content: center; }
.cl-btn__logo svg { width: 100%; height: 100%; display: block; }
.cl-btn--apple .cl-btn__logo { width: 20px; height: 20px; margin-top: -12px; }   /* 애플 로고는 광학적으로 살짝 위로 */
.cl-btn--google .cl-btn__logo { width: 20px; height: 20px; margin-top: -10px; }
.cl-btn--naver .cl-btn__logo { width: 18px; height: 18px; margin-top: -9px; }
.cl-me { display: flex; flex-direction: column; gap: 2px; }
.cl-err { color: var(--alert-ink); font-size: var(--fs-sm); margin: 0; }
.cl-acct { display: flex; justify-content: space-between; margin-top: 8px; }
.cl-delink { color: var(--alert-ink); }
.cl-danger { background: var(--alert-soft); }
.cl-del { background: var(--alert-ink); color: var(--on-dark); }
.cl-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: var(--fs-sm); }
.cl-links a { color: var(--ink-2); }
.cl-ad { margin-top: 8px; }
.cl-promise { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); display: grid; gap: 4px; }
.cl-promise__t { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.cl-promise .t-cap { margin: 0; }
.cl-promise a { color: var(--link); text-decoration: underline; }
.cl-test { margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.cl-test .btn { width: 100%; }
.cl-share { display: grid; gap: 8px; margin: 8px 0 4px; }
.cl-share .btn { width: 100%; }
.cl-cta { margin: 14px auto 0; max-width: 320px; width: 100%; }
.cl-cta .cl-share { margin: 0; }
.cl-cta .cl-btn { width: 100%; }
.cl-share .cl-btn, .cl-cta .cl-btn { justify-content: center; text-align: center; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
/* 우리 여행 기록(히스토리) · 지난 커플 */
.cl-trips { display: grid; gap: 8px; margin-top: 16px; }
.cl-trips .rows { margin: 0; }
.cl-trip.is-cur .row__t { font-weight: 700; }
.cl-trip.is-cur { box-shadow: inset 3px 0 0 var(--honey); }
.cl-past { margin-top: 14px; }
.cl-pastlink { background: none; box-shadow: none; width: auto; height: auto; min-height: 44px; margin: 0 auto 6px; padding: 8px 12px; color: var(--on-dark-2); text-decoration: underline; font-size: var(--fs-md); font-weight: 600; }   /* 시작 화면의 "지난 커플 기록 보기": 큰 버튼이 아니라 글자 링크 */
.cl-past__trip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.cl-past__t { flex: 1 1 100%; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-acct { flex-wrap: wrap; }
/* 인스타그램 카드 미리보기(js/sharecard.js) */
.sc { position: fixed; inset: 0; z-index: 9999; background: var(--scrim); display: flex; align-items: center; justify-content: center; padding: 20px; }
.sc__panel { background: var(--paper); border-radius: var(--r-lg); padding: 16px; width: min(420px, 100%); max-height: 100%; overflow: auto; display: grid; gap: 12px; }
.sc__img { min-height: 160px; display: flex; align-items: center; justify-content: center; }
.sc__img img { width: 100%; height: auto; border-radius: var(--r-sm); display: block; }
.sc__img--two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }   /* 티켓 + 일정 두 장 */
.sc__btns { display: grid; gap: 8px; }
.sc__btns .btn { width: 100%; }
.sc__note { text-align: center; }

/* 연결된 AI 앱 목록(프로필) */
.cl-ais { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cl-ai { background: var(--halo); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }

/* 문의·불편신고(프로필, js/support.js) */
.sp-kinds { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-kinds .chip { height: 44px; padding: 0 18px; flex: none; }
.sp-err[hidden] { display: none; }
.sp-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sp-item { background: var(--paper); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.sp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sp-title { min-width: 0; overflow-wrap: anywhere; }
.sp-st { flex: none; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); background: var(--halo); border-radius: var(--r-sm); padding: 2px 8px; }
.sp-st[data-status="answered"] { color: var(--ok-ink); background: var(--ok-soft); }
.sp-text { margin: 0; font-size: var(--fs-md); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-ans summary { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.sp-ans .sp-text { background: var(--halo); border-radius: var(--r-sm); padding: 10px 12px; }
