/* P-0215/P-0215.005: mock.css, faithful decision screen phone mock only.
   Owns: every mock- class inside .phone-mock plus the frame sizing override.
   Cascade order: last of six, after pages.css. Nothing outside .phone-mock
   may depend on this file. Tokens reused from base.css :root only. */

/* ---------- Frame sizing (isolated to the hero phone) ---------- */

.phone-mock {
  width: min(375px, 88vw);
  aspect-ratio: auto;
  min-height: 0;
}

.phone-mock .phone-screen {
  height: auto;
  padding: 46px 12px 14px;
  gap: 10px;
}

/* P-0220 polish: spacing rhythm groups the mock into question, evidence,
   scale, then verdict plus CTA, instead of one flat 10px stack. */
.phone-mock .phone-screen .mock-side-con {
  margin-bottom: 2px;
}

.phone-mock .phone-screen .mock-balance {
  margin-top: 2px;
}

.phone-mock .phone-screen .mock-result {
  margin-top: 2px;
}

/* ---------- Status bar (decorative, mirrors the app scaffold) ---------- */

.mock-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink);
}

.mock-status-time {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.mock-status-dots {
  display: flex;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mock-status-dots li {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

/* ---------- App bar (question plus close affordance) ---------- */

.mock-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0 var(--border);
  padding: 12px;
}

.mock-appbar-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.mock-appbar-close {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Pro and con cards (mint vs coral side coding) ---------- */

.mock-side {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.mock-side-pro {
  border-left: 6px solid #00E5A0;
}

.mock-side-con {
  border-left: 6px solid #FF6B6B;
}

.mock-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.mock-side-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0;
}

.mock-side-score {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary-ink);
  min-width: 2ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--border);
}

.mock-item-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Weight chips (Minor 1, Important 3, Dealbreaker 5) ---------- */

.mock-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--primary-ink);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  white-space: nowrap;
}

.mock-chip-pro {
  background: rgba(0, 229, 160, 0.14);
  border-color: rgba(0, 184, 128, 0.55);
}

.mock-chip-con {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(204, 85, 85, 0.5);
}

.mock-chip-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mock-chip-label {
  letter-spacing: 0.02em;
}

.mock-chip-deal {
  border-width: 2px;
}

/* ---------- Balance scale (static tilt toward pro, 8 vs 4) ---------- */

.mock-balance {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 12px 10px;
  text-align: center;
}

.mock-tilter {
  position: relative;
  width: 78%;
  height: 10px;
  margin: 26px auto 0;
  background: var(--ink);
  border-radius: var(--radius-full);
  transform: rotate(-6deg);
}

.mock-tray {
  position: absolute;
  top: 8px;
  width: 64px;
  padding: 5px 4px 7px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 800;
}

.mock-tray-pro {
  left: -16px;
  box-shadow: 2px 2px 0 #00E5A0;
}

.mock-tray-con {
  right: -16px;
  box-shadow: 2px 2px 0 #FF6B6B;
}

.mock-tray-score {
  display: block;
  font-size: 0.8rem;
  margin-top: 2px;
}

.mock-post {
  width: 10px;
  height: 44px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: var(--radius-sm);
}

.mock-foot {
  width: 84px;
  height: 12px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: var(--radius-full);
}

.mock-balance-caption {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-ink);
  text-wrap: balance;
  font-variant-numeric: tabular-nums;
}

.mock-meter {
  display: flex;
  height: 6px;
  margin-top: 8px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.mock-meter-pro {
  flex: 67;
  background: #00E5A0;
}

.mock-meter-con {
  flex: 33;
  background: #FF6B6B;
}

/* ---------- Verdict (Weigh It resolved, Make the Call next) ---------- */

.mock-result {
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0 var(--primary);
  padding: 10px 12px;
}

.mock-result-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00E5A0;
  margin-bottom: 2px;
}

.mock-result-text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.mock-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-full);
  background: var(--primary-strong);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  box-shadow: 3px 3px 0 var(--shadow-color);
}

/* ---------- Motion (subtle float, off under reduced motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .mock-float {
    animation: mock-float 6s ease-in-out infinite;
  }
}

@keyframes mock-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .mock-float,
  .mock-tilter {
    animation: none;
  }
}
