body.checkin-pending { overflow: hidden; }
dialog.checkin-dialog {
  width: min(620px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 28px);
  margin: auto;
  padding: clamp(22px, 4vw, 42px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #3b4938;
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0, #283827 0, transparent 55%), #111821;
  color: #f5f7fb;
  box-shadow: 0 30px 100px #0009;
}
.checkin-dialog[open] { display: block; }
.checkin-dialog::backdrop { background: #050a12ed; backdrop-filter: blur(12px); }
.checkin-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.checkin-heading .brand { font-size: 22px; }
.checkin-tag { border: 1px solid #d4f66b40; border-radius: 100px; padding: 7px 11px; color: #d4f66b; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; white-space: nowrap; }
.checkin-dialog h1 { margin: 0 0 12px; max-width: 13ch; font-size: clamp(29px, 4vw, 42px); line-height: 1.08; letter-spacing: -1.3px; }
.checkin-intro { margin: 0; color: #a9b6c6; font-size: 14px; line-height: 1.65; }
.checkin-profile { display: flex; align-items: center; gap: 15px; margin: 24px 0 18px; min-width: 0; }
.checkin-avatar { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 18px; background: linear-gradient(135deg, #683cce, #d72983 55%, #f6ae46); box-shadow: 0 5px 24px #c3297428; }
.checkin-avatar svg { width: 31px; height: 31px; fill: none; stroke: #fff; stroke-width: 1.8; }
.checkin-profile > div { min-width: 0; }
.checkin-profile strong { display: block; color: #f5f7fb; font-size: 13px; letter-spacing: 1px; }
.checkin-profile span:not(.checkin-avatar) { display: block; margin-top: 5px; font-size: 15px; color: #d4f66b; overflow-wrap: anywhere; }
.checkin-instagram { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #64705b; border-radius: 10px; background: #d4f66b0b; color: #ecf5e3; text-align: center; font-size: 14px; font-weight: 600; text-decoration: none; }
.checkin-instagram:hover { border-color: #d4f66b; background: #d4f66b16; }
.checkin-instagram svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.checkin-guidance { min-height: 36px; margin: 11px 0 16px; font-size: 12px; line-height: 1.5; color: #a9b6c6; }
.checkin-confirm { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #354351; border-radius: 12px; background: #090e1680; color: #e1e7ed; font-size: 13px; line-height: 1.6; cursor: pointer; }
.checkin-confirm input { appearance: auto; width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: #d4f66b; cursor: pointer; }
.checkin-confirm:has(input:disabled) { opacity: .55; cursor: default; }
.checkin-confirm:has(input:checked) { border-color: #d4f66b88; background: #d4f66b09; }
.checkin-dialog .checkin-submit { display: flex; width: 100%; min-height: 50px; margin-top: 18px; padding: 13px 16px; border: 0; border-radius: 10px; background: #d4f66b; color: #17200f; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.checkin-submit:disabled { background: #2b3540; color: #8894a5; cursor: not-allowed; }
.checkin-note { margin: 13px 0 0; color: #8896a8; text-align: center; font-size: 11px; line-height: 1.6; }
.checkin-dialog :is(a, button, input):focus-visible { outline: 3px solid #d4f66b; outline-offset: 4px; }
.footer .footer-social { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: #a8bd89; text-decoration: none; }
.footer .footer-social:hover { color: #d4f66b; }
.footer-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 360px) {
  dialog.checkin-dialog { padding: 21px 18px; border-radius: 18px; }
  .checkin-heading { gap: 6px; margin-bottom: 20px; }
  .checkin-heading .brand { font-size: 19px; }
  .checkin-tag { font-size: 8px; padding: 6px 8px; }
  .checkin-intro { font-size: 12px; }
  .checkin-profile { gap: 11px; margin-top: 19px; }
  .checkin-profile strong { font-size: 10px; }
  .checkin-profile span:not(.checkin-avatar) { font-size: 13px; }
  .checkin-avatar { width: 48px; height: 48px; flex-basis: 48px; border-radius: 15px; }
  .checkin-instagram, .checkin-dialog .checkin-submit { font-size: 12px; }
  .checkin-confirm { padding: 12px; gap: 9px; font-size: 12px; }
}
@media (min-width: 2200px) {
  dialog.checkin-dialog { width: min(820px, calc(100vw - 60px)); padding: 52px; }
  .checkin-dialog h1 { font-size: 56px; }
  .checkin-intro, .checkin-profile span:not(.checkin-avatar), .checkin-instagram, .checkin-dialog .checkin-submit { font-size: 20px; }
  .checkin-confirm { font-size: 18px; }
  .checkin-guidance { font-size: 16px; }
  .checkin-note { font-size: 15px; }
}
