/* 앱 안 브라우저 로그인 안내 창(2026-10-25 출시 검토 1-10, 그리기 boot/inapp-guide.js).
   index.html과 login.html이 함께 싣는다(두 페이지 모두 data-deferred-style — 첫 그림을 막지 않는다). login.html의 전역
   button·p 규칙(남색 + 금박 단추, 단락 여백)을 덮도록 클래스 둘로 쓴다. 색은 LUHITZ 남색·금 그대로(login.html·foundation.css). */
.tt-inapp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(8, 28, 52, 0.45);
}

.tt-inapp-guide {
  position: fixed;
  top: 50%;
  left: 16px;
  right: 16px;
  z-index: 10061;
  box-sizing: border-box;
  max-width: 360px;
  max-height: calc(100dvh - 32px);
  margin: 0 auto;
  padding: 22px 20px 18px;
  overflow-y: auto;
  transform: translateY(-50%);
  border: 1px solid #e5e9ed;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(8, 28, 52, 0.24);
  color: #1e293b;
  font-family: "Pretendard Variable", Pretendard, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.tt-inapp-guide .tt-inapp-guide-title {
  margin: 0 0 6px;
  color: #163a6e;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.tt-inapp-guide .tt-inapp-guide-lead {
  margin: 0 0 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

/* 주 동작: 로그인 단추와 같은 남색 몸체 + 금박 테두리 + 안쪽 금선. */
.tt-inapp-guide .tt-inapp-guide-open {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 46px;
  margin: 0 0 12px;
  padding: 0 16px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #1c4278, #0f2c57) padding-box,
    linear-gradient(135deg, #f0dca6, #b88f3e 45%, #e8cf8e) border-box;
  box-shadow: inset 0 0 0 2px #0f2c57, inset 0 0 0 3px rgba(217, 189, 130, 0.7);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.tt-inapp-guide .tt-inapp-guide-open:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #163a6e, inset 0 0 0 2px #0f2c57, inset 0 0 0 3px rgba(217, 189, 130, 0.7);
}

.tt-inapp-guide .tt-inapp-guide-hint {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f3e8;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.5;
}

.tt-inapp-guide .tt-inapp-guide-actions {
  display: flex;
  gap: 8px;
}

.tt-inapp-guide .tt-inapp-guide-copy,
.tt-inapp-guide .tt-inapp-guide-close {
  flex: 1 1 0;
  width: auto;
  min-height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d5dce3;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  color: #163a6e;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transform: none;
}

.tt-inapp-guide .tt-inapp-guide-copy:hover,
.tt-inapp-guide .tt-inapp-guide-close:hover {
  border-color: #e2c88a;
  background: #fbf6e8;
}

.tt-inapp-guide .tt-inapp-guide-copy:focus-visible,
.tt-inapp-guide .tt-inapp-guide-close:focus-visible,
.tt-inapp-guide .tt-inapp-guide-continue:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #163a6e;
}

.tt-inapp-guide .tt-inapp-guide-status {
  margin: 10px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.tt-inapp-guide .tt-inapp-guide-status:empty {
  display: none;
}

.tt-inapp-guide .tt-inapp-guide-url {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 8px 0 0;
  padding: 8px 10px;
  border: 1px solid #d5dce3;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  font: inherit;
  font-size: 13px;
}

.tt-inapp-guide .tt-inapp-guide-url[hidden] {
  display: none;
}

/* 판정이 틀렸을 때의 탈출구 — 눈에 덜 띄게 글자 링크 모양. */
.tt-inapp-guide .tt-inapp-guide-continue,
.tt-inapp-guide .tt-inapp-guide-continue:hover {
  display: block;
  width: auto;
  min-height: 0;
  margin: 12px auto 0;
  padding: 4px 6px;
  border: 0;
  background: none;
  box-shadow: none;
  color: #64748b;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transform: none;
}
