:root {
  --game-mode-ink: #3b2f26;
  --game-mode-gold: #9a7444;
  --game-mode-paper: rgba(250, 246, 237, 0.94);
}

#game-mode-banner {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 16px;
  color: var(--game-mode-ink);
  background:
    linear-gradient(90deg, rgba(154, 116, 68, 0.08), rgba(255, 255, 255, 0.35), rgba(154, 116, 68, 0.08)),
    var(--game-mode-paper);
  border-bottom: 1px solid rgba(154, 116, 68, 0.22);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
}

#game-mode-banner .game-mode-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(154, 116, 68, 0.55);
  color: var(--game-mode-gold);
  font-family: "Songti SC", "Hiragino Sans GB", serif;
  font-size: 11px;
  transform: rotate(-4deg);
}

#game-mode-banner .game-mode-title {
  font-weight: 600;
  letter-spacing: 0.12em;
}

#game-mode-banner .game-mode-note {
  opacity: 0.72;
}

html.game-mode body {
  --game-mode-active: 1;
}

@media (max-width: 720px) {
  #game-mode-banner {
    justify-content: flex-start;
    gap: 6px;
    padding: 7px 10px;
    font-size: 11px;
  }
  #game-mode-banner .game-mode-note {
    width: 100%;
  }
}
