/* ShotDrop invite site. Colors are the design set v1.2 tokens (07-Design-Tokens). */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --line: #E4E2DC;
  --ink: #191A1D;
  --muted: #5B5C5F;
  --link: #855612;
  --mark: #EDAB4B;
  --mark-ink: #191A1D;
  --button: #191A1D;
  --button-ink: #FAFAF8;
  --done: #EDAB4B;
  --done-ink: #191A1D;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191A1D;
    --surface: #25262A;
    --line: #3A3B40;
    --ink: #FAFAF8;
    --muted: #B9B9B7;
    --link: #EDAB4B;
    --button: #EDAB4B;
    --button-ink: #191A1D;
    --done: #FFE8C3;
    --done-ink: #191A1D;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Segoe UI", sans-serif;
}
:lang(en) body, body:lang(en) { line-height: 1.55; }
a { color: var(--link); }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }
header { padding: 24px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: block; height: 40px; width: 160px; }
.logo img { height: 40px; width: 160px; display: block; }
.logo .ondark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo .onlight { display: none; }
  .logo .ondark { display: block; }
}
.lang { font-size: 15px; }
h1 { font-size: 28px; line-height: 1.35; margin: 24px 0 8px; letter-spacing: 0.01em; }
.lede { color: var(--muted); margin: 0 0 24px; }
ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
ol.steps > li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 0 0 12px;
}
ol.steps h2 { font-size: 19px; line-height: 1.4; margin: 0 0 8px; display: flex; align-items: center; gap: 12px; }
ol.steps h2::before {
  content: counter(step);
  flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--mark); color: var(--mark-ink);
  font-size: 17px; line-height: 32px; text-align: center;
}
ol.steps p { margin: 0; }
.fallback { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.fallback h3 { font-size: 16px; margin: 0 0 4px; }
.fallback ol { margin: 0 0 12px; padding-left: 1.3em; }
button.copy {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; min-width: 240px; padding: 0 20px; border-radius: 14px;
  background: var(--button); color: var(--button-ink);
  font: inherit; font-weight: 600;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 0.12s ease-out, opacity 0.12s ease-out, background-color 0.2s ease-out, color 0.2s ease-out;
}
/* Pressed: it gives under the finger, as a button in an app does. */
button.copy:active { transform: scale(0.96); opacity: 0.85; }
/* Copied: the label, the mark and the color change for a moment, then it comes back. */
button.copy[data-state="copied"] { background: var(--done); color: var(--done-ink); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-done { display: none; stroke-width: 2.6; }
button.copy[data-state="copied"] .icon-copy { display: none; }
button.copy[data-state="copied"] .icon-done { display: block; animation: pop 0.25s ease-out; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  button.copy { transition: none; }
  button.copy:active { transform: none; }
  button.copy[data-state="copied"] .icon-done { animation: none; }
}
button.copy:focus-visible, a:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; }
.status { color: var(--muted); font-size: 15px; margin-top: 8px; min-height: 1.5em; }
.missing { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 0 0 12px; }
.note { color: var(--muted); font-size: 14px; margin: 24px 0; }
footer { color: var(--muted); font-size: 13px; padding: 24px 0 40px; border-top: 1px solid var(--line); margin-top: 24px; }
[hidden] { display: none !important; }
