/* /tip page. External file: the CSP here is style-src 'self', inline styles are dropped. */
html, body {
  margin: 0;
  min-height: 100vh;
  background: #0d1117;
  color: #c9d1d9;
  font-family: 'Pretendard Variable', Pretendard, Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { display: flex; align-items: center; justify-content: center; }
.tip { width: 100%; max-width: 340px; padding: 32px 20px; text-align: center; }
h1 { margin: 0 0 20px; font-size: 20px; font-weight: 700; color: #fff; }
.qr { width: 220px; height: 220px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 12px; }
.qr svg { display: block; width: 100%; height: 100%; }
.addr { margin: 18px 0 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; color: #fff; user-select: all; }
.open {
  display: inline-block; padding: 10px 18px; border: 1px solid rgba(247, 147, 26, .5); border-radius: 8px;
  color: #f7931a; text-decoration: none; font-size: 15px;
}
.open:hover, .open:focus-visible { background: rgba(247, 147, 26, .1); }
.note { word-break: keep-all; margin: 20px 0 6px; font-size: 13px; line-height: 1.6; color: #8b949e; }
.range { margin: 0 0 22px; font-size: 13px; color: #8b949e; }
.back {
  position: fixed; top: 12px; left: 12px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid #30363d; border-radius: 10px; background: #161b22; color: #c9d1d9; font-size: 15px; text-decoration: none;
}
.back:hover, .back:focus-visible { border-color: #f7931a; color: #fff; }

/* /contact shares this sheet. */
.contact { display: grid; gap: 8px; text-align: left; }
.contact label { font-size: 13px; color: #8b949e; }
.contact textarea, .contact input {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #30363d; border-radius: 8px;
  background: #161b22; color: #fff; font: inherit; font-size: 16px;
}
.contact textarea { resize: vertical; }
.contact .open { justify-self: center; margin-top: 8px; background: none; cursor: pointer; font: inherit; font-size: 15px; }
.contact .open:disabled { opacity: .5; cursor: default; }
.contact .note { text-align: center; }
.contact .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
