@import url('./fonts/fonts.css');

:root {
  --bg:           #0a0a09;
  --bg-soft:      #14130f;
  --bg-elev:      #1d1b16;
  --paper:        #d9d2bc;
  --paper-ink:    #1a1815;
  --ink:          #e9e2d0;
  --ink-2:        #8a8270;
  --ink-3:        #5a5446;
  --alert:        #c8302a;
  --alert-bright: #e63a32;
  --stamp:        #b8201d;
  --accent:       #d6a92a;
  --rule:         rgba(233, 226, 208, 0.16);
  --rule-strong:  rgba(233, 226, 208, 0.32);

  --col: min(100% - 2rem, 480px);
  --gutter: 1rem;
  --radius: 1px;

  --f-stencil: 'Stencil', 'Impact', 'Arial Narrow Bold', sans-serif;
  --f-mono:    'Dossier', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

html { height: 100%; }

body {
  height: 100dvh;
  padding-top:    max(var(--gutter), env(safe-area-inset-top));
  padding-bottom: max(var(--gutter), env(safe-area-inset-bottom));
  padding-left:   max(var(--gutter), env(safe-area-inset-left));
  padding-right:  max(var(--gutter), env(safe-area-inset-right));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ──── Atmosphere ──────────────────────────────────────── */
/* Telescreen scanlines + vignette layered on top of everything. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0,0,0,0.30) 2.5px,
    rgba(0,0,0,0.30) 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.55;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1001;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.6) 100%);
}

main {
  width: var(--col);
  margin-inline: auto;
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* ──── Buttons ─────────────────────────────────────────── */
button {
  min-height: 44px;
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-stencil);
  font-size: 0.92rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease, transform 0.05s ease;
}
button:hover     { background: var(--accent); border-color: var(--accent); }
button:active    { transform: translateY(1px); }
button:disabled  { opacity: 0.28; cursor: not-allowed; }
button:disabled:hover { background: var(--ink); border-color: var(--ink); }

button.ghost {
  background: transparent;
  color: var(--ink);
}
button.ghost:hover { background: var(--rule); border-color: var(--ink); color: var(--ink); }

button.danger {
  background: var(--alert);
  border-color: var(--alert);
  color: var(--ink);
}
button.danger:hover { background: var(--alert-bright); border-color: var(--alert-bright); color: var(--ink); }

/* ──── Brand bar ───────────────────────────────────────── */
.bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand .eye {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  color: var(--ink);
}

.brand h1 {
  margin: 0;
  font-family: var(--f-stencil);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 4px;
  line-height: 0.9;
  color: var(--ink);
}

.brand .cursor {
  display: inline-block;
  width: 0.35em;
  height: 0.95em;
  background: var(--accent);
  margin-left: 0.1em;
  vertical-align: -0.05em;
  animation: blink 1.05s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.records {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  color: var(--ink-2);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.3;
}
.records strong {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  font-family: var(--f-mono);
}

.subtitle {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding: 0.35rem 0;
  margin-bottom: 0.6rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  flex-shrink: 0;
}
.subtitle::before, .subtitle::after { content: '◆'; margin: 0 0.5em; color: var(--alert); }

/* ──── Tabs ────────────────────────────────────────────── */
.tabs {
  display: flex;
  margin-bottom: 0.7rem;
  border: 1px solid var(--rule-strong);
  flex-shrink: 0;
}

.tabs button {
  flex: 1;
  min-height: 40px;
  background: transparent;
  color: var(--ink-2);
  border: none;
  border-radius: 0;
  font-family: var(--f-stencil);
  font-size: 0.78rem;
  letter-spacing: 3.5px;
  padding: 0.5rem;
}
.tabs button:hover { background: rgba(233,226,208,0.06); color: var(--ink); }
.tabs button + button { border-left: 1px solid var(--rule-strong); }
.tabs button.active {
  background: var(--ink);
  color: var(--bg);
}
.tabs button.active:hover { background: var(--ink); color: var(--bg); }

/* ──── Scan view ───────────────────────────────────────── */
.scan {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
}

.viewfinder {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  background: #000;
  border: 1px solid var(--ink);
  overflow: hidden;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 4px var(--ink-3),
    inset 0 0 60px rgba(0,0,0,0.7);
}
.viewfinder::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0,0,0,0.22) 3.5px,
    rgba(0,0,0,0.22) 4px
  );
}
.viewfinder::after {
  /* corner crosshairs always visible (looks like a CCTV viewport) */
  content: '';
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(var(--ink), var(--ink)) top left / 14px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top left / 1px 14px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top right / 14px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top right / 1px 14px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left / 14px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 1px 14px no-repeat;
  opacity: 0.55;
}

.viewfinder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) saturate(0.85);
}

.viewfinder.idle .idle-mark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-2);
  font-family: var(--f-stencil);
  font-size: 1rem;
  letter-spacing: 5px;
  text-align: center;
  z-index: 3;
}
.viewfinder.idle .idle-mark span:last-child {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--ink-3);
}

