.fd-app { background: #ffffff; border: 1px solid #e2e8f0; border-top: 4px solid #0d9488; border-radius: 12px; padding: 24px; box-shadow: 0 10px 30px -8px rgba(15,23,42,.08); }
.fd-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; margin-bottom: 24px; }
.fd-field { display: flex; flex-direction: column; gap: 6px; }
.fd-label { font-size: 13px; font-weight: 600; color: #0f172a; }
.fd-select { min-height: 42px; padding: 8px 12px; border-radius: 10px; border: 1px solid #cbd5e1; font-family: inherit; font-size: 14px; background: #fff; color: #0f172a; }
.fd-hud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.fd-stat { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; text-align: center; }
.fd-stat-label { display: block; font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.fd-stat-val { font-family: ui-monospace, monospace; font-size: 24px; font-weight: 700; color: #0f172a; }
.fd-stage { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #ffffff; border-radius: 12px; padding: 36px 24px; text-align: center; margin-bottom: 20px; }
.fd-prompt { font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-size: 46px; font-weight: 800; line-height: 1.15; margin: 0 0 20px; letter-spacing: -.01em; }
.fd-form { display: flex; justify-content: center; gap: 12px; max-width: 420px; margin: 0 auto; }
.fd-input { flex: 1; min-height: 48px; padding: 0 16px; border-radius: 10px; border: 2px solid #38bdf8; font-family: ui-monospace, monospace; font-size: 22px; font-weight: 700; text-align: center; color: #0f172a; background: #fff; }
.fd-btn { min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: all .15s; }
.fd-btn-start { background: #2563eb; color: #fff; }
.fd-btn-start:hover { background: #1d4ed8; }
.fd-btn-submit { background: #14b8a6; color: #0f172a; font-weight: 700; }
.fd-btn-submit:hover { background: #0d9488; color: #fff; }
.fd-btn-outline { background: #fff; color: #0f172a; border-color: #cbd5e1; }
.fd-btn-outline:hover { border-color: #2563eb; color: #2563eb; }
.fd-feedback { min-height: 24px; margin: 14px 0 0; font-size: 15px; font-weight: 500; color: #cbd5e1; }
.fd-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.fd-review { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.fd-review h2 { font-size: 20px; margin: 0 0 10px; }
.fd-missed { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fd-missed li { padding: 10px 12px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; border-radius: 8px; font-family: ui-monospace, monospace; font-size: 14px; }
.fd-hidden { display: none !important; }
@media (max-width: 640px) {
  .fd-controls, .fd-hud, .fd-missed { grid-template-columns: 1fr 1fr; }
  .fd-controls { grid-template-columns: 1fr; }
  .fd-prompt { font-size: 34px; }
  .fd-form { flex-direction: column; }
}