/* OBJECT A-90 shared campaign shell — CRT + continue + touch */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&display=swap');

:root {
  --a90-g: #33ff66;
  --a90-a: #c8a030;
  --a90-r: #c41212;
  --a90-m: #6d7f6d;
  --a90-panel: rgba(8, 12, 10, 0.92);
  --a90-font: 'IBM Plex Mono', Consolas, monospace;
}

.a90-crt-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.08) 0px,
    rgba(0, 0, 0, 0.08) 1px,
    transparent 2px,
    transparent 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.45;
}

.a90-crt-vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 51;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}

.a90-shell-bar {
  position: fixed;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 9998;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-width: min(420px, calc(100vw - 1rem));
  font-family: var(--a90-font);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  pointer-events: auto;
}

.a90-shell-bar a,
.a90-shell-bar button {
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  border: 1px solid #3a4a28;
  background: var(--a90-panel);
  color: var(--a90-a);
  padding: 0.4rem 0.55rem;
  text-decoration: none;
}

.a90-shell-bar a.primary,
.a90-shell-bar button.primary {
  background: var(--a90-g);
  color: #041004;
  border-color: var(--a90-g);
  font-weight: 800;
}

.a90-touch {
  position: fixed;
  left: 0.45rem;
  bottom: 4.2rem;
  z-index: 9997;
  display: none;
  grid-template-columns: repeat(3, 2.6rem);
  grid-template-rows: repeat(3, 2.6rem);
  gap: 0.25rem;
  touch-action: none;
  font-family: var(--a90-font);
}

@media (pointer: coarse) {
  .a90-touch { display: grid; }
}

.a90-touch button {
  border: 1px solid #3a4a28;
  background: rgba(8, 14, 10, 0.85);
  color: var(--a90-a);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 0.2rem;
  touch-action: none;
  user-select: none;
}

.a90-touch .sp { visibility: hidden; pointer-events: none; }

.a90-onboard {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 4, 0.92);
  padding: 1rem;
  font-family: var(--a90-font);
}

.a90-onboard .card {
  width: min(460px, 100%);
  border: 1px solid var(--a90-a);
  background: #0a100a;
  padding: 1.2rem;
}

.a90-onboard h3 {
  color: var(--a90-g);
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.a90-onboard p {
  color: var(--a90-m);
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.a90-onboard button {
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: none;
  background: var(--a90-g);
  color: #041004;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}
