:root {
  --bg: #171018;
  --card: #271b28;
  --ink: #fff3f6;
  --muted: #c5adbd;
  --acid: #ff8cb9;
  --line: #51364b;
}
.masthead { background: #191019; border-color: var(--line); }
.brand img, .hero-art img { filter: hue-rotate(239deg) saturate(.86); }
nav a, .foot a, .modal-body p, .modal-body li, .hero p { color: #e0cbd7; }
.nav-help, .close, .filter, .plain-btn, .search { background: #2c1f2c; color: #e6d0dd; border-color: #65465b; }
.help-icon { color: #e6d0dd; border-color: #b393a6; }
.action, .filter[aria-pressed=true] { color: #2b0c1d; border-color: var(--acid); }
.action:hover { background: #ffafcf; }
.hero {
  background-color: #211320;
  background-image: linear-gradient(#f0b2d00b 1px,transparent 1px),linear-gradient(90deg,#f0b2d00b 1px,transparent 1px);
  border-color: #69425c;
}
.hero-art { background: #0e080e; }
.author-note { background: #2b1927; border-color: #68415a; border-left-color: var(--acid); }
.author-note blockquote { color: #f5dfeb; }
.result-count, .foot { color: var(--muted); }
.filter:hover, .game:hover, .game:focus-within { border-color: #b56a90; }
.search input::placeholder { color: #c3aaba; }
.lens { border-color: #bd99af; }
.lens:after { background: #bd99af; }
.game { border-color: #604056; }
.game-link { color: #edc2d9; border-color: var(--line); }
.game-image { background: #42223f; }
.platform { background: #230f22ed; border-color: #ffe1f25c; }
dialog { background: var(--card); border-color: #975d80; }
dialog::backdrop { background: #100911d4; }

.entrada-fundo {
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding: 36px 16px;
  background: radial-gradient(ellipse at 50% 42%, #40213770, transparent 65%);
}
.entrada-painel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, .72fr) 1.6fr;
  width: min(740px, 100%);
  overflow: hidden;
  border: 1px solid #73465f;
  border-radius: 5px;
  background: #241922;
}
.selo-fundo {
  display: grid;
  place-items: center;
  position: relative;
  color: var(--acid);
  border-right: 1px solid #60394e;
  background-color: #331c2d;
  background-image: linear-gradient(#ff93ba10 1px,transparent 1px),linear-gradient(90deg,#ff93ba10 1px,transparent 1px);
  background-size: 18px 18px;
}
.selo-fundo::before, .selo-fundo::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: solid var(--acid);
}
.selo-fundo::before { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.selo-fundo::after { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.selo-idade {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px 8px;
  border: 3px solid var(--acid);
  box-shadow: 5px 5px #8f4368;
  transform: rotate(-6deg);
  font: 78px/.9 Jersey,monospace;
  background: #271321;
}
.selo-idade span { font-size: .6em; }
.entrada-texto { padding: clamp(26px, 4vw, 48px); }
.entrada-texto h1 { margin: 0; font: 400 clamp(50px, 6vw, 72px)/.92 Jersey,monospace; }
.entrada-texto h1 em { color: var(--acid); font-style: normal; }
.entrada-texto p { margin: 17px 0 23px; font-size: 14px; line-height: 1.7; color: #e3ccd9; }
.entrada-acoes { display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; }
.voltar-geral { color: #e9cdda; font: 600 12px/1.4 var(--mono); text-decoration: underline; text-underline-offset: 4px; }
.voltar-geral:hover { color: var(--acid); }

/* Capa tipográfica de disco, para as fichas que ainda não têm imagem própria. */
.capa-tipografica {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 6% 4%;
  overflow: hidden;
  isolation: isolate;
  font: 400 clamp(42px, 4.2vw, 68px)/.9 Jersey,monospace;
  letter-spacing: -.035em;
  color: #fff1f6;
  text-shadow: 3px 3px #67183f;
  background: repeating-linear-gradient(135deg,transparent 0 14px,#ff8dbc15 14px 15px),linear-gradient(118deg,#933361,#441535 65%,#1e101e);
}
.capa-tipografica::before {
  content: "";
  z-index: -1;
  position: absolute;
  width: 66%;
  aspect-ratio: 1;
  right: -8%;
  top: -34%;
  border-radius: 50%;
  border: 2px solid #b15078;
  background: radial-gradient(circle,#280f23 0 2%,#ff90b6 2.5% 14%,#d85e89 14.5% 16%,transparent 16.5%),
    conic-gradient(from 15deg,transparent 0deg,#e889ac75 49deg,transparent 77deg 175deg,#ac528363 219deg,transparent 256deg),
    repeating-radial-gradient(#2f1831 0 3px,#503049 3px 4px);
}
@media(max-width:680px) {
  .entrada-fundo { min-height: calc(100svh - 61px); }
  .entrada-painel { grid-template-columns: 1fr; max-width: 460px; }
  .selo-fundo { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--line); }
  .selo-idade { font-size: 62px; }
  .hero h1 { font-size: clamp(54px, 12vw, 68px); }
}
@media(max-width:380px) {
  #edicao .bar { height: auto; min-height: 61px; flex-wrap: wrap; padding-block: 9px; }
}
