/* In-app browser sign-in hint — bottom sheet shown when Google OAuth is
   blocked inside an embedded WebView (KakaoTalk/Naver/Instagram/Facebook/
   LINE/Daum). Markup lives in auth.gohtml (web auth branch only) and is
   opened by JS there: either the sign-in click interception or a failed
   signInWithRedirect round-trip. Hidden + inert everywhere else. Mirrors the
   plus-paywall sheet structure but styles its own ws-inapp-hint classes —
   the paywall itself is untouched. Dark mode keys off [data-theme="dark"]
   (what dark-mode.js actually sets on the web). */
.ws-inapp-hint[hidden] { display: none; }
.ws-inapp-hint {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: inherit;
}
.ws-inapp-hint-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 20, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.ws-inapp-hint.open .ws-inapp-hint-backdrop { opacity: 1; }

.ws-inapp-hint-sheet {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fffdf8;
  border-radius: 26px 26px 0 0;
  padding: 0 22px calc(22px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 44px rgba(18, 26, 20, 0.3);
  transform: translateY(101%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 94vh;
  overflow-y: auto;
}
.ws-inapp-hint.open .ws-inapp-hint-sheet { transform: translateY(0); }

.ws-inapp-hint-grabber {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #ded8ce;
  margin: 12px auto 0;
}
.ws-inapp-hint-x {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: #f1ede3;
  color: #6b7568;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.ws-inapp-hint-sheet h2 {
  margin: 18px 24px 0 0;
  font-size: 20px;
  font-weight: 800;
  color: #243024;
  letter-spacing: -0.3px;
}
.ws-inapp-hint-desc {
  margin: 10px 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4a544a;
}
.ws-inapp-hint-open {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 16px;
  background: #2f7d4f;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(47, 125, 79, 0.34);
  transition: transform 0.12s ease, background 0.2s ease;
}
.ws-inapp-hint-open:active { transform: scale(0.985); background: #276b43; }
.ws-inapp-hint-open[hidden] { display: none; }
.ws-inapp-hint-copy {
  display: block;
  width: 100%;
  margin: 9px 0 0;
  padding: 13px;
  border: 1px solid #ded8ce;
  border-radius: 16px;
  background: #fff;
  color: #243024;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.ws-inapp-hint-copied {
  display: block;
  text-align: center;
  margin: 9px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #2f7d4f;
}
.ws-inapp-hint-copied[hidden] { display: none; }
.ws-inapp-hint-steps {
  text-align: center;
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #8a9486;
}
body.ws-inapp-hint-open { overflow: hidden; }

/* Dark mode */
[data-theme="dark"] .ws-inapp-hint-sheet { background: #1e231e; }
[data-theme="dark"] .ws-inapp-hint-sheet h2 { color: #e8ede5; }
[data-theme="dark"] .ws-inapp-hint-desc { color: #b9c4b6; }
[data-theme="dark"] .ws-inapp-hint-grabber { background: #2c332c; }
[data-theme="dark"] .ws-inapp-hint-x { background: #2c332c; color: #b9c4b6; }
[data-theme="dark"] .ws-inapp-hint-copy { background: #1e231e; border-color: #3a443a; color: #e8ede5; }
[data-theme="dark"] .ws-inapp-hint-steps { color: #7e887b; }
