/* Entry 010 — The algorithmic double
   Scene art direction: an obsidian mirror. Cold graphite and silver,
   machine-cyan for inferences, one warm human tone for what you confirm. */

.mirror-scene {
  display: grid;
  place-items: center;
  min-height: 760px;
  padding: 72px 32px;
  border-color: rgba(10, 11, 16, 0.7);
  /* background-first: cold graphite stone, the obsidian mirror */
  background-image:
    linear-gradient(180deg, rgba(9, 10, 15, 0.58) 0%, rgba(14, 16, 23, 0.40) 50%, rgba(9, 10, 15, 0.66) 100%),
    url("../../public/media/backgrounds/night-12-jason.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* a diagonal sheen, like light over black glass */
.mirror-sheen {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(210, 220, 240, 0.05) 49%, rgba(210, 220, 240, 0.10) 50%, rgba(210, 220, 240, 0.04) 52%, transparent 60%);
  filter: blur(6px);
}

/* ---- layout -------------------------------------------------------------- */

.double-ui {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  font-family: var(--ui-sans);
}

/* ---- the mirror ------------------------------------------------------------ */

.mirror-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  border-radius: 28px;
  background: linear-gradient(170deg, rgba(34, 38, 52, 0.55), rgba(16, 18, 26, 0.7));
  border: 1px solid rgba(200, 212, 235, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 44px 100px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  padding: 24px;
  color: #e6e9f2;
}

.mirror-kicker,
.feed-kicker {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(170, 185, 215, 0.6);
}

.mirror-head h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.9vw, 33px);
  font-weight: 500;
  line-height: 1.12;
  color: #f2f4fa;
  transition: color 300ms ease;
}

.inferences { display: grid; gap: 12px; }

.inference {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 212, 235, 0.12);
  padding: 14px 16px;
  transition: all 300ms ease;
}

.inf-text { display: grid; gap: 3px; }

.inf-claim {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #eef1f8;
}

.inf-conf {
  font-size: 11px;
  color: #7fd2dc;
  letter-spacing: 0.03em;
}

.inf-actions { display: flex; gap: 6px; flex: none; }

.inf-btn {
  border: 1px solid rgba(200, 212, 235, 0.25);
  border-radius: 999px;
  background: transparent;
  padding: 8px 13px;
  font: 650 11px/1 var(--ui-sans);
  letter-spacing: 0.04em;
  color: rgba(230, 233, 242, 0.7);
  cursor: pointer;
  transition: all 180ms ease;
}

.inf-btn:hover { border-color: rgba(230, 233, 242, 0.6); color: #fff; }

/* confirmed: warm human tone */
.inference.confirmed {
  background: rgba(232, 178, 125, 0.08);
  border-color: rgba(232, 178, 125, 0.4);
}

.inference.confirmed .inf-conf { color: #e8b27d; }

.inference.confirmed .yes {
  background: #e8b27d;
  border-color: #e8b27d;
  color: #2a1c0c;
}

/* disputed: struck through, cooling down */
.inference.disputed {
  opacity: 0.55;
}

.inference.disputed .inf-claim {
  text-decoration: line-through;
  text-decoration-color: rgba(191, 54, 23, 0.8);
  text-decoration-thickness: 2px;
}

.inference.disputed .inf-conf { color: rgba(170, 185, 215, 0.5); }

.inference.disputed .no {
  background: rgba(191, 54, 23, 0.85);
  border-color: rgba(191, 54, 23, 0.85);
  color: #fff;
}

/* ---- the feed -------------------------------------------------------------- */

.feed-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: 28px;
  background: rgba(10, 11, 16, 0.5);
  border: 1px solid rgba(200, 212, 235, 0.1);
  padding: 24px 20px;
  color: #e6e9f2;
}

.feed { display: grid; gap: 12px; }

.feed-card {
  display: grid;
  gap: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 212, 235, 0.13);
  padding: 14px 15px;
  transition: all 500ms ease;
}

.f-because {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7fd2dc;
}

.feed-card strong {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #eef1f8;
}

.feed-card.withdrawn {
  opacity: 0.35;
  filter: grayscale(1);
}

.feed-card.withdrawn .f-because { color: rgba(170, 185, 215, 0.5); }

.feed-card.fresh {
  border-color: rgba(232, 178, 125, 0.45);
  background: rgba(232, 178, 125, 0.07);
}

.feed-card.fresh .f-because { color: #e8b27d; }

.feed-note {
  margin: 6px 2px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(214, 222, 240, 0.66);
}

@media (max-width: 800px) {
  .mirror-scene { padding: 44px 16px; min-height: 0; }

  .double-ui { grid-template-columns: 1fr; }

  .inference { flex-direction: column; align-items: flex-start; }
}
