* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: #0a0b0d;
  color: #d6d8dc;
  font: 15px/1.7 "JetBrains Mono", Consolas, "Cascadia Code", monospace;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
}

.box {
  width: min(560px, 100%);
  border: 1px solid #2a2d33;
  padding: 34px 32px 28px;
  background: #0e1013;
}
.msg { margin: 0 0 30px; letter-spacing: .01em; }

.file {
  display: inline-flex; align-items: center; gap: 10px;
  color: #8f949c; text-decoration: none;
  border-top: 1px solid #1f2227; padding-top: 18px; width: 100%;
  transition: color .15s cubic-bezier(.2,.8,.2,1);
}
.file svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.file:hover, .file:focus-visible { color: #e6e7ea; outline: none; }

/* the answer line under the box: quiet, easy to miss */
.line {
  width: min(560px, 100%);
  display: flex; align-items: center; gap: 8px;
  margin-top: 26px; padding: 0 4px;
  border-bottom: 1px solid #16181c;
}
.caret { color: #3a3e45; user-select: none; }
.line input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: #c9ccd2; font: inherit; letter-spacing: .08em; padding: 8px 0;
  text-transform: uppercase; caret-color: #6b7078;
}
.line:focus-within { border-bottom-color: #2a2d33; }

.status { height: 20px; margin: 12px 0 0; font-size: 12.5px; color: #555a62; letter-spacing: .2em; }
.status.no { color: #8c3a34; }

.shake { animation: shake .32s cubic-bezier(.2,.8,.2,1); }
@keyframes shake { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }

@media (prefers-reduced-motion: reduce) { .shake { animation: none; } .file { transition: none; } }
@media (max-width: 480px) { body { font-size: 14px; } .box { padding: 26px 20px 22px; } }