.viewfinder .rec {
  position: absolute;
  top: 10px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-stencil);
  font-size: 0.68rem;
  letter-spacing: 3px;
  color: var(--alert-bright);
  z-index: 4;
  text-shadow: 0 0 6px rgba(0,0,0,0.9);
}
.viewfinder .rec::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--alert-bright);
  box-shadow: 0 0 10px var(--alert-bright);
  animation: rec-blink 0.95s infinite;
}
@keyframes rec-blink { 50% { opacity: 0.2; } }

/* Reticle */
.reticle {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 22%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 4;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.55);
}
.reticle .corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--alert);
}
.reticle .corner.tl { top: -2px; left:  -2px; border-right:  none; border-bottom: none; }
.reticle .corner.tr { top: -2px; right: -2px; border-left:   none; border-bottom: none; }
.reticle .corner.bl { bottom: -2px; left:  -2px; border-right: none; border-top:    none; }
.reticle .corner.br { bottom: -2px; right: -2px; border-left:  none; border-top:    none; }

.reticle .hint {
  position: absolute;
  top: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-stencil);
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--alert-bright);
  background: var(--bg);
  padding: 3px 10px;
  border: 1px solid var(--alert);
  white-space: nowrap;
}

.reticle::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right,
    transparent 0%,
    var(--alert-bright) 20%,
    var(--alert-bright) 80%,
    transparent 100%);
  box-shadow: 0 0 10px var(--alert);
  top: 0;
  animation: scan-beam 2.4s ease-in-out infinite;
}
@keyframes scan-beam {
  0%, 100% { top: 0; }
  50%      { top: calc(100% - 2px); }
}

.status {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-2);
  min-height: 1.4em;
  padding: 0.25rem 0;
  word-break: break-word;
}
.status::before { content: '> '; color: var(--accent); }
.status.flash { color: var(--accent); font-weight: 700; }
.status.flash::before { color: var(--alert); }

.controls { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.controls button { flex: 1; }

/* ──── Lookup ──────────────────────────────────────────── */
.lookup-box {
  background: #000;
  border: 1px solid var(--ink);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 4px var(--ink-3);
}
.lookup-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0,0,0,0.3) 3.5px,
    rgba(0,0,0,0.3) 4px
  );
  pointer-events: none;
}

.lookup-box .ministry {
  font-family: var(--f-stencil);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--alert-bright);
  text-align: center;
  text-shadow: 0 0 8px rgba(200,48,42,0.4);
  position: relative;
  z-index: 1;
}

.spinner {
  width: 56px;
  height: 56px;
  position: relative;
  z-index: 1;
}
.spinner::before, .spinner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}
.spinner::before {
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  animation: spin 1.2s linear infinite;
}
.spinner::after {
  inset: 9px;
  border-bottom-color: var(--alert);
  border-left-color: var(--alert);
  animation: spin 0.85s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.lookup-box .status { position: relative; z-index: 1; }

/* ──── Book card (result) ──────────────────────────────── */
.book-card {
  background: var(--bg-soft);
  border: 1px solid var(--rule-strong);
  padding: 1.5rem 1.1rem 1.1rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  position: relative;
}
.book-card::before {
  content: '◆ DOSSIER';
  position: absolute;
  top: 0;
  left: 1rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-stencil);
  font-size: 0.62rem;
  letter-spacing: 3px;
  padding: 3px 9px;
  transform: translateY(-50%);
}
.book-card.no-meta { align-items: center; }

.book-card .cover {
  width: 90px;
  flex-shrink: 0;
  border: 1px solid var(--rule-strong);
  background: #000;
  display: block;
  filter: grayscale(0.18) contrast(1.05);
}

.book-card .info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.book-card .title {
  font-family: var(--f-stencil);
  font-size: 1.05rem;
  letter-spacing: 1px;
  line-height: 1.25;
  color: var(--ink);
  text-transform: uppercase;
}
.book-card .authors {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--ink);
}
.book-card .pub,
.book-card .isbn-line {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--ink-2);
  text-transform: uppercase;
}
.book-card .isbn-line { color: var(--accent); }

.book-card .filed-stamp {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  font-family: var(--f-stencil);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: var(--alert);
  border: 2px solid var(--alert);
  padding: 3px 9px;
  transform: rotate(-6deg);
  background: rgba(10,10,9,0.6);
}

/* ──── Duplicate banner ────────────────────────────────── */
.duplicate-banner {
  background: var(--alert);
  color: var(--ink);
  font-family: var(--f-stencil);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.65rem 0.85rem;
  text-align: center;
  border: none;
}
.duplicate-banner::before { content: '⚠ '; }

/* ──── Archive list ────────────────────────────────────── */
.list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

.list .empty {
  text-align: center;
  color: var(--ink-2);
  padding: 3rem 1rem;
  background: var(--bg-soft);
  border: 1px dashed var(--rule-strong);
  font-family: var(--f-stencil);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.6;
}
.list .empty .sub {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--ink-3);
  margin-top: 0.5rem;
}

