body {
  background: #050403;
}

#game-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: .23;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.26) 3px 4px),
    radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.72) 110%);
  mix-blend-mode: multiply;
}

.game-header,
.hud,
.dialogue,
.touch-controls {
  z-index: 12;
}

#game {
  filter: saturate(.78) contrast(1.12);
}

.dialogue {
  grid-template-columns: 8rem minmax(0, 1fr);
  min-height: 10rem;
  border-color: rgba(222, 154, 126, .46);
  background: linear-gradient(120deg, rgba(7,5,4,.97), rgba(30,12,9,.93));
  clip-path: polygon(0 0, calc(100% - 1.2rem) 0, 100% 1.2rem, 100% 100%, 1.2rem 100%, 0 calc(100% - 1.2rem));
}

.dialogue-choices {
  grid-column: 2;
  display: grid;
  gap: .45rem;
}

.dialogue-choices[hidden] {
  display: none !important;
}

.dialogue-choices button {
  width: 100%;
  text-align: left;
  padding: .65rem .8rem;
  border: 1px solid rgba(240,232,216,.28);
  background: rgba(154,51,40,.09);
  color: #e9d8c8;
}

.dialogue-choices button:hover,
.dialogue-choices button:focus-visible {
  border-color: #d8886f;
  background: rgba(154,51,40,.25);
  outline: 0;
}

.dialogue:has(.dialogue-choices:not([hidden])) #dialogue-next {
  display: none;
}

.title-mark i {
  background: rgba(130,46,35,.18);
}

@media (max-width: 700px) {
  .dialogue {
    grid-template-columns: 5.5rem 1fr;
    padding: .8rem;
  }

  .speaker strong {
    font-size: 1.5rem;
  }
}
