/* No external dependencies. Built for in-game browsers. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #000;
  color: #e5e7eb;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
  width: 100vw;
  overflow-x: hidden;
}

/* Some in-game browsers ignore the viewport meta; this helps force a mobile layout. */
@-ms-viewport { width: device-width; }
@viewport { width: device-width; }
a { color: inherit; text-decoration: none; }
input, textarea, button { font-family: inherit; }

.app { min-height: 100vh; padding-bottom: 72px; }
.wrap { width: 100%; max-width: 520px; margin: 0 auto; padding: 14px; }

.header { position: relative; z-index: 5; background: #000; }
.section { margin-top: 8px; }

.card {
  width: 100%;
  max-width: 100%;
  background: rgba(15, 23, 42, 0.70);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.headerCard { padding: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.topRow { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }

.icon { width: 36px; height: 36px; border-radius: 14px; }
.title { font-weight: 700; font-size: 16px; line-height: 1.2; }
.subtitle { font-size: 12px; color: #b6c2d6; margin-top: 2px; }

.pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.18);
  white-space: nowrap;
}

.h2 { font-weight: 800; font-size: 16px; }
.h3 { font-weight: 700; font-size: 13px; }
.muted { font-size: 12px; color: #b6c2d6; margin-top: 6px; }
.p { font-size: 13px; color: #d5deee; margin: 10px 0 0; }
.help { font-size: 11px; color: #aab6cb; margin-top: 8px; }

.form { margin-top: 14px; }
.field { margin-top: 12px; }
label { display: block; font-size: 12px; color: #b6c2d6; margin-bottom: 6px; }

input, textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.55);
  color: #e5e7eb;
  outline: none;
}
textarea { resize: vertical; }

input:focus, textarea:focus {
  border-color: rgba(124, 58, 237, 0.70);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.25);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .grid2 { grid-template-columns: 1fr; }
}

.tight { gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  border-radius: 14px;
  padding: 9px 12px;
  font-size: 13px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.55);
  color: #e5e7eb;
}
.chipOn {
  background: #7c3aed;
  border-color: rgba(196, 181, 253, 0.55);
}

.actions { margin-top: 14px; }

.btn {
  width: 100%;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.55);
  color: #e5e7eb;
}
.btn:disabled { opacity: 0.55; }

.btn-primary {
  background: #10b981;
  border-color: rgba(110, 231, 183, 0.55);
  color: #062016;
}
.btn-secondary {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e5e7eb;
}
.btn-ghost { background: rgba(2, 6, 23, 0.55); }

.truthBtn { text-align: left; }

.btnOnE { background: #10b981 !important; border-color: rgba(110, 231, 183, 0.55) !important; color: #062016 !important; }
.btnOnV { background: #7c3aed !important; border-color: rgba(196, 181, 253, 0.55) !important; color: #ffffff !important; }

.hidden { display: none !important; }

.nextCard { margin-top: 12px; padding: 12px; background: rgba(15, 23, 42, 0.60); }
.list { margin: 10px 0 0; padding: 0; list-style: none; }
.list li { display: flex; gap: 10px; margin-top: 8px; font-size: 12px; color: #c7d2e8; }
.dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(148, 163, 184, 0.70); margin-top: 5px; flex: 0 0 auto; }
.dot-v { background: rgba(196, 181, 253, 0.90); }
.dot-e { background: rgba(110, 231, 183, 0.90); }

.footerText { text-align: center; font-size: 11px; color: rgba(148, 163, 184, 0.70); padding: 18px 0 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: 92%;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.50);
  z-index: 9999;
}
.toastOk { border-color: rgba(110, 231, 183, 0.35); }
.toastErr { border-color: rgba(244, 63, 94, 0.35); }