.row {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 0.7rem 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
.row .ref {
  position: absolute;
  top: 4px;
  right: 36px;
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.row.clickable { cursor: pointer; transition: background 0.12s ease, border-left-color 0.12s ease; }
.row.clickable:hover { background: var(--bg-elev); border-left-color: var(--alert); }
.row.clickable:active { background: #25221b; }

.row .cover-sm {
  width: 38px;
  flex-shrink: 0;
  border: 1px solid var(--rule-strong);
  background: #000;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}
.row .code {
  font-family: var(--f-stencil);
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}
.row .time {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row .info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.row .x {
  background: transparent;
  color: var(--ink-3);
  border: 1px solid transparent;
  font-size: 1.3rem;
  min-height: 30px;
  min-width: 30px;
  padding: 0 0.4rem;
  letter-spacing: 0;
  font-family: var(--f-mono);
  border-radius: 0;
}
.row .x:hover { background: transparent; color: var(--alert); border-color: var(--alert); }

.list-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
  flex-shrink: 0;
}
.list-actions button { flex: 1; }

/* ──── Toast (stamped notice) ──────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(1.4rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) rotate(-2.5deg);
  background: var(--alert);
  color: var(--ink);
  font-family: var(--f-stencil);
  font-size: 0.85rem;
  letter-spacing: 3px;
  padding: 0.55rem 1.2rem;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
  z-index: 1100;
  animation: toast 2s ease forwards;
  text-transform: uppercase;
}
@keyframes toast {
  0%        { opacity: 0; transform: translate(-50%, 14px) rotate(-2.5deg) scale(0.92); }
  10%, 80%  { opacity: 1; transform: translate(-50%, 0) rotate(-2.5deg) scale(1); }
  100%      { opacity: 0; transform: translate(-50%, -8px) rotate(-2.5deg) scale(1); }
}

/* ──── Detail modal (paper dossier) ────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-top:    max(1rem, env(safe-area-inset-top));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1200;
  animation: fade 0.16s ease;
}
.modal {
  background: var(--paper);
  color: var(--paper-ink);
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  overflow-y: auto;
  position: relative;
  padding: 0 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  -webkit-overflow-scrolling: touch;
  font-family: var(--f-mono);
  background-image:
    linear-gradient(135deg, transparent 60%, rgba(0,0,0,0.06) 100%),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 24px,
      rgba(0,0,0,0.04) 24px,
      rgba(0,0,0,0.04) 25px
    );
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(0,0,0,0.18);
  border: 1px solid var(--paper-ink);
}
.modal::before {
  content: 'MINISTRY OF RECORDS — CONFIDENTIAL DOSSIER';
  display: block;
  font-family: var(--f-stencil);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--paper-ink);
  text-align: center;
  padding: 0.45rem 1.5rem 0.45rem;
  border-bottom: 2px solid var(--paper-ink);
  margin: 0 -1.1rem 0.5rem;
  background: rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 2;
}

.modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  background: var(--paper);
  color: var(--paper-ink);
  border: 1px solid var(--paper-ink);
  min-height: 28px;
  min-width: 28px;
  font-size: 0.9rem;
  padding: 0;
  line-height: 1;
  font-family: var(--f-mono);
  letter-spacing: 0;
  z-index: 3;
}
.modal-close:hover { background: var(--alert); color: var(--ink); border-color: var(--alert); }

.modal .cover-lg {
  align-self: center;
  width: 62%;
  max-width: 190px;
  display: block;
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  filter: grayscale(0.18);
  margin-top: 0.3rem;
}

.modal .title-lg {
  font-family: var(--f-stencil);
  font-size: 1.2rem;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1.5rem;
  color: var(--paper-ink);
}
.modal .authors-lg {
  font-family: var(--f-mono);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  color: var(--paper-ink);
  margin-top: -0.25rem;
}

.modal .meta-list {
  margin: 0.4rem 0 0 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1rem;
  row-gap: 0.55rem;
  font-size: 0.82rem;
  border-top: 1px dashed rgba(0,0,0,0.4);
  border-bottom: 1px dashed rgba(0,0,0,0.4);
  padding: 0.7rem 0;
}
.modal .meta-list dt {
  font-family: var(--f-stencil);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.62rem;
  align-self: center;
  color: var(--paper-ink);
}
.modal .meta-list dd {
  margin: 0;
  word-break: break-word;
  font-family: var(--f-mono);
  color: var(--paper-ink);
}
.modal .meta-list dd.mono { font-weight: 700; }
.modal .meta-list a {
  color: var(--stamp);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.modal .meta-list a:hover { background: var(--stamp); color: var(--paper); text-decoration: none; }

.modal .no-record-stamp {
  align-self: center;
  font-family: var(--f-stencil);
  font-size: 1.3rem;
  letter-spacing: 4px;
  color: var(--stamp);
  border: 3px solid var(--stamp);
  padding: 0.35rem 1rem;
  transform: rotate(-5deg);
  margin: 0.75rem 0 0.25rem;
  text-transform: uppercase;
}

.modal .actions { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.modal .actions button { flex: 1; }
.modal .actions button.ghost {
  background: transparent;
  border-color: var(--paper-ink);
  color: var(--paper-ink);
}
.modal .actions button.ghost:hover { background: rgba(0,0,0,0.1); color: var(--paper-ink); border-color: var(--paper-ink); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
