* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #0a0a0a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff; min-height: 100vh; }

.card { max-width: 460px; margin: 0 auto; background: #161616; min-height: 100vh; }
@media (min-width: 600px) {
  body { padding: 24px; }
  .card { border-radius: 18px; min-height: auto; margin: 20px auto;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4); border: 0.5px solid #2a2a2a; }
}

.hidden { display: none !important; }

.head { display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: #1e1e1e; border-bottom: 0.5px solid #2a2a2a; }
.head.fraud-head { background: rgba(239,68,68,0.08);
  border-bottom: 0.5px solid rgba(239,68,68,0.3); }
.head-icon { font-size: 22px; color: #F0B000; }
.fraud-head .head-icon { color: #f87171; }
.head-title { font-size: 14px; font-weight: 500; }
.head-sub { font-size: 11px; color: #888; margin-top: 2px; }

.content { padding: 16px; }

.txn-box { background: #1e1e1e; border: 0.5px solid #2a2a2a;
  border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.txn-label { font-size: 10px; color: #888; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 6px; }
.txn-amount { font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.txn-vendor { font-size: 13px; color: #aaa; }
.txn-meta { font-size: 11px; color: #666; margin-top: 6px; }

.existing-box { background: rgba(240,176,0,0.08);
  border: 0.5px solid rgba(240,176,0,0.4);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 14px;
  font-size: 12px; color: #F0B000; }

.fraud-banner { background: rgba(239,68,68,0.10);
  border: 0.5px solid rgba(239,68,68,0.4);
  border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.fraud-banner-title { font-size: 11px; color: #f87171; font-weight: 500;
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.fraud-banner-body { font-size: 13px; line-height: 1.4; }

.field { margin-bottom: 14px; }
.field label { display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; margin-bottom: 6px; }
.opt { font-weight: normal; color: #666; }
.req-tag.required-on::before { content: "REQUIRED"; background: #F0B000;
  color: #161616; padding: 1px 6px; border-radius: 3px;
  font-size: 9px; font-weight: 500; }
.req-tag.optional-on::before { content: "optional"; color: #666; font-weight: normal; }
.field input[type=text], .field textarea {
  width: 100%; background: #1e1e1e; border: 0.5px solid #2a2a2a;
  color: #fff; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; font-family: inherit; }
.field textarea { height: 72px; resize: none; }
.hint { font-size: 11px; color: #888; margin-top: 4px; }
.hint.center { text-align: center; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-btn { background: #1e1e1e; border: 0.5px dashed #F0B000;
  padding: 22px 8px; border-radius: 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 13px; cursor: pointer; transition: background 0.15s; }
.photo-btn:hover { background: #222; }
.photo-btn:active { background: #2a2a2a; }
.photo-icon { font-size: 26px; }

.thumb-row { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-top: 10px; }
.thumb { position: relative; aspect-ratio: 1; background: #1e1e1e;
  border: 0.5px solid #2a2a2a; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-size: 22px; color: #888; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .x { position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,0.75); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; line-height: 1; }
.thumb .name { position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.75); color: #fff; font-size: 9px;
  padding: 3px 4px; text-overflow: ellipsis; overflow: hidden;
  white-space: nowrap; text-align: center; }

.submit { width: 100%; background: #F0B000; border: none;
  color: #161616; padding: 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; cursor: pointer; margin-top: 4px; }
.submit:disabled { opacity: 0.6; cursor: not-allowed; }
.submit.secondary { background: transparent; border: 0.5px solid #F0B000; color: #F0B000; }
.submit.danger { background: #f87171; color: #161616; font-weight: 600; }

.fraud-link { margin-top: 14px; padding: 10px;
  background: rgba(239,68,68,0.08);
  border: 0.5px dashed rgba(239,68,68,0.5);
  border-radius: 8px; text-align: center; cursor: pointer;
  transition: background 0.15s; }
.fraud-link:hover { background: rgba(239,68,68,0.15); }
.fraud-link-title { font-size: 12px; color: #f87171; font-weight: 500; }
.fraud-link-sub { font-size: 10px; color: #aaa; margin-top: 3px; }

.back-link { text-align: center; font-size: 12px; color: #F0B000;
  margin-top: 14px; cursor: pointer; padding: 8px; }
.back-link:hover { text-decoration: underline; }

.footnote { font-size: 11px; color: #666; text-align: center; margin-top: 12px; }

.done { text-align: center; padding: 30px 16px; }
.done-icon { font-size: 48px; margin-bottom: 12px; }
.done-title { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.done-sub { font-size: 13px; color: #aaa; margin-bottom: 20px; line-height: 1.5; }
